Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics
In directory vz-cvs-3.sog:/tmp/cvs-serv1906

Modified Files:
        imlib2.patch imlib2.info 
Log Message:
new version imlib2 1.4.5
Now includes upstream support for libpng15 and patch-based treatment of 
-no-undefined

Index: imlib2.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/imlib2.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- imlib2.info 31 Oct 2011 17:54:37 -0000      1.3
+++ imlib2.info 30 Jul 2012 18:55:20 -0000      1.4
@@ -1,6 +1,6 @@
 Package: imlib2
-Version: 1.4.2
-Revision: 5
+Version: 1.4.5
+Revision: 1
 Description: Image handling library for X11
 License: BSD
 Maintainer: Benjamin Reed <[email protected]>
@@ -8,7 +8,8 @@
 Depends: <<
        %N-shlibs (= %v-%r),
        freetype219-shlibs (>= 2.3.12-1),
-       giflib-shlibs
+       giflib-shlibs,
+       x11-shlibs
 <<
 BuildDepends: <<
        autoconf2.6,
@@ -30,22 +31,16 @@
 BuildDependsOnly: true
 
 Source: mirror:sourceforge:enlightenment/%n-%v.tar.bz2
-Source-MD5: 9f15568e76ebda9092c571e0df261f54
+Source-MD5: 859e5fede51ec819f4314eee11da3ea5
 PatchFile: %n.patch
-PatchFile-MD5: 7770e67c4fb265f8db89c3688a04844d
-PatchScript: <<
-       %{default_script}
-       perl -pi -e 's/(LDFLAGS.*=.*-module)/\1 -no-undefined/' 
src/modules/{filters,loaders}/Makefile.am
-<<
+PatchFile-MD5: 33a7c4f995ce9558a2f2025136ea999a
 
-UseMaxBuildJobs: false
 ConfigureParams: --enable-visibility-hiding --enable-dependency-tracking 
--disable-static --disable-amd64
 
 CompileScript: <<
 #!/bin/sh -ev
-       autoreconf -fi
        ./configure %c
-       make
+       make -w V=1
        fink-package-precedence --prohibit-bdep=%n .
 <<
 InstallScript:         make install DESTDIR=%d
@@ -75,8 +70,11 @@
 they have very similar functionality.
 <<
 DescPackaging: <<
-       Fix -I ordering (local before global)
-
-       Upstream-mailing-list patch for libpng15 support. See:
-       http://sourceforge.net/mailarchive/message.php?msg_id=26896648
+       For version 1.4.5
+       -----------------
+       Move setting -no-undefined to PatchFile to guarantee catching changes
+       when upstream modifies files.
+       
+       amd64 opts broken on 10.6/x86_64. Build on 10.7, but symbols are 
incorrect
+       when linking object files into the dylib, so keep it disabled.
 <<

Index: imlib2.patch
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/graphics/imlib2.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- imlib2.patch        25 Sep 2011 16:01:48 -0000      1.2
+++ imlib2.patch        30 Jul 2012 18:55:20 -0000      1.3
@@ -1,91 +1,106 @@
-diff -Nurd -x'*~' imlib2-1.4.2.orig/src/lib/Makefile.am 
imlib2-1.4.2/src/lib/Makefile.am
---- imlib2-1.4.2.orig/src/lib/Makefile.am      2008-08-17 05:39:13.000000000 
-0400
-+++ imlib2-1.4.2/src/lib/Makefile.am   2011-09-23 17:58:44.000000000 -0400
-@@ -1,6 +1,6 @@
- AUTOMAKE_OPTIONS     = 1.4 foreign
- MAINTAINERCLEANFILES = Makefile.in
--INCLUDES           = @my_includes@ -I. -I$(top_srcdir)  -I$(top_builddir)  
-DPACKAGE_LIB_DIR=\"$(libdir)\"
-+INCLUDES           = -I. -I$(top_srcdir) -I$(top_builddir) @my_includes@ 
-DPACKAGE_LIB_DIR=\"$(libdir)\"
- 
- lib_LTLIBRARIES      = libImlib2.la
- include_HEADERS      = Imlib2.h
-@@ -98,5 +98,5 @@
- libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h
- endif
- endif
--libImlib2_la_LDFLAGS      = -version-info @lt_version@
-+libImlib2_la_LDFLAGS      = -version-info @lt_version@ -no-undefined
- 
-diff -Nurd -x'*~' imlib2-1.4.2.orig/src/modules/loaders/loader_png.c 
imlib2-1.4.2/src/modules/loaders/loader_png.c
---- imlib2-1.4.2.orig/src/modules/loaders/loader_png.c 2008-08-17 
05:39:13.000000000 -0400
-+++ imlib2-1.4.2/src/modules/loaders/loader_png.c      2011-09-23 
16:26:31.000000000 -0400
-@@ -58,7 +58,7 @@
-              fclose(f);
-              return 0;
-           }
--        if (setjmp(png_ptr->jmpbuf))
-+        if (setjmp(png_jmpbuf(png_ptr)))
-           {
-              png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
-              fclose(f);
-@@ -238,7 +238,7 @@
-    png_structp         png_ptr;
-    png_infop           info_ptr;
-    DATA32             *ptr;
--   int                 x, y, j;
-+   int                 x, y, j, interlace;
-    png_bytep           row_ptr, data = NULL;
-    png_color_8         sig_bit;
-    int                 pl = 0;
-@@ -265,7 +265,7 @@
-         png_destroy_write_struct(&png_ptr, (png_infopp) NULL);
-         return 0;
-      }
--   if (setjmp(png_ptr->jmpbuf))
-+   if (setjmp(png_jmpbuf(png_ptr)))
-      {
-         fclose(f);
-         png_destroy_write_struct(&png_ptr, (png_infopp) & info_ptr);
-@@ -274,11 +274,11 @@
-      }
- 
-    /* check whether we should use interlacing */
-+   interlace = PNG_INTERLACE_NONE;
-    if ((tag = __imlib_GetTag(im, "interlacing")) && tag->val)
-      {
- #ifdef PNG_WRITE_INTERLACING_SUPPORTED
--          png_ptr->interlaced = PNG_INTERLACE_ADAM7;
--          num_passes = png_set_interlace_handling(png_ptr);
-+        interlace = PNG_INTERLACE_ADAM7;
- #endif
-      }
+--- a/src/lib/Makefile.in.orig 2011-08-15 15:31:19.000000000 -0400
++++ b/src/lib/Makefile.in      2012-07-30 12:13:12.000000000 -0400
+@@ -354,7 +354,7 @@
+ @BUILD_MMX_TRUE@libImlib2_la_DEPENDENCIES = $(top_builddir)/config.h 
$(MMX_OBJS)
+ @BUILD_AMD64_TRUE@@BUILD_MMX_FALSE@EXTRA_libImlib2_la_SOURCES = $(AMD64_SRCS)
+ @BUILD_MMX_TRUE@EXTRA_libImlib2_la_SOURCES = $(MMX_SRCS) 
+-libImlib2_la_LDFLAGS = -version-info @lt_version@
++libImlib2_la_LDFLAGS = -version-info @lt_version@ -no-undefined
+ all: all-am
  
-@@ -286,7 +286,7 @@
-    if (im->flags & F_HAS_ALPHA)
-      {
-         png_set_IHDR(png_ptr, info_ptr, im->w, im->h, 8,
--                     PNG_COLOR_TYPE_RGB_ALPHA, png_ptr->interlaced,
-+                     PNG_COLOR_TYPE_RGB_ALPHA, interlace,
-                      PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE);
- #ifdef WORDS_BIGENDIAN
-         png_set_swap_alpha(png_ptr);
-@@ -297,7 +297,7 @@
-    else
-      {
-         png_set_IHDR(png_ptr, info_ptr, im->w, im->h, 8, PNG_COLOR_TYPE_RGB,
--                     png_ptr->interlaced, PNG_COMPRESSION_TYPE_BASE,
-+                     interlace, PNG_COMPRESSION_TYPE_BASE,
-                      PNG_FILTER_TYPE_BASE);
-         data = malloc(im->w * 3 * sizeof(char));
-      }
-@@ -344,6 +344,10 @@
-    png_set_shift(png_ptr, &sig_bit);
-    png_set_packing(png_ptr);
+ .SUFFIXES:
+diff -ruN imlib2-1.4.5-orig/src/modules/filters/Makefile.in 
imlib2-1.4.5/src/modules/filters/Makefile.in
+--- imlib2-1.4.5-orig/src/modules/filters/Makefile.in  2011-08-15 
15:31:19.000000000 -0400
++++ imlib2-1.4.5/src/modules/filters/Makefile.in       2012-07-30 
12:24:25.000000000 -0400
+@@ -269,15 +269,15 @@
+ pkg_LTLIBRARIES = testfilter.la bumpmap.la colormod.la
+ EXTRA_DIST = filter_common.h
+ testfilter_la_SOURCES = filter_test.c
+-testfilter_la_LDFLAGS = -module -avoid-version
++testfilter_la_LDFLAGS = -module -no-undefined -avoid-version
+ testfilter_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ testfilter_la_LIBTOOLFLAGS = --tag=disable-static
+ bumpmap_la_SOURCES = filter_bumpmap.c
+-bumpmap_la_LDFLAGS = -module -avoid-version
++bumpmap_la_LDFLAGS = -module -no-undefined -avoid-version
+ bumpmap_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la -lm
+ bumpmap_la_LIBTOOLFLAGS = --tag=disable-static
+ colormod_la_SOURCES = filter_colormod.c
+-colormod_la_LDFLAGS = -module -avoid-version
++colormod_la_LDFLAGS = -module -no-undefined -avoid-version
+ colormod_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ colormod_la_LIBTOOLFLAGS = --tag=disable-static
+ all: all-am
+diff -ruN imlib2-1.4.5-orig/src/modules/loaders/Makefile.in 
imlib2-1.4.5/src/modules/loaders/Makefile.in
+--- imlib2-1.4.5-orig/src/modules/loaders/Makefile.in  2011-08-15 
15:31:19.000000000 -0400
++++ imlib2-1.4.5/src/modules/loaders/Makefile.in       2012-07-30 
12:24:25.000000000 -0400
+@@ -361,56 +361,56 @@
  
-+#ifdef PNG_WRITE_INTERLACING_SUPPORTED
-+     num_passes = png_set_interlace_handling(png_ptr);
-+#endif
-+
-    for (pass = 0; pass < num_passes; pass++)
-      {
-       ptr = im->data;
+ EXTRA_DIST = loader_common.h
+ jpeg_la_SOURCES = loader_jpeg.c
+-jpeg_la_LDFLAGS = -module -avoid-version
++jpeg_la_LDFLAGS = -module -no-undefined -avoid-version
+ jpeg_la_LIBADD = @JPEGLIBS@ $(top_builddir)/src/lib/libImlib2.la
+ jpeg_la_LIBTOOLFLAGS = --tag=disable-static
+ png_la_SOURCES = loader_png.c
+ png_la_CPPFLAGS = @PNG_CFLAGS@
+-png_la_LDFLAGS = -module -avoid-version
++png_la_LDFLAGS = -module -no-undefined -avoid-version
+ png_la_LIBADD = @PNG_LIBS@ $(top_builddir)/src/lib/libImlib2.la
+ png_la_LIBTOOLFLAGS = --tag=disable-static
+ tiff_la_SOURCES = loader_tiff.c
+-tiff_la_LDFLAGS = -module -avoid-version
++tiff_la_LDFLAGS = -module -no-undefined -avoid-version
+ tiff_la_LIBADD = @TIFFLIBS@ $(top_builddir)/src/lib/libImlib2.la
+ tiff_la_LIBTOOLFLAGS = --tag=disable-static
+ gif_la_SOURCES = loader_gif.c
+-gif_la_LDFLAGS = -module -avoid-version
++gif_la_LDFLAGS = -module -no-undefined -avoid-version
+ gif_la_LIBADD = @GIFLIBS@ $(top_builddir)/src/lib/libImlib2.la
+ gif_la_LIBTOOLFLAGS = --tag=disable-static
+ zlib_la_SOURCES = loader_zlib.c
+-zlib_la_LDFLAGS = -module -avoid-version
++zlib_la_LDFLAGS = -module -no-undefined -avoid-version
+ zlib_la_LIBADD = @ZLIBLIBS@ $(top_builddir)/src/lib/libImlib2.la
+ zlib_la_LIBTOOLFLAGS = --tag=disable-static
+ bz2_la_SOURCES = loader_bz2.c
+-bz2_la_LDFLAGS = -module -avoid-version
++bz2_la_LDFLAGS = -module -no-undefined -avoid-version
+ bz2_la_LIBADD = @BZ2LIBS@ $(top_builddir)/src/lib/libImlib2.la
+ bz2_la_LIBTOOLFLAGS = --tag=disable-static
+ id3_la_SOURCES = loader_id3.c
+-id3_la_LDFLAGS = -module -avoid-version
++id3_la_LDFLAGS = -module -no-undefined -avoid-version
+ id3_la_LIBADD = @ID3LIBS@ $(top_builddir)/src/lib/libImlib2.la
+ id3_la_LIBTOOLFLAGS = --tag=disable-static
+ pnm_la_SOURCES = loader_pnm.c
+-pnm_la_LDFLAGS = -module -avoid-version
++pnm_la_LDFLAGS = -module -no-undefined -avoid-version
+ pnm_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ pnm_la_LIBTOOLFLAGS = --tag=disable-static
+ argb_la_SOURCES = loader_argb.c
+-argb_la_LDFLAGS = -module -avoid-version
++argb_la_LDFLAGS = -module -no-undefined -avoid-version
+ argb_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ argb_la_LIBTOOLFLAGS = --tag=disable-static
+ bmp_la_SOURCES = loader_bmp.c
+-bmp_la_LDFLAGS = -module -avoid-version
++bmp_la_LDFLAGS = -module -no-undefined -avoid-version
+ bmp_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ bmp_la_LIBTOOLFLAGS = --tag=disable-static
+ xpm_la_SOURCES = loader_xpm.c
+-xpm_la_LDFLAGS = -module -avoid-version
++xpm_la_LDFLAGS = -module -no-undefined -avoid-version
+ xpm_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ xpm_la_LIBTOOLFLAGS = --tag=disable-static
+ tga_la_SOURCES = loader_tga.c
+-tga_la_LDFLAGS = -module -avoid-version
++tga_la_LDFLAGS = -module -no-undefined -avoid-version
+ tga_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ tga_la_LIBTOOLFLAGS = --tag=disable-static
+ lbm_la_SOURCES = loader_lbm.c
+-lbm_la_LDFLAGS = -module -avoid-version
++lbm_la_LDFLAGS = -module -no-undefined -avoid-version
+ lbm_la_LIBADD = $(top_builddir)/src/lib/libImlib2.la
+ lbm_la_LIBTOOLFLAGS = --tag=disable-static
+ all: all-am


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to