]> git.pld-linux.org Git - packages/ImageMagick.git/commitdiff
- adjust config files for 6 suffix auto/th/ImageMagick6-6.9.7.0-3
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 27 Dec 2016 08:06:02 +0000 (09:06 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 27 Dec 2016 08:06:02 +0000 (09:06 +0100)
- rel 3

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

index c000039932d51d5ea8b7b005935dce6b0e308229..b1638b87eb0c23502a2c113a3b181fbdc7c80c01 100644 (file)
@@ -36,7 +36,7 @@ Summary(tr.UTF-8):    X altında resim gösterme, çevirme ve değişiklik yapma
 Summary(uk.UTF-8):     Перегляд, конвертування та обробка зображень під X Window
 Name:          ImageMagick6
 Version:       %{ver}%{?pver:.%{pver}}
-Release:       2
+Release:       3
 Epoch:         1
 License:       Apache-like
 Group:         X11/Applications/Graphics
@@ -48,6 +48,7 @@ Patch2:               %{origname}-libpath.patch
 Patch3:                %{origname}-ldflags.patch
 Patch4:                %{origname}-lt.patch
 Patch5:                perlmagick.patch
+Patch6:                magick6.patch
 URL:           http://www.imagemagick.org/
 %{?with_opencl:BuildRequires:  OpenCL-devel}
 BuildRequires: OpenEXR-devel >= 1.0.6
@@ -672,6 +673,7 @@ Moduł kodera dla plików WMF.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 find -type f | xargs grep -l '/usr/local/bin/perl' | xargs %{__sed} -i -e 's=!/usr/local/bin/perl=!%{__perl}='
 
diff --git a/magick6.patch b/magick6.patch
new file mode 100644 (file)
index 0000000..4b9a90b
--- /dev/null
@@ -0,0 +1,186 @@
+--- ImageMagick-6.9.7-0/magick/Magick-config.in~       2016-12-18 14:34:45.000000000 +0100
++++ ImageMagick-6.9.7-0/magick/Magick-config.in        2016-12-27 08:35:51.406200932 +0100
+@@ -8,11 +8,11 @@
+ exec_prefix=@exec_prefix@
+ usage="\
+-Usage: Magick-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
++Usage: Magick6-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
+ if test $# -eq 0; then
+       echo "${usage}" 1>&2
+-      echo "Example: gcc \`Magick-config --cflags --cppflags\` -o core core.c \`Magick-config --ldflags --libs\`" 1>&2
++      echo "Example: gcc \`Magick6-config --cflags --cppflags\` -o core core.c \`Magick6-config --ldflags --libs\`" 1>&2
+       exit 1
+ fi
+@@ -38,19 +38,19 @@
+       echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
+       ;;
+     --cflags)
+-      pkg-config --cflags MagickCore
++      pkg-config --cflags MagickCore6
+       ;;
+     --cxxflags)
+-      pkg-config --cflags MagickCore
++      pkg-config --cflags MagickCore6
+       ;;
+     --cppflags)
+-      pkg-config --cflags MagickCore
++      pkg-config --cflags MagickCore6
+       ;;
+     --ldflags)
+-      pkg-config --libs MagickCore
++      pkg-config --libs MagickCore6
+       ;;
+     --libs)
+-      pkg-config --libs MagickCore
++      pkg-config --libs MagickCore6
+       ;;
+     *)
+       echo "${usage}" 1>&2
+--- ImageMagick-6.9.7-0/magick/MagickCore-config.in~   2016-12-18 14:34:45.000000000 +0100
++++ ImageMagick-6.9.7-0/magick/MagickCore-config.in    2016-12-27 08:37:09.821645212 +0100
+@@ -8,11 +8,11 @@
+ exec_prefix=@exec_prefix@
+ usage="\
+-Usage: MagickCore-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
++Usage: MagickCore6-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
+ if test $# -eq 0; then
+       echo "${usage}" 1>&2
+-      echo "Example: gcc \`MagickCore-config --cflags --cppflags\` -o core core.c \`Magick-config --ldflags --libs\`" 1>&2
++      echo "Example: gcc \`MagickCore6-config --cflags --cppflags\` -o core core.c \`Magick6-config --ldflags --libs\`" 1>&2
+       exit 1
+ fi
+@@ -38,19 +38,19 @@
+       echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
+       ;;
+     --cflags)
+-      pkg-config --cflags MagickCore
++      pkg-config --cflags MagickCore6
+       ;;
+     --cxxflags)
+-      pkg-config --cflags MagickCore
++      pkg-config --cflags MagickCore6
+       ;;
+     --cppflags)
+-      pkg-config --cflags MagickCore
++      pkg-config --cflags MagickCore6
+       ;;
+     --ldflags)
+-      pkg-config --libs MagickCore
++      pkg-config --libs MagickCore6
+       ;;
+     --libs)
+-      pkg-config --libs MagickCore
++      pkg-config --libs MagickCore6
+       ;;
+     *)
+       echo "${usage}" 1>&2
+--- ImageMagick-6.9.7-0/wand/MagickWand-config.in~     2016-12-18 14:34:45.000000000 +0100
++++ ImageMagick-6.9.7-0/wand/MagickWand-config.in      2016-12-27 08:38:34.223917467 +0100
+@@ -8,11 +8,11 @@
+ exec_prefix=@exec_prefix@
+ usage="\
+-Usage: MagickWand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
++Usage: MagickWand6-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
+ if test $# -eq 0; then
+       echo "${usage}" 1>&2
+-      echo "Example: gcc \`MagickWand-config --cflags --cppflags\` -o wand wand.c \`MagickWand-config --ldflags --libs\`" 1>&2
++      echo "Example: gcc \`MagickWand6-config --cflags --cppflags\` -o wand wand.c \`MagickWand6-config --ldflags --libs\`" 1>&2
+       exit 1
+ fi
+@@ -38,19 +38,19 @@
+       echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
+       ;;
+     --cflags)
+-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
++      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand6
+       ;;
+     --cxxflags)
+-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
++      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand6
+       ;;
+     --cppflags)
+-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand
++      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --cflags MagickWand6
+       ;;
+     --ldflags)
+-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
++      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand6
+       ;;
+     --libs)
+-      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand
++      PKG_CONFIG_PATH="@libdir@/pkgconfig" pkg-config --libs MagickWand6
+       ;;
+     *)
+       echo "${usage}" 1>&2
+--- ImageMagick-6.9.7-0/wand/Wand-config.in~   2016-12-18 14:34:45.000000000 +0100
++++ ImageMagick-6.9.7-0/wand/Wand-config.in    2016-12-27 08:39:14.421666371 +0100
+@@ -8,11 +8,11 @@
+ exec_prefix=@exec_prefix@
+ usage="\
+-Usage: Wand-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
++Usage: Wand6-config [--cflags] [--cppflags] [--exec-prefix] [--ldflags] [--libs] [--prefix] [--version]"
+ if test $# -eq 0; then
+       echo "${usage}" 1>&2
+-      echo "Example: gcc \`Wand-config --cflags --cppflags\` -o wand wand.c \`Wand-config --ldflags --libs\`" 1>&2
++      echo "Example: gcc \`Wand6-config --cflags --cppflags\` -o wand wand.c \`Wand6-config --ldflags --libs\`" 1>&2
+       exit 1
+ fi
+@@ -38,19 +38,19 @@
+       echo '@PACKAGE_VERSION@ Q@QUANTUM_DEPTH@ @MAGICK_HDRI@'
+       ;;
+     --cflags)
+-      pkg-config --cflags MagickWand
++      pkg-config --cflags MagickWand6
+       ;;
+     --cxxflags)
+-      pkg-config --cflags MagickWand
++      pkg-config --cflags MagickWand6
+       ;;
+     --cppflags)
+-      pkg-config --cflags MagickWand
++      pkg-config --cflags MagickWand6
+       ;;
+     --ldflags)
+-      pkg-config --libs MagickWand
++      pkg-config --libs MagickWand6
+       ;;
+     --libs)
+-      pkg-config --libs MagickWand
++      pkg-config --libs MagickWand6
+       ;;
+     *)
+       echo "${usage}" 1>&2
+--- ImageMagick-6.9.7-0/wand/MagickWand.pc.in~ 2016-12-18 14:34:45.000000000 +0100
++++ ImageMagick-6.9.7-0/wand/MagickWand.pc.in  2016-12-27 08:45:54.205764162 +0100
+@@ -9,7 +9,7 @@
+ Description: MagickWand - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+ URL: https://www.imagemagick.org
+ Version: @PACKAGE_VERSION@
+-Requires: MagickCore
++Requires: MagickCore6
+ Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
+ Libs: -L${libdir} -l${libname} 
+ Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
+--- ImageMagick-6.9.7-0/wand/Wand.pc.in~       2016-12-18 14:34:45.000000000 +0100
++++ ImageMagick-6.9.7-0/wand/Wand.pc.in        2016-12-27 08:46:32.786803064 +0100
+@@ -9,7 +9,7 @@
+ Description: MagickCore - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+ URL: https://www.imagemagick.org
+ Version: @PACKAGE_VERSION@
+-Requires: MagickCore
++Requires: MagickCore6
+ Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
+ Libs: -L${libdir} -l${libname}
+ Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
This page took 0.21388 seconds and 4 git commands to generate.