forked from pool/giflib
Accepting request 180938 from home:jengelh:branches:devel:libraries:c_c++
- Update to new upstream release 5.0.4 OBS-URL: https://build.opensuse.org/request/show/180938 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/giflib?expand=0&rev=27
This commit is contained in:
parent
72aa4ce3ba
commit
99a8f94915
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5642cc7ce79c5c4e4e37441d718f8dd11b7e12dd213ed5e3c872211a1d3f5f81
|
|
||||||
size 629169
|
|
3
giflib-5.0.4.tar.bz2
Normal file
3
giflib-5.0.4.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7c78b2834256fcb7ff703d0d2153f965dc296f8e059de1fc635aba1042b00bba
|
||||||
|
size 629190
|
@ -1,24 +1,34 @@
|
|||||||
--- lib/gif_lib_private.h.orig
|
---
|
||||||
+++ lib/gif_lib_private.h
|
configure.ac | 7 +++++--
|
||||||
@@ -29,6 +29,8 @@ gif_lib_private.h - internal giflib rout
|
lib/gif_hash.h | 4 ++++
|
||||||
#define IS_READABLE(Private) (Private->FileState & FILE_STATE_READ)
|
lib/gif_lib_private.h | 3 +++
|
||||||
#define IS_WRITEABLE(Private) (Private->FileState & FILE_STATE_WRITE)
|
3 files changed, 12 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
Index: giflib-5.0.4/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- giflib-5.0.4.orig/configure.ac
|
||||||
|
+++ giflib-5.0.4/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
|
||||||
|
AM_CONFIG_HEADER(config.h)
|
||||||
|
+AC_CONFIG_MACRO_DIR([m4])
|
||||||
|
|
||||||
+#pragma GCC visibility push(hidden)
|
dnl Checks for programs.
|
||||||
+
|
-AC_PROG_LIBTOOL
|
||||||
typedef struct GifFilePrivateType {
|
-AC_PROG_CC
|
||||||
GifWord FileState, FileHandle, /* Where all this data goes to! */
|
+AC_PROG_CC_STDC
|
||||||
BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */
|
+AC_USE_SYSTEM_EXTENSIONS
|
||||||
@@ -54,6 +56,7 @@ typedef struct GifFilePrivateType {
|
+AC_SYS_LARGEFILE
|
||||||
bool gif89;
|
AC_PROG_CPP
|
||||||
} GifFilePrivateType;
|
+LT_INIT([pic-only disable-static])
|
||||||
|
AC_PROG_INSTALL
|
||||||
+#pragma GCC visibility pop
|
AC_PROG_LN_S
|
||||||
#endif /* _GIF_LIB_PRIVATE_H */
|
AC_PROG_MAKE_SET
|
||||||
|
Index: giflib-5.0.4/lib/gif_hash.h
|
||||||
/* end */
|
===================================================================
|
||||||
--- lib/gif_hash.h.orig
|
--- giflib-5.0.4.orig/lib/gif_hash.h
|
||||||
+++ lib/gif_hash.h
|
+++ giflib-5.0.4/lib/gif_hash.h
|
||||||
@@ -25,6 +25,8 @@ gif_hash.h - magfic constants and declar
|
@@ -25,6 +25,8 @@ gif_hash.h - magfic constants and declar
|
||||||
#define HT_PUT_KEY(l) (l << 12)
|
#define HT_PUT_KEY(l) (l << 12)
|
||||||
#define HT_PUT_CODE(l) (l & 0x0FFF)
|
#define HT_PUT_CODE(l) (l & 0x0FFF)
|
||||||
@ -37,22 +47,24 @@
|
|||||||
#endif /* _GIF_HASH_H_ */
|
#endif /* _GIF_HASH_H_ */
|
||||||
|
|
||||||
/* end */
|
/* end */
|
||||||
--- configure.ac.orig
|
Index: giflib-5.0.4/lib/gif_lib_private.h
|
||||||
+++ configure.ac
|
===================================================================
|
||||||
@@ -8,11 +8,14 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_R
|
--- giflib-5.0.4.orig/lib/gif_lib_private.h
|
||||||
dnl Note: config.h is not used in the current build
|
+++ giflib-5.0.4/lib/gif_lib_private.h
|
||||||
dnl We leave this in place only to suppress an error message at autogen time
|
@@ -29,6 +29,8 @@ gif_lib_private.h - internal giflib rout
|
||||||
AM_CONFIG_HEADER(config.h)
|
#define IS_READABLE(Private) (Private->FileState & FILE_STATE_READ)
|
||||||
+AC_CONFIG_MACRO_DIR([m4])
|
#define IS_WRITEABLE(Private) (Private->FileState & FILE_STATE_WRITE)
|
||||||
|
|
||||||
dnl Checks for programs.
|
+#pragma GCC visibility push(hidden)
|
||||||
-AC_PROG_LIBTOOL
|
+
|
||||||
-AC_PROG_CC
|
typedef struct GifFilePrivateType {
|
||||||
+AC_PROG_CC_STDC
|
GifWord FileState, FileHandle, /* Where all this data goes to! */
|
||||||
+AC_USE_SYSTEM_EXTENSIONS
|
BitsPerPixel, /* Bits per pixel (Codes uses at least this + 1). */
|
||||||
+AC_SYS_LARGEFILE
|
@@ -54,6 +56,7 @@ typedef struct GifFilePrivateType {
|
||||||
AC_PROG_CPP
|
bool gif89;
|
||||||
+LT_INIT([pic-only disable-static])
|
} GifFilePrivateType;
|
||||||
AC_PROG_INSTALL
|
|
||||||
AC_PROG_LN_S
|
+#pragma GCC visibility pop
|
||||||
AC_PROG_MAKE_SET
|
#endif /* _GIF_LIB_PRIVATE_H */
|
||||||
|
|
||||||
|
/* end */
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 26 00:43:20 UTC 2013 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 5.0.4
|
||||||
|
* Fix for a rare misrendering bug when a GIF overruns the
|
||||||
|
decompression-code table.
|
||||||
|
- Make patches have -p1, as requested by
|
||||||
|
http://en.opensuse.org/openSUSE:Packaging_Patches_guidelines
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 27 08:31:44 UTC 2013 - mmeister@suse.com
|
Wed Mar 27 08:31:44 UTC 2013 - mmeister@suse.com
|
||||||
|
|
||||||
|
22
giflib.spec
22
giflib.spec
@ -18,17 +18,20 @@
|
|||||||
|
|
||||||
Name: giflib
|
Name: giflib
|
||||||
%define lname libgif6
|
%define lname libgif6
|
||||||
Url: http://sourceforge.net/projects/giflib
|
Version: 5.0.4
|
||||||
Version: 5.0.3
|
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A Library for Working with GIF Images
|
Summary: A Library for Working with GIF Images
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/C and C++
|
||||||
Source: http://downloads.sourceforge.net/project/%{name}/%{name}-5.x/%{name}-%{version}.tar.bz2
|
Url: http://giflib.sf.net/
|
||||||
|
|
||||||
|
#Git-Clone: git://git.code.sf.net/p/giflib/code
|
||||||
|
#Freecode-URL: http://freecode.com/projects/giflib
|
||||||
|
Source: http://downloads.sf.net/giflib/%name-%version.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Patch: giflib-visibility.patch
|
Patch1: giflib-visibility.patch
|
||||||
Patch1: giflib-automake-1_13.patch
|
Patch2: giflib-automake-1_13.patch
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: xorg-x11-libICE-devel
|
BuildRequires: xorg-x11-libICE-devel
|
||||||
BuildRequires: xorg-x11-libSM-devel
|
BuildRequires: xorg-x11-libSM-devel
|
||||||
@ -79,8 +82,7 @@ have expired, giflib can again be used instead of libungif.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# LT_INIT requires libtool >= 2
|
# LT_INIT requires libtool >= 2
|
||||||
%patch
|
%patch -P 1 -P 2 -p1
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# USE __TIMESTAMP__ instead of __DATE__ , __TIME__
|
# USE __TIMESTAMP__ instead of __DATE__ , __TIME__
|
||||||
@ -114,12 +116,12 @@ find doc -name "Makefile*" -print -delete
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/usr/include/gif_lib.h
|
%_includedir/gif_lib.h
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/lib*.so
|
||||||
|
|
||||||
%files progs
|
%files progs
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING NEWS README doc
|
%doc COPYING NEWS README doc
|
||||||
/usr/bin/*
|
%_bindir/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user