]> git.pld-linux.org Git - packages/ImageMagick.git/commitdiff
- added new libwmf patch, changed libwmf BR to >= 0.2.0 ImageMagick-5_4_0-2
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 26 Oct 2001 18:20:14 +0000 (18:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- it's ready to link with hdf5 now (not hdf 4.x)
- also ready to link with mpeg2dec (libmpeg2)
- one more lcms.h location fix
- release 2

Changed files:
    ImageMagick-libwmf.patch -> 1.3
    ImageMagick.spec -> 1.97

ImageMagick-libwmf.patch [new file with mode: 0644]
ImageMagick.spec

diff --git a/ImageMagick-libwmf.patch b/ImageMagick-libwmf.patch
new file mode 100644 (file)
index 0000000..f73539d
--- /dev/null
@@ -0,0 +1,10 @@
+--- ImageMagick-5.4.0/coders/wmf.c.orig        Sun Oct 21 19:12:40 2001
++++ ImageMagick-5.4.0/coders/wmf.c     Fri Oct 26 19:46:06 2001
+@@ -59,7 +59,6 @@
+ #include "define.h"
+ #if defined(HasWMF)
+-#include <wmfapi.h>
+ /* defines extracted from libwmf's "wmfdefs.h" */
+ #ifndef PI
index 7bc3c8f70dfce85274b5b628c00f5ece2802fdc4..5d4c01ed35f51386b747e73c738f058920d4b917 100644 (file)
@@ -6,7 +6,7 @@ Summary(pl):    Narz
 Summary(tr):   X altýnda resim gösterme, çevirme ve deðiþiklik yapma
 Name:          ImageMagick
 Version:       5.4.0
-Release:       1
+Release:       2
 Epoch:         1
 License:       Freeware
 Group:         X11/Applications/Graphics
@@ -18,6 +18,7 @@ Patch0:               %{name}-libpath.patch
 Patch1:                %{name}-perlpaths.patch
 Patch2:                %{name}-DESTDIR.patch
 Patch3:                %{name}-amfix.patch
+Patch4:                %{name}-libwmf.patch
 URL:           http://www.imagemagick.org/
 BuildRequires: rpm-perlprov >= 3.0.3-18
 BuildRequires: XFree86-devel
@@ -28,15 +29,16 @@ BuildRequires:      libjpeg-devel
 BuildRequires: libtiff-devel
 BuildRequires: libpng >= 1.0.8
 BuildRequires: libstdc++-devel
-BuildRequires: libwmf-devel
+BuildRequires: libwmf-devel >= 0.2.0
 BuildRequires: libtool
 BuildRequires: perl-devel >= 5.6.1
 BuildRequires: libxml2-devel >= 2.0
-#BuildRequires:        lcms-devel
 #BuildRequires:        fpx-devel
-#BuildRequires:        hdf-devel
+#BuildRequires:        hdf5-devel
 #BuildRequires:        jbigkit-devel
 #BuildRequires:        jasper-devel
+#BuildRequires:        lcms-devel
+#BuildRequires:        mpeg2dec-devel
 BuildRequires: autoconf
 BuildRequires: automake >= 1.4d
 Requires:      %{name}-libs = %{version}
@@ -250,9 +252,11 @@ Biblioteka Magick++ w wersji statycznej.
 %patch1 -p0
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 # fix lcms.h include path
 perl -pi -e 's@lcms/lcms\.h@lcms.h@' magick/transform.c
+perl -pi -e 's@lcms/lcms\.h@lcms.h@' configure.ac
 
 %build
 libtoolize --copy --force
@@ -266,6 +270,7 @@ automake -a -c
        --with-perl \
        --with-ttf \
        --with-x \
+       --with-hdf \
        --with-threads \
        --with-magick_plus_plus
 
This page took 0.037995 seconds and 4 git commands to generate.