head 1.13; access; symbols pkgsrc-2013Q3:1.12.0.10 pkgsrc-2013Q3-base:1.12 pkgsrc-2013Q2:1.12.0.8 pkgsrc-2013Q2-base:1.12 pkgsrc-2013Q1:1.12.0.6 pkgsrc-2013Q1-base:1.12 pkgsrc-2012Q4:1.12.0.4 pkgsrc-2012Q4-base:1.12 pkgsrc-2012Q3:1.12.0.2 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.10.0.6 pkgsrc-2012Q2-base:1.10 pkgsrc-2012Q1:1.10.0.4 pkgsrc-2012Q1-base:1.10 pkgsrc-2011Q4:1.10.0.2 pkgsrc-2011Q4-base:1.10 pkgsrc-2011Q3:1.9.0.6 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.4 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.2 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.8.0.6 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.4 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.2 pkgsrc-2010Q2-base:1.8 pkgsrc-2009Q4:1.7.0.2 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q2:1.6.0.2 pkgsrc-2009Q2-base:1.6 pkgsrc-2008Q4:1.5.0.2 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.4.0.2 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.3.0.4 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.2 pkgsrc-2008Q2-base:1.3; locks; strict; comment @# @; 1.13 date 2013.11.13.19.41.44; author wiz; state dead; branches; next 1.12; commitid 6fGkMyFBf3k9x9dx; 1.12 date 2012.07.14.20.57.59; author wiz; state Exp; branches; next 1.11; 1.11 date 2012.07.14.20.49.30; author wiz; state Exp; branches; next 1.10; 1.10 date 2011.12.31.15.37.55; author bsiegert; state Exp; branches; next 1.9; 1.9 date 2011.01.26.19.25.55; author drochner; state Exp; branches; next 1.8; 1.8 date 2010.06.16.16.35.57; author drochner; state Exp; branches; next 1.7; 1.7 date 2009.07.09.17.24.07; author drochner; state dead; branches; next 1.6; 1.6 date 2009.06.26.20.30.16; author sketch; state Exp; branches; next 1.5; 1.5 date 2008.10.15.00.56.45; author bjs; state dead; branches; next 1.4; 1.4 date 2008.09.16.21.22.34; author bjs; state Exp; branches; next 1.3; 1.3 date 2008.06.19.17.51.27; author bjs; state dead; branches; next 1.2; 1.2 date 2008.04.27.11.58.09; author tnn; state Exp; branches; next 1.1; 1.1 date 2008.04.23.09.44.05; author tnn; state Exp; branches; next ; desc @@ 1.13 log @Update to 0.32.2: 0.32.2: A new pixman release 0.32.2 is now available. This is a stable release in the 0.32 series. This release corrects the problem that the 0.32.0 tarball was missing some files required to build the GTK+ based demo programs. Also included is a fix for a build problem with MSVC. 0.32.0: A new pixman release 0.32.0 is now available. This is new major release with performance improvements for image scaling, and a large number of bug fixes. @ text @$NetBSD: patch-af,v 1.12 2012/07/14 20:57:59 wiz Exp $ Use correct pthread options on NetBSD and MirBSD. https://bugs.freedesktop.org/show_bug.cgi?id=52101 --- pixman/pixman-compiler.h.orig 2012-06-29 18:25:17.000000000 +0000 +++ pixman/pixman-compiler.h @@@@ -164,7 +164,7 @@@@ # define PIXMAN_GET_THREAD_LOCAL(name) \ (&name) -#elif defined(HAVE_PTHREAD_SETSPECIFIC) +#elif defined(HAVE_PTHREAD_SETSPECIFIC) || defined(__NetBSD__) || defined(__MirBSD__) #include @ 1.12 log @Add upstream bug report URL. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.11 2012/07/14 20:49:30 wiz Exp $ @ 1.11 log @Update to 0.26.2. meta-pkgs/modular-xorg still builds. 0.26.2: A new pixman release 0.26.2 is now available. This is a stable release. It contains some bug fixes, custom build rules for ARM/iwMMXt, and an important bug fix for MMX/x86. 0.26.0: A new stable pixman release 0.26.0 is now available. Highlights of this release: * New support for MIPS DSPr2 ASE. [Nemanja Lukic] * Improved performance with the iwMMXt instruction set. [Matt Turner] * New support for the Loongson SIMD instruction set. [Matt] Performance results from a number of cairo based benchmarks: Benchmark Improvement evolution .............. image: 12.8 % image16: 15.9 % firefox-planet-gnome ... image: 14.4 % image16: 10.0 % gnome-terminal-vim ..... image: 16.5 % image16: 15.7 % gvim ................... image: 13.1 % image16: 7.0 % ocitysmap .............. image: 24.1 % image16: 23.9 % poppler ................ image: 18.7 % image16: 17.5 % swfdec-giant-steps ..... image: no change image16: 35.3 % swfdec-youtube ......... image: 23.5 % image16: 12.4 % xfce4-terminal-a1 ...... image: 26.9 % image16: 28.8 % Please see http://mattst88.com/blog/2012/05/17/Optimizing%20pixman%20for%20Loongson:%20Process%20and%20Results/ for more information. In addition to a number of bug fixes, cleanups and performance improvements, this release also contains improved support for Android and iOS thanks to Bobby Salazar. Thanks to everybody who contributed to pixman 0.26.0, including Alan Coopersmith, Andrea Canciani, Bobby Salazar, Chun-wei Fan, Colin Walters, Ingmar Runge, Jeremy Huddleston, Matt Turner, Naohiro Aota, Nemanja Lukic, and Søren Sandmann Pedersen. @ text @d1 4 a4 1 $NetBSD: patch-af,v 1.10 2011/12/31 15:37:55 bsiegert Exp $ @ 1.10 log @MirBSD build fix for pixman: use correct pthread options. No change for other platforms. The pthread check macro in pixman's configure is fundamentally broken, it seems. It would be better to fix it instead of working around ... Reviewed by Thomas Klausner. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.9 2011/01/26 19:25:55 drochner Exp $ d3 1 a3 1 --- pixman/pixman-compiler.h.orig Mon Jul 4 20:22:16 2011 d5 1 a5 10 @@@@ -82,7 +82,7 @@@@ # define PIXMAN_GET_THREAD_LOCAL(name) \ (&name) -#elif defined(TOOLCHAIN_SUPPORTS__THREAD) +#elif defined(TOOLCHAIN_SUPPORTS__THREAD) && !defined(__NetBSD__) # define PIXMAN_DEFINE_THREAD_LOCAL(type, name) \ static __thread type name @@@@ -149,7 +149,7 @@@@ @ 1.9 log @update to 0.20.2 changes: -Gradient improvements -Performance improvements -bugfixes @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- pixman/pixman-compiler.h.orig 2011-01-19 13:05:40.000000000 +0000 d19 1 a19 1 +#elif defined(HAVE_PTHREAD_SETSPECIFIC) || defined(__NetBSD__) @ 1.8 log @update to 0.18.2 changes: minor fixes @ text @d3 1 a3 1 --- pixman/pixman-compiler.h.orig 2010-05-12 20:15:42.000000000 +0000 d5 3 a7 2 @@@@ -70,7 +70,7 @@@@ #endif d9 2 a10 3 /* TLS */ -#if defined(TOOLCHAIN_SUPPORTS__THREAD) +#if defined(TOOLCHAIN_SUPPORTS__THREAD) && !defined(__NetBSD__) d14 1 a14 1 @@@@ -149,7 +149,7 @@@@ extern __stdcall int ReleaseMutex (void @ 1.7 log @update to 0.15.14 sorry, didn't find a changelog -- quod licet src, quoque licet pkgsrc @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.6 2009/06/26 20:30:16 sketch Exp $ d3 4 a6 5 --- pixman/pixman-bits-image.c.orig Fri Jun 26 21:16:52 2009 +++ pixman/pixman-bits-image.c Fri Jun 26 21:17:57 2009 @@@@ -272,7 +272,7 @@@@ coords[i + 1] = y; } d8 14 a21 3 - return bits_image_fetch_pixels_src_clip (image, buffer, n_pixels); + bits_image_fetch_pixels_src_clip (image, buffer, n_pixels); } a22 1 #define N_TMP_PIXELS (256) @ 1.6 log @You can't return from a void function. Fixes Solaris build and gives 999 dependant packages a chance to build. @ text @d1 1 a1 1 $NetBSD$ @ 1.5 log @Update to pixman-0.12.0 from 0.11.10. In addition to many bug fixes, new features [since approximately 0.10.0] include: - New image formats with 10 bits per channel - SSE2 optimizations for many operations - Opacity based optimizations for operators - Altivec optimizations for many operations - A 32 bit region implementation @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.4 2008/09/16 21:22:34 bjs Exp $ d3 5 a7 7 git ref:00f3d6ef22b5a062323208fd540a17ca65dca42b (to vers 0.11.10) Fix bug in pixman_image_is_opaque(). --- pixman/pixman-image.c.orig 2008-06-13 15:51:00.000000000 -0400 +++ pixman/pixman-image.c @@@@ -818,6 +818,10 @@@@ pixman_image_is_opaque(pixman_image_t *i d9 3 a11 7 if (image->common.transform) return FALSE; + + /* Gradients do not necessarily cover the entire compositing area */ + if (image->type == LINEAR || image->type == CONICAL || image->type == RADIAL) + return FALSE; } d13 1 a13 1 return TRUE; @ 1.4 log @Add two patches from GIT: - Fix bug in pixman_image_is_opaque(). - Fix for bug 17477 (see patch-ag). While here, add missing .PHONY attribute for gen-symfile target. PKGREVISION++, but no recursive dependency bump necessary. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @ Update to pixman-0.11.4. No ChangeLog--you may check the GIT history if you're curious. Also (this is noted in the Makefile): The configure script is written to fail if it detects gcc<4.0 for lack of -fvisibility=hidden. In keeping with the pkgsrc tradition of portability, we'll opt to use libtool to export the desired symbols, hiding the rest. I have verified the list of visible symbols is unchanged from the "factory" build. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2008/04/27 11:58:09 tnn Exp $ d3 3 a5 5 Basically this patch: http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8 f0f3b256883d34770b;hp=79997e15ea645ab74d2858b574b4e8b451fb8084;hb=0c33317f59b93f 5cab348619b1c38a5dce97de94;f=configure.ac d7 3 a9 8 ... but also avoid --param inline-unit-growth with gcc3, and don't attempt to use SSE2 if the SSE test failed. --- configure.orig 2008-03-27 15:02:11.000000000 +0100 +++ configure @@@@ -19762,7 +19762,11 @@@@ fi echo "${ECHO_T}$have_gcc4" >&6; } d11 2 a12 2 -MMX_CFLAGS="-mmmx -Winline --param inline-unit-growth=10000 --param large-function-growth=10000" +MMX_CFLAGS="-mmmx -Winline" d14 4 a17 53 +if test "x$have_gcc4" = "xyes"; then + MMX_CFLAGS="$MMX_CFLAGS --param inline-unit-growth=10000 --param large-function-growth=10000" +fi have_mmx_intrinsics=no { echo "$as_me:$LINENO: checking whether to use MMX intrinsics" >&5 @@@@ -19839,6 +19843,9 @@@@ CFLAGS="$CFLAGS -msse $MMX_CFLAGS" cat >conftest.$ac_ext <<_ACEOF +#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) +#error "Need GCC >= 3.4 for SSE intrinsics" +#endif #if !defined(__amd64__) && !defined(__x86_64__) #error "Need x86-64 for SSE" #endif @@@@ -19900,18 +19907,27 @@@@ fi -SSE_CFLAGS="-mmmx -msse2 -Winline --param inline-unit-growth=10000 --param large-function-growth=10000" +SSE_CFLAGS="-mmmx -msse2 -Winline" + +if test "x$have_gcc4" = "xyes"; then + SSE_CFLAGS="$SSE_CFLAGS --param inline-unit-growth=10000 --param large-function-growth=10000 --param max-inline-insns-single=6000" +fi have_sse2_intrinsics=no { echo "$as_me:$LINENO: checking whether to use SSE2 intrinsics" >&5 echo $ECHO_N "checking whether to use SSE2 intrinsics... $ECHO_C" >&6; } +if test $have_sse_intrinsics = yes; then xserver_save_CFLAGS=$CFLAGS -CFLAGS="$CFLAGS -msse2 $MMX_CFLAGS" +CFLAGS="$CFLAGS -msse2 $SSE_CFLAGS" cat >conftest.$ac_ext <<_ACEOF +#if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4)) +#error "Need GCC >= 3.4 for SSE2 intrinsics" +#endif #include #include +#include int main () { __m128i a, b, c; c = _mm_xor_si128 (a, b); @@@@ -19945,6 +19961,7 @@@@ fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext CFLAGS=$xserver_save_CFLAGS +fi { echo "$as_me:$LINENO: result: $have_sse2_intrinsics" >&5 echo "${ECHO_T}$have_sse2_intrinsics" >&6; } d19 1 @ 1.2 log @Skip the SSE2 configure test if we already know we don't have SSE, because Sun Studio gets the result of the SSE2 test wrong. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @- add patch from git for disabling gcc --param inline-* if not GCC, and change patch to disable if not GCC4. - add patch from PR pkg/38484 to fix missing symbol pixman_have_sse - bump PKGREVISION @ text @d3 1 a3 1 http://gitweb.freedesktop.org/?p=pixman.git;a=blobdiff;h=637f835221631b0f3d79d8f0f3b256883d34770b;hp=79997e15ea645ab74d2858b574b4e8b451fb8084;hb=0c33317f59b93f5cab348619b1c38a5dce97de94;f=configure.ac d5 8 a12 1 --- configure.orig 2008-04-23 11:18:48.000000000 +0200 d37 1 a37 1 @@@@ -19900,18 +19907,26 @@@@ fi d51 1 d67 8 @