This commit is contained in:
parent
12a46ac805
commit
7a7b1666b0
3
libmng-1.0.10.tar.bz2
Normal file
3
libmng-1.0.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7b1477816c54b4d8ee0690c583982637910a1801ece0b0831e03fd07882e8118
|
||||
size 852635
|
@ -1,13 +1,13 @@
|
||||
--- libmng_zlib.c
|
||||
+++ libmng_zlib.c
|
||||
@@ -162,6 +162,10 @@
|
||||
diff -ur libmng-orig/libmng_zlib.c libmng-1.0.10/libmng_zlib.c
|
||||
--- libmng_zlib.c 2005-12-15 00:53:13.000000000 +0100
|
||||
+++ libmng_zlib.c 2007-07-19 13:17:44.000000000 +0200
|
||||
@@ -162,6 +162,9 @@
|
||||
#ifdef MNG_SUPPORT_TRACE
|
||||
MNG_TRACE (pData, MNG_FN_ZLIB_INFLATEINIT, MNG_LC_START);
|
||||
#endif
|
||||
+
|
||||
+ if (pData->bInflating) /* free the old zlib structures */
|
||||
+ inflateEnd(&pData->sZlib);
|
||||
+
|
||||
/* initialize zlib structures and such */
|
||||
iZrslt = inflateInit (&pData->sZlib);
|
||||
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:af1d816bb4eff57ed3725630ec79f9e8c33b2a3d685e3572d8f66c5ef90a33ce
|
||||
size 412707
|
@ -1,5 +1,6 @@
|
||||
--- makefiles/makefile.linux
|
||||
+++ makefiles/makefile.linux 2005/02/04 14:32:50
|
||||
diff -ur libmng-orig/makefiles/makefile.linux libmng-1.0.10/makefiles/makefile.linux
|
||||
--- makefiles/makefile.linux 2005-01-30 11:28:00.000000000 +0100
|
||||
+++ makefiles/makefile.linux 2007-07-19 13:39:28.000000000 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
# default build options (this forces shared library compatibility!!)
|
||||
@ -8,7 +9,7 @@
|
||||
+OPTIONS = -DMNG_BUILD_SO -DMNG_NO_INCLUDE_JNG
|
||||
|
||||
# where "make install" puts libmng.a,libmng.so*,libmng.h,libmng_conf.h,libmng_types.h
|
||||
prefix=/usr
|
||||
prefix=/usr/local
|
||||
@@ -50,7 +50,7 @@
|
||||
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
||||
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) \
|
||||
@ -18,7 +19,7 @@
|
||||
|
||||
RANLIB=ranlib
|
||||
#RANLIB=echo
|
||||
@@ -107,7 +105,7 @@
|
||||
@@ -107,7 +107,7 @@
|
||||
# $(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
||||
# $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -L$(LCMSLIB) -lz -lm -lc
|
||||
$(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
||||
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 19 12:31:15 CEST 2007 - ltinkl@suse.cz
|
||||
|
||||
- update to 1.0.10
|
||||
* fixed some compiler-warnings
|
||||
* fixed display routines called twice for FULL_MNG support in mozlibmngconf.h
|
||||
* standard windows dll upgraded to zlib 1.2.3
|
||||
* fixed problem with CLON object during readdisplay() (thanks Winfried!)
|
||||
* added typecast to appease the compiler (G R-P)
|
||||
* added more SKIPCHUNK conditionals (G R-P)
|
||||
* added MORE MNG_NO_1_2_4BIT_SUPPORT (G R-P)
|
||||
* added provisional support for anIM(mpNG) proposal
|
||||
* added provisional support for ANG proposal
|
||||
- fix patches
|
||||
- provide %post sections
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 29 11:02:45 CEST 2007 - meissner@suse.de
|
||||
|
||||
|
12
libmng.diff
12
libmng.diff
@ -1,5 +1,6 @@
|
||||
--- makefiles/makefile.linux
|
||||
+++ makefiles/makefile.linux 2005/02/01 08:58:48
|
||||
diff -ur libmng-orig/makefiles/makefile.linux libmng-1.0.10/makefiles/makefile.linux
|
||||
--- makefiles/makefile.linux 2005-01-30 11:28:00.000000000 +0100
|
||||
+++ makefiles/makefile.linux 2007-07-19 13:35:44.000000000 +0200
|
||||
@@ -14,25 +14,25 @@
|
||||
OPTIONS = -DMNG_BUILD_SO -DMNG_FULL_CMS
|
||||
|
||||
@ -42,7 +43,12 @@
|
||||
LDFLAGS=-L. -Wl,-rpath,. \
|
||||
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
||||
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) \
|
||||
@@ -61,7 +61,7 @@
|
||||
@@ -57,11 +57,11 @@
|
||||
|
||||
# current version numbers
|
||||
MNGMAJ = 1
|
||||
-MNGMIN = 1.0.9
|
||||
+MNGMIN = 1.0.10
|
||||
MNGVER = $(MNGMAJ).$(MNGMIN)
|
||||
|
||||
INCPATH=$(prefix)/include
|
||||
|
27
libmng.spec
27
libmng.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libmng (Version 1.0.9)
|
||||
# spec file for package libmng (Version 1.0.10)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -12,11 +12,11 @@
|
||||
|
||||
Name: libmng
|
||||
BuildRequires: libjpeg libjpeg-devel liblcms-devel zlib-devel
|
||||
License: Public Domain, Freeware
|
||||
License: GPL v2 or later, Other uncritical OpenSource License
|
||||
Group: System/Libraries
|
||||
Summary: Library for Support of MNG and JNG Formats
|
||||
Version: 1.0.9
|
||||
Release: 47
|
||||
Version: 1.0.10
|
||||
Release: 1
|
||||
URL: http://www.libmng.com/
|
||||
Source0: libmng-%version.tar.bz2
|
||||
Patch: libmng.diff
|
||||
@ -72,6 +72,12 @@ patch -p0 < %PATCH2
|
||||
make -f makefiles/makefile.linux _LIB=%_lib
|
||||
install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a
|
||||
|
||||
%post
|
||||
%run_ldconfig
|
||||
|
||||
%postun
|
||||
%run_ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE README doc/doc.readme doc/libmng.txt
|
||||
@ -86,6 +92,19 @@ install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a
|
||||
%_libdir/libmng.so
|
||||
|
||||
%changelog
|
||||
* Thu Jul 19 2007 - ltinkl@suse.cz
|
||||
- update to 1.0.10
|
||||
* fixed some compiler-warnings
|
||||
* fixed display routines called twice for FULL_MNG support in mozlibmngconf.h
|
||||
* standard windows dll upgraded to zlib 1.2.3
|
||||
* fixed problem with CLON object during readdisplay() (thanks Winfried!)
|
||||
* added typecast to appease the compiler (G R-P)
|
||||
* added more SKIPCHUNK conditionals (G R-P)
|
||||
* added MORE MNG_NO_1_2_4BIT_SUPPORT (G R-P)
|
||||
* added provisional support for anIM(mpNG) proposal
|
||||
* added provisional support for ANG proposal
|
||||
- fix patches
|
||||
- provide %%post sections
|
||||
* Thu Mar 29 2007 - meissner@suse.de
|
||||
- buildrequires zlib-devel
|
||||
* Tue Oct 24 2006 - ltinkl@suse.cz
|
||||
|
Loading…
Reference in New Issue
Block a user