From 4b10c263808fe2dc4c09f41833397e1919b9b24210f4967dc4736c9c24499560 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 5 Sep 2008 00:24:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/giflib?expand=0&rev=3 --- giflib-4.1.4.tar.bz2 | 3 --- giflib-4.1.6.tar.bz2 | 3 +++ giflib.changes | 14 +++++++++++ giflib.spec | 58 ++++++++++++++++++++++++++------------------ 4 files changed, 51 insertions(+), 27 deletions(-) delete mode 100644 giflib-4.1.4.tar.bz2 create mode 100644 giflib-4.1.6.tar.bz2 diff --git a/giflib-4.1.4.tar.bz2 b/giflib-4.1.4.tar.bz2 deleted file mode 100644 index f882487..0000000 --- a/giflib-4.1.4.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:312154e7f25059af36123b2e32880ee8668a8c4b1656e25c1cf05ddc62ff0039 -size 483909 diff --git a/giflib-4.1.6.tar.bz2 b/giflib-4.1.6.tar.bz2 new file mode 100644 index 0000000..4851a3a --- /dev/null +++ b/giflib-4.1.6.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed +size 506050 diff --git a/giflib.changes b/giflib.changes index 3d322d9..e46a888 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Sat Aug 30 14:55:14 CEST 2008 - crrodriguez@suse.de + +- update to version 4.1.6, changes since 4.1.4 includes: + * Fix segfault in utilities due to referencing ColorMaps in GifFiles that had + no ColorMap present. + * Fix gif2x11 to work on 24 bit displays. + * Fix for giftext segfault when the GifFile does not store a global colormap. + * Checks to fail gracefully when an image contains improper LZ codes. + * Close file handles on failure in DGifOpenFileHandle() + * Checks to operate on files in binary mode on WIN32 as well as MSDOS. +- kill "la" files and static libraries + + ------------------------------------------------------------------- Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de diff --git a/giflib.spec b/giflib.spec index d812bbb..5214024 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,10 +1,17 @@ # -# spec file for package giflib (Version 4.1.4) +# spec file for package giflib (Version 4.1.6) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -17,8 +24,8 @@ License: X11/MIT Group: System/Libraries Url: http://sourceforge.net/projects/libungif AutoReqProv: on -Version: 4.1.4 -Release: 121 +Version: 4.1.6 +Release: 1 Summary: A Library for Working with GIF Images Provides: libungif %ifarch ia64 x86_64 s390x ppc64 @@ -31,7 +38,7 @@ Source: giflib-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -Since the LZW patents have expired, giflib can be usedinstead of +Since the LZW patents have expired, giflib can be used instead of libungif again. @@ -63,11 +70,10 @@ Authors: License: X11/MIT Summary: Library for Working with GIF Images - Files Mandatory for Development Group: Development/Libraries/C and C++ -AutoReqProv: on -Requires: giflib +Requires: %name = %version %description devel -Since the LZW patents have expired, giflib can be usedinstead of +Since the LZW patents have expired, giflib can be used instead of libungif again. @@ -78,30 +84,26 @@ Authors: Eric S. Raymond >esr@snark.thyrsus.com> %prep -%setup +%setup -q %build -%{?suse_update_config:%{suse_update_config -f}} -libtoolize --force -autoreconf --force --install -CFLAGS="$RPM_OPT_FLAGS -fstack-protector" \ - ./configure --prefix=/usr --libdir=%{_libdir} --x-libraries=/usr/%{_lib} -make +autoreconf -fiv +%configure --disable-static --with-pic --x-libraries=%{_libdir} +%{__make} %{?jobs:-j%jobs} %install -rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT chmod 755 $RPM_BUILD_ROOT/%{_libdir}/lib*.so.* ln -sf libgif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so.%{version} ln -sf libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so.4 ln -sf libungif.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libungif.so -ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a +#ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a +rm -f %{buildroot}%{_libdir}/*.la +find doc -name "Makefile*" -print -delete -%post -%run_ldconfig +%post -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -p /sbin/ldconfig %files %defattr(-,root,root) @@ -112,8 +114,6 @@ ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a %defattr(-,root,root) /usr/include/gif_lib.h %{_libdir}/lib*.so -%{_libdir}/lib*.a -%{_libdir}/lib*.la %files progs %defattr(-,root,root) @@ -121,6 +121,16 @@ ln -sf libgif.a $RPM_BUILD_ROOT%{_libdir}/libungif.a /usr/bin/* %changelog +* Sat Aug 30 2008 crrodriguez@suse.de +- update to version 4.1.6, changes since 4.1.4 includes: + * Fix segfault in utilities due to referencing ColorMaps in GifFiles that had + no ColorMap present. + * Fix gif2x11 to work on 24 bit displays. + * Fix for giftext segfault when the GifFile does not store a global colormap. + * Checks to fail gracefully when an image contains improper LZ codes. + * Close file handles on failure in DGifOpenFileHandle() + * Checks to operate on files in binary mode on WIN32 as well as MSDOS. +- kill "la" files and static libraries * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support