Hello community, here is the log from the commit of package tiff for openSUSE:Factory checked in at 2012-04-12 09:54:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tiff (Old) and /work/SRC/openSUSE:Factory/.tiff.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tiff", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/tiff/tiff.changes 2012-03-29 07:48:47.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tiff.new/tiff.changes 2012-04-12 09:54:17.000000000 +0200 @@ -1,0 +2,31 @@ +Thu Mar 29 09:51:49 UTC 2012 - [email protected] + +- Add lzma support +- Implement %check +- Drop visibility patch because it breaks compilation + +------------------------------------------------------------------- +Wed Mar 28 18:06:34 UTC 2012 - [email protected] + +- change package name libtiff4 to libtiff5. + library number is 5 actually. + +------------------------------------------------------------------- +Wed Mar 28 17:29:16 UTC 2012 - [email protected] + +- Update to 4.0.1 + * configure.ac + - Add libtiff private dependency on -llzma for pkg-config + - Add support for using library symbol versioning on + ELF systems with the GNU linker. + * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in + tif_win32.c + * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL. + * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around + assumption tag fetching is always successful. + * libtiff/tiffio.h: Use double-underbar syntax in GCC printf + attribute specification to lessen the risk of accidental macro + substitution. + * Update automake used to 1.11.3. + +------------------------------------------------------------------- Old: ---- tiff-3.9.5-dont-fancy-upsampling.patch tiff-3.9.5-seek.patch tiff-3.9.5-tiff2pdf-colors.patch tiff-3.9.5.tar.bz2 tiff-visibility.patch New: ---- tiff-4.0.1-dont-fancy-upsampling.patch tiff-4.0.1-seek.patch tiff-4.0.1-tiff2pdf-colors.patch tiff-4.0.1.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tiff.spec ++++++ --- /var/tmp/diff_new_pack.O4l1aT/_old 2012-04-12 09:54:21.000000000 +0200 +++ /var/tmp/diff_new_pack.O4l1aT/_new 2012-04-12 09:54:21.000000000 +0200 @@ -16,34 +16,30 @@ # - Name: tiff -License: HPND -Group: Productivity/Graphics/Convertors BuildRequires: gcc-c++ BuildRequires: libjpeg-devel BuildRequires: libtool +BuildRequires: lzma-devel +BuildRequires: pkg-config BuildRequires: zlib-devel # bug437293 %ifarch ppc64 Obsoletes: tiff-64bit %endif -Version: 3.9.5 -Release: 6 +Version: 4.0.1 +Release: 0 Summary: Tools for Converting from and to the Tiff Format +License: HPND +Group: Productivity/Graphics/Convertors # -Url: http://www.remotesensing.org/libtiff/ +Url: http://www.remotesensing.org/libtiff Source: tiff-%{version}.tar.bz2 Source2: README.SUSE Source3: baselibs.conf -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch2: tiff-%{version}-seek.patch -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch3: tiff-%{version}-tiff2pdf-colors.patch -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch9: tiff-%{version}-dont-fancy-upsampling.patch -# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines -Patch10: tiff-visibility.patch # FYI: this issue is solved another way # http://bugzilla.maptools.org/show_bug.cgi?id=1985#c1 # Patch9: tiff-%{version}-lzw-CVE-2009-2285.patch @@ -53,8 +49,7 @@ This package contains the library and support programs for the TIFF image format. -%package -n libtiff3 -License: HPND +%package -n libtiff5 Summary: The Tiff Library (with JPEG and compression support) Group: System/Libraries Provides: libtiff = %{version} @@ -65,18 +60,17 @@ %endif # -%description -n libtiff3 +%description -n libtiff5 This package includes the tiff libraries. To link a program with libtiff, you will have to add -ljpeg and -lz to include the necessary libjpeg and libz in the linking process. %package -n libtiff-devel -License: HPND Summary: Development Tools for Programs which will use the libtiff Library Group: Development/Libraries/C and C++ Requires: glibc-devel Requires: libstdc++-devel -Requires: libtiff3 = %{version} +Requires: libtiff5 = %{version} # bug437293 %ifarch ppc64 Obsoletes: tiff-devel-64bit @@ -90,16 +84,11 @@ %prep %setup -q -%patch2 +%patch2 -p1 %patch3 -p1 %patch9 -p1 -%patch10 -find -type d -name "CVS" | xargs rm -rfv -find -type d | xargs chmod 755 %build -rm m4/ltversion.m4 m4/ltsugar.m4 m4/ltoptions.m4 m4/libtool.m4 -autoreconf --force --install -v %configure --disable-static --with-pic make %{?_smp_mflags} @@ -112,17 +101,19 @@ [ -f "`dirname $f`/$linkto" ] && ln -sf "$linkto" $f fi done + cp %{SOURCE2} . rm -rf %{buildroot}%{_datadir}/doc/tiff* rm -f %{buildroot}/%{_libdir}/*.la find html -name "Makefile*" | xargs rm -%post -n libtiff3 -p /sbin/ldconfig +%check +cd test +make %{?_smp_mflags} check -%postun -n libtiff3 -p /sbin/ldconfig +%post -n libtiff5 -p /sbin/ldconfig -%clean -rm -rf %{buildroot} +%postun -n libtiff5 -p /sbin/ldconfig %files %defattr(-,root,root) @@ -131,7 +122,7 @@ %doc README COPYRIGHT VERSION ChangeLog TODO RELEASE-DATE %doc %{_mandir}/man1/* -%files -n libtiff3 +%files -n libtiff5 %defattr(-,root,root) %doc README COPYRIGHT README.SUSE %{_libdir}/*.so.* @@ -140,6 +131,7 @@ %defattr(-,root,root) %{_includedir}/* %{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc %doc %{_mandir}/man3/* %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.O4l1aT/_old 2012-04-12 09:54:21.000000000 +0200 +++ /var/tmp/diff_new_pack.O4l1aT/_new 2012-04-12 09:54:21.000000000 +0200 @@ -1,6 +1,6 @@ -libtiff3 +libtiff5 obsoletes "libtiff-<targettype> <= <version>" provides "libtiff-<targettype> = <version>" libtiff-devel requires -libtiff-<targettype> - requires "libtiff3-<targettype> = <version>" + requires "libtiff5-<targettype> = <version>" ++++++ tiff-3.9.5-dont-fancy-upsampling.patch -> tiff-4.0.1-dont-fancy-upsampling.patch ++++++ --- /work/SRC/openSUSE:Factory/tiff/tiff-3.9.5-dont-fancy-upsampling.patch 2011-09-23 12:48:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tiff.new/tiff-4.0.1-dont-fancy-upsampling.patch 2012-04-12 09:54:17.000000000 +0200 @@ -1,12 +1,11 @@ -Index: tiff-3.9.4/libtiff/tif_jpeg.c -=================================================================== ---- tiff-3.9.4.orig/libtiff/tif_jpeg.c -+++ tiff-3.9.4/libtiff/tif_jpeg.c -@@ -850,6 +850,7 @@ JPEGPreDecode(TIFF* tif, tsample_t s) +diff -urN tiff-4.0.1.orig/libtiff/tif_jpeg.c tiff-4.0.1/libtiff/tif_jpeg.c +--- tiff-4.0.1.orig/libtiff/tif_jpeg.c 2012-03-29 01:03:15.680848289 +0800 ++++ tiff-4.0.1/libtiff/tif_jpeg.c 2012-03-29 01:09:09.212428534 +0800 +@@ -1175,6 +1175,7 @@ if (downsampled_output) { /* Need to use raw-data interface to libjpeg */ sp->cinfo.d.raw_data_out = TRUE; -+ sp->cinfo.d.do_fancy_upsampling = FALSE; - tif->tif_decoderow = JPEGDecodeRaw; ++ sp->cinfo.d.do_fancy_upsampling = FALSE; + tif->tif_decoderow = DecodeRowError; tif->tif_decodestrip = JPEGDecodeRaw; tif->tif_decodetile = JPEGDecodeRaw; ++++++ tiff-3.9.5-seek.patch -> tiff-4.0.1-seek.patch ++++++ --- /work/SRC/openSUSE:Factory/tiff/tiff-3.9.5-seek.patch 2011-09-23 12:48:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tiff.new/tiff-4.0.1-seek.patch 2012-04-12 09:54:17.000000000 +0200 @@ -1,13 +1,13 @@ -Index: libtiff/tiffiop.h +Index: tiff-4.0.1/libtiff/tiffiop.h =================================================================== ---- libtiff/tiffiop.h.orig -+++ libtiff/tiffiop.h -@@ -209,7 +209,7 @@ struct tiff { - #define TIFFWriteFile(tif, buf, size) \ - ((*(tif)->tif_writeproc)((tif)->tif_clientdata,buf,size)) - #define TIFFSeekFile(tif, off, whence) \ -- ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence)) +--- tiff-4.0.1.orig/libtiff/tiffiop.h ++++ tiff-4.0.1/libtiff/tiffiop.h +@@ -213,7 +213,7 @@ struct tiff { + #define TIFFWriteFile(tif, buf, size) \ + ((*(tif)->tif_writeproc)((tif)->tif_clientdata,(buf),(size))) + #define TIFFSeekFile(tif, off, whence) \ +- ((*(tif)->tif_seekproc)((tif)->tif_clientdata,(off),(whence))) + ((tif)->tif_seekproc?((*(tif)->tif_seekproc)((tif)->tif_clientdata,(toff_t)(off),whence)):0) - #define TIFFCloseFile(tif) \ + #define TIFFCloseFile(tif) \ ((*(tif)->tif_closeproc)((tif)->tif_clientdata)) - #define TIFFGetFileSize(tif) \ + #define TIFFGetFileSize(tif) \ ++++++ tiff-3.9.5-tiff2pdf-colors.patch -> tiff-4.0.1-tiff2pdf-colors.patch ++++++ --- /work/SRC/openSUSE:Factory/tiff/tiff-3.9.5-tiff2pdf-colors.patch 2011-09-23 12:48:12.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.tiff.new/tiff-4.0.1-tiff2pdf-colors.patch 2012-04-12 09:54:17.000000000 +0200 @@ -1,6 +1,7 @@ ---- tiff-3.9.2_/tools/tiff2pdf.c 2009-01-01 01:10:43.000000000 +0100 -+++ tiff-3.9.2/tools/tiff2pdf.c 2010-04-24 17:39:00.000000000 +0200 -@@ -5072,7 +5072,7 @@ +diff -urN tiff-4.0.1.orig/tools/tiff2pdf.c tiff-4.0.1/tools/tiff2pdf.c +--- tiff-4.0.1.orig/tools/tiff2pdf.c 2012-03-29 01:03:15.656848587 +0800 ++++ tiff-4.0.1/tools/tiff2pdf.c 2012-03-29 01:03:27.591699381 +0800 +@@ -4991,7 +4991,7 @@ if(t2p->tiff_photometric != PHOTOMETRIC_YCBCR) { written += t2pWriteFile(output, (tdata_t) "/DecodeParms ", 13); @@ -9,4 +10,3 @@ } break; #endif - ++++++ tiff-3.9.5.tar.bz2 -> tiff-4.0.1.tar.bz2 ++++++ ++++ 70198 lines of diff (skipped) -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
