head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.4 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.2 pkgsrc-2012Q4-base:1.6; locks; strict; comment @# @; 1.6 date 2012.11.04.23.44.27; author wiz; state dead; branches; next 1.5; 1.5 date 2012.11.01.08.54.47; author wiz; state Exp; branches; next 1.4; 1.4 date 2012.10.31.13.06.22; author wiz; state dead; branches; next 1.3; 1.3 date 2012.10.30.23.30.19; author wiz; state Exp; branches; next 1.2; 1.2 date 2012.10.22.14.53.58; author wiz; state dead; branches; next 1.1; 1.1 date 2012.10.20.00.55.06; author wiz; state Exp; branches; next ; desc @@ 1.6 log @Update to 1.12.8: Release 1.12.8 (2012-11-24 Chris Wilson ) =================================================================== 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. @ text @$NetBSD: patch-configure,v 1.5 2012/11/01 08:54:47 wiz Exp $ Detect old-style shm headers. From upstream. --- configure.orig 2012-10-22 10:08:43.000000000 +0000 +++ configure @@@@ -21799,6 +21799,22 @@@@ fi fi + for ac_header in X11/extensions/XShm.h X11/extensions/shmproto.h X11/extensions/shmstr.h +do : + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include + #include +" +if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : + cat >>confdefs.h <<_ACEOF +#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 +_ACEOF + +fi + +done + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cairo's Xlib surface backend feature could be enabled" >&5 $as_echo_n "checking whether cairo's Xlib surface backend feature could be enabled... " >&6; } @ 1.5 log @Bring back previous patch in correct version to fix SHM part of 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. @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Remove previous two patches again, since they make cairo fail on NetBSD-6. Reported by abs. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2012/10/30 23:30:19 wiz Exp $ @ 1.3 log @Add more patches from upstream to get further in build on NetBSD-5. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update to 1.12.6: Release 1.12.6 (2012-10-22 Chris Wilson ) =================================================================== 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. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2012/10/20 00:55:06 wiz Exp $ d3 1 a3 9 Whilst reading through other users of XShm, it became apparent that IPC_RMID behaves differently across the platforms. Linux allows processes to attach to an existing ShmSegment id after a IPC_RMID, but for others the IPC_RMID takes immediate effect. On those platforms without a "deferred" IPC_RMID, we then need to perform the XShmAttach synchronously before perfomring the IPC_RMID. Reported-by: Thomas Klausner Signed-off-by: Chris Wilson d5 1 a5 1 --- configure.orig 2012-10-05 15:45:31.000000000 +0000 d7 3 a9 3 @@@@ -21646,6 +21646,65 @@@@ $as_echo "yes" >&6; } : fi d11 10 a20 8 + ac_fn_c_check_header_mongrel "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_ipc_h" = xyes; then : + +fi + + + ac_fn_c_check_header_mongrel "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default" +if test "x$ac_cv_header_sys_shm_h" = xyes; then : d24 1 a26 46 + if test "$ac_cv_header_sys_ipc_h" = "yes" -a "$ac_cv_header_sys_shm_h" = "yes"; then + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether shmctl IPC_RMID allowes subsequent attaches" >&5 +$as_echo_n "checking whether shmctl IPC_RMID allowes subsequent attaches... " >&6; } + if test "$cross_compiling" = yes; then : + { $as_echo "$as_me:${as_lineno-$LINENO}: result: assuming no" >&5 +$as_echo "assuming no" >&6; } +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + #include + int main() + { + char *shmaddr; + int id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600); + if (id == -1) return 2; + shmaddr = shmat (id, 0, 0); + shmctl (id, IPC_RMID, 0); + if ((char*) shmat (id, 0, 0) == (char*) -1) { + shmdt (shmaddr); + return 1; + } + shmdt (shmaddr); + shmdt (shmaddr); + return 0; + } + +_ACEOF +if ac_fn_c_try_run "$LINENO"; then : + +$as_echo "#define IPC_RMID_DEFERRED_RELEASE 1" >>confdefs.h + + { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +$as_echo "yes" >&6; } +else + { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +$as_echo "no" >&6; } +fi +rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ + conftest.$ac_objext conftest.beam conftest.$ac_ext +fi + + fi + @ 1.1 log @Second try at updating to 1.12.4 with an additional patch from Chris Wilson (upstream). Fixes problems on NetBSD and OS X. Bump PKGREVISION compared to last 1.12.4 version. @ text @d1 1 a1 1 $NetBSD$ @