diff options
author | rh <rh@pkgsrc.org> | 2001-08-13 11:14:30 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2001-08-13 11:14:30 +0000 |
commit | 93039773f46b90c262f2f7f60fe3567c62b882f4 (patch) | |
tree | 3e0ae462f46db39dc835563585c5b4688069782e /graphics/imlib/patches | |
parent | 5951f4af8506484d9d8edc4dca89d4cd180ea52f (diff) | |
download | pkgsrc-93039773f46b90c262f2f7f60fe3567c62b882f4.tar.gz |
Update imlib to 1.9.11. Changes are bugfixes and the addition of man pages
Diffstat (limited to 'graphics/imlib/patches')
-rw-r--r-- | graphics/imlib/patches/patch-aa | 34 | ||||
-rw-r--r-- | graphics/imlib/patches/patch-ab | 22 | ||||
-rw-r--r-- | graphics/imlib/patches/patch-ac | 8 | ||||
-rw-r--r-- | graphics/imlib/patches/patch-ad | 29 | ||||
-rw-r--r-- | graphics/imlib/patches/patch-ae | 10 |
5 files changed, 39 insertions, 64 deletions
diff --git a/graphics/imlib/patches/patch-aa b/graphics/imlib/patches/patch-aa index c4c76d978f2..6cbcc1a0ca8 100644 --- a/graphics/imlib/patches/patch-aa +++ b/graphics/imlib/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.11 2000/06/17 01:09:36 wiz Exp $ +$NetBSD: patch-aa,v 1.12 2001/08/13 11:14:31 rh Exp $ ---- gdk_imlib/io-png.c.orig Sun Oct 3 21:17:35 1999 -+++ gdk_imlib/io-png.c Sat Jun 17 02:58:44 2000 -@@ -61,6 +61,9 @@ +--- gdk_imlib/io-png.c.orig Sat Jul 28 16:15:16 2001 ++++ gdk_imlib/io-png.c +@@ -299,6 +299,9 @@ /* Setup Translators */ if (color_type == PNG_COLOR_TYPE_PALETTE) png_set_expand(png_ptr); @@ -12,29 +12,3 @@ $NetBSD: patch-aa,v 1.11 2000/06/17 01:09:36 wiz Exp $ png_set_strip_16(png_ptr); png_set_packing(png_ptr); if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) -@@ -97,7 +100,8 @@ - png_read_image(png_ptr, lines); - png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - ptr = data; -- if (color_type == PNG_COLOR_TYPE_GRAY_ALPHA) -+ if (color_type == PNG_COLOR_TYPE_GRAY -+ || color_type == PNG_COLOR_TYPE_GRAY_ALPHA) - { - for (y = 0; y < *h; y++) - { -@@ -122,6 +126,7 @@ - } - } - } -+#if 0 - else if (color_type == PNG_COLOR_TYPE_GRAY) - { - for (y = 0; y < *h; y++) -@@ -136,6 +141,7 @@ - } - } - } -+#endif - else - { - for (y = 0; y < *h; y++) diff --git a/graphics/imlib/patches/patch-ab b/graphics/imlib/patches/patch-ab index e6f345f8db5..3905e6e1d42 100644 --- a/graphics/imlib/patches/patch-ab +++ b/graphics/imlib/patches/patch-ab @@ -1,18 +1,8 @@ -$NetBSD: patch-ab,v 1.3 2000/06/17 01:09:36 wiz Exp $ +$NetBSD: patch-ab,v 1.4 2001/08/13 11:14:31 rh Exp $ ---- Imlib/load.c.orig Sun Oct 3 21:17:35 1999 -+++ Imlib/load.c Sat Jun 17 02:58:25 2000 -@@ -209,6 +209,9 @@ - /* Setup Translators */ - if (color_type == PNG_COLOR_TYPE_PALETTE) - png_set_expand(png_ptr); -+ if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) -+ png_set_expand(png_ptr); -+ - png_set_strip_16(png_ptr); - png_set_packing(png_ptr); - if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) -@@ -247,7 +250,8 @@ +--- Imlib/load.c.orig Wed Aug 1 00:15:16 2001 ++++ Imlib/load.c +@@ -241,7 +241,8 @@ png_read_image(png_ptr, lines); png_destroy_read_struct(&png_ptr, &info_ptr, NULL); ptr = data; @@ -22,7 +12,7 @@ $NetBSD: patch-ab,v 1.3 2000/06/17 01:09:36 wiz Exp $ { for (y = 0; y < *h; y++) { -@@ -272,6 +276,7 @@ +@@ -266,6 +267,7 @@ } } } @@ -30,7 +20,7 @@ $NetBSD: patch-ab,v 1.3 2000/06/17 01:09:36 wiz Exp $ else if (color_type == PNG_COLOR_TYPE_GRAY) { for (y = 0; y < *h; y++) -@@ -286,6 +291,7 @@ +@@ -281,6 +283,7 @@ } } } diff --git a/graphics/imlib/patches/patch-ac b/graphics/imlib/patches/patch-ac index f517b594783..5795113156b 100644 --- a/graphics/imlib/patches/patch-ac +++ b/graphics/imlib/patches/patch-ac @@ -1,11 +1,11 @@ -$NetBSD: patch-ac,v 1.7 2000/06/27 01:13:49 wiz Exp $ +$NetBSD: patch-ac,v 1.8 2001/08/13 11:14:31 rh Exp $ ---- gdk_imlib/Makefile.am.orig Sat May 20 08:24:11 2000 -+++ gdk_imlib/Makefile.am Tue Jun 27 00:54:21 2000 +--- gdk_imlib/Makefile.am.orig Wed Aug 1 01:34:44 2001 ++++ gdk_imlib/Makefile.am @@ -82,7 +82,7 @@ - libgdk_imlib_la_LDFLAGS = -version-info 10:8:9 + libgdk_imlib_la_LDFLAGS = -version-info 10:11:9 -libgdk_imlib_la_LIBADD = $(GMODULE_LIBS) +libgdk_imlib_la_LIBADD = $(GMODULE_LIBS) $(SUPPORT_LIBS) diff --git a/graphics/imlib/patches/patch-ad b/graphics/imlib/patches/patch-ad index 1fa06277a0e..2ff40fb70d1 100644 --- a/graphics/imlib/patches/patch-ad +++ b/graphics/imlib/patches/patch-ad @@ -1,8 +1,8 @@ -$NetBSD: patch-ad,v 1.4 2001/06/16 19:56:16 jlam Exp $ +$NetBSD: patch-ad,v 1.5 2001/08/13 11:14:31 rh Exp $ ---- configure.in.orig Sat May 20 02:24:10 2000 -+++ configure.in Fri Jun 15 22:52:42 2001 -@@ -34,6 +34,8 @@ +--- configure.in.orig Wed Aug 1 00:12:24 2001 ++++ configure.in +@@ -32,6 +32,8 @@ fi ]) @@ -11,7 +11,7 @@ $NetBSD: patch-ad,v 1.4 2001/06/16 19:56:16 jlam Exp $ dynworks=false if test x$with_modules = xno; then AC_MSG_RESULT(no) -@@ -43,8 +45,8 @@ +@@ -41,8 +43,8 @@ if test "x$GDK_IMLIB" != x; then oLIBS="$LIBS" oCFLAGS="$CFLAGS" @@ -22,7 +22,7 @@ $NetBSD: patch-ad,v 1.4 2001/06/16 19:56:16 jlam Exp $ AC_TRY_RUN([ #include <glib.h> #include <gmodule.h> -@@ -76,8 +78,8 @@ +@@ -74,8 +76,8 @@ if $dynworks; then AC_DEFINE(USE_GMODULE) @@ -32,8 +32,8 @@ $NetBSD: patch-ad,v 1.4 2001/06/16 19:56:16 jlam Exp $ + GMODULE_FLAGS="`$GLIB_CONFIG --cflags gmodule`" AC_SUBST(GMODULE_LIBS) AC_SUBST(GMODULE_FLAGS) - AC_MSG_RESULT(yes) -@@ -157,7 +159,9 @@ + fi +@@ -153,7 +155,9 @@ GX_LIBS="$GTK_LIBS" fi @@ -44,7 +44,18 @@ $NetBSD: patch-ad,v 1.4 2001/06/16 19:56:16 jlam Exp $ SUPPORT_LIBS="" -@@ -338,6 +342,7 @@ +@@ -245,8 +249,8 @@ + dnl Test for libtiff + AC_CHECK_LIB(tiff, TIFFReadScanline, + AC_CHECK_HEADER(tiffio.h, +- TIFFLIBS="-ltiff" +- SUPPORT_LIBS="$SUPPORT_LIBS -ltiff"; AC_DEFINE(HAVE_LIBTIFF), ++ TIFFLIBS="-ltiff -ljpeg -lz" ++ SUPPORT_LIBS="$SUPPORT_LIBS -ltiff -jpeg -lz"; AC_DEFINE(HAVE_LIBTIFF), + AC_MSG_WARN(*** Native TIFF support will not be built (TIFF header files not found) ***)), + AC_CHECK_LIB(tiff, TIFFWriteScanline, + AC_CHECK_HEADER(tiffio.h, +@@ -334,6 +338,7 @@ AC_SUBST(CPPFLAGS) AC_SUBST(X_CFLAGS) AC_SUBST(LDFLAGS) diff --git a/graphics/imlib/patches/patch-ae b/graphics/imlib/patches/patch-ae index 6e9f6ab5a64..11ad2029a84 100644 --- a/graphics/imlib/patches/patch-ae +++ b/graphics/imlib/patches/patch-ae @@ -1,7 +1,7 @@ -$NetBSD: patch-ae,v 1.3 2001/06/16 19:54:50 jlam Exp $ +$NetBSD: patch-ae,v 1.4 2001/08/13 11:14:31 rh Exp $ ---- imlib-config.in.orig Thu Jan 14 04:43:29 1999 -+++ imlib-config.in Fri Jun 15 22:58:16 2001 +--- imlib-config.in.orig Wed Mar 28 05:18:40 2001 ++++ imlib-config.in @@ -55,15 +55,15 @@ if test @includedir@ != /usr/include ; then includes=-I@includedir@ @@ -11,9 +11,9 @@ $NetBSD: patch-ae,v 1.3 2001/06/16 19:54:50 jlam Exp $ ;; --libs) - libdirs=-L@libdir@ -- echo $libdirs -lImlib $gx_libs @LDFLAGS@ @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ +- echo $libdirs -lImlib @LDFLAGS@ $gx_libs @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ + libdirs="-L@libdir@ -Wl,-R@libdir@" -+ echo $libdirs -lImlib $gx_libs @X_LDFLAGS@ @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ ++ echo $libdirs -lImlib @X_LDFLAGS@ $gx_libs @X_LIBS@ @X_PRE_LIBS@ -lXext -lX11 @X_EXTRA_LIBS@ ;; --libs-gdk) - libdirs=-L@libdir@ |