Sync from SUSE:ALP:Source:Standard:1.0 giflib revision 1a29b6887783e95ffdb70ec376a954c9
This commit is contained in:
commit
ab0e14eb48
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
21
PIE.patch
Normal file
21
PIE.patch
Normal file
@ -0,0 +1,21 @@
|
||||
Index: a/Makefile
|
||||
===================================================================
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -8,7 +8,7 @@
|
||||
#
|
||||
OFLAGS = -O0 -g
|
||||
OFLAGS = -O2
|
||||
-CFLAGS = -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
|
||||
+CFLAGS += -std=gnu99 -fPIC -Wall -Wno-format-truncation $(OFLAGS)
|
||||
|
||||
SHELL = /bin/sh
|
||||
TAR = tar
|
||||
@@ -64,6 +64,7 @@ LDLIBS=libgif.a -lm
|
||||
all: libgif.so libgif.a libutil.so libutil.a $(UTILS)
|
||||
$(MAKE) -C doc
|
||||
|
||||
+$(UTILS):: LDFLAGS += -pie
|
||||
$(UTILS):: libgif.a libutil.a
|
||||
|
||||
libgif.so: $(OBJECTS) $(HEADERS)
|
6
baselibs.conf
Normal file
6
baselibs.conf
Normal file
@ -0,0 +1,6 @@
|
||||
libgif7
|
||||
obsoletes "giflib-<targettype> < <version>"
|
||||
provides "giflib-<targettype> = <version>"
|
||||
giflib-devel
|
||||
requires -giflib-<targettype> = <version>
|
||||
requires "libgif7-<targettype> = <version>"
|
BIN
giflib-5.2.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
giflib-5.2.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
448
giflib.changes
Normal file
448
giflib.changes
Normal file
@ -0,0 +1,448 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 12 21:29:29 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add reproducible.patch to avoid timestamp patching in the build
|
||||
section and allowing it to build with -Werror=date-time
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 15 15:15:15 UTC 2021 - olaf@aepfle.de
|
||||
|
||||
- prep section should just extract and patch,
|
||||
further modifications have to be done in the build section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 11:32:49 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||
|
||||
- Added patch:
|
||||
* PIE.patch
|
||||
+ build path independent objects
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 21:23:35 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
|
||||
|
||||
- Update to version 5.2.1
|
||||
* In gifbuild.c, avoid a core dump on no color map.
|
||||
* Restore inadvertently removed library version numbers in Makefile.
|
||||
- Changes in version 5.2.0
|
||||
* The undocumented and deprecated GifQuantizeBuffer() entry point
|
||||
has been moved to the util library to reduce libgif size and attack
|
||||
surface. Applications needing this function are couraged to link the
|
||||
util library or make their own copy.
|
||||
* The following obsolete utility programs are no longer installed:
|
||||
gifecho, giffilter, gifinto, gifsponge. These were either installed in
|
||||
error or have been obsolesced by modern image-transformmation tools
|
||||
like ImageMagick convert. They may be removed entirely in a future
|
||||
release.
|
||||
* Address SourceForge issue #136: Stack-buffer-overflow in gifcolor.c:84
|
||||
* Address SF bug #134: Giflib fails to slurp significant number of gifs
|
||||
* Apply SPDX convention for license tagging.
|
||||
- Changes in version 5.1.9
|
||||
* The documentation directory now includes an HTMlified version of the
|
||||
GIF89 standard, and a more detailed description of how LZW compression
|
||||
is applied to GIFs.
|
||||
* Address SF bug #129: The latest version of giflib cannot be build on windows.
|
||||
* Address SF bug #126: Cannot compile giflib using c89
|
||||
- Changes in version 5.1.8
|
||||
* Address SF bug #119: MemorySanitizer: FPE on unknown address
|
||||
* Address SF bug #125: 5.1.7: xmlto is still required for tarball
|
||||
* Address SF bug #124: 5.1.7: ar invocation is not crosscompile compatible
|
||||
* Address SF bug #122: 5.1.7 installs manpages to wrong directory
|
||||
* Address SF bug #121: make: getversion: Command not found
|
||||
* Address SF bug #120: 5.1.7 does not build a proper library - no
|
||||
- Changes in version 5.1.7
|
||||
* Correct a minor packaging error (superfluous symlinks) in the 5.1.6 tarballs.
|
||||
- Changes in version 5.1.6
|
||||
* Fix library installation in the Makefile.
|
||||
- Changes in version 5.1.5
|
||||
* Fix SF bug #114: Null dereferences in main() of gifclrmp
|
||||
* Fix SF bug #113: Heap Buffer Overflow-2 in function DGifDecompressLine()
|
||||
in cgif.c. This had been assigned (CVE-2018-11490).
|
||||
* Fix SF bug #111: segmentation fault in PrintCodeBlock
|
||||
* Fix SF bug #109: Segmentation fault of giftool reading a crafted file
|
||||
* Fix SF bug #107: Floating point exception in giftext utility
|
||||
* Fix SF bug #105: heap buffer overflow in DumpScreen2RGB in gif2rgb.c:317
|
||||
* Fix SF bug #104: Ineffective bounds check in DGifSlurp
|
||||
* Fix SF bug #103: GIFLIB 5.1.4: DGifSlurp fails on empty comment
|
||||
* Fix SF bug #87: Heap buffer overflow in 5.1.2 (gif2rgb).
|
||||
* The horrible old autoconf build system has been removed with extreme prejudice.
|
||||
You now build this simply by running "make" from the top-level directory.
|
||||
- Run spec-cleaner
|
||||
- Drop patches fixed upstream:
|
||||
* giflib-visibility.patch
|
||||
* giflib-automake-1_13.patch
|
||||
* giflib-CVE-2016-3977.patch
|
||||
* fix-autoconf11.patch
|
||||
- Change build system to Make only (upstream not using autoconf)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 9 23:16:46 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Remove unused build requires on X libraries
|
||||
- Use %license
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 5 05:38:23 UTC 2017 - bwiedemann@suse.com
|
||||
|
||||
- Keep timestamps before patch updates them to fix build-compare
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 13 15:50:28 UTC 2016 - rpm@fthiessen.de
|
||||
|
||||
- Added fix-autoconf11.patch for fixing build with older autoconf,
|
||||
requires for SLE11.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 12 08:34:44 UTC 2016 - fstrba@suse.com
|
||||
|
||||
- Update to version 5.1.4
|
||||
* Fix SF bug #94: giflib 5 loves to fail to load images... a LOT.
|
||||
* Fix SF Bug #92: Fix buffer overread in gifbuild.
|
||||
* Fix SF Bug #93: Add bounds check in gifbuild netscape2.0 path
|
||||
* Fix SF Bug #89: Fix buffer overread in gifbuild.
|
||||
- Removed patch:
|
||||
* giflib-sf-88.patch
|
||||
+ Integrated upstream
|
||||
- Added patch:
|
||||
* giflib-CVE-2016-3977.patch
|
||||
- Fix CVE-2016-3977: heap buffer overflow in gif2rgb
|
||||
(bsc#974847)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 23 08:23:32 UTC 2016 - idonmez@suse.com
|
||||
|
||||
- Update to version 5.1.3
|
||||
* Prevent malloc randomess from causing the header output routine
|
||||
to emit a GIF89 version string even when no GIF89 features are
|
||||
present.
|
||||
* Prevent malloc randomess from producing sporadic failures by causing
|
||||
sanity checks added in 5.1.2 to misfire.
|
||||
* Bulletproof gif2rgb against 0-height images. Addressed sf#78:
|
||||
Heap overflow in gif2rgb with images of size 0, also sf#82.
|
||||
* Remove unnecessary duplicate EGifClose() in gifcolor.c. Fixes sf#83
|
||||
introduced in 5.1.2.
|
||||
* Fix sf#84: incorrect return of DGifSlurp().
|
||||
- Add giflib-sf-88.patch to fix sf#88
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 19 12:59:02 UTC 2016 - fstrba@suse.com
|
||||
|
||||
- Update to version 5.1.2 (fixes CVE-2015-7555, bsc#960319)
|
||||
* Code Fixes
|
||||
+ Code hardening using reallocarray() from OpenBSD.
|
||||
+ Sanity check in giffilter catches files with malformed
|
||||
extension records. Fixes SourceForge bug #63: malformed gif
|
||||
causes segfault in giffilter.
|
||||
+ Inexpensive sanity check in DGifSlurp() catches malformed files
|
||||
with no image descriptor. Fixes SourceForge bug #64: malformed
|
||||
gif causes crash in giftool.
|
||||
+ Fix SourceForge bug #66: GifDrawBoxedText8x8() modifying
|
||||
constant input parameter.
|
||||
+ Bail out of GIF read on invalid pixel width. Addresses Savannah
|
||||
bug #67: invalid shift in dgif_lib.c
|
||||
+ Fix SourceForge bug #69: #69 Malformed: Gif file with no
|
||||
extension block after a GRAPHICS_EXT_FUNC_CODE extension causes
|
||||
segfault (in giftext).
|
||||
+ Fix SourceForge bug #71: Buffer overwrite when giffixing a
|
||||
malformed gif.
|
||||
+ Fix SourceForge bug #73: Null pointer deference in gifclrmap
|
||||
(only reachable with malformed GIF).
|
||||
+ Fix SourceForge bug #74: Double free in gifsponge under 5.1,1,
|
||||
for any valid gif image.
|
||||
+ Fix SourceForge bug #75: GAGetArgs overflows due to uncounted
|
||||
use of va_arg.
|
||||
+ Sanity check in giffix catches some malformed files. Addresses
|
||||
SourceForge bug #77: dgif_lib.c: extension processing error
|
||||
- Modified patches:
|
||||
* giflib-automake-1_13.patch
|
||||
* giflib-visibility.patch
|
||||
+ rediff to changed context
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 15 13:36:49 UTC 2015 - tchvatal@suse.com
|
||||
|
||||
- Cleanup a bit
|
||||
- Remove obsolete sle10 deprecations
|
||||
- Fix one tiny rpmlint warning
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 14 22:39:16 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
- Update to version 5.1.1
|
||||
+ Numerous minor fixes in getarg.c. Affects only the utilities, not the
|
||||
core library.
|
||||
+ Fix SourceForge bug #59 DGifOpen can segfault if DGifGetScreenDesc fails.
|
||||
+ SourceForge patch #20: In gifalloc, fix usage of realloc() in case of failure.
|
||||
+ Fix SourceForge bug #61 Leak in gifsponge.
|
||||
+ glibtoolize port fix for OS X.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 30 14:36:54 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 5.1.0
|
||||
* Minor API change to assist library wrappers in dynamic languages,
|
||||
removal of the the gif2raw utility, and various minor fix patches
|
||||
for unusual edge cases.
|
||||
* API changes to functions:
|
||||
GifErrorString returns const char *;
|
||||
EGifGetGifVersion returns const char *;
|
||||
EGifCloseFile takes another int *errorcode;
|
||||
DGifCloseFile takes another int *errorcode;
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 10:42:33 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 5.0.5 (bugfix release)
|
||||
* This release sets the error return properly when a screen
|
||||
descriptor read fails, and fixes minor API documentation bugs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Added url as source.
|
||||
Please see http://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- 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
|
||||
|
||||
- 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
|
||||
|
||||
- Remove redundant tags/sections
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 02:57:31 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- annotate functions from gif_lib_private.h with visibility
|
||||
hidden so they are not exported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 1 05:39:13 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to make the spec file more reliable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 21 10:59:15 UTC 2011 - jengelh@medozas.de
|
||||
|
||||
- Correct project URL
|
||||
- Implement shlib naming (libgif4)
|
||||
- Apply packaging guidelines (remove redundant/obsolete
|
||||
tags/sections from specfile, etc.)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 29 23:15:24 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
- Do not use __Date__ and __TIME__ , make build-compare
|
||||
happier
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 20:50:13 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 16:19:37 CET 2009 - olh@suse.de
|
||||
|
||||
- obsolete old libungif-64bit on ppc64 (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 10 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade
|
||||
(bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 24 12:34:56 CET 2008 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 16 20:28:34 CEST 2006 - aj@suse.de
|
||||
|
||||
- Replace xorg-x11-devel BuildRequires with really needed libs.
|
||||
- Fix configure call for X11 R7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:18 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 16:17:07 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- compile with -fstack-protector
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 12:21:11 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- updated to 4.1.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 26 21:19:18 CEST 2005 - jw@suse.de
|
||||
|
||||
- fixed EGifCompressLine for 64bit archs,
|
||||
to make perl-Prima testcases happy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 14 16:30:45 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- fixed provides on 64bit architectures [#44842]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 09 14:13:20 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- added Provides: libungif.so.4 [#44842]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 01 13:51:38 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- updated to giflib 4.1.3: LZW is enabled again
|
||||
- renamed libungif -> giflib
|
||||
ungif -> giflib-progs
|
||||
- new subpackage giflib-devel
|
||||
- added compatibility symlinks
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 24 21:43:47 CET 2004 - kukuk@suse.de
|
||||
|
||||
- Cleanup neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 18:20:46 CET 2004 - adrian@suse.de
|
||||
|
||||
- add %defattr and %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 11 11:36:10 CET 2002 - schwab@suse.de
|
||||
|
||||
- Fix use of varargs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 6 10:54:53 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- updated to 4.1.0b1:
|
||||
- bugfix release
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 8 17:00:30 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- used macros %{_lib} and %{_libdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 12 12:08:36 CEST 2001 - ro@suse.de
|
||||
|
||||
- libtoolize to build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 18:17:54 CEST 2001 - schwab@suse.de
|
||||
|
||||
- Change DumpScreen2Gif parameters to long.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 24 18:10:55 CEST 2001 - pblaha@suse.cz
|
||||
|
||||
- fix cast pointer on ia64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 18 09:59:04 CEST 2001 - pblaha@suse.cz
|
||||
|
||||
- patch from nadvornik@suse.cz for bug in loading images
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 9 01:10:42 CEST 2001 - ro@suse.de
|
||||
|
||||
- fixed group tag
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 17 15:51:01 CEST 2000 - bubnikv@suse.cz
|
||||
|
||||
- fixed bug of $chmod 755 libungif.so* (missing $RPM_BUILD_ROOT)
|
||||
- spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 15 12:10:06 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- added BuildRoot
|
||||
- added URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 18:04:59 CEST 2000 - bk@suse.de
|
||||
|
||||
- config.{sub,guess} update macro needs automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 1 23:05:01 CEST 2000 - bk@suse.de
|
||||
|
||||
- suse s390 team added required %suse_update_config for s390
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 29 12:29:15 MEST 1999 - ro@suse.de
|
||||
|
||||
- split: ungif (containing the tools) is build as a separate package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 6 17:15:24 MEST 1999 - ro@suse.de
|
||||
|
||||
- initial package
|
||||
|
91
giflib.spec
Normal file
91
giflib.spec
Normal file
@ -0,0 +1,91 @@
|
||||
#
|
||||
# spec file for package giflib
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# 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 https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define lname libgif7
|
||||
Name: giflib
|
||||
Version: 5.2.1
|
||||
Release: 0
|
||||
Summary: A Library for Working with GIF Images
|
||||
License: MIT
|
||||
URL: https://giflib.sourceforge.net/
|
||||
Source: https://downloads.sf.net/giflib/%{name}-%{version}.tar.gz
|
||||
Source2: baselibs.conf
|
||||
Patch1: PIE.patch
|
||||
Patch2: reproducible.patch
|
||||
BuildRequires: libtool >= 2
|
||||
|
||||
%description
|
||||
This Library allows manipulating GIF Image files. Since the LZW patents
|
||||
have expired, giflib can again be used instead of libungif.
|
||||
|
||||
%package -n %{lname}
|
||||
Summary: A Library for Working with GIF Images
|
||||
|
||||
%description -n %{lname}
|
||||
This Library allows manipulating GIF Image files. Since the LZW patents
|
||||
have expired, giflib can again be used instead of libungif.
|
||||
|
||||
%package progs
|
||||
Summary: Tools for Working with the GIF Library
|
||||
Provides: ungif = %{version}
|
||||
Obsoletes: ungif < %{version}
|
||||
|
||||
%description progs
|
||||
A tool for converting GIFs to various formats.
|
||||
|
||||
%package devel
|
||||
Summary: Library for Working with GIF Images - Files Mandatory for Development
|
||||
Requires: %{lname} = %{version}
|
||||
|
||||
%description devel
|
||||
This Library allows manipulating GIF Image files. Since the LZW patents
|
||||
have expired, giflib can again be used instead of libungif.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install PREFIX="%{_prefix}" LIBDIR="%{_libdir}"
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
find doc -name "Makefile*" -print -delete
|
||||
|
||||
# Drop static library
|
||||
rm -f %{buildroot}%{_libdir}/libgif.a
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lname}
|
||||
%license COPYING
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/gif_lib.h
|
||||
%{_libdir}/lib*.so
|
||||
|
||||
%files progs
|
||||
%license COPYING
|
||||
%doc NEWS README doc
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*.1%{?ext_man}
|
||||
|
||||
%changelog
|
132
reproducible.patch
Normal file
132
reproducible.patch
Normal file
@ -0,0 +1,132 @@
|
||||
Index: giflib-5.2.1/gif2rgb.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gif2rgb.c
|
||||
+++ giflib-5.2.1/gif2rgb.c
|
||||
@@ -43,7 +43,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifbg.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifbg.c
|
||||
+++ giflib-5.2.1/gifbg.c
|
||||
@@ -46,7 +46,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifbuild.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifbuild.c
|
||||
+++ giflib-5.2.1/gifbuild.c
|
||||
@@ -23,7 +23,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Eric Raymond, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1992 Eric Raymond.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifclrmp.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifclrmp.c
|
||||
+++ giflib-5.2.1/gifclrmp.c
|
||||
@@ -24,7 +24,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifcolor.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifcolor.c
|
||||
+++ giflib-5.2.1/gifcolor.c
|
||||
@@ -25,7 +25,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr = PROGRAM_NAME " v%- b%-Background!d h%-";
|
||||
Index: giflib-5.2.1/gifecho.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifecho.c
|
||||
+++ giflib-5.2.1/gifecho.c
|
||||
@@ -32,7 +32,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/giffix.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/giffix.c
|
||||
+++ giflib-5.2.1/giffix.c
|
||||
@@ -22,7 +22,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifhisto.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifhisto.c
|
||||
+++ giflib-5.2.1/gifhisto.c
|
||||
@@ -26,7 +26,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifinto.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifinto.c
|
||||
+++ giflib-5.2.1/gifinto.c
|
||||
@@ -35,7 +35,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/giftext.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/giftext.c
|
||||
+++ giflib-5.2.1/giftext.c
|
||||
@@ -28,7 +28,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
||||
Index: giflib-5.2.1/gifwedge.c
|
||||
===================================================================
|
||||
--- giflib-5.2.1.orig/gifwedge.c
|
||||
+++ giflib-5.2.1/gifwedge.c
|
||||
@@ -27,7 +27,6 @@ static char
|
||||
PROGRAM_NAME
|
||||
VERSION_COOKIE
|
||||
" Gershon Elber, "
|
||||
- __DATE__ ", " __TIME__ "\n"
|
||||
"(C) Copyright 1989 Gershon Elber.\n";
|
||||
static char
|
||||
*CtrlStr =
|
Loading…
Reference in New Issue
Block a user