SPECS: libjpeg.spec - added arith patch and bcond (arithmetic enco...

qboosh qboosh at pld-linux.org
Sun Jan 27 21:23:22 CET 2008


Author: qboosh                       Date: Sun Jan 27 20:23:22 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added arith patch and bcond (arithmetic encoding, off by default)

---- Files affected:
SPECS:
   libjpeg.spec (1.61 -> 1.62) 

---- Diffs:

================================================================
Index: SPECS/libjpeg.spec
diff -u SPECS/libjpeg.spec:1.61 SPECS/libjpeg.spec:1.62
--- SPECS/libjpeg.spec:1.61	Sun Jan 27 19:04:02 2008
+++ SPECS/libjpeg.spec	Sun Jan 27 21:23:17 2008
@@ -5,7 +5,8 @@
 #       second libjpeg (with lossless support) with different name/soname
 #
 # Conditional build:
-%bcond_with	crop	# "apply" crop pseudo-patch (changes error codes in ABI)
+%bcond_with	arith	# arithmetic coding support (changes error codes in ABI, patent problems somewhere)
+%bcond_with	crop	# "apply" crop pseudo-patch (changes error codes in ABI, conflicts with arith patch)
 #
 Summary:	Library for handling different JPEG files
 Summary(de.UTF-8):	Library zum Verarbeiten verschiedener JPEG-Dateien
@@ -27,12 +28,14 @@
 # Source1-md5:	d6342c015a489de275ada637a77dc2b0
 Source2:	http://sylvana.net/jpegcrop/croppatch.tar.gz
 # Source2-md5:	45d76e4226232439308e2129b64c4ea1
-URL:		http://www.ijg.org/
 Patch0:		%{name}-DESTDIR.patch
 Patch1:		%{name}-arm.patch
 Patch2:		%{name}-include.patch
 Patch3:		%{name}-c++.patch
 Patch4:		%{name}-libtool.patch
+# from http://sylvana.net/jpeg-ari/jpeg-ari-28mar98.tar.gz
+Patch5:		%{name}-arith.patch
+URL:		http://www.ijg.org/
 BuildRequires:	libtool
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -183,6 +186,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%{?with_arith:%patch5 -p1}
 
 %if %{with crop}
 mkdir croppatch
@@ -231,7 +235,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README change.log
+%doc README change.log %{?with_arith:README.arithmetic}
 %attr(755,root,root) %{_libdir}/libjpeg.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libjpeg.so.62
 
@@ -272,6 +276,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.62  2008-01-27 20:23:17  qboosh
+- added arith patch and bcond (arithmetic encoding, off by default)
+
 Revision 1.61  2008-01-27 18:04:02  qboosh
 - changed croppatch applying so it is clear what is being done
 - documented why it is evil (just because one error code put _in the middle_
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libjpeg.spec?r1=1.61&r2=1.62&f=u



More information about the pld-cvs-commit mailing list