rpms/jasper/FC-4 .cvsignore, 1.2, 1.3 jasper-1.701.0-GL.patch, 1.2, 1.3 jasper.spec, 1.7, 1.8

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Tue Oct 3 20:35:50 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/jasper/FC-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14017

Modified Files:
	.cvsignore jasper-1.701.0-GL.patch jasper.spec 
Log Message:
* Mon Sep 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-15
- memory leak (#207006)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/jasper/FC-4/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	8 Dec 2004 16:40:10 -0000	1.2
+++ .cvsignore	3 Oct 2006 20:35:50 -0000	1.3
@@ -1 +1,2 @@
+geojasper_src.zip
 jasper-1.701.0.zip

jasper-1.701.0-GL.patch:

Index: jasper-1.701.0-GL.patch
===================================================================
RCS file: /cvs/extras/rpms/jasper/FC-4/jasper-1.701.0-GL.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- jasper-1.701.0-GL.patch	31 Jan 2006 17:01:33 -0000	1.2
+++ jasper-1.701.0-GL.patch	3 Oct 2006 20:35:50 -0000	1.3
@@ -1,6 +1,6 @@
---- jasper-1.701.0/configure.GL	2004-02-08 19:44:12.000000000 -0600
-+++ jasper-1.701.0/configure	2005-10-18 08:09:38.000000000 -0500
-@@ -9465,7 +9465,7 @@
+--- jasper-1.701.0.GEO/configure.GL	2006-02-20 20:01:30.000000000 -0600
++++ jasper-1.701.0.GEO/configure	2006-02-24 07:40:46.000000000 -0600
+@@ -9464,7 +9464,7 @@
  OPENGL_LIBS=""
  if test $ENABLE_OPENGL = yes; then
  	if test $HAVE_OPENGL = no; then


Index: jasper.spec
===================================================================
RCS file: /cvs/extras/rpms/jasper/FC-4/jasper.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- jasper.spec	31 Jan 2006 17:01:33 -0000	1.7
+++ jasper.spec	3 Oct 2006 20:35:50 -0000	1.8
@@ -5,25 +5,40 @@
 # koffice
 # netpbm
 
+# define to use GeoJasper
+#define geo 1
+
 Summary: Implementation of the JPEG-2000 standard, Part 1
 Name:    jasper
 Group:   System Environment/Libraries
 Version: 1.701.0
-Release: 9%{?dist}
+Release: 15%{?dist}
 
 License: JasPer License Version 2.0
+%if "%{?geo:1}" == "1"
+%define  geojasper_ver 1.2.9
+URL:	 http://www.dimin.net/software/utils.html
+Source:  http://dimin.m6.net/software/utils/geojasper_src.zip
+Provides: geojasper = %{geojasper_ver}
+%else
 URL:     http://www.ece.uvic.ca/~mdadams/jasper/
 Source:  http://www.ece.uvic.ca/~mdadams/jasper/software/jasper-1.701.0.zip
+%endif
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Patch1: jasper-1.701.0-GL.patch
+# autoconf/automake bits of patch1
+Patch2: jasper-1.701.0-GL-ac.patch
+# memory leak, see
+# http://gyachi.sourceforge.net/download.shtml
+# http://ayttm.sourceforge.net/files.shtml
+# http://ayttm.sourceforge.net/jasper-memory-leak-1.701.0.patch.gz
+Patch3: jasper-1.701.0-memory_leak.patch
 
+BuildRequires: automake 
 BuildRequires: libjpeg-devel
-BuildRequires: freeglut-devel
-# workaround: 
-#  "freeglut-devel should Requires: libGL-devel, libGLU-devel"
-#  http://bugzilla.redhat.com/bugzilla/179464
-BuildRequires: libGL-devel libGLU-devel
+# "freeglut-devel: Requires: libGL-devel libGLU-devel" (#179464)
+BuildRequires: freeglut-devel libGL-devel libGLU-devel
 
 %description
 This package contains an implementation of the image compression
@@ -40,12 +55,24 @@
 
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{?geo:.GEO}
 
 %patch1 -p1 -b .GL
+%patch3 -p1 -b .memleak
+
+%if "%{?geo:1}" == "1"
+chmod +x configure configure.ac
+%patch2 -p1 -b .GL-ac
+libtoolize --force
+aclocal
+autoconf
+autoheader
+automake -a
+%endif
 
 
 %build
+
 %configure \
   --enable-shared \
   --disable-static 
@@ -67,24 +94,20 @@
 rm -f $RPM_BUILD_ROOT%{_bindir}/%{_target_platform}*
 rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
-# avoid conflict(s) with tomcat
-# not needed anymore, see bz #176773
-# mv $RPM_BUILD_ROOT%{_bindir}/jasper $RPM_BUILD_ROOT%{_bindir}/jaspertool
-
 
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc COPYRIGHT LICENSE NEWS README
 %{_bindir}/imgcmp
 %{_bindir}/jiv
 %{_bindir}/imginfo
-%{_bindir}/jasper*
+%{_bindir}/*jasper*
 %{_libdir}/lib*.so.*
 
 %files devel
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc doc/*
-%{_includedir}/*
+%{_includedir}/jasper/
 %{_libdir}/lib*.so
 
 
@@ -98,6 +121,22 @@
 
 
 %changelog
+* Mon Sep 18 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-15
+- memory leak (#207006)
+
+* Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-13
+- fc6 respin
+
+* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-12
+- fixup build issues introduced by geojasper integration
+
+* Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-10
+- support/use geojasper (optional, default no)
+- fc5: gcc/glibc respin
+
+* Fri Feb 10 2006 Rex Dieter <rexdieter[AT]users.sf.net>
+- fc5: gcc/glibc respin
+
 * Tue Jan 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.701.0-9
 - workaround "freeglut-devel should Requires: libGL-devel, libGLU-devel"
   (#179464)




More information about the scm-commits mailing list