Hello community,

here is the log from the commit of package giflib for openSUSE:Factory checked 
in at 2013-01-07 15:14:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/giflib (Old)
 and      /work/SRC/openSUSE:Factory/.giflib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "giflib", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/giflib/giflib.changes    2012-02-15 
16:15:56.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.giflib.new/giflib.changes       2013-01-07 
15:14:34.000000000 +0100
@@ -1,0 +2,20 @@
+Fri Jan  4 15:02:09 UTC 2013 - [email protected]
+
+- Adjust baselibs.conf for libgif6, remove libungif rpm symbols
+  since they are now no longer provided.
+
+-------------------------------------------------------------------
+Sun Dec 30 22:31:28 UTC 2012 - [email protected]
+
+- 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.
+
+-------------------------------------------------------------------

Old:
----
  giflib-4.1.6.tar.bz2

New:
----
  giflib-5.0.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ giflib.spec ++++++
--- /var/tmp/diff_new_pack.hLc8nX/_old  2013-01-07 15:14:35.000000000 +0100
+++ /var/tmp/diff_new_pack.hLc8nX/_new  2013-01-07 15:14:35.000000000 +0100
@@ -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 @@
 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 @@
 %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 @@
 
 %prep
 %setup -q
+# LT_INIT requires libtool >= 2
 %patch
 
 %build
@@ -103,18 +96,13 @@
 
 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
 

++++++ baselibs.conf ++++++
--- /var/tmp/diff_new_pack.hLc8nX/_old  2013-01-07 15:14:35.000000000 +0100
+++ /var/tmp/diff_new_pack.hLc8nX/_new  2013-01-07 15:14:35.000000000 +0100
@@ -1,12 +1,6 @@
-libgif4
-# O/P on giflib added in 4.1.6. Once 4.1.7 is used, switch "<=" to "<".
-  obsoletes "giflib-<targettype> <= <version>"
+libgif6
+  obsoletes "giflib-<targettype> < <version>"
   provides "giflib-<targettype> = <version>"
-
-  obsoletes "libungif-<targettype>"
-  provides  "libungif-<targettype>"
-  targettype 32bit provides "libungif.so.4"
-  targettype 64bit provides "libungif.so.4()(64bit)"
 giflib-devel
   requires -giflib-<targettype> = <version>
-  requires "libgif4-<targettype> = <version>"
+  requires "libgif6-<targettype> = <version>"

++++++ giflib-4.1.6.tar.bz2 -> giflib-5.0.3.tar.bz2 ++++++
++++ 109257 lines of diff (skipped)

++++++ giflib-visibility.patch ++++++
--- /var/tmp/diff_new_pack.hLc8nX/_old  2013-01-07 15:14:36.000000000 +0100
+++ /var/tmp/diff_new_pack.hLc8nX/_new  2013-01-07 15:14:36.000000000 +0100
@@ -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)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to