forked from pool/libmng
This commit is contained in:
parent
ce3dea5806
commit
d791d43eb8
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
|
diff -ur libmng-orig/libmng_zlib.c libmng-1.0.10/libmng_zlib.c
|
||||||
+++ libmng_zlib.c
|
--- libmng_zlib.c 2005-12-15 00:53:13.000000000 +0100
|
||||||
@@ -162,6 +162,10 @@
|
+++ libmng_zlib.c 2007-07-19 13:17:44.000000000 +0200
|
||||||
|
@@ -162,6 +162,9 @@
|
||||||
#ifdef MNG_SUPPORT_TRACE
|
#ifdef MNG_SUPPORT_TRACE
|
||||||
MNG_TRACE (pData, MNG_FN_ZLIB_INFLATEINIT, MNG_LC_START);
|
MNG_TRACE (pData, MNG_FN_ZLIB_INFLATEINIT, MNG_LC_START);
|
||||||
#endif
|
#endif
|
||||||
+
|
+
|
||||||
+ if (pData->bInflating) /* free the old zlib structures */
|
+ if (pData->bInflating) /* free the old zlib structures */
|
||||||
+ inflateEnd(&pData->sZlib);
|
+ inflateEnd(&pData->sZlib);
|
||||||
+
|
|
||||||
/* initialize zlib structures and such */
|
/* initialize zlib structures and such */
|
||||||
iZrslt = inflateInit (&pData->sZlib);
|
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
|
diff -ur libmng-orig/makefiles/makefile.linux libmng-1.0.10/makefiles/makefile.linux
|
||||||
+++ makefiles/makefile.linux 2005/02/04 14:32:50
|
--- 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 @@
|
@@ -11,7 +11,7 @@
|
||||||
|
|
||||||
# default build options (this forces shared library compatibility!!)
|
# default build options (this forces shared library compatibility!!)
|
||||||
@ -8,7 +9,7 @@
|
|||||||
+OPTIONS = -DMNG_BUILD_SO -DMNG_NO_INCLUDE_JNG
|
+OPTIONS = -DMNG_BUILD_SO -DMNG_NO_INCLUDE_JNG
|
||||||
|
|
||||||
# where "make install" puts libmng.a,libmng.so*,libmng.h,libmng_conf.h,libmng_types.h
|
# 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 @@
|
@@ -50,7 +50,7 @@
|
||||||
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
||||||
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) \
|
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) \
|
||||||
@ -18,7 +19,7 @@
|
|||||||
|
|
||||||
RANLIB=ranlib
|
RANLIB=ranlib
|
||||||
#RANLIB=echo
|
#RANLIB=echo
|
||||||
@@ -107,7 +105,7 @@
|
@@ -107,7 +107,7 @@
|
||||||
# $(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
# $(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
||||||
# $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -L$(LCMSLIB) -lz -lm -lc
|
# $(OBJSDLL) -L$(ZLIBLIB) -L$(JPEGLIB) -L$(LCMSLIB) -lz -lm -lc
|
||||||
$(CC) -shared -Wl,-soname,libmng.so.$(MNGMAJ) -o libmng.so.$(MNGVER) \
|
$(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
|
Thu Mar 29 11:02:45 CEST 2007 - meissner@suse.de
|
||||||
|
|
||||||
|
12
libmng.diff
12
libmng.diff
@ -1,5 +1,6 @@
|
|||||||
--- makefiles/makefile.linux
|
diff -ur libmng-orig/makefiles/makefile.linux libmng-1.0.10/makefiles/makefile.linux
|
||||||
+++ makefiles/makefile.linux 2005/02/01 08:58:48
|
--- 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 @@
|
@@ -14,25 +14,25 @@
|
||||||
OPTIONS = -DMNG_BUILD_SO -DMNG_FULL_CMS
|
OPTIONS = -DMNG_BUILD_SO -DMNG_FULL_CMS
|
||||||
|
|
||||||
@ -42,7 +43,12 @@
|
|||||||
LDFLAGS=-L. -Wl,-rpath,. \
|
LDFLAGS=-L. -Wl,-rpath,. \
|
||||||
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
-L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) \
|
||||||
-L$(JPEGLIB) -Wl,-rpath,$(JPEGLIB) \
|
-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)
|
MNGVER = $(MNGMAJ).$(MNGMIN)
|
||||||
|
|
||||||
INCPATH=$(prefix)/include
|
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.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -12,11 +12,11 @@
|
|||||||
|
|
||||||
Name: libmng
|
Name: libmng
|
||||||
BuildRequires: libjpeg libjpeg-devel liblcms-devel zlib-devel
|
BuildRequires: libjpeg libjpeg-devel liblcms-devel zlib-devel
|
||||||
License: Public Domain, Freeware
|
License: GPL v2 or later, Other uncritical OpenSource License
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Summary: Library for Support of MNG and JNG Formats
|
Summary: Library for Support of MNG and JNG Formats
|
||||||
Version: 1.0.9
|
Version: 1.0.10
|
||||||
Release: 47
|
Release: 1
|
||||||
URL: http://www.libmng.com/
|
URL: http://www.libmng.com/
|
||||||
Source0: libmng-%version.tar.bz2
|
Source0: libmng-%version.tar.bz2
|
||||||
Patch: libmng.diff
|
Patch: libmng.diff
|
||||||
@ -72,6 +72,12 @@ patch -p0 < %PATCH2
|
|||||||
make -f makefiles/makefile.linux _LIB=%_lib
|
make -f makefiles/makefile.linux _LIB=%_lib
|
||||||
install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a
|
install -m 0755 libmng.a $RPM_BUILD_ROOT/%_libdir/libmng-mini.a
|
||||||
|
|
||||||
|
%post
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%run_ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE README doc/doc.readme doc/libmng.txt
|
%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
|
%_libdir/libmng.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Mar 29 2007 - meissner@suse.de
|
||||||
- buildrequires zlib-devel
|
- buildrequires zlib-devel
|
||||||
* Tue Oct 24 2006 - ltinkl@suse.cz
|
* Tue Oct 24 2006 - ltinkl@suse.cz
|
||||||
|
Loading…
Reference in New Issue
Block a user