gimp: update to 2.6.11.

This commit is contained in:
Juan RP 2011-01-29 17:07:12 +01:00
parent b51b813e3c
commit 4f119c3867
4 changed files with 3 additions and 33 deletions

View file

@ -5,8 +5,6 @@ long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
revision=2
Add_dependency run intltool Add_dependency run intltool
Add_dependency run pkg-config Add_dependency run pkg-config
Add_dependency run gtk+-devel Add_dependency run gtk+-devel

View file

@ -5,8 +5,6 @@ long_desc="${long_desc}
This package contains the Python bindings." This package contains the Python bindings."
revision=1
Add_dependency run glibc Add_dependency run glibc
Add_dependency run gimp Add_dependency run gimp
Add_dependency run glib Add_dependency run glib

View file

@ -1,25 +0,0 @@
--- plug-ins/file-ico/ico-load.c 2010-01-18 19:01:46.000000000 -0500
+++ 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);

View file

@ -1,14 +1,13 @@
# Template build file for 'gimp'. # Template build file for 'gimp'.
pkgname=gimp pkgname=gimp
version=2.6.8 version=2.6.11
revision=5 distfiles="ftp://ftp.gimp.org/pub/gimp/v2.6/gimp-$version.tar.bz2"
distfiles="ftp://ftp.gimp.org/pub/gimp/v2.6/$pkgname-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--without-aa --without-gvfs --without-gnomevfs configure_args="--without-aa --without-gvfs --without-gnomevfs
--enable-gimp-remote --without-hal" --enable-gimp-remote --without-hal"
short_desc="The GNU image manipulation program" short_desc="The GNU image manipulation program"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d5d4218b742390157fca23a9d2cce436904546a2ea419ffeb44a5f43c99a3332 checksum=9b6d08d0803b3912ea596d1b77b9c21ee13778c23388a225c004b8c1587cb0a1
long_desc=" long_desc="
Powerful image manipulation program similar to \"Adobe Photoshop\"[tm]. Powerful image manipulation program similar to \"Adobe Photoshop\"[tm].
It supports layers, arbitrary image sizes and working on several images It supports layers, arbitrary image sizes and working on several images