summaryrefslogtreecommitdiff
path: root/graphics/cairo
AgeCommit message (Collapse)AuthorFilesLines
2013-08-31Changes 1.12.16:adam6-61/+74
Bug fixes * Set the correct orientation for simple boxes with a negative scale factor. * Fix the creation of the shading dictionary in PDF. * Fix a crash in PDF when incorporating an image with CAIRO_EXTEND_PAD. * Avoid upscaling bitmap fonts if possible. * Fix an assertion failure within the mempool allocator for shared memory. * Fix allocation size for CFF subsets. * Export cairo_matrix_t for GObject bindings. * Fix a double free in the Quartz backend. * Fix origin of GDI StretchBlits for the Windows backend * Fix error propagation for requests to create a similar surface with negative size. * Fix complex clipping of trapezoids with regions * Stop leaking the image data when loading PNGs * Fix unbounded operations with a clip mask through the span compositor * Add missing checks before rendering to a finished surface - so we return an error rather than hit an assert. * Prevent an assertion failure when creating similar GL surfaces larger than supported by hardware. * Prevent a double free of a similar image under Windows.
2013-08-18record the current minimum requirement for fontconfig version, and tell cairospz1-1/+3
configure that there really ought to be a fontconfig
2013-08-18make 'no xcb' stickspz1-1/+3
2013-06-05Remove dependence on "Xft2" package. "cairo" doesn't use this library.tron2-4/+3
Bump the package revision because of this change.
2013-06-04Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:tron2-4/+4
Recursively bump package revisions again after the "freetype2" and "fontconfig" handling was fixed.
2013-06-03Bump freetype2 and fontconfig dependencies to current pkgsrc versions,wiz2-4/+4
to address issues with NetBSD-6(and earlier)'s fontconfig not being new enough for pango. While doing that, also bump freetype2 dependency to current pkgsrc version. Suggested by tron in PR 47882
2013-02-16Recursive bump for png-1.6.wiz2-3/+4
2013-02-12Update cairo* to 1.12.14:wiz2-7/+6
Release 1.12.14 (2013-02-10 Chris Wilson <chris@chris-wilson.co.uk>) ==================================================================== In the last week we had a few more bugs reported and promptly resolved. As these are a combination of regressions and stability issues, it is time for a prompt update and release. Many thanks to everyone for testing and reporting issues, and helping to make Cairo better. Bug fixes --------- Prevent user callbacks accessing user-data during destroy to prevent use-after-free bugs. https://bugzilla.mozilla.org/show_bug.cgi?id=722975 Use standard names for glyphs in subset fonts (PDF). https://bugs.freedesktop.org/show_bug.cgi?id=60248 Fix detection of Win98. The logic for detecting Win98 (and its broken AlphaBlend()) was inverted, disabling AlphaBlend() for everyone. Prevent numeric overflow from extrapolating polygon edges to the clip boundary and causing severe render artifacts. https://bugs.freedesktop.org/show_bug.cgi?id=60489 Fix computation of glyph string coordinates when breaking up runs for xlib. Fix an assertion in the win32 backend for failing to clear its similar-images. https://bugs.freedesktop.org/show_bug.cgi?id=60519
2013-02-06PKGREVISION bumps for the security/openssl 1.0.1d update.jperkin1-1/+2
2013-02-03Update to 1.12.12:wiz2-7/+6
Release 1.12.12 (2013-01-31 Chris Wilson <chris@chris-wilson.co.uk>) =================================================================== The goal of this release is to fix the synchronisation problems that were exhibited in the SHM transport for cairo-xlib. This cropped up any place that tried to rapidly push fresh pixel data to the X server through an ordinary image surface, such as gimp-2.9 and evince. Bug fixes --------- Avoid replacing the entire image when uploading subimages https://bugs.freedesktop.org/show_bug.cgi?id=59635 Force synchronisation for scratch SHM image buffers, so that we do not overwrite data as it is being read by X. https://bugs.freedesktop.org/show_bug.cgi?id=59635 (also) Fix typos in detecting multisampling for the GL (MSAA) backend. Fix a memory leak in the GL (MSAA) backend. Fix a reference counting bug when mapping a GL surface to an image.
2013-01-26Revbump after graphics/jpeg and textproc/icuadam1-1/+2
2013-01-21Update to 1.12.10:wiz2-6/+6
Release 1.12.10 (2013-01-16 Chris Wilson <chris@chris-wilson.co.uk>) =================================================================== A heap of bug fixes everywhere, and the gradual completion of the MSAA backend for cairo-gl. Perhaps the most noteworthy set of the bugfixes was the crusage lead by Behdad Eshfabod to make font handling by pango/cairo/fontconfig fully threadsafe. This testing revealed a couple of races that needed fixing in Cairo's scaled-font and glyph cache. Bug fixes --------- Append coincident elements to the recording's surface bbtree so that the list is not corrupted and the overlapping elements lost. Fix cairo-trace to correctly record map-to-image/unmap-image and then replay them. Ignore MappingNotifies when running the XCB testsuite as they are sent to all clients when the keyboard changes. The testsuite would detect the unexpected event and complain. Handle very large large images in the XCB backend. Fix a memory leak in the xlib/shm layer, and prevent use of the SHM surfaces after the display is closed. https://bugs.freedesktop.org/show_bug.cgi Handle resizing of bitmap fonts, in preparation for a fix to fontconfig to correctly pass on the user request for scaling. Always include subroutine 4 (hint replacement idion) when subsetting type 1 fonts in order to prevent a crash in cgpdftops on Mac OS/X Fix a couple of typos in the cairo-gobject.h header files for introspection. Prevent a mutex deadlock when freeing a scaled-glyph containing a recording-surface that itself references another scaled-glyph. https://bugs.freedesktop.org/show_bug.cgi?id=54950 Make scaled-font cache actually thread-safe and prevent use-after-frees. Restore support for older versions of XRender. A couple of typos and a few forgotten chunks prevented the xlib compositor from running correctly with XRender < 0.10. Note that there are still a few regressions remaining.
2012-11-04Add comments to patches.wiz4-7/+24
2012-11-04Update to 1.12.8:wiz5-204/+6
Release 1.12.8 (2012-11-24 Chris Wilson <chris@chris-wilson.co.uk>) =================================================================== Another couple of weeks and a few more bugs have been found and fixed, it is time to push the next point release. Many thanks to everyone who reported their issues and helped us track down the bugs and helped testing the fixes. Bug fixes --------- Expand the sanity checking for broken combinations of XSendEvent and ShmCompletionEvent. Notice that "The X.Org Foundation" sometimes also identifies itself as "The Xorg Foundation". Handle various ages of libXext and its Shm headers. Fix the invalid clipping of the source drawable when using SHM transport to upload images. https://bugs.freedesktop.org/show_bug.cgi?id=56547 Handle all Type1 postscript operators for better font compatibility. https://bugs.freedesktop.org/show_bug.cgi?id=56265 Fix a couple of memory leaks in Type1 font subsetting https://bugs.freedesktop.org/show_bug.cgi?id=56566 Tighten the evaluation of the start/stop pen vertices, and catch a few instances where we would use a fan instead of a bevel. https://bugs.freedesktop.org/show_bug.cgi?id=56432 Fix assumption that geometric clipping always succeeds with the span-compositor. https://bugs.freedesktop.org/show_bug.cgi?id=56574 Fix call to spline intersection when evaluating whether a stoke is visible. Remember to copy inferior sources when using SHM to readback the surface for use as a source.
2012-11-01Bring back previous patch in correct version to fix SHM part ofwiz7-12/+190
build on NetBSD-5 with native Xorg. Additionally, disable GL support since NetBSD-5's MesaLib is too old and, according to upstream, cairo-gl "is only really being experimented with currently by toy applications". Bump PKGREVISION. Tested by Andreas Gustafsson and David Brownlee.
2012-10-31Remove previous two patches again, since they make cairo fail on NetBSD-6.wiz4-162/+6
Reported by abs. Bump PKGREVISION.
2012-10-30Add more patches from upstream to get further in build on NetBSD-5.wiz3-4/+160
2012-10-26Add another patch from upstream fixing martin's firefox problem,wiz3-2/+21
tested by martin. Bump PKGREVISION.
2012-10-23As drochner remarks, the problem with missing xextproto is, once again,wiz1-2/+1
that libXext/bl3.mk doesn't include xextproto/bl3.mk. Since the supposed gains for this are minimal and the annoyances are high, do include xextproto/bl3.mk in libXext/bl3.mk.
2012-10-23Add xextproto buildlink3.mk, needed at least on NetBSD-5.1 with modularwiz1-1/+2
xorg.
2012-10-22Update to 1.12.6:wiz5-209/+6
Release 1.12.6 (2012-10-22 Chris Wilson <chris@chris-wilson.co.uk>) =================================================================== Thanks to everyone who download cairo-1.12.4 and gave us their feedback. It truly was invaluable and has helped us to fix many portability issues that crept in with some of the new features. This release aims to fix those stability issues and run on a wider range of systems. Bug fixes --------- Fix the recording surface to actually snapshot the source and so fix PDF drawing. Calling XSendEvent with an XShmCompletionEvent is incompatabile with older Xorg servers. Reorder CloseDisplay chain so that XShm is not reinstantiated after shutdown, causing a potential crash if the Display was immediately recreated using the same memory address. Make sure that the Xserver has attached to the SHM segment before deleting it from the global namespace on systems that do not support deferred deletion. Type1 subsetting support for PDF (and PS) was once again improved to work with a larger number of PDF readers. GLESv2 build fixes and improved support for embedded GPUs. Tweak the invisible pen detection for applications that are currently using too large values for geometric tolerance. A build fix for older freetype libraries.
2012-10-20Second try at updating to 1.12.4 with an additional patch fromwiz6-14/+209
Chris Wilson (upstream). Fixes problems on NetBSD and OS X. Bump PKGREVISION compared to last 1.12.4 version.
2012-10-15Remove "-ldl" for FreeBSD as a workaround.asau1-1/+6
Configuration script correctly detects that libdl is not needed for dlsym(3) but ignores the result for not yet identified reason. Noticed on FreeBSD 9.0.
2012-10-10explicitly disable xcb if the option is deselecteddrochner1-1/+3
2012-10-08Downgrade cairo back to yesterday's version.wiz3-52/+7
1.12.4 causes SHM problems on OS X and NetBSD. E.g. for firefox, during startup, on 6.99.12/amd64: ###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private resource denied); 11 requests ago: file /scratch/devel/xulrunner/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157 ###!!! ABORT: X_ShmAttach: BadAccess (attempt to access private resource denied); 11 requests ago: file /scratch/devel/xulrunner/work/mozilla-release/toolkit/xre/nsX11ErrorHandler.cpp, line 157 zsh: segmentation fault (core dumped) firefox Or for xchat on OS X Lion: The program 'xchat' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAccess (attempt to access private resource denied)'. (Details: serial 5738 error_code 10 request_code 133 minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
2012-10-08Add patch from cairo's GIT repository to fix crashes with older versionstron3-2/+48
of X.org. XChat now works again under Mac OS X Lion.
2012-10-07Update to 1.12.4:wiz2-7/+6
Release 1.12.4 (2012-10-05 Chris Wilson <chris@chris-wilson.co.uk>) =================================================================== More bugs, and more importantly, more fixes. On the cairo-gl side, we have refinements to the MSAA compositor which enables hardware acceleration of comparitively low-quality antialiasing - which is useful in animations and on very high density screens. For cairo-xlib, we have finally enabled SHM transport for image transfers to and from the X server. A long standing required feature, SHM transport offers a notable reduction in rendering latency by reducing the number of copies required to upload image data - given hardware and driver support, cairo-xlib can now perform zero copy uploads onto the GPU. And as usual Adrian Johnson has been very busy fixing many different corner cases in cairo-pdf, impoving opacity groups and font subsetting. Last, but not least, for cairo-image Søren Sandmann Pedersen added support for rendering glyphs to pixman and using that from within cairo. The new glyph rendering facility reduces the overhead for setting up the compositing operation, improving glyph thoughput for the image backend by a factor of about 4. And before he did so, he also fixed up a few bugs in the existing glyph rendering code. So many thanks to Andrea Canciani, Adrian Johnson, Chuanbo Weng, Dongyeon Kim, Henry Song, Martin Robinson, Søren Sandmann Pedersen and Uli Schlachter for their contributions, finding and fixing bugs. Bug fixes --------- Interior boxes were being dropped when amalgamating regions during tesselation. https://bugs.freedesktop.org/show_bug.cgi?id=49446 Allow building without gtk-doc installed Invalid edge generation whilst reducing complex polygons. https://bugs.freedesktop.org/show_bug.cgi?id=50852 Stroking around tight cusps Use locale correct formats for reading font subsetting and valid buffers. https://bugs.freedesktop.org/show_bug.cgi?id=51443 Ensure that the type1 subset includes all the glyph encodings https://bugs.freedesktop.org/show_bug.cgi?id=53040 Upload the whole source for a repeating pattern. https://bugs.freedesktop.org/show_bug.cgi?id=51910 Fix damage tracking to handle continuation chunks corectly and so prevent crashes on win32. https://bugs.freedesktop.org/show_bug.cgi?id=53384 Avoid emitting miter joins for degenerate line segments https://bugzilla.mozilla.org/show_bug.cgi?id=407107 Convert the relative path semgents into the backend coordinates and then back again to user coordinates (cairo_copy_path, cairo_append_path) https://bugs.freedesktop.org/show_bug.cgi?id=54732 Fix extents computations for a degenerate path consisting only of a move-to https://bugs.freedesktop.org/show_bug.cgi?id=54549 Prevent crashing on a degenerate project edge after polygon intersection https://bugs.freedesktop.org/show_bug.cgi?id=54822
2012-10-06Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.asau1-3/+1
2012-10-02Revert unintentional revision bump.tron2-4/+4
2012-10-02Mass recursive bump after the dependence fix of the "cairo" packagetron2-4/+4
requested by Thomas Klausner.
2012-10-02Increase the minium required version of the "x11/libxcb" package to 1.6.tron2-4/+2
There are at least two packages ("graphics/cairo" and "x11/xlsclients") which require this. And we definitely want to avoid the situation where both the based and "pkgsrc" version get used at the same time. Bump all the packages which use the "x11/libxcb" package except the two which already require version 1.6. For those package remove the manually set minimum required version. Change discussed with Thomas Klausner in private e-mail.
2012-10-02The "cairo" package needs at least version 1.6 of the "libxcb" library.tron3-4/+6
Set the minimum version accordingly. The package now uses "libxcb" from "pkgsrc" under Mac OS X Snow Leopard which fixes the build. Bump package revision because of the dependence change.
2012-09-13The Solaris linker requires an archive contain at least one symbol, sojperkin2-1/+15
provide one. Fixes Solaris build.
2012-09-09Restore PLIST.carbon=yes, lost during update. Should fix remainingdholland1-1/+2
problem in PR 46924.
2012-09-08cairo-1.12.2 require pixman>=0.22.0.obache2-3/+4
PR 46924.
2012-09-07Revbump after updating graphics/cairoadam2-3/+4
2012-09-07Changes 1.12.2:adam10-129/+46
After such a long gestation period for the release of Cairo 1.12, we inevitably accumulated a few bugs that were flushed out by broadening the test base. Thanks to everybody who tried the release, apologies to any one unfortunate enough to encounter a bug and many thanks for reporting it.
2012-08-04Fix Cairo hack on Mac OS X.riastradh1-4/+4
gcc-4.2 is residual from older Xcode installs. If you've installed only the Xcode with a bad compiler, the workaround is no good. But omitting -flto works around the problem too, so do that.
2012-06-16Fix 32 bit build under Mac OS X Lion.tron3-1/+91
2012-06-14Re-do the MirBSD hack and move it to hacks.mk, where it belongs. It needsbsiegert2-7/+7
to be _after_ the inclusion of pthread.builtin.mk. This hopefully fixes the MirBSD build once and for all.
2012-06-11pixman hack is only required for X11_TYPE=native.obache1-2/+3
2012-05-27Since a proper solution does not appear to be forthcoming anytime soon,dholland2-3/+41
add a hack for "the pixman problem" on netbsd-5. Add -lpixman-1 to the libs in cairo's .pc file when on netbsd-5.
2012-04-08Fix build on MirBSD by working around a bug in configure.bsiegert1-1/+6
The problem is the following: When checking the CFLAGS / LIBS for including pthread support, any warning on stdout is counted as a no. However, the test does not use CFLAGS on the command line, which produces a harmless debug warning. This workaround has the consequence of adding the default CFLAGS twice on the command line but this is not a problem.
2012-02-24No need to override cairo-tee.pc, it will be generated from ↵obache1-3/+3
cairo-features.pc.in.
2012-02-23Enable tee surface backend.ryoon2-5/+9
This is potentially used "--enable-system-cairo"ed devel/xulrunner. Bump PKGREVISION.
2012-02-06Revbump forwiz1-2/+2
a) tiff update to 4.0 (shlib major change) b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk) Enjoy.
2011-12-16Remove sentence about experimental backends (for examplereed1-14/+16
no glitz here). Rejustify long lines while here.
2011-11-16Use a stricter condition to enable the hack.minskim1-2/+2
2011-11-16Use non-llvm gcc on Darwin to avoid a link error.minskim1-0/+18
See https://trac.macports.org/ticket/31469 for details.
2011-11-01Recursive bump for graphics/freetype2 buildlink addition.sbd2-4/+4