pkgsrc/x11/pixman/hacks.mk

28 lines
746 B
Makefile
Raw Normal View History

2016-02-26 11:57:45 +01:00
# $NetBSD: hacks.mk,v 1.12 2016/02/26 11:27:16 jperkin Exp $
Wow, that was quick: update to pixman-0.11.8. Changes: (just a reminder: when updating this package, be sure to adjust files/pixman.sym appropriately) commit 411c0e990f7a96d4e15f2cbbe07d3b50b6a20f95 Make a couple of functions static commit 96f57c07f24cd6d86c0aad624bd1a16b85f08e04 Speed up fbOver Use FbByteMulAdd to operate on two components at a time and force the function to be inlined. commit dcbe4b3f80fb8dc6a83efa7e66a891f8b102608d fix --enable-{mmx,sse2,vmx} If --enable-foo is used, don't treat it as --disable-foo, and error out if the appropriate compiler support isn't detected. commit e21f00db50c30e80c8969fbf63982aeb7434dc1d Add pixman-1-uninstalled.pc file commit 1570746350baf82d36aeb7ea1702350700b795d7 Use -no-undefined -- fixes bug 15927 commit 99fead412e7602daf193035831b952e252dac0e1 Use <inttypes.h> on most types of Unix. Fix for bug 15560. commit 2070f10db927a97d7d38024e607093f5a6e00291 Remove unused pixman-combine.c commit 9d54568d5f93701313fdbb49c1ef9dc79fe5850c Fix SSE2 bug where x888 pixels were treated as 8888 commit 7dfd023e94d9ab5940d7062c2e5cde11ab02f43e fix Altivec detection the old code used to cause infinite looping on G3 machines. commit 0a92401678286eb438fe24979fd032efba540a0a Fix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha commit 687176023caf53f2fe234827d152f270048b1cd3 make --{en,dis}able-gtk work correctly --enable-gtk had the same effect as --disable-gtk. Now we check for it by default, and error out if we can't find it and it was explicitly enabled. commit 9d97716d2fd91d5611a5e7a7b29b38887b672e9f Fix bug 16310 in the SSE2 fast path in function fbCompositeSolidMask_nx8888x0565Csse2 commit eb53d111bd8651cd00c1b728b09e8be09b8482f7 Add a lossy 32-bit generic pixel fetch function for wide surfaces. The transformed fetch path currently only works at 32-bit precision. Until a wide version of that function is added, we need to have a path to perform a wide FetchPixel and then contract it down to a8r8g8b8. Also, use the right format when expanding the result in fbFetchTransformed64. fbFetchTransformed returns a8r8g8b8 results. commit 3c43b869f3821495978c61b9195f0b0e9e9e1245 Unexport or delete various functions - Delete pixman_region_append() - Delete pixman_region_empty() - Make pixman_region_validate() static and don't export it. Reported by Julien Cristau. commit 36b05f2cac7fa28e31131ca0d6b8b133ccd95ab8 Only export the 16 bit version of pixman_region_set_static_pointers()
2008-07-18 05:34:10 +02:00
#
.if !defined(PIXMAN_HACKS_MK)
PIXMAN_HACKS_MK= # empty
. include "../../mk/bsd.fast.prefs.mk"
Wow, that was quick: update to pixman-0.11.8. Changes: (just a reminder: when updating this package, be sure to adjust files/pixman.sym appropriately) commit 411c0e990f7a96d4e15f2cbbe07d3b50b6a20f95 Make a couple of functions static commit 96f57c07f24cd6d86c0aad624bd1a16b85f08e04 Speed up fbOver Use FbByteMulAdd to operate on two components at a time and force the function to be inlined. commit dcbe4b3f80fb8dc6a83efa7e66a891f8b102608d fix --enable-{mmx,sse2,vmx} If --enable-foo is used, don't treat it as --disable-foo, and error out if the appropriate compiler support isn't detected. commit e21f00db50c30e80c8969fbf63982aeb7434dc1d Add pixman-1-uninstalled.pc file commit 1570746350baf82d36aeb7ea1702350700b795d7 Use -no-undefined -- fixes bug 15927 commit 99fead412e7602daf193035831b952e252dac0e1 Use <inttypes.h> on most types of Unix. Fix for bug 15560. commit 2070f10db927a97d7d38024e607093f5a6e00291 Remove unused pixman-combine.c commit 9d54568d5f93701313fdbb49c1ef9dc79fe5850c Fix SSE2 bug where x888 pixels were treated as 8888 commit 7dfd023e94d9ab5940d7062c2e5cde11ab02f43e fix Altivec detection the old code used to cause infinite looping on G3 machines. commit 0a92401678286eb438fe24979fd032efba540a0a Fix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha commit 687176023caf53f2fe234827d152f270048b1cd3 make --{en,dis}able-gtk work correctly --enable-gtk had the same effect as --disable-gtk. Now we check for it by default, and error out if we can't find it and it was explicitly enabled. commit 9d97716d2fd91d5611a5e7a7b29b38887b672e9f Fix bug 16310 in the SSE2 fast path in function fbCompositeSolidMask_nx8888x0565Csse2 commit eb53d111bd8651cd00c1b728b09e8be09b8482f7 Add a lossy 32-bit generic pixel fetch function for wide surfaces. The transformed fetch path currently only works at 32-bit precision. Until a wide version of that function is added, we need to have a path to perform a wide FetchPixel and then contract it down to a8r8g8b8. Also, use the right format when expanding the result in fbFetchTransformed64. fbFetchTransformed returns a8r8g8b8 results. commit 3c43b869f3821495978c61b9195f0b0e9e9e1245 Unexport or delete various functions - Delete pixman_region_append() - Delete pixman_region_empty() - Make pixman_region_validate() static and don't export it. Reported by Julien Cristau. commit 36b05f2cac7fa28e31131ca0d6b8b133ccd95ab8 Only export the 16 bit version of pixman_region_set_static_pointers()
2008-07-18 05:34:10 +02:00
. include "../../mk/compiler.mk"
###
### XXX SSE2 intrinsics require gcc-4.2+ to build.
### XXX Need to disable SSSE3 explicitly, too.
Wow, that was quick: update to pixman-0.11.8. Changes: (just a reminder: when updating this package, be sure to adjust files/pixman.sym appropriately) commit 411c0e990f7a96d4e15f2cbbe07d3b50b6a20f95 Make a couple of functions static commit 96f57c07f24cd6d86c0aad624bd1a16b85f08e04 Speed up fbOver Use FbByteMulAdd to operate on two components at a time and force the function to be inlined. commit dcbe4b3f80fb8dc6a83efa7e66a891f8b102608d fix --enable-{mmx,sse2,vmx} If --enable-foo is used, don't treat it as --disable-foo, and error out if the appropriate compiler support isn't detected. commit e21f00db50c30e80c8969fbf63982aeb7434dc1d Add pixman-1-uninstalled.pc file commit 1570746350baf82d36aeb7ea1702350700b795d7 Use -no-undefined -- fixes bug 15927 commit 99fead412e7602daf193035831b952e252dac0e1 Use <inttypes.h> on most types of Unix. Fix for bug 15560. commit 2070f10db927a97d7d38024e607093f5a6e00291 Remove unused pixman-combine.c commit 9d54568d5f93701313fdbb49c1ef9dc79fe5850c Fix SSE2 bug where x888 pixels were treated as 8888 commit 7dfd023e94d9ab5940d7062c2e5cde11ab02f43e fix Altivec detection the old code used to cause infinite looping on G3 machines. commit 0a92401678286eb438fe24979fd032efba540a0a Fix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha commit 687176023caf53f2fe234827d152f270048b1cd3 make --{en,dis}able-gtk work correctly --enable-gtk had the same effect as --disable-gtk. Now we check for it by default, and error out if we can't find it and it was explicitly enabled. commit 9d97716d2fd91d5611a5e7a7b29b38887b672e9f Fix bug 16310 in the SSE2 fast path in function fbCompositeSolidMask_nx8888x0565Csse2 commit eb53d111bd8651cd00c1b728b09e8be09b8482f7 Add a lossy 32-bit generic pixel fetch function for wide surfaces. The transformed fetch path currently only works at 32-bit precision. Until a wide version of that function is added, we need to have a path to perform a wide FetchPixel and then contract it down to a8r8g8b8. Also, use the right format when expanding the result in fbFetchTransformed64. fbFetchTransformed returns a8r8g8b8 results. commit 3c43b869f3821495978c61b9195f0b0e9e9e1245 Unexport or delete various functions - Delete pixman_region_append() - Delete pixman_region_empty() - Make pixman_region_validate() static and don't export it. Reported by Julien Cristau. commit 36b05f2cac7fa28e31131ca0d6b8b133ccd95ab8 Only export the 16 bit version of pixman_region_set_static_pointers()
2008-07-18 05:34:10 +02:00
###
.if empty(CC_VERSION:Mgcc-4.[2-9]*) && \
empty(CC_VERSION:Mgcc-[5-9].*) && \
empty(CC_VERSION:Mgcc-[1-9][0-9]*)
CONFIGURE_ARGS+= --disable-sse2 --disable-ssse3
.endif
Wow, that was quick: update to pixman-0.11.8. Changes: (just a reminder: when updating this package, be sure to adjust files/pixman.sym appropriately) commit 411c0e990f7a96d4e15f2cbbe07d3b50b6a20f95 Make a couple of functions static commit 96f57c07f24cd6d86c0aad624bd1a16b85f08e04 Speed up fbOver Use FbByteMulAdd to operate on two components at a time and force the function to be inlined. commit dcbe4b3f80fb8dc6a83efa7e66a891f8b102608d fix --enable-{mmx,sse2,vmx} If --enable-foo is used, don't treat it as --disable-foo, and error out if the appropriate compiler support isn't detected. commit e21f00db50c30e80c8969fbf63982aeb7434dc1d Add pixman-1-uninstalled.pc file commit 1570746350baf82d36aeb7ea1702350700b795d7 Use -no-undefined -- fixes bug 15927 commit 99fead412e7602daf193035831b952e252dac0e1 Use <inttypes.h> on most types of Unix. Fix for bug 15560. commit 2070f10db927a97d7d38024e607093f5a6e00291 Remove unused pixman-combine.c commit 9d54568d5f93701313fdbb49c1ef9dc79fe5850c Fix SSE2 bug where x888 pixels were treated as 8888 commit 7dfd023e94d9ab5940d7062c2e5cde11ab02f43e fix Altivec detection the old code used to cause infinite looping on G3 machines. commit 0a92401678286eb438fe24979fd032efba540a0a Fix fbCompositeSrc_x888xnx8888mmx to properly ignore source alpha commit 687176023caf53f2fe234827d152f270048b1cd3 make --{en,dis}able-gtk work correctly --enable-gtk had the same effect as --disable-gtk. Now we check for it by default, and error out if we can't find it and it was explicitly enabled. commit 9d97716d2fd91d5611a5e7a7b29b38887b672e9f Fix bug 16310 in the SSE2 fast path in function fbCompositeSolidMask_nx8888x0565Csse2 commit eb53d111bd8651cd00c1b728b09e8be09b8482f7 Add a lossy 32-bit generic pixel fetch function for wide surfaces. The transformed fetch path currently only works at 32-bit precision. Until a wide version of that function is added, we need to have a path to perform a wide FetchPixel and then contract it down to a8r8g8b8. Also, use the right format when expanding the result in fbFetchTransformed64. fbFetchTransformed returns a8r8g8b8 results. commit 3c43b869f3821495978c61b9195f0b0e9e9e1245 Unexport or delete various functions - Delete pixman_region_append() - Delete pixman_region_empty() - Make pixman_region_validate() static and don't export it. Reported by Julien Cristau. commit 36b05f2cac7fa28e31131ca0d6b8b133ccd95ab8 Only export the 16 bit version of pixman_region_set_static_pointers()
2008-07-18 05:34:10 +02:00
.endif
.if !empty(PKGSRC_COMPILER:Msunpro)
CONFIGURE_ARGS+= --disable-sse2 --disable-mmx --disable-ssse3
.endif
2016-02-26 11:57:45 +01:00
CONFIGURE_ARGS.MirBSD+= PTHREAD_LIBS=-pthread
2012-07-15 07:18:30 +02:00
.if !empty(MACHINE_PLATFORM:MNetBSD-[0-5].*-*)
CONFIGURE_ENV+= ac_cv_tls=none
CFLAGS+= -DPIXMAN_NO_TLS
2012-07-15 07:18:30 +02:00
.endif