Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=imgrebuild.git;a=commitdiff;h=171ed62c5d4bfbe39fe2d0d775a17b011227c810
commit 171ed62c5d4bfbe39fe2d0d775a17b011227c810 Author: bouleetbil <bouleet...@frogdev.info> Date: Fri Apr 23 23:01:00 2010 +0000 gimp-2.6.8-3-i686 *rebuild with new libs. diff --git a/source/xapps/gimp/FrugalBuild b/source/xapps/gimp/FrugalBuild index b3af02f..7dbeca2 100644 --- a/source/xapps/gimp/FrugalBuild +++ b/source/xapps/gimp/FrugalBuild @@ -4,17 +4,18 @@ pkgname=gimp pkgver=2.6.8 -pkgrel=2 +pkgrel=3 pkgdesc="The GNU Image Manipulation Program" url="http://www.gimp.org/" -depends=('librsvg>=2.26.0-2' 'libmng' 'libexif>=0.6.12-3' 'alsa-lib' 'libgtkhtml>=2.11.1-2' \ - 'desktop-file-utils' 'lcms' 'pygtk>=2.14.1-2' 'aalib' 'libxpm>=3.5.7-2' 'intltool' 'gegl>=0.1.2') +depends=('librsvg>=2.26.0-2' 'libmng' 'libexif>=0.6.12-3' 'alsa-lib' 'libgtkhtml>=2.11.1-4' \ + 'desktop-file-utils' 'lcms' 'pygtk>=2.14.1-2' 'aalib' 'libxpm>=3.5.7-2' 'intltool' 'gegl>=0.1.2-2') groups=('xapps') archs=('i686' 'x86_64' 'ppc') makedepends=('gimp-print' 'perl-xml-parser') up2date="lynx -dump $url/downloads/|grep '[0-9].[02468].[0-9].tar.bz2'|sed -n 's/.*-\(.*\)\.t.*/\1/;$ p'" -source=(ftp://ftp.gimp.org/pub/gimp/v2.6/$pkgname-$pkgver.tar.bz2) -sha1sums=('a550943f086abc9bf6b96d576741337b7186a4f4') +source=(ftp://ftp.gimp.org/pub/gimp/v2.6/$pkgname-$pkgver.tar.bz2 libpng-1.4.patch) +sha1sums=('a550943f086abc9bf6b96d576741337b7186a4f4' \ + '21c0fe284c39cc133ec977a48ec38220033020c5') options=('scriptlet' 'force') _F_gnome_desktop="y" _F_gnome_iconcache="y" diff --git a/source/xapps/gimp/libpng-1.4.patch b/source/xapps/gimp/libpng-1.4.patch new file mode 100644 index 0000000..8f7963d --- /dev/null +++ b/source/xapps/gimp/libpng-1.4.patch @@ -0,0 +1,26 @@ +diff -Naur gimp-2.7.0-orig/plug-ins/file-ico/ico-load.c gimp-2.7.0/plug-ins/file-ico/ico-load.c +--- gimp-2.7.0-orig/plug-ins/file-ico/ico-load.c 2010-01-18 19:01:46.000000000 -0500 ++++ gimp-2.7.0/plug-ins/file-ico/ico-load.c 2010-01-18 19:14:43.000000000 -0500 +@@ -286,14 +286,22 @@ + switch (color_type) + { + case PNG_COLOR_TYPE_GRAY: ++#if PNG_LIBPNG_VER < 10400 + png_set_gray_1_2_4_to_8 (png_ptr); ++#else ++ png_set_expand_gray_1_2_4_to_8(png_ptr); ++#endif + if ( bit_depth == 16 ) + png_set_strip_16 (png_ptr); + png_set_gray_to_rgb (png_ptr); + png_set_add_alpha (png_ptr, 0xff, PNG_FILLER_AFTER); + break; + case PNG_COLOR_TYPE_GRAY_ALPHA: ++#if PNG_LIBPNG_VER < 10400 + png_set_gray_1_2_4_to_8 (png_ptr); ++#else ++ png_set_expand_gray_1_2_4_to_8(png_ptr); ++#endif + if ( bit_depth == 16 ) + png_set_strip_16 (png_ptr); + png_set_gray_to_rgb (png_ptr); _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git