public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-gfx/imageworsener/files: imageworsener-0.9.5-disable-webp-tests.patch imageworsener-0.9.5-webp.patch
@ 2011-10-20  0:47 Sebastian Pipping (sping)
  0 siblings, 0 replies; only message in thread
From: Sebastian Pipping (sping) @ 2011-10-20  0:47 UTC (permalink / raw
  To: gentoo-commits

sping       11/10/20 00:47:21

  Added:                imageworsener-0.9.5-disable-webp-tests.patch
                        imageworsener-0.9.5-webp.patch
  Log:
  media-gfx/imageworsener: Bump to 0.9.5
  
  (Portage version: 2.1.10.27/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  media-gfx/imageworsener/files/imageworsener-0.9.5-disable-webp-tests.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imageworsener/files/imageworsener-0.9.5-disable-webp-tests.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imageworsener/files/imageworsener-0.9.5-disable-webp-tests.patch?rev=1.1&content-type=text/plain

Index: imageworsener-0.9.5-disable-webp-tests.patch
===================================================================
--- tests/runtest	2011-10-08 04:02:28.000000000 +0200
+++ test/runtest	2011-10-20 02:36:57.839706231 +0200
@@ -58,7 +58,7 @@
 	mkdir actual
 fi
 
-rm -f actual/*.png actual/*.jpg actual/*.bmp actual/*.tif actual/*.miff actual/*.webp
+rm -f actual/*.png actual/*.jpg actual/*.bmp actual/*.tif actual/*.miff
 
 echo "Creating images..."
 
@@ -156,10 +156,6 @@
 $IW srcimg/g8a.png actual/miff32.miff -width 11 -depth 32
 $IW srcimg/rgb16.png actual/miff64.miff -width 11 -depth 64
 
-# Test writing WebP
-$IW srcimg/rgb16.png actual/webp1.webp -width 23
-$IW srcimg/g8.png actual/webp2.webp -width 24 -grayscale
-
 # Extra pixel density tests
 $IW srcimg/rgb8x1.png actual/dens-1.png $DCMPR $SCALE -filter mix
 $IW srcimg/rgb8x2.png actual/dens-2.png $DCMPR $SCALE -filter mix
@@ -200,7 +196,7 @@
 
 FAIL=0
 for ff in expected/*.png expected/*.jpg expected/*.bmp expected/*.tif \
- expected/*.miff expected/*.webp
+ expected/*.miff
 do
 	f=${ff#expected/}
 	#echo $f



1.1                  media-gfx/imageworsener/files/imageworsener-0.9.5-webp.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imageworsener/files/imageworsener-0.9.5-webp.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/imageworsener/files/imageworsener-0.9.5-webp.patch?rev=1.1&content-type=text/plain

Index: imageworsener-0.9.5-webp.patch
===================================================================
--- CMakeLists.txt	2011-10-08 04:02:28.000000000 +0200
+++ CMakeLists.txt	2011-10-20 02:18:25.705609820 +0200
@@ -51,7 +51,6 @@
 
 set(IW_SUPPORT_JPEG 0)
 set(IW_SUPPORT_PNG 0)
-set(IW_SUPPORT_WEBP 0)
 
 find_package(JPEG)
 if(JPEG_FOUND)
@@ -101,7 +102,6 @@
 endif()
 
 if(EXISTS "${LIBWEBP_LIBFILE}")
-  set(IW_SUPPORT_WEBP 1)
   set(WEBP_INCLUDE_DIR "${LIBWEBP_DIR}/src")
   set(WEBP_LIBRARIES "${LIBWEBP_LIBFILE}")
   message(STATUS "Found WebP: ${WEBP_LIBRARIES}")
@@ -132,8 +132,8 @@
 target_link_libraries(imagew imageworsener)
 
 if(IW_SUPPORT_WEBP)
-  include_directories(${WEBP_INCLUDE_DIR})
-  target_link_libraries(imagew ${WEBP_LIBRARIES})
+  include_directories(/usr/include/wepb)
+  target_link_libraries(imagew webp)
 endif()
 if(IW_SUPPORT_PNG)
   include_directories(${PNG_INCLUDE_DIR})






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-20  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-20  0:47 [gentoo-commits] gentoo-x86 commit in media-gfx/imageworsener/files: imageworsener-0.9.5-disable-webp-tests.patch imageworsener-0.9.5-webp.patch Sebastian Pipping (sping)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox