revert devel to 1.1.14, apply gcc43 patch

epel9
Tom Callaway 17 years ago
parent 2a89c79127
commit c317f0c1dc

@ -1,6 +1,6 @@
diff -up GraphicsMagick-1.1.10/Magick++/lib/Geometry.cpp.orig GraphicsMagick-1.1.10/Magick++/lib/Geometry.cpp diff -up GraphicsMagick-1.1.14/Magick++/lib/Geometry.cpp.BAD GraphicsMagick-1.1.14/Magick++/lib/Geometry.cpp
--- GraphicsMagick-1.1.10/Magick++/lib/Geometry.cpp.orig 2008-02-11 13:26:47.000000000 +0100 --- GraphicsMagick-1.1.14/Magick++/lib/Geometry.cpp.BAD 2008-09-11 11:43:45.000000000 -0400
+++ GraphicsMagick-1.1.10/Magick++/lib/Geometry.cpp 2008-02-11 13:29:08.000000000 +0100 +++ GraphicsMagick-1.1.14/Magick++/lib/Geometry.cpp 2008-09-11 11:43:52.000000000 -0400
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
#define MAGICK_IMPLEMENTATION #define MAGICK_IMPLEMENTATION
@ -8,5 +8,5 @@ diff -up GraphicsMagick-1.1.10/Magick++/lib/Geometry.cpp.orig GraphicsMagick-1.1
-#include <string> -#include <string>
+#include <cstring> +#include <cstring>
#include <ctype.h> // for isdigit #include <ctype.h> // for isdigit
#include <strings.h> // for strcpy
using namespace std;

@ -1,24 +1,24 @@
diff -up GraphicsMagick-1.2.5/PerlMagick/Makefile.PL.in.perl GraphicsMagick-1.2.5/PerlMagick/Makefile.PL.in diff -up GraphicsMagick-1.1.10/PerlMagick/Makefile.PL.orig GraphicsMagick-1.1.10/PerlMagick/Makefile.PL
--- GraphicsMagick-1.2.5/PerlMagick/Makefile.PL.in.perl 2008-05-18 17:21:59.000000000 -0400 --- GraphicsMagick-1.1.10/PerlMagick/Makefile.PL.orig 2008-01-28 17:48:28.000000000 +0100
+++ GraphicsMagick-1.2.5/PerlMagick/Makefile.PL.in 2008-09-11 08:54:06.000000000 -0400 +++ GraphicsMagick-1.1.10/PerlMagick/Makefile.PL 2008-01-28 17:48:58.000000000 +0100
@@ -61,7 +61,7 @@ WriteMakefile @@ -62,7 +62,7 @@ WriteMakefile
'INSTALLBIN' => '@BIN_DIR@', 'INSTALLBIN' => '/usr/local/bin',
# Library specification # Library specification
- 'LIBS' => ['-L@MAGICKLIBDIR@ -lGraphicsMagick @LDFLAGS@ @MAGICK_DEP_LIBS@'], - 'LIBS' => ['-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/home/glennrp/CVS/ImageMagick/magick -lGraphicsMagick -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lgs -lpng -lfpx -lwmflite -lXext -lSM -lICE -lX11 -lsocket -lnsl -lbz2 -lxml2 -lz -lpthread -lm'],
+ 'LIBS' => ['-L@MAGICKLIBDIR@ -L../magick/.libs -lGraphicsMagick @LDFLAGS@ @MAGICK_DEP_LIBS@'], + 'LIBS' => ['-L/usr/local/lib -R/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L/home/glennrp/CVS/ImageMagick/magick -L../magick/.libs -lGraphicsMagick -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lgs -lpng -lfpx -lwmflite -lXext -lSM -lICE -lX11 -lsocket -lnsl -lbz2 -lxml2 -lz -lpthread -lm'],
# Perl binary name (if a Perl binary is built) # Perl binary name (if a Perl binary is built)
'MAP_TARGET' => 'PerlMagick', 'MAP_TARGET' => 'PerlMagick',
diff -up GraphicsMagick-1.2.5/PerlMagick/Makefile.PL.perl GraphicsMagick-1.2.5/PerlMagick/Makefile.PL diff -up GraphicsMagick-1.1.10/PerlMagick/Makefile.PL.in.orig GraphicsMagick-1.1.10/PerlMagick/Makefile.PL.in
--- GraphicsMagick-1.2.5/PerlMagick/Makefile.PL.perl 2004-04-18 18:20:51.000000000 -0400 --- GraphicsMagick-1.1.10/PerlMagick/Makefile.PL.in.orig 2008-01-28 17:48:34.000000000 +0100
+++ GraphicsMagick-1.2.5/PerlMagick/Makefile.PL 2008-09-11 08:57:44.000000000 -0400 +++ GraphicsMagick-1.1.10/PerlMagick/Makefile.PL.in 2008-01-28 17:48:58.000000000 +0100
@@ -57,7 +57,7 @@ WriteMakefile @@ -57,7 +57,7 @@ WriteMakefile
'INSTALLBIN' => '/usr/local/bin', 'INSTALLBIN' => '@BIN_DIR@',
# Library specification # Library specification
- 'LIBS' => ['-L/home/bfriesen/src/graphics/GraphicsMagick-Web/magick/.libs -lGraphicsMagick -L/usr/local/lib -R/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/lib -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lc_r'], - 'LIBS' => ['-L@MAGICKLIBDIR@ -lGraphicsMagick @LDFLAGS@ @MAGICK_DEP_LIBS@'],
+ 'LIBS' => ['-L/home/bfriesen/src/graphics/GraphicsMagick-Web/magick/.libs -L../magick/.libs -lGraphicsMagick -L/usr/local/lib -R/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib -L/usr/local/lib -ljbig -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lwmflite -ldpstk -ldps -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm -lc_r'], + 'LIBS' => ['-L@MAGICKLIBDIR@ -L../magick/.libs -lGraphicsMagick @LDFLAGS@ @MAGICK_DEP_LIBS@'],
# Perl binary name (if a Perl binary is built) # Perl binary name (if a Perl binary is built)
'MAP_TARGET' => 'PerlMagick', 'MAP_TARGET' => 'PerlMagick',

@ -1,12 +1,13 @@
Summary: An ImageMagick fork, offering faster image generation and better quality Summary: An ImageMagick fork, offering faster image generation and better quality
Name: GraphicsMagick Name: GraphicsMagick
Version: 1.2.5 Version: 1.1.14
Release: 1%{?dist} Release: 2%{?dist}
License: MIT License: MIT
Group: Applications/Multimedia Group: Applications/Multimedia
Source0: http://download.sourceforge.net/graphicsmagick/GraphicsMagick-%{version}.tar.bz2 Source0: http://download.sourceforge.net/graphicsmagick/GraphicsMagick-%{version}.tar.bz2
Patch0: GraphicsMagick-gslib.patch Patch0: GraphicsMagick-gslib.patch
Patch1: GraphicsMagick-perl.patch Patch1: GraphicsMagick-perl.patch
Patch2: GraphicsMagick-1.1.10-gcc43.patch
Url: http://www.graphicsmagick.org/ Url: http://www.graphicsmagick.org/
Buildroot: %{_tmppath}/%{name}-%{version}-root Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel BuildRequires: bzip2-devel, freetype-devel, libjpeg-devel, libpng-devel
@ -88,6 +89,7 @@ however.
# Disabled, causing segfaults in the gslib code path # Disabled, causing segfaults in the gslib code path
#%patch0 -p 1 -b .gslib #%patch0 -p 1 -b .gslib
%patch1 -p 1 -b .perl %patch1 -p 1 -b .perl
%patch2 -p1 -b .gcc43
# Regenerating configure script # Regenerating configure script
#autoconf #autoconf
@ -190,9 +192,10 @@ rm -rf %{buildroot}
%postun c++ -p /sbin/ldconfig %postun c++ -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-) %defattr(-,root,root)
%doc README.txt AUTHORS.txt %doc ChangeLog Copyright.txt
%doc %{_datadir}/doc/%{name}/ %doc index.html www/ images/
%doc README.txt AUTHORS NEWS
%attr(755,root,root) %{_libdir}/libGraphicsMagick.so.* %attr(755,root,root) %{_libdir}/libGraphicsMagick.so.*
%attr(755,root,root) %{_libdir}/libGraphicsMagickWand.so.* %attr(755,root,root) %{_libdir}/libGraphicsMagickWand.so.*
%{_bindir}/[a-z]* %{_bindir}/[a-z]*
@ -232,9 +235,12 @@ rm -rf %{buildroot}
%changelog %changelog
* Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.5-1 * Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.14-2
- update to 1.2.5 - turns out we do need gcc43 patch
- fix perl issues
* Thu Sep 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1.14-1
- update to 1.1.14
- fix perl issue (bz 454087)
* Sun Jun 01 2008 Dennis Gilmore <dennis@ausil.us> - 1.1.10-4 * Sun Jun 01 2008 Dennis Gilmore <dennis@ausil.us> - 1.1.10-4
- sparc64 is a 64 bit arch - sparc64 is a 64 bit arch

@ -1 +1 @@
a023a1561ec0780f25f5a4f0cf208053 GraphicsMagick-1.2.5.tar.bz2 a4085265d4493a090557534b938ce942 GraphicsMagick-1.1.14.tar.bz2

Loading…
Cancel
Save