From d93013e3f2b95c4e203767c5aa7f643419ec5893de80fa9087e37853e5c3d781 Mon Sep 17 00:00:00 2001 From: OBS User buildservice-autocommit Date: Tue, 8 Jan 2013 10:01:53 +0000 Subject: [PATCH 1/4] Updating link to change in openSUSE:Factory/giflib revision 23.0 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=7d39abb56240194a5f026491630845ae --- baselibs.conf | 12 ++++++--- giflib-4.1.6.tar.bz2 | 3 +++ giflib-5.0.3.tar.bz2 | 3 --- giflib-visibility.patch | 59 +++++++++++++++++++++++++++++++---------- giflib.changes | 20 -------------- giflib.spec | 38 +++++++++++++++++--------- 6 files changed, 82 insertions(+), 53 deletions(-) create mode 100644 giflib-4.1.6.tar.bz2 delete mode 100644 giflib-5.0.3.tar.bz2 diff --git a/baselibs.conf b/baselibs.conf index 64ae206..4afe63c 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,6 +1,12 @@ -libgif6 - obsoletes "giflib- < " +libgif4 +# O/P on giflib added in 4.1.6. Once 4.1.7 is used, switch "<=" to "<". + obsoletes "giflib- <= " provides "giflib- = " + + obsoletes "libungif-" + provides "libungif-" + targettype 32bit provides "libungif.so.4" + targettype 64bit provides "libungif.so.4()(64bit)" giflib-devel requires -giflib- = - requires "libgif6- = " + requires "libgif4- = " 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-5.0.3.tar.bz2 b/giflib-5.0.3.tar.bz2 deleted file mode 100644 index 23cd327..0000000 --- a/giflib-5.0.3.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5642cc7ce79c5c4e4e37441d718f8dd11b7e12dd213ed5e3c872211a1d3f5f81 -size 629169 diff --git a/giflib-visibility.patch b/giflib-visibility.patch index d3f3b85..6bdd494 100644 --- a/giflib-visibility.patch +++ b/giflib-visibility.patch @@ -1,6 +1,6 @@ --- lib/gif_lib_private.h.orig +++ lib/gif_lib_private.h -@@ -29,6 +29,8 @@ gif_lib_private.h - internal giflib rout +@@ -30,6 +30,8 @@ #define IS_READABLE(Private) (Private->FileState & FILE_STATE_READ) #define IS_WRITEABLE(Private) (Private->FileState & FILE_STATE_WRITE) @@ -9,39 +9,60 @@ typedef struct GifFilePrivateType { GifWord FileState, FileHandle, /* Where all this data goes to! */ BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ -@@ -54,6 +56,7 @@ typedef struct GifFilePrivateType { - bool gif89; +@@ -55,5 +57,5 @@ typedef struct GifFilePrivateType { } GifFilePrivateType; + extern int _GifError; +- +#pragma GCC visibility pop #endif /* _GIF_LIB_PRIVATE_H */ +--- lib/getarg.h.orig ++++ lib/getarg.h +@@ -16,6 +16,8 @@ + #define CMD_ERR_NumRead 4 /* Failed on reading number. */ + #define CMD_ERR_AllSatis 5 /* Fail to satisfy (must-'!') option. */ - /* end */ ++#pragma GCC visibility push(hidden) ++ + #ifdef HAVE_STDARG_H + int GAGetArgs(int argc, char **argv, char *CtrlStr, ...); + #elif defined (HAVE_VARARGS_H) +@@ -25,4 +27,5 @@ int GAGetArgs(int va_alist, ...); + void GAPrintErrMsg(int Error); + void GAPrintHowTo(char *CtrlStr); + ++#pragma GCC visibility pop + #endif /* _GETARG_H */ --- lib/gif_hash.h.orig +++ lib/gif_hash.h -@@ -25,6 +25,8 @@ gif_hash.h - magfic constants and declar +@@ -47,6 +47,8 @@ #define HT_PUT_KEY(l) (l << 12) #define HT_PUT_CODE(l) (l & 0x0FFF) +#pragma GCC visibility push(hidden) + typedef struct GifHashTableType { - uint32_t HTable[HT_SIZE]; + UINT32 HTable[HT_SIZE]; } GifHashTableType; -@@ -34,6 +36,8 @@ void _ClearHashTable(GifHashTableType *H - void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code); - int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key); +@@ -56,4 +58,6 @@ void _ClearHashTable(GifHashTableType *H + void _InsertHashTable(GifHashTableType *HashTable, UINT32 Key, int Code); + int _ExistsHashTable(GifHashTableType *HashTable, UINT32 Key); +#pragma GCC visibility pop + #endif /* _GIF_HASH_H_ */ - - /* end */ +--- Makefile.am.orig ++++ Makefile.am +@@ -1,3 +1,4 @@ ++ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = lib util doc pic + WINDOWS = $(top_srcdir)/windows/GifWin.cpp \ + $(top_srcdir)/windows/GifWin.h \ --- configure.ac.orig +++ configure.ac -@@ -8,11 +8,14 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_R - dnl Note: config.h is not used in the current build - dnl We leave this in place only to suppress an error message at autogen time +@@ -3,11 +3,14 @@ AC_INIT(giflib, [4.1.6], [abadger1999@so + AC_CONFIG_SRCDIR([lib/dgif_lib.c]) + AM_INIT_AUTOMAKE([gnu check-news dist-bzip2 -Wall]) AM_CONFIG_HEADER(config.h) +AC_CONFIG_MACRO_DIR([m4]) @@ -56,3 +77,13 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET +--- lib/Makefile.am.orig ++++ lib/Makefile.am +@@ -21,6 +21,6 @@ libgif_la_SOURCES = dev2gif.c \ + quantize.c \ + gif_lib_private.h + +-libgif_la_LDFLAGS = -version-info 5:6:1 ++libgif_la_LDFLAGS = -no-undefined -version-info 5:6:1 + libgif_la_LIBADD = @DEVS@ + libgif_CFLAGS = $(X_CFLAGS) $(AM_CFLAGS) diff --git a/giflib.changes b/giflib.changes index 3e4c560..8d9df5b 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,23 +1,3 @@ -------------------------------------------------------------------- -Fri Jan 4 15:02:09 UTC 2013 - jengelh@inai.de - -- Adjust baselibs.conf for libgif6, remove libungif rpm symbols - since they are now no longer provided. - -------------------------------------------------------------------- -Sun Dec 30 22:31:28 UTC 2012 - crrodriguez@opensuse.org - -- Version 5.0.3 -* The library is now purely reentrant and thread-safe -* Adds an EGifSetGifVersion() entry point -* All names of exported functions now have a Gif, DGif, or EGif prefix. - -- packaging changes: -* soname is now libgif6 -* Compatibility with ancient "libungif" via rpm spec file hacks - is no longer included, if there is any application around - that still requires this it has to be fixed. - ------------------------------------------------------------------- Sun Feb 5 16:23:36 UTC 2012 - jengelh@medozas.de diff --git a/giflib.spec b/giflib.spec index f1ce2b4..5bd2a0a 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ # # spec file for package giflib # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,9 +17,16 @@ Name: giflib -%define lname libgif6 +%define lname libgif4 +BuildRequires: libtool +BuildRequires: xorg-x11-libICE-devel +BuildRequires: xorg-x11-libSM-devel +BuildRequires: xorg-x11-libX11-devel +BuildRequires: xorg-x11-libXau-devel +BuildRequires: xorg-x11-libXdmcp-devel +BuildRequires: xorg-x11-libXt-devel Url: http://sourceforge.net/projects/giflib -Version: 5.0.3 +Version: 4.1.6 Release: 0 Summary: A Library for Working with GIF Images License: MIT @@ -28,13 +35,6 @@ Source: giflib-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: giflib-visibility.patch -BuildRequires: libtool >= 2 -BuildRequires: xorg-x11-libICE-devel -BuildRequires: xorg-x11-libSM-devel -BuildRequires: xorg-x11-libX11-devel -BuildRequires: xorg-x11-libXau-devel -BuildRequires: xorg-x11-libXdmcp-devel -BuildRequires: xorg-x11-libXt-devel %description This Library allows manipulating GIF Image files. Since the LZW patents @@ -43,13 +43,21 @@ have expired, giflib can again be used instead of libungif. %package -n %lname Summary: A Library for Working with GIF Images Group: System/Libraries -# O/P added for openSUSE_12.1 Obsoletes: giflib < %version-%release Provides: giflib = %version-%release # bug437293 %ifarch ppc64 Obsoletes: giflib-64bit +Obsoletes: libungif-64bit %endif +# +Provides: libungif +%ifarch ia64 x86_64 s390x ppc64 +Provides: libungif.so.4()(64bit) +%else +Provides: libungif.so.4 +%endif +Obsoletes: libungif %description -n %lname This Library allows manipulating GIF Image files. Since the LZW patents @@ -80,7 +88,6 @@ have expired, giflib can again be used instead of libungif. %prep %setup -q -# LT_INIT requires libtool >= 2 %patch %build @@ -96,13 +103,18 @@ done mkdir m4;autoreconf -fiv %configure --disable-static --with-pic --x-libraries=%{_libdir} -make %{?_smp_mflags} V=1 +make %{?_smp_mflags} %install 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 rm -f %{buildroot}%{_libdir}/*.la find doc -name "Makefile*" -print -delete +nm -C -D %{buildroot}%{_libdir}/lib*.so %post -n %lname -p /sbin/ldconfig From 306b7d9fb36d18e0d2ce4cf7bc670f8c8931a15548fc1dedb2e619310af85256 Mon Sep 17 00:00:00 2001 From: Michal Vyskocil Date: Tue, 8 Jan 2013 13:16:51 +0000 Subject: [PATCH 2/4] Accepting request 147496 from openSUSE:Factory I reverted to the old version in factory, there are too many problems with the new version, so not for 12.3 OBS-URL: https://build.opensuse.org/request/show/147496 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=20 --- baselibs.conf | 12 +++------ giflib-4.1.6.tar.bz2 | 3 --- giflib-5.0.3.tar.bz2 | 3 +++ giflib-visibility.patch | 59 ++++++++++------------------------------- giflib.changes | 20 ++++++++++++++ giflib.spec | 38 +++++++++----------------- 6 files changed, 53 insertions(+), 82 deletions(-) delete mode 100644 giflib-4.1.6.tar.bz2 create mode 100644 giflib-5.0.3.tar.bz2 diff --git a/baselibs.conf b/baselibs.conf index 4afe63c..64ae206 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,12 +1,6 @@ -libgif4 -# O/P on giflib added in 4.1.6. Once 4.1.7 is used, switch "<=" to "<". - obsoletes "giflib- <= " +libgif6 + obsoletes "giflib- < " provides "giflib- = " - - obsoletes "libungif-" - provides "libungif-" - targettype 32bit provides "libungif.so.4" - targettype 64bit provides "libungif.so.4()(64bit)" giflib-devel requires -giflib- = - requires "libgif4- = " + requires "libgif6- = " diff --git a/giflib-4.1.6.tar.bz2 b/giflib-4.1.6.tar.bz2 deleted file mode 100644 index 4851a3a..0000000 --- a/giflib-4.1.6.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e1c1ced9c5bc8f93ef0faf0a8c7717abf784d10a7b270d2285e8e1f3b93f2bed -size 506050 diff --git a/giflib-5.0.3.tar.bz2 b/giflib-5.0.3.tar.bz2 new file mode 100644 index 0000000..23cd327 --- /dev/null +++ b/giflib-5.0.3.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5642cc7ce79c5c4e4e37441d718f8dd11b7e12dd213ed5e3c872211a1d3f5f81 +size 629169 diff --git a/giflib-visibility.patch b/giflib-visibility.patch index 6bdd494..d3f3b85 100644 --- a/giflib-visibility.patch +++ b/giflib-visibility.patch @@ -1,6 +1,6 @@ --- lib/gif_lib_private.h.orig +++ lib/gif_lib_private.h -@@ -30,6 +30,8 @@ +@@ -29,6 +29,8 @@ gif_lib_private.h - internal giflib rout #define IS_READABLE(Private) (Private->FileState & FILE_STATE_READ) #define IS_WRITEABLE(Private) (Private->FileState & FILE_STATE_WRITE) @@ -9,60 +9,39 @@ typedef struct GifFilePrivateType { GifWord FileState, FileHandle, /* Where all this data goes to! */ BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */ -@@ -55,5 +57,5 @@ typedef struct GifFilePrivateType { +@@ -54,6 +56,7 @@ typedef struct GifFilePrivateType { + bool gif89; } GifFilePrivateType; - extern int _GifError; -- +#pragma GCC visibility pop #endif /* _GIF_LIB_PRIVATE_H */ ---- lib/getarg.h.orig -+++ lib/getarg.h -@@ -16,6 +16,8 @@ - #define CMD_ERR_NumRead 4 /* Failed on reading number. */ - #define CMD_ERR_AllSatis 5 /* Fail to satisfy (must-'!') option. */ -+#pragma GCC visibility push(hidden) -+ - #ifdef HAVE_STDARG_H - int GAGetArgs(int argc, char **argv, char *CtrlStr, ...); - #elif defined (HAVE_VARARGS_H) -@@ -25,4 +27,5 @@ int GAGetArgs(int va_alist, ...); - void GAPrintErrMsg(int Error); - void GAPrintHowTo(char *CtrlStr); - -+#pragma GCC visibility pop - #endif /* _GETARG_H */ + /* end */ --- lib/gif_hash.h.orig +++ lib/gif_hash.h -@@ -47,6 +47,8 @@ +@@ -25,6 +25,8 @@ gif_hash.h - magfic constants and declar #define HT_PUT_KEY(l) (l << 12) #define HT_PUT_CODE(l) (l & 0x0FFF) +#pragma GCC visibility push(hidden) + typedef struct GifHashTableType { - UINT32 HTable[HT_SIZE]; + uint32_t HTable[HT_SIZE]; } GifHashTableType; -@@ -56,4 +58,6 @@ void _ClearHashTable(GifHashTableType *H - void _InsertHashTable(GifHashTableType *HashTable, UINT32 Key, int Code); - int _ExistsHashTable(GifHashTableType *HashTable, UINT32 Key); +@@ -34,6 +36,8 @@ void _ClearHashTable(GifHashTableType *H + void _InsertHashTable(GifHashTableType *HashTable, uint32_t Key, int Code); + int _ExistsHashTable(GifHashTableType *HashTable, uint32_t Key); +#pragma GCC visibility pop + #endif /* _GIF_HASH_H_ */ ---- Makefile.am.orig -+++ Makefile.am -@@ -1,3 +1,4 @@ -+ACLOCAL_AMFLAGS = -I m4 - SUBDIRS = lib util doc pic - WINDOWS = $(top_srcdir)/windows/GifWin.cpp \ - $(top_srcdir)/windows/GifWin.h \ + + /* end */ --- configure.ac.orig +++ configure.ac -@@ -3,11 +3,14 @@ AC_INIT(giflib, [4.1.6], [abadger1999@so - AC_CONFIG_SRCDIR([lib/dgif_lib.c]) - AM_INIT_AUTOMAKE([gnu check-news dist-bzip2 -Wall]) +@@ -8,11 +8,14 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_R + dnl Note: config.h is not used in the current build + dnl We leave this in place only to suppress an error message at autogen time AM_CONFIG_HEADER(config.h) +AC_CONFIG_MACRO_DIR([m4]) @@ -77,13 +56,3 @@ AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET ---- lib/Makefile.am.orig -+++ lib/Makefile.am -@@ -21,6 +21,6 @@ libgif_la_SOURCES = dev2gif.c \ - quantize.c \ - gif_lib_private.h - --libgif_la_LDFLAGS = -version-info 5:6:1 -+libgif_la_LDFLAGS = -no-undefined -version-info 5:6:1 - libgif_la_LIBADD = @DEVS@ - libgif_CFLAGS = $(X_CFLAGS) $(AM_CFLAGS) diff --git a/giflib.changes b/giflib.changes index 8d9df5b..3e4c560 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Jan 4 15:02:09 UTC 2013 - jengelh@inai.de + +- Adjust baselibs.conf for libgif6, remove libungif rpm symbols + since they are now no longer provided. + +------------------------------------------------------------------- +Sun Dec 30 22:31:28 UTC 2012 - crrodriguez@opensuse.org + +- Version 5.0.3 +* The library is now purely reentrant and thread-safe +* Adds an EGifSetGifVersion() entry point +* All names of exported functions now have a Gif, DGif, or EGif prefix. + +- packaging changes: +* soname is now libgif6 +* Compatibility with ancient "libungif" via rpm spec file hacks + is no longer included, if there is any application around + that still requires this it has to be fixed. + ------------------------------------------------------------------- Sun Feb 5 16:23:36 UTC 2012 - jengelh@medozas.de diff --git a/giflib.spec b/giflib.spec index 5bd2a0a..f1ce2b4 100644 --- a/giflib.spec +++ b/giflib.spec @@ -1,7 +1,7 @@ # # spec file for package giflib # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,16 +17,9 @@ Name: giflib -%define lname libgif4 -BuildRequires: libtool -BuildRequires: xorg-x11-libICE-devel -BuildRequires: xorg-x11-libSM-devel -BuildRequires: xorg-x11-libX11-devel -BuildRequires: xorg-x11-libXau-devel -BuildRequires: xorg-x11-libXdmcp-devel -BuildRequires: xorg-x11-libXt-devel +%define lname libgif6 Url: http://sourceforge.net/projects/giflib -Version: 4.1.6 +Version: 5.0.3 Release: 0 Summary: A Library for Working with GIF Images License: MIT @@ -35,6 +28,13 @@ Source: giflib-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: giflib-visibility.patch +BuildRequires: libtool >= 2 +BuildRequires: xorg-x11-libICE-devel +BuildRequires: xorg-x11-libSM-devel +BuildRequires: xorg-x11-libX11-devel +BuildRequires: xorg-x11-libXau-devel +BuildRequires: xorg-x11-libXdmcp-devel +BuildRequires: xorg-x11-libXt-devel %description This Library allows manipulating GIF Image files. Since the LZW patents @@ -43,21 +43,13 @@ have expired, giflib can again be used instead of libungif. %package -n %lname Summary: A Library for Working with GIF Images Group: System/Libraries +# O/P added for openSUSE_12.1 Obsoletes: giflib < %version-%release Provides: giflib = %version-%release # bug437293 %ifarch ppc64 Obsoletes: giflib-64bit -Obsoletes: libungif-64bit %endif -# -Provides: libungif -%ifarch ia64 x86_64 s390x ppc64 -Provides: libungif.so.4()(64bit) -%else -Provides: libungif.so.4 -%endif -Obsoletes: libungif %description -n %lname This Library allows manipulating GIF Image files. Since the LZW patents @@ -88,6 +80,7 @@ have expired, giflib can again be used instead of libungif. %prep %setup -q +# LT_INIT requires libtool >= 2 %patch %build @@ -103,18 +96,13 @@ done mkdir m4;autoreconf -fiv %configure --disable-static --with-pic --x-libraries=%{_libdir} -make %{?_smp_mflags} +make %{?_smp_mflags} V=1 %install 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 rm -f %{buildroot}%{_libdir}/*.la find doc -name "Makefile*" -print -delete -nm -C -D %{buildroot}%{_libdir}/lib*.so %post -n %lname -p /sbin/ldconfig From 3c5a6b07f5d72d260cc407605f36f7272ce85cec4f8ddf6d0c28208fc58d35b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Fri, 11 Jan 2013 22:22:02 +0000 Subject: [PATCH 3/4] Accepting request 148145 from home:jengelh:branches:devel:libraries:c_c++ - Remove "Obsoletes: giflib", because libgif6 must not obsolete libgif4 (it would do that by way of libgif4's "Provides: giflib"). OBS-URL: https://build.opensuse.org/request/show/148145 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=21 --- giflib.changes | 6 ++++++ giflib.spec | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/giflib.changes b/giflib.changes index 3e4c560..9db00ba 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jan 11 22:13:53 UTC 2013 - jengelh@inai.de + +- Remove "Obsoletes: giflib", because libgif6 must not obsolete + libgif4 (it would do that by way of libgif4's "Provides: giflib"). + ------------------------------------------------------------------- Fri Jan 4 15:02:09 UTC 2013 - jengelh@inai.de diff --git a/giflib.spec b/giflib.spec index f1ce2b4..ee3c17d 100644 --- a/giflib.spec +++ b/giflib.spec @@ -43,9 +43,6 @@ have expired, giflib can again be used instead of libungif. %package -n %lname Summary: A Library for Working with GIF Images Group: System/Libraries -# O/P added for openSUSE_12.1 -Obsoletes: giflib < %version-%release -Provides: giflib = %version-%release # bug437293 %ifarch ppc64 Obsoletes: giflib-64bit From 87f15a0ad9571f02ce7de6becc91f3813ee9bb3b2c5e6723b4aeec68084c891d Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Sat, 2 Mar 2013 10:39:03 +0000 Subject: [PATCH 4/4] Accepting request 157086 from home:seife:branches:devel:libraries:c_c++ add giflib-automake-1_13.patch, fix build with automake-1.13.1 OBS-URL: https://build.opensuse.org/request/show/157086 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=22 --- giflib-automake-1_13.patch | 17 +++++++++++++++++ giflib.changes | 5 +++++ giflib.spec | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 giflib-automake-1_13.patch diff --git a/giflib-automake-1_13.patch b/giflib-automake-1_13.patch new file mode 100644 index 0000000..1bc8253 --- /dev/null +++ b/giflib-automake-1_13.patch @@ -0,0 +1,17 @@ +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -5,11 +5,11 @@ AM_INIT_AUTOMAKE([gnu dist-bzip2 -Wall]) + dnl Make builds less verbose. Shuts off Makefile portability checks. + m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) + + dnl Note: config.h is not used in the current build + dnl We leave this in place only to suppress an error message at autogen time +-AM_CONFIG_HEADER(config.h) ++AC_CONFIG_HEADERS(config.h) + AC_CONFIG_MACRO_DIR([m4]) + + dnl Checks for programs. + AC_PROG_CC_STDC + AC_USE_SYSTEM_EXTENSIONS diff --git a/giflib.changes b/giflib.changes index 9db00ba..2c3da1f 100644 --- a/giflib.changes +++ b/giflib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 2 10:13:17 UTC 2013 - seife+obs@b1-systems.com + +- add giflib-automake-1_13.patch, fix build with automake-1.13.1 + ------------------------------------------------------------------- Fri Jan 11 22:13:53 UTC 2013 - jengelh@inai.de diff --git a/giflib.spec b/giflib.spec index ee3c17d..4a67f1f 100644 --- a/giflib.spec +++ b/giflib.spec @@ -28,6 +28,7 @@ Source: giflib-%{version}.tar.bz2 Source2: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: giflib-visibility.patch +Patch1: giflib-automake-1_13.patch BuildRequires: libtool >= 2 BuildRequires: xorg-x11-libICE-devel BuildRequires: xorg-x11-libSM-devel @@ -79,6 +80,7 @@ have expired, giflib can again be used instead of libungif. %setup -q # LT_INIT requires libtool >= 2 %patch +%patch1 -p1 %build # USE __TIMESTAMP__ instead of __DATE__ , __TIME__