This commit is contained in:
commit
93ba65dce2
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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
8
baselibs.conf
Normal file
8
baselibs.conf
Normal file
@ -0,0 +1,8 @@
|
||||
libpng16-16
|
||||
obsoletes "libpng-<targettype> < <version>"
|
||||
provides "libpng-<targettype> = <version>"
|
||||
libpng16-devel
|
||||
requires -libpng16-<targettype>
|
||||
requires "libpng16-16-<targettype> = <version>"
|
||||
libpng16-compat-devel
|
||||
requires -libpng16-compat-<targettype>
|
3
libpng-1.6.0beta04.tar.bz2
Normal file
3
libpng-1.6.0beta04.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5693f7b2ff28510088053c3bbdd9ee1f894b295814290d41f4fdcd580650d88
|
||||
size 874684
|
680
libpng16.changes
Normal file
680
libpng16.changes
Normal file
@ -0,0 +1,680 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 9 08:57:38 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
- updated to 1.6.0beta04
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 19 08:24:37 UTC 2011 - pgajdos@suse.com
|
||||
|
||||
- updated to 1.5.7:
|
||||
Added support for ARM processor (Mans Rullgard)
|
||||
Fixed bug in pngvalid on early allocation failure; fixed type cast in
|
||||
pngmem.c; pngvalid would attempt to call png_error() if the allocation
|
||||
of a png_struct or png_info failed. This would probably have led to a
|
||||
crash. The pngmem.c implementation of png_malloc() included a cast
|
||||
to png_size_t which would fail on large allocations on 16-bit systems.
|
||||
Fix for the preprocessor of the Intel C compiler. The preprocessor
|
||||
splits adjacent @ signs with a space; this changes the concatentation
|
||||
token from @-@-@ to PNG_JOIN; that should work with all compiler
|
||||
preprocessors.
|
||||
Paeth filter speed improvements from work by Siarhei Siamashka. This
|
||||
changes the 'Paeth' reconstruction function to improve the GCC code
|
||||
generation on x86. The changes are only part of the suggested ones;
|
||||
just the changes that definitely improve speed and remain simple.
|
||||
The changes also slightly increase the clarity of the code.
|
||||
Check compression_type parameter in png_get_iCCP and remove spurious
|
||||
casts. The compression_type parameter is always assigned to, so must
|
||||
be non-NULL. The cast of the profile length potentially truncated the
|
||||
value unnecessarily on a 16-bit int system, so the cast of the (byte)
|
||||
compression type to (int) is specified by ANSI-C anyway.
|
||||
Fixed FP division by zero in pngvalid.c; the 'test_pixel' code left
|
||||
the sBIT fields in the test pixel as 0, which resulted in a floating
|
||||
point division by zero which was irrelevant but causes systems where
|
||||
FP exceptions cause a crash. Added code to pngvalid to turn on FP
|
||||
exceptions if the appropriate glibc support is there to ensure this is
|
||||
tested in the future.
|
||||
Updated scripts/pnglibconf.mak and scripts/makefile.std to handle the
|
||||
new PNG_JOIN macro.
|
||||
Added versioning to pnglibconf.h comments.
|
||||
Simplified read/write API initial version; basic read/write tested on
|
||||
a variety of images, limited documentation (in the header file.)
|
||||
Installed more accurate linear to sRGB conversion tables. The slightly
|
||||
modified tables reduce the number of 16-bit values that
|
||||
convert to an off-by-one 8-bit value. The "makesRGB.c" code that was used
|
||||
to generate the tables is now in a contrib/sRGBtables sub-directory.
|
||||
etc. see CHANGES
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 10:48:53 UTC 2011 - idoenmez@suse.de
|
||||
|
||||
- Name field shouldn't contain a macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 1 10:26:43 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 3 09:10:05 UTC 2011 - pgajdos@suse.com
|
||||
|
||||
- updated to 1.5.6:
|
||||
Fixed some 64-bit type conversion warnings in pngrtran.c
|
||||
Moved row_info from png_struct to a local variable.
|
||||
The various interlace mask arrays have been made into arrays of
|
||||
bytes and made PNG_CONST and static (previously some arrays were
|
||||
marked PNG_CONST and some weren't).
|
||||
Additional checks have been added to the transform code to validate the
|
||||
pixel depths after the transforms on both read and write.
|
||||
Removed some redundant code from pngwrite.c, in png_desgtroy_write_struct().
|
||||
Changed chunk reading/writing code to use png_uint_32 instead of png_byte[4].
|
||||
This removes the need to allocate temporary strings for chunk names on
|
||||
the stack in the read/write code. Unknown chunk handling still uses the
|
||||
string form because this is exposed in the API.
|
||||
Added a note in the manual the png_read_update_info() must be called only
|
||||
once with a particular info_ptr.
|
||||
Revised test-pngtest.sh to report FAIL when pngtest fails.
|
||||
Added "--strict" option to pngtest, to report FAIL when the failure is
|
||||
only because the resulting valid files are different.
|
||||
Revised CMakeLists.txt to work with mingw and removed some material from
|
||||
CMakeLists.txt that is no longer useful in libpng-1.5.
|
||||
Fixed typo in Makefile.in and Makefile.am ("-M Wl" should be "-M -Wl")."
|
||||
Speed up png_combine_row() for interlaced images. This reduces the generality
|
||||
of the code, allowing it to be optimized for Adam7 interlace. The masks
|
||||
passed to png_combine_row() are now generated internally, avoiding
|
||||
some code duplication and localizing the interlace handling somewhat.
|
||||
Align png_struct::row_buf - previously it was always unaligned, caused by
|
||||
a bug in the code that attempted to align it; the code needs to subtract
|
||||
one from the pointer to take account of the filter byte prepended to
|
||||
each row.
|
||||
Optimized png_combine_row() when rows are aligned. This gains a small
|
||||
percentage for 16-bit and 32-bit pixels in the typical case where the
|
||||
output row buffers are appropriately aligned. The optimization was not
|
||||
previously possible because the png_struct buffer was always misaligned.
|
||||
Removed two redundant tests for unitialized row.
|
||||
Fixed a relatively harmless memory overwrite in compressed text writing
|
||||
with a 1 byte zlib buffer.
|
||||
Add ability to call png_read_update_info multiple times to pngvalid.c
|
||||
Fixes for multiple calls to png_read_update_info. These fixes attend to
|
||||
most of the errors revealed in pngvalid, however doing the gamma work
|
||||
twice results in inaccuracies that can't be easily fixed. There is now
|
||||
a warning in the code if this is going to happen.
|
||||
Turned on multiple png_read_update_info in pngvalid transform tests.
|
||||
Prevent libpng from overwriting unused bits at the end of the image when
|
||||
it is not byte aligned, while reading. Prior to libpng-1.5.6 libpng would
|
||||
overwrite the partial byte at the end of each row if the row width was not
|
||||
an exact multiple of 8 bits and the image is not interlaced.
|
||||
Made png_ptr->prev_row an aligned pointer into png_ptr->big_prev_row
|
||||
(Mans Rullgard).
|
||||
Changed misleading "Missing PLTE before cHRM" warning to "Out of place cHRM"
|
||||
Added PNG_LSR() and PNG_LSL() macros to defend against buggy compilers that
|
||||
evaluate non-taken code branches and complain about out-of-range shifts.
|
||||
Renamed the local variable 'byte' because it appears in a MSYS header
|
||||
file.
|
||||
Added #define PNG_ALIGN_TYPE PNG_ALIGN_NONE to contrib/pngminim/*/pngusr.h
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 26 09:10:06 UTC 2011 - pgajdos@suse.com
|
||||
|
||||
- updated to 1.5.5, fixes:
|
||||
* CVE-2011-3328 [bnc#720017]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 26 13:15:52 UTC 2011 - pgajdos@novell.com
|
||||
|
||||
- updated to 1.5.4, fixes:
|
||||
* CVE-2011-2501 [bnc#702578]
|
||||
* CVE-2011-2690 [bnc#706387]
|
||||
* CVE-2011-2691 [bnc#706388]
|
||||
* CVE-2011-2692 [bnc#706389]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 31 20:41:23 CEST 2011 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.5.2:
|
||||
* Turned on interlace handling in png_read_png().
|
||||
* Fixed gcc pendantic warnings.
|
||||
* Fixed png_get_current_row_number() in the interlaced case.
|
||||
* Cleaned up ALPHA flags and transformations.
|
||||
* Implemented expansion to 16 bits.
|
||||
* etc, see
|
||||
http://sourceforge.net/projects/libpng/files/libpng15/1.5.2/
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 3 11:19:46 CET 2011 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.5.1: new branch shortly after 1.4, many structural
|
||||
changes, see CHANGELOG or
|
||||
http://sourceforge.net/projects/libpng/files/libpng15/1.5.0/
|
||||
and
|
||||
http://sourceforge.net/projects/libpng/files/libpng15/1.5.1/
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 30 09:51:05 UTC 2010 - pgajdos@novell.com
|
||||
|
||||
- updated to 1.4.4:
|
||||
* Eliminated another deprecated reference to png_ptr->io_ptr in pngtest.c
|
||||
* Updated the xcode project to work with libpng-1.4.x and added iOS targets
|
||||
for simulator and device (Philippe Hausler).
|
||||
* Eliminated a deprecated reference to png_ptr->io_ptr in pngtest.c
|
||||
* Removed unused png_mem_* defines from pngconf.h.
|
||||
* Updated the read macros and functions from 1.5.0beta38.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 30 14:22:24 UTC 2010 - coolo@novell.com
|
||||
|
||||
- fix baselibs.conf after previous change
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 29 15:14:31 CEST 2010 - pgajdos@suse.cz
|
||||
|
||||
- add devel packages to baselbis.conf [bnc#625883]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 18:34:55 CEST 2010 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.4.3: fixed libpng overflow (CVE-2010-1205)
|
||||
and memory leak [bnc#617866]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 13:12:17 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove devel packages from baselibs.conf, not convinced of
|
||||
their usefulness
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 3 11:31:11 CEST 2010 - dmueller@suse.de
|
||||
|
||||
- also obsolete libpng-devel-1.2.43 (previous factory version)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 24 11:38:21 UTC 2010 - coolo@novell.com
|
||||
|
||||
- buildrequire pkg-config to fix provides
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 15 16:07:53 CEST 2010 - pgajdos@suse.cz
|
||||
|
||||
- support png_read_dither() for xfig and transfig
|
||||
* read-dither.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 6 18:24:43 CEST 2010 - ro@suse.de
|
||||
|
||||
- fix baselibs.conf
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 25 18:58:26 CET 2010 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.4.1 -- new branch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 25 09:55:15 CET 2010 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.43 (fixes [bnc#585403]):
|
||||
* Removed "#define PNG_NO_ERROR_NUMBERS" that was inadvertently added
|
||||
to pngconf.h in version 1.2.41.
|
||||
* Removed leftover "-DPNG_CONFIGURE_LIBPNG" from scripts/makefile.darwin
|
||||
and contrib/pngminim/*/makefile
|
||||
* Relocated png_do_chop() to its original position in pngrtran.c; the
|
||||
change in version 1.2.41beta08 caused transparency to be handled wrong
|
||||
in some 16-bit datastreams (Yusaku Sugai).
|
||||
* Renamed libpng-pc.in back to libpng.pc.in and revised CMakeLists.txt
|
||||
(revising changes made in 1.2.41)
|
||||
* Swapped PNG_UNKNOWN_CHUNKS_SUPPORTED and PNG_HANDLE_AS_UNKNOWN_SUPPORTED
|
||||
in pngset.c to be consistent with other changes in version 1.2.38.
|
||||
* Avoid deprecated references to png_ptr-io_ptr and png_ptr->error_ptr
|
||||
in pngtest.c
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 14 20:31:24 CET 2009 - jengelh@medozas.de
|
||||
|
||||
- add baselibs.conf as a source
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 7 09:43:11 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.41:
|
||||
contains numerous cleanups, some new compile-time warnings about
|
||||
direct struct access (define PNG_NO_PEDANTIC_WARNINGS to enable),
|
||||
a new xcode build project, and a minor performance improvement
|
||||
(avoid building 16-bit gamma tables when not needed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 24 14:16:32 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.40:
|
||||
Removed an extra png_debug() recently added to png_write_find_filter().
|
||||
Fixed incorrect #ifdef in pngset.c regarding unknown chunk support.
|
||||
Various bugfixes and improvements to CMakeLists.txt (Philip Lowman)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 3 19:09:28 UTC 2009 - coolo@novell.com
|
||||
|
||||
- updated patches to apply with fuzz=0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 13 15:56:07 CEST 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.39:
|
||||
* Added a prototype for png_64bit_product() in png.c
|
||||
* Avoid a possible NULL dereference in debug build,
|
||||
in png_set_text_2()
|
||||
* Relocated new png_64_bit_product() prototype into png.h
|
||||
* Replaced *.tar.lzma with *.txz in distribution.
|
||||
* Reject attempt to write iCCP chunk with negative embedded
|
||||
profile length.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 20 13:59:43 CEST 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.38:
|
||||
* Revised libpng*.txt and libpng.3 to mention calling png_set_IHDR()
|
||||
multiple times and to specify the sample order in the tRNS chunk,
|
||||
because the ISO PNG specification has a typo in the tRNS table.
|
||||
* Changed several PNG_UNKNOWN_CHUNK_SUPPORTED to
|
||||
PNG_HANDLE_AS_UNKNOWN_SUPPORTED, to make the png_set_keep mechanism
|
||||
available for ignoring known chunks even when not saving unknown chunks.
|
||||
* Adopted preference for consistent use of "#ifdef" and "#ifndef" versus
|
||||
"#if defined()" and "if !defined()" where possible.
|
||||
* Added PNG_NO_HANDLE_AS_UNKNOWN in the PNG_LEGACY_SUPPORTED block of
|
||||
pngconf.h, and moved the various unknown chunk macro definitions
|
||||
outside of the PNG_READ|WRITE_ANCILLARY_CHUNK_SUPPORTED blocks.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 4 15:16:17 CEST 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.37:
|
||||
* fixed bug with new png_memset() of the big_row_buffer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 12 17:38:21 CEST 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.36 (see CHANGES)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 23 11:20:10 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- fixes possible double free [bnc#472745]
|
||||
(CVE-2009-0040)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 19 09:18:12 CET 2009 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.34:
|
||||
* fixes CVE-2008-3964 (removed CVE-2008-3964.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 12:34:56 CET 2009 - olh@suse.de
|
||||
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 15 17:46:06 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- fixed CVE-2008-3964 [bnc#424739]
|
||||
* CVE-2008-3964.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 14:23:49 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- updated to version 1.2.31:
|
||||
* coding bugfixes and enhancements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 1 14:08:17 CEST 2008 - aj@suse.de
|
||||
|
||||
- Do not package la files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 23 19:17:51 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.29:
|
||||
* fixes to the configure-related build-scripts
|
||||
* security fix that affects programs that attempt to do
|
||||
special handling of unknown PNG chunks (presumably very
|
||||
few such programs), along with a reversion to previous
|
||||
behavior for handling of images with out-of-range tRNS-chunk
|
||||
values [bnc#378634]
|
||||
* fix for unintentional gray-to-RGB conversion in
|
||||
png_set_expand_gray_1_2_4_to_8()
|
||||
* various other minor fixes
|
||||
- removed makefile-am.patch, issue fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 11 12:16:53 CEST 2008 - coolo@suse.de
|
||||
|
||||
- fix rename of xxbit packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 22 15:17:41 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- $(ECHO) substituted by echo in Makefile.in -- fixes package
|
||||
build in beta (makefile-am.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de
|
||||
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 3 13:05:17 CEST 2008 - pgajdos@suse.cz
|
||||
|
||||
- updated to 1.2.26:
|
||||
* fixed minor coding errors that could lead to crashes in
|
||||
exceptional cases
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 6 02:20:12 CET 2007 - mrueckert@suse.de
|
||||
|
||||
- added provides/obsoletes for the old package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 13:13:50 CET 2007 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.23:
|
||||
* more sanity checks, fixes [#332249]
|
||||
- adjusted to Shared Library Policy:
|
||||
* renamed package libpng to libpng12-0
|
||||
* created compatibility package libpng3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 11 15:27:52 CEST 2007 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.18:
|
||||
* security fixes merged upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 09:20:57 CEST 2007 - aj@suse.de
|
||||
|
||||
- Add zlib-devel to BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 18:47:29 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- fixed crash on malformed sPLT chunks CVE-2006-5793 [#219007]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 17 17:30:52 CEST 2006 - nadvornik@suse.cz
|
||||
|
||||
- make sure PNG_NO_ASSEMBLER_CODE is used consistently
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 29 19:30:05 CEST 2006 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.12:
|
||||
* fixed possible buffer overflow [#189241]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 18:21:29 CEST 2006 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.10:
|
||||
* use autoconf
|
||||
* many bugfixes
|
||||
- libpng12-config no longer gives -Wl,-rpath,/usr/lib [#168627]
|
||||
- spec file cleanup
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 24 10:53:43 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- removed libpng-64bit.diff [#153106]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:25 CET 2006 - mls@suse.de
|
||||
|
||||
- converted neededforbuild to BuildRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 12 16:30:10 CET 2006 - nadvornik@suse.cz
|
||||
|
||||
- compile with -fstack-protector
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 10 14:59:41 CEST 2005 - nadvornik@suse.cz
|
||||
|
||||
- fixed incorrect inline asm usage
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 19 03:14:59 CEST 2005 - ro@suse.de
|
||||
|
||||
- fix libdir in pkgconfig file libpng.pc
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 20 17:34:57 CET 2005 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.8:
|
||||
* fixed crash of applications that strip the alpha channel
|
||||
* fixed invalid zlib header within the PNG datastream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 27 10:45:21 CEST 2004 - sf@suse.de
|
||||
|
||||
- fixed problem with wrong assumption for long on 64bit archs
|
||||
which prevents khunphan from working (#45738)
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 11:11:53 CEST 2004 - kukuk@suse.de
|
||||
|
||||
- Avoid /bin/sh PreRequires
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 16 12:19:02 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.6: included security fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 19 14:15:38 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- fixed several buffer overflows [#43008]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 16 18:31:10 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- added missing part of pngtran overflow patch [#42043]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 23 16:39:48 CEST 2004 - nadvornik@suse.cz
|
||||
|
||||
- fixed reading behind end of string [#39180]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 10 22:28:23 CET 2004 - adrian@suse.de
|
||||
|
||||
- build as user
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 10 16:58:23 CEST 2003 - adrian@suse.de
|
||||
|
||||
- add %run_ldconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 8 01:34:48 CEST 2003 - ro@suse.de
|
||||
|
||||
- fix tail calling syntax
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 11:52:13 CET 2003 - nadvornik@suse.cz
|
||||
|
||||
- link the shared library with -lz -lm -lc again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 29 10:04:20 CET 2003 - kukuk@suse.de
|
||||
|
||||
- Fix libpng-devel requires (add zlib-devel) [Bug #23154]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 14:21:07 CET 2003 - sbrabec@suse.cz
|
||||
|
||||
- Added missing pkgconfig files to %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 07 11:29:11 CET 2003 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.5
|
||||
- fixed buffer overflow
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 31 11:05:50 CEST 2002 - coolo@suse.de
|
||||
|
||||
- fix libz dependency, so the resulting libpng is self containing
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 21:21:24 CEST 2002 - adrian@suse.de
|
||||
|
||||
- fix neededforbuild
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 17:32:50 CEST 2002 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.4:
|
||||
- fixed buffer overflow in pngpread.c when IDAT is
|
||||
corrupted with extra data
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 12 16:20:53 CEST 2002 - schwab@suse.de
|
||||
|
||||
- Fix makefile.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 5 10:41:39 CEST 2002 - kukuk@suse.de
|
||||
|
||||
- Use %ix86 macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 09:44:15 CEST 2002 - nadvornik@suse.cz
|
||||
|
||||
- updated to 1.2.3
|
||||
- changed package version to match the version of source tarball
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 10:38:31 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- fixed permissions for man pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 11:47:48 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- added Provides: libpng:/usr/include/png.h to libpng-devel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 31 14:10:01 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- back to 1.0.12, libpng 1.2.x will be packed in separate package
|
||||
- created devel subpackage to allow parallel instalation of
|
||||
shared libraries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 9 11:33:09 CET 2002 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.2.1
|
||||
- used macros %{_lib} and %{_libdir}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 15:23:50 CET 2001 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.2.0
|
||||
- shared library version changed to 3.1.2.0
|
||||
- new API for dynamically enabling and disabling certain optimizations
|
||||
- added Provides: libpng-devel for compatibility [bug #11978]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 17 12:29:40 CEST 2001 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.0.12
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 3 10:11:24 CEST 2001 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.0.10
|
||||
- used pnggccrd.c - MMX support on intel
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 13 14:26:47 CET 2001 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.0.9
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 17:13:11 CET 2001 - bk@suse.de
|
||||
|
||||
- call pngtest program to have some tests that libpng works.
|
||||
- don't remove -O3 when adding RPM_OPT_FLAGS(still do -O3 optimisations)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 4 09:23:32 CET 2001 - nadvornik@suse.cz
|
||||
|
||||
- changed rpm version to 2.1.0.8 (bug #5062)
|
||||
- changed shared library name to libpng.so.2.1.0.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 23 12:01:11 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.0.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 11 15:40:08 CEST 2000 - adrian@suse.de
|
||||
|
||||
- seg fault fix in pngrutil.c
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 22 10:06:19 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- changed group
|
||||
- changed URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 29 22:31:13 CEST 2000 - kukuk@suse.de
|
||||
|
||||
- Make sure libpng.so.2 is linked against libz to avoid problems
|
||||
with missing dependencies.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 10 16:35:05 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- added URL
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 4 15:16:50 CEST 2000 - nadvornik@suse.cz
|
||||
|
||||
- update to 1.0.6
|
||||
- added BuildRoot
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 25 16:59:36 CET 2000 - ro@suse.de
|
||||
|
||||
- update to 1.0.5
|
||||
- manpages to /usr/share using macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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:25:16 MEST 1999 - ro@suse.de
|
||||
|
||||
- moved from /usr/X11R6 to /usr
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 28 16:09:53 MEST 1999 - ro@suse.de
|
||||
|
||||
- update to 1.0.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 17 10:33:29 MET 1999 - ro@suse.de
|
||||
|
||||
- added .so.2 link
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 20:08:44 MET 1999 - ro@suse.de
|
||||
|
||||
- bump version to 2.1.0 (the version of the installed library)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 20 14:32:55 MET 1998 - ro@suse.de
|
||||
|
||||
- extracted package from libgr tree
|
||||
update to version 1.0.1
|
||||
|
146
libpng16.spec
Normal file
146
libpng16.spec
Normal file
@ -0,0 +1,146 @@
|
||||
#
|
||||
# spec file for package libpng16
|
||||
#
|
||||
# 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
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
#
|
||||
%define major 1
|
||||
%define minor 6
|
||||
%define micro 0
|
||||
%define branch %{major}%{minor}
|
||||
%define libname libpng%{branch}-%{branch}
|
||||
|
||||
Name: libpng16
|
||||
Url: http://www.libpng.org/pub/png/libpng.html
|
||||
Version: %{major}.%{minor}.%{micro}
|
||||
Release: 0
|
||||
Summary: Library for the Portable Network Graphics Format (PNG)
|
||||
License: Zlib
|
||||
Group: System/Libraries
|
||||
Source: libpng-%{version}beta04.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: zlib-devel
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define debug_package_requires %{libname} = %{version}-%{release}
|
||||
|
||||
%package -n %{libname}
|
||||
|
||||
Summary: Library for the Portable Network Graphics Format (PNG)
|
||||
Group: System/Libraries
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libpng-64bit
|
||||
%endif
|
||||
#
|
||||
Obsoletes: libpng < %{version}
|
||||
Provides: libpng = %{version}-%{release}
|
||||
|
||||
%package devel
|
||||
Summary: Development Tools for applications which will use the Libpng
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: zlib-devel glibc-devel %{libname} = %{version} pkg-config
|
||||
Recommends: libpng%{branch}-compat-devel
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: libpng-devel-64bit
|
||||
%endif
|
||||
#
|
||||
|
||||
%package compat-devel
|
||||
Summary: Development Tools for applications which will use the Libpng
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libpng%{branch}-devel = %{version}
|
||||
Provides: libpng-devel = %{version}
|
||||
Obsoletes: libpng-devel < 1.2.44
|
||||
Conflicts: otherproviders(libpng-devel)
|
||||
|
||||
%description
|
||||
libpng is the official reference library for the Portable Network
|
||||
Graphics format (PNG).
|
||||
|
||||
%description -n %{libname}
|
||||
libpng is the official reference library for the Portable Network
|
||||
Graphics format (PNG).
|
||||
|
||||
%description devel
|
||||
The libpng%{branch}-devel package includes the header files, libraries,
|
||||
configuration files and development tools necessary for compiling and
|
||||
linking programs which will manipulate PNG files using libpng%{branch}.
|
||||
|
||||
libpng is the official reference library for the Portable Network
|
||||
Graphics (PNG) format.
|
||||
|
||||
%description compat-devel
|
||||
The libpng%{branch}-compat-devel package contains unversioned symlinks
|
||||
to the header files, libraries, configuration files and development
|
||||
tools necessary for compiling and linking programs that don't care
|
||||
about libpng version.
|
||||
|
||||
%prep
|
||||
%setup -n libpng-%{version}beta04
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
# We'll never use the old pgcc-2.95.1 with the buggy -O3, so having
|
||||
# the -O3 that is originally used should work.
|
||||
# Substitute the -O2 to -O3 because I'm not sure if simply appending
|
||||
# it will preserve(not override) the detailed opt flags used in RPM_OPT_FLAGS:
|
||||
CFLAGS="`echo $RPM_OPT_FLAGS|sed 's/-O2/-O3/'` -DPNG_SKIP_SETJMP_CHECK" \
|
||||
./configure --prefix=/usr \
|
||||
--libdir=%{_libdir} \
|
||||
--mandir=%{_mandir} \
|
||||
--disable-static \
|
||||
--with-libpng-compat=no
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm $RPM_BUILD_ROOT/%{_libdir}/libpng*.la
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
%post -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n %{libname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{libname}
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libpng%{branch}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/libpng%{branch}-config
|
||||
%{_includedir}/libpng%{branch}
|
||||
%{_libdir}/libpng%{branch}.so
|
||||
%{_libdir}/pkgconfig/libpng%{branch}.pc
|
||||
%doc CHANGES README TODO ANNOUNCE LICENSE libpng-*.txt
|
||||
|
||||
%files compat-devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/libpng-config
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/libpng.so
|
||||
%{_libdir}/pkgconfig/libpng.pc
|
||||
%doc %{_mandir}/man3/libpng.3.gz
|
||||
%doc %{_mandir}/man3/libpngpf.3.gz
|
||||
%doc %{_mandir}/man5/png.5.gz
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user