While trying to find out what was broken by ImageMagick-7, I found
that inkscape needed -6, and Bruce has now found that emacs also
wants -6. The structure of almost everything in ImageMagick changed
in 7, so it ought to be possible to install both side by side,
except for two things:
1. The perl lib and modules will overwrite each other (so, on moving
to ImageMagick-7 only build the perl part in 7), and
2. Several of the pkgconfig files are unversioned (e.g.
ImageMagick.pc). On another list it was suggested that I ought to
talk to ImageMagick about this : unfortunately, everything there is
in forums and I have been unable to register at their
discourse-server (I sent a mail from that page about a day ago, so
far no reply).
Although most/all major distros have not yet moved to ImageMagick-7,
it is newer and shinier, and for use on its own it looks the best
option (IM-6 appears to be only getting maintenance fixes - I was
going to say vulnerability fixes, but I'm not sure if all of
thenewer versions fit that description.
Meanwhile, we are now moving (back) to ImageMagick-7.
So what I have been trying to do is generate *versioned* pkgconfig
files from ImageMagick-6.9.6-3 which was the current version when I
started looking at this. I still don't understand the whole build
system (I had to hardcode some things where I thought I could use
variables, and part of my raw patch got treated as a reversion),
but with the attached patches for ImageMagick-6.9.6-3 and
inkscape-0.92 I can buiild inkscape (haven't attempted to install it,
even as DESTDIR, nor to look at other packages which perhaps should
be recommended (Pierre noted those in the ticket).
For patched ImageMagick-6.9.6-3 I used the following options:
./configure --prefix=/usr \
--sysconfdir=/etc \
--enable-hdri \
--with-modules \
--disable-static \
--with-gslib=/usr/lib
We have been enabling HDRI for some time, I have no idea if my patch
will work if that is disabled (nor do I know why you would want to
do that :)
The patched inkscape-0.92.0 now finds the ImageMagick-6 pkgconfig
files (that was not quite as simple as I had imagined, but not too
bad once I figured out where it was failing) and ldd bin/inkscape
includes: (reformatted)
libz.so.1 => /lib/libz.so.1 (0x00007f1f42598000)
libMagickCore-6.Q16HDRI.so.2 =>
/usr/lib64/libMagickCore-6.Q16HDRI.so.2 (0x00007f1f422d6000)
libMagick++-6.Q16HDRI.so.6 =>
/usr/lib64/libMagick++-6.Q16HDRI.so.6 (0x00007f1f42249000)
libMagickWand-6.Q16HDRI.so.2 =>
/usr/lib64/libMagickWand-6.Q16HDRI.so.2 (0x00007f1f42120000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1f41da0000)
My next step is to see if I can patch emacs (heh, if that had a
kernel, I could probably give up on linux ;)
I have learned not to just ask for comments, so "any objections to
putting ImageMagick-6 (for libraries) as a separate entry in the
book?"
ĸen
--
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.' -- Small Gods
not yet Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
Date: 2017-01-07
Initial Package Version: 6.9.6-3
Upstream Status: N/A
Origin: Self
Description: Allows the libraries of ImageMagick-6 to be installed
without the programs or man-pages, and with versioned pkgconfig files
so that ImageMagick-7 can be installed alongside this. Do not build
perl here if doing this (the version from ImageMagick-7 will use the
libraries from 7), and edit any programs using this (e.g. inkscape)
so that they look for the -6 pkgconfig files.
Internally, ImageMagick-7 is a major change, and the names of the
libraries and the include directories differ.
In some places I have had to hardcode -6 because I could not persuade
the build system to convert @MAGICK_CORE_VERSION@ in one file or for
the names of the files.
Also, my raw patch deletes wand/Wand.pc.in but gnu patch fails there,
believing it is a reversal (not understood, a git patch would be
easier if we all had git, mentioned because it will probably happen
again if this has to be rediffed for future versions).
diff -Naur ImageMagick-6.9.6-3.orig/configure ImageMagick-6.9.6-3/configure
--- ImageMagick-6.9.6-3.orig/configure 2017-01-07 01:35:18.362869976 +0000
+++ ImageMagick-6.9.6-3/configure 2017-01-07 20:50:59.735901975 +0000
@@ -37452,7 +37452,7 @@
#
==============================================================================
# Generate build environment
#
==============================================================================
-ac_config_files="$ac_config_files common.shi config/configure.xml
config/delegates.xml config/ImageMagick.rdf config/MagickCore.dox
config/MagickWand.dox config/Magick++.dox config/type-apple.xml
config/type-dejavu.xml config/type-ghostscript.xml config/type-windows.xml
config/type.xml ImageMagick.spec Magick++/bin/Magick++-config
magick/ImageMagick.pc Magick++/lib/ImageMagick++.pc Magick++/lib/Magick++.pc
magick/Magick-config magick/MagickCore-config magick/MagickCore.pc
magick/version.h Makefile magick.sh PerlMagick/check.sh
PerlMagick/default/Magick.pm PerlMagick/Makefile.PL
PerlMagick/default/Makefile.PL PerlMagick/quantum/Makefile.PL
PerlMagick/quantum/quantum.pm PerlMagick/quantum/quantum.xs
PerlMagick/quantum/typemap utilities/animate.1 utilities/compare.1
utilities/composite.1 utilities/conjure.1 utilities/convert.1
utilities/display.1 utilities/identify.1 utilities/ImageMagick.1
utilities/import.1 utilities/mogrify.1 utilities/montage.1 utilities/stream.1
wand/MagickWand-config wand/MagickWand.pc wand/Wand-config wand/Wand.pc"
+ac_config_files="$ac_config_files common.shi config/configure.xml
config/delegates.xml config/ImageMagick.rdf config/MagickCore.dox
config/MagickWand.dox config/Magick++.dox config/type-apple.xml
config/type-dejavu.xml config/type-ghostscript.xml config/type-windows.xml
config/type.xml ImageMagick.spec Magick++/bin/Magick++-config
magick/ImageMagick-6.pc Magick++/lib/ImageMagick++-6.pc
Magick++/lib/Magick++-6.pc magick/Magick-config magick/MagickCore-config
magick/MagickCore-6.pc magick/version.h Makefile magick.sh PerlMagick/check.sh
PerlMagick/default/Magick.pm PerlMagick/Makefile.PL
PerlMagick/default/Makefile.PL PerlMagick/quantum/Makefile.PL
PerlMagick/quantum/quantum.pm PerlMagick/quantum/quantum.xs
PerlMagick/quantum/typemap utilities/animate.1 utilities/compare.1
utilities/composite.1 utilities/conjure.1 utilities/convert.1
utilities/display.1 utilities/identify.1 utilities/ImageMagick.1
utilities/import.1 utilities/mogrify.1 utilities/montage.1 utilities/stream.1
wand/MagickWand-config wand/MagickWand-6.pc wand/Wand-config wand/Wand-6.pc"
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
diff -Naur ImageMagick-6.9.6-3.orig/configure.ac
ImageMagick-6.9.6-3/configure.ac
--- ImageMagick-6.9.6-3.orig/configure.ac 2017-01-07 01:35:27.053787793
+0000
+++ ImageMagick-6.9.6-3/configure.ac 2017-01-07 20:52:26.205101788 +0000
@@ -3835,12 +3835,12 @@
config/type.xml \
ImageMagick.spec \
Magick++/bin/Magick++-config \
- magick/ImageMagick.pc \
- Magick++/lib/ImageMagick++.pc \
- Magick++/lib/Magick++.pc \
+ magick/ImageMagick-6.pc \
+ Magick++/lib/ImageMagick++-6.pc \
+ Magick++/lib/Magick++-6.pc \
magick/Magick-config \
magick/MagickCore-config \
- magick/MagickCore.pc \
+ magick/MagickCore-6.pc \
magick/version.h \
Makefile \
magick.sh \
@@ -3865,9 +3865,9 @@
utilities/montage.1 \
utilities/stream.1 \
wand/MagickWand-config \
- wand/MagickWand.pc \
+ wand/MagickWand-6.pc \
wand/Wand-config \
- wand/Wand.pc ])
+ wand/Wand-6.pc ])
AC_OUTPUT
#
==============================================================================
diff -Naur ImageMagick-6.9.6-3.orig/magick/ImageMagick-6.pc.in
ImageMagick-6.9.6-3/magick/ImageMagick-6.pc.in
--- ImageMagick-6.9.6-3.orig/magick/ImageMagick-6.pc.in 1970-01-01
01:00:00.000000000 +0100
+++ ImageMagick-6.9.6-3/magick/ImageMagick-6.pc.in 2017-01-07
00:55:17.999483324 +0000
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+libname=MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+
+Name: ImageMagick-@MAGICK_MAJOR_VERSION@
+Description: ImageMagick - convert, edit, and compose images (ABI
@MAGICK_ABI_SUFFIX@)
+URL: https://www.imagemagick.org
+Version: @PACKAGE_VERSION@
+Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
+Libs: -L${libdir} -l${libname}
+Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
diff -Naur ImageMagick-6.9.6-3.orig/magick/ImageMagick.pc.in
ImageMagick-6.9.6-3/magick/ImageMagick.pc.in
--- ImageMagick-6.9.6-3.orig/magick/ImageMagick.pc.in 2017-01-07
01:58:35.942633448 +0000
+++ ImageMagick-6.9.6-3/magick/ImageMagick.pc.in 1970-01-01
01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
-libname=MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
-
-Name: ImageMagick
-Description: ImageMagick - convert, edit, and compose images (ABI
@MAGICK_ABI_SUFFIX@)
-URL: https://www.imagemagick.org
-Version: @PACKAGE_VERSION@
-Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
diff -Naur ImageMagick-6.9.6-3.orig/magick/MagickCore-6.pc.in
ImageMagick-6.9.6-3/magick/MagickCore-6.pc.in
--- ImageMagick-6.9.6-3.orig/magick/MagickCore-6.pc.in 1970-01-01
01:00:00.000000000 +0100
+++ ImageMagick-6.9.6-3/magick/MagickCore-6.pc.in 2017-01-07
22:13:31.500562039 +0000
@@ -0,0 +1,15 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+libname=MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+moduledir=@libdir@/ImageMagick-@MAGICK_MAJOR_VERSION@.@MAGICK_MINOR_VERSION@.@MAGICK_MICRO_VERSION@/modules-@MAGICK_ABI_SUFFIX@
+
+Name: MagickCore-@MAGICK_MAJOR_VERSION@
+Description: MagickCore - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+URL: https://www.imagemagick.org
+Version: @PACKAGE_VERSION@
+Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
+Libs: -L${libdir} -l${libname}
+Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
diff -Naur ImageMagick-6.9.6-3.orig/magick/MagickCore.pc.in
ImageMagick-6.9.6-3/magick/MagickCore.pc.in
--- ImageMagick-6.9.6-3.orig/magick/MagickCore.pc.in 2016-10-31
00:34:31.000000000 +0000
+++ ImageMagick-6.9.6-3/magick/MagickCore.pc.in 1970-01-01 01:00:00.000000000
+0100
@@ -1,15 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
-libname=MagickCore-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
-moduledir=@libdir@/ImageMagick-@MAGICK_MAJOR_VERSION@.@MAGICK_MINOR_VERSION@.@MAGICK_MICRO_VERSION@/modules-@MAGICK_ABI_SUFFIX@
-
-Name: MagickCore
-Description: MagickCore - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
-URL: https://www.imagemagick.org
-Version: @PACKAGE_VERSION@
-Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
diff -Naur ImageMagick-6.9.6-3.orig/Magick++/lib/ImageMagick++-6.pc.in
ImageMagick-6.9.6-3/Magick++/lib/ImageMagick++-6.pc.in
--- ImageMagick-6.9.6-3.orig/Magick++/lib/ImageMagick++-6.pc.in 1970-01-01
01:00:00.000000000 +0100
+++ ImageMagick-6.9.6-3/Magick++/lib/ImageMagick++-6.pc.in 2017-01-07
22:11:59.637428232 +0000
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+libname=Magick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+
+Name: ImageMagick++-@MAGICK_MAJOR_VERSION@
+Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+Version: @PACKAGE_VERSION@
+Requires: MagickWand-@MAGICK_MAJOR_VERSION@
+Libs: -L${libdir} -l${libname}
+Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
+Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
diff -Naur ImageMagick-6.9.6-3.orig/Magick++/lib/ImageMagick++.pc.in
ImageMagick-6.9.6-3/Magick++/lib/ImageMagick++.pc.in
--- ImageMagick-6.9.6-3.orig/Magick++/lib/ImageMagick++.pc.in 2016-10-31
00:34:30.000000000 +0000
+++ ImageMagick-6.9.6-3/Magick++/lib/ImageMagick++.pc.in 1970-01-01
01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
-libname=Magick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
-
-Name: ImageMagick++
-Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
-Version: @PACKAGE_VERSION@
-Requires: MagickWand
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
-Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
diff -Naur ImageMagick-6.9.6-3.orig/Magick++/lib/Magick++-6.pc.in
ImageMagick-6.9.6-3/Magick++/lib/Magick++-6.pc.in
--- ImageMagick-6.9.6-3.orig/Magick++/lib/Magick++-6.pc.in 1970-01-01
01:00:00.000000000 +0100
+++ ImageMagick-6.9.6-3/Magick++/lib/Magick++-6.pc.in 2017-01-07
21:09:41.641487042 +0000
@@ -0,0 +1,14 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+libname=Magick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+
+Name: Magick++-@MAGICK_MAJOR_VERSION@
+Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+Version: @PACKAGE_VERSION@
+Requires: MagickWand-@MAGICK_MAJOR_VERSION@
+Libs: -L${libdir} -l${libname}
+Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
+Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
diff -Naur ImageMagick-6.9.6-3.orig/Magick++/lib/Magick++.pc.in
ImageMagick-6.9.6-3/Magick++/lib/Magick++.pc.in
--- ImageMagick-6.9.6-3.orig/Magick++/lib/Magick++.pc.in 2016-10-31
00:34:30.000000000 +0000
+++ ImageMagick-6.9.6-3/Magick++/lib/Magick++.pc.in 1970-01-01
01:00:00.000000000 +0100
@@ -1,14 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
-libname=Magick++-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
-
-Name: Magick++
-Description: Magick++ - C++ API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
-Version: @PACKAGE_VERSION@
-Requires: MagickWand
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
-Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
diff -Naur ImageMagick-6.9.6-3.orig/Makefile.in ImageMagick-6.9.6-3/Makefile.in
--- ImageMagick-6.9.6-3.orig/Makefile.in 2017-01-06 01:07:37.217002803
+0000
+++ ImageMagick-6.9.6-3/Makefile.in 2017-01-08 00:24:45.777974561 +0000
@@ -302,10 +302,10 @@
config/Magick++.dox config/type-apple.xml \
config/type-dejavu.xml config/type-ghostscript.xml \
config/type-windows.xml config/type.xml ImageMagick.spec \
- Magick++/bin/Magick++-config magick/ImageMagick.pc \
- Magick++/lib/ImageMagick++.pc Magick++/lib/Magick++.pc \
+ Magick++/bin/Magick++-config magick/ImageMagick-6.pc \
+ Magick++/lib/ImageMagick++-6.pc Magick++/lib/Magick++-6.pc \
magick/Magick-config magick/MagickCore-config \
- magick/MagickCore.pc magick/version.h magick.sh \
+ magick/MagickCore-6.pc magick/version.h magick.sh \
PerlMagick/check.sh PerlMagick/default/Magick.pm \
PerlMagick/Makefile.PL PerlMagick/default/Makefile.PL \
PerlMagick/quantum/Makefile.PL PerlMagick/quantum/quantum.pm \
@@ -314,8 +314,8 @@
utilities/conjure.1 utilities/convert.1 utilities/display.1 \
utilities/identify.1 utilities/ImageMagick.1 \
utilities/import.1 utilities/mogrify.1 utilities/montage.1 \
- utilities/stream.1 wand/MagickWand-config wand/MagickWand.pc \
- wand/Wand-config wand/Wand.pc
+ utilities/stream.1 wand/MagickWand-config wand/MagickWand-6.pc \
+ wand/Wand-config wand/Wand-6.pc
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
@@ -2471,8 +2471,8 @@
$(srcdir)/tests/Makefile.am $(srcdir)/utilities/Makefile.am \
$(srcdir)/wand/Makefile.am \
$(top_srcdir)/Magick++/bin/Magick++-config.in \
- $(top_srcdir)/Magick++/lib/ImageMagick++.pc.in \
- $(top_srcdir)/Magick++/lib/Magick++.pc.in \
+ $(top_srcdir)/Magick++/lib/ImageMagick++-6.pc.in \
+ $(top_srcdir)/Magick++/lib/Magick++-6.pc.in \
$(top_srcdir)/PerlMagick/Makefile.PL.in \
$(top_srcdir)/PerlMagick/check.sh.in \
$(top_srcdir)/PerlMagick/default/Magick.pm.in \
@@ -2501,10 +2501,10 @@
$(top_srcdir)/config/type-ghostscript.xml.in \
$(top_srcdir)/config/type-windows.xml.in \
$(top_srcdir)/config/type.xml.in \
- $(top_srcdir)/magick/ImageMagick.pc.in \
+ $(top_srcdir)/magick/ImageMagick-6.pc.in \
$(top_srcdir)/magick/Magick-config.in \
$(top_srcdir)/magick/MagickCore-config.in \
- $(top_srcdir)/magick/MagickCore.pc.in \
+ $(top_srcdir)/magick/MagickCore-6.pc.in \
$(top_srcdir)/magick/version.h.in \
$(top_srcdir)/utilities/ImageMagick.1.in \
$(top_srcdir)/utilities/animate.1.in \
@@ -2519,9 +2519,9 @@
$(top_srcdir)/utilities/montage.1.in \
$(top_srcdir)/utilities/stream.1.in \
$(top_srcdir)/wand/MagickWand-config.in \
- $(top_srcdir)/wand/MagickWand.pc.in \
+ $(top_srcdir)/wand/MagickWand-6.pc.in \
$(top_srcdir)/wand/Wand-config.in \
- $(top_srcdir)/wand/Wand.pc.in ChangeLog config/ar-lib \
+ $(top_srcdir)/wand/Wand.pc-6.in ChangeLog config/ar-lib \
config/compile config/config.guess config/config.sub \
config/depcomp config/install-sh config/ltmain.sh \
config/missing config/mkinstalldirs
@@ -4185,8 +4185,8 @@
magick/MagickCore-config
MAGICK_PKGCONFIG = \
- magick/ImageMagick.pc \
- magick/MagickCore.pc \
+ magick/ImageMagick-6.pc \
+ magick/MagickCore-6.pc \
magick/ImageMagick-@MAGICK_MAJOR_VERSION@.@[email protected] \
magick/MagickCore-@MAGICK_MAJOR_VERSION@.@[email protected]
@@ -4605,9 +4605,9 @@
magick/Magick-config.in \
magick/MagickCore-config.in \
$(MAGICK_MANS) \
- magick/ImageMagick.pc.in \
+ magick/ImageMagick-6.pc.in \
magick/libMagickCore.map \
- magick/MagickCore.pc.in \
+ magick/MagickCore-6.pc.in \
magick/config.h_vms \
magick/mac.c \
magick/nt-base.c \
@@ -4722,8 +4722,8 @@
wand/MagickWand-config
WAND_PKGCONFIG = \
- wand/MagickWand.pc \
- wand/Wand.pc \
+ wand/MagickWand-6.pc \
+ wand/Wand-6.pc \
wand/MagickWand-@MAGICK_MAJOR_VERSION@.@[email protected] \
wand/Wand-@MAGICK_MAJOR_VERSION@.@[email protected]
@@ -4747,9 +4747,9 @@
wand/ChangeLog \
wand/libMagickWand.map \
wand/MagickWand-config.1 \
- wand/MagickWand.pc.in \
+ wand/MagickWand-6.pc.in \
wand/Wand-config.1 \
- wand/Wand.pc.in
+ wand/Wand-6.pc.in
WAND_CLEANFILES =
MAGICKPP_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/Magick++/lib
@@ -4778,8 +4778,8 @@
Magick++/bin/Magick++-config.1
MAGICKPP_PKGCONFIG_OPT = \
- Magick++/lib/Magick++.pc \
- Magick++/lib/ImageMagick++.pc \
+ Magick++/lib/Magick++-6.pc \
+ Magick++/lib/ImageMagick++-6.pc \
Magick++/lib/Magick++-@MAGICK_MAJOR_VERSION@.@[email protected] \
Magick++/lib/ImageMagick++-@MAGICK_MAJOR_VERSION@.@[email protected]
@@ -4796,9 +4796,9 @@
Magick++/README \
Magick++/bin/Magick++-config.1 \
Magick++/bin/Magick++-config.in \
- Magick++/lib/ImageMagick++.pc.in \
+ Magick++/lib/ImageMagick++-6.pc.in \
Magick++/lib/libMagick++.map \
- Magick++/lib/Magick++.pc.in \
+ Magick++/lib/Magick++-6.pc.in \
Magick++/demo/model.miff \
Magick++/demo/smile.miff \
Magick++/demo/smile_anim.miff \
@@ -5286,17 +5286,17 @@
cd $(top_builddir) && $(SHELL) ./config.status $@
Magick++/bin/Magick++-config: $(top_builddir)/config.status
$(top_srcdir)/Magick++/bin/Magick++-config.in
cd $(top_builddir) && $(SHELL) ./config.status $@
-magick/ImageMagick.pc: $(top_builddir)/config.status
$(top_srcdir)/magick/ImageMagick.pc.in
+magick/ImageMagick-6.pc: $(top_builddir)/config.status
$(top_srcdir)/magick/ImageMagick-6.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
-Magick++/lib/ImageMagick++.pc: $(top_builddir)/config.status
$(top_srcdir)/Magick++/lib/ImageMagick++.pc.in
+Magick++/lib/ImageMagick++-6.pc: $(top_builddir)/config.status
$(top_srcdir)/Magick++/lib/ImageMagick++-6.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
-Magick++/lib/Magick++.pc: $(top_builddir)/config.status
$(top_srcdir)/Magick++/lib/Magick++.pc.in
+Magick++/lib/Magick++-6.pc: $(top_builddir)/config.status
$(top_srcdir)/Magick++/lib/Magick++-6.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
magick/Magick-config: $(top_builddir)/config.status
$(top_srcdir)/magick/Magick-config.in
cd $(top_builddir) && $(SHELL) ./config.status $@
magick/MagickCore-config: $(top_builddir)/config.status
$(top_srcdir)/magick/MagickCore-config.in
cd $(top_builddir) && $(SHELL) ./config.status $@
-magick/MagickCore.pc: $(top_builddir)/config.status
$(top_srcdir)/magick/MagickCore.pc.in
+magick/MagickCore-6.pc: $(top_builddir)/config.status
$(top_srcdir)/magick/MagickCore-6.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
magick/version.h: $(top_builddir)/config.status
$(top_srcdir)/magick/version.h.in
cd $(top_builddir) && $(SHELL) ./config.status $@
@@ -5344,11 +5344,11 @@
cd $(top_builddir) && $(SHELL) ./config.status $@
wand/MagickWand-config: $(top_builddir)/config.status
$(top_srcdir)/wand/MagickWand-config.in
cd $(top_builddir) && $(SHELL) ./config.status $@
-wand/MagickWand.pc: $(top_builddir)/config.status
$(top_srcdir)/wand/MagickWand.pc.in
+wand/MagickWand-6.pc: $(top_builddir)/config.status
$(top_srcdir)/wand/MagickWand-6.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
wand/Wand-config: $(top_builddir)/config.status
$(top_srcdir)/wand/Wand-config.in
cd $(top_builddir) && $(SHELL) ./config.status $@
-wand/Wand.pc: $(top_builddir)/config.status $(top_srcdir)/wand/Wand.pc.in
+wand/Wand-6.pc: $(top_builddir)/config.status $(top_srcdir)/wand/Wand-6.pc.in
cd $(top_builddir) && $(SHELL) ./config.status $@
install-codersLTLIBRARIES: $(coders_LTLIBRARIES)
@@ -11369,7 +11369,7 @@
install-data-local install-docDATA install-filtersLTLIBRARIES \
install-includeHEADERS install-magickincHEADERS \
install-magickincarchHEADERS install-magickppincHEADERS \
- install-magickpptopincHEADERS install-man \
+ install-magickpptopincHEADERS \
install-pkgconfigDATA install-wandincHEADERS
install-dvi: install-dvi-am
@@ -11387,6 +11387,8 @@
install-info-am:
+install-libs-only: install-libLTLIBRARIES install-data-am
+
install-man: install-man1
install-pdf: install-pdf-am
@@ -11563,7 +11565,7 @@
@WITH_PERL_FALSE@distclean-perl:
# create a copy for pc file (ideally the non abi should be symlinked)
-%-@MAGICK_MAJOR_VERSION@.@[email protected]: %.pc
+%-@MAGICK_MAJOR_VERSION@.@[email protected]: %-@[email protected]
cp -f $^ $@
all-local: $(MAGICKPP_LOCAL_TARGETS) $(PERLMAGICK_ALL_LOCAL_TARGETS)
$(MAINTAINER_TARGETS)
diff -Naur ImageMagick-6.9.6-3.orig/wand/MagickWand-6.pc.in
ImageMagick-6.9.6-3/wand/MagickWand-6.pc.in
--- ImageMagick-6.9.6-3.orig/wand/MagickWand-6.pc.in 1970-01-01
01:00:00.000000000 +0100
+++ ImageMagick-6.9.6-3/wand/MagickWand-6.pc.in 2017-01-08 00:37:51.232515933
+0000
@@ -0,0 +1,15 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+libname=MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+
+Name: MagickWand-@MAGICK_MAJOR_VERSION@
+Description: MagickWand - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+URL: https://www.imagemagick.org
+Version: @PACKAGE_VERSION@
+Requires: MagickCore-@MAGICK_MAJOR_VERSION@
+Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
+Libs: -L${libdir} -l${libname}
+Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
diff -Naur ImageMagick-6.9.6-3.orig/wand/MagickWand.pc.in
ImageMagick-6.9.6-3/wand/MagickWand.pc.in
--- ImageMagick-6.9.6-3.orig/wand/MagickWand.pc.in 2016-10-31
00:34:31.000000000 +0000
+++ ImageMagick-6.9.6-3/wand/MagickWand.pc.in 1970-01-01 01:00:00.000000000
+0100
@@ -1,15 +0,0 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
-includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
-libname=MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
-
-Name: MagickWand
-Description: MagickWand - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
-URL: https://www.imagemagick.org
-Version: @PACKAGE_VERSION@
-Requires: MagickCore
-Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
-Libs: -L${libdir} -l${libname}
-Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
diff -Naur ImageMagick-6.9.6-3.orig/wand/Wand-6.pc.in
ImageMagick-6.9.6-3/wand/Wand-6.pc.in
--- ImageMagick-6.9.6-3.orig/wand/Wand-6.pc.in 1970-01-01 01:00:00.000000000
+0100
+++ ImageMagick-6.9.6-3/wand/Wand-6.pc.in 2017-01-08 00:39:23.169642808
+0000
@@ -0,0 +1,15 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@/ImageMagick-@MAGICK_MAJOR_VERSION@
+includearchdir=@INCLUDEARCH_DIR@/ImageMagick-@MAGICK_MAJOR_VERSION@
+libname=MagickWand-@MAGICK_MAJOR_VERSION@.@MAGICK_ABI_SUFFIX@
+
+Name: MagickWand-6
+Description: MagickCore - C API for ImageMagick (ABI @MAGICK_ABI_SUFFIX@)
+URL: https://www.imagemagick.org
+Version: @PACKAGE_VERSION@
+Requires: MagickCore-6
+Cflags: -I${includearchdir} -I${includedir} @MAGICK_PCFLAGS@
+Libs: -L${libdir} -l${libname}
+Libs.private: -L${libdir} -l${libname} @MAGICK_LIBS@ @MATH_LIBS@
not yet Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
Date: 2017-01-08
Initial Package Version: 0.92.0
Upstream Status: N/A
Origin: Self
Description: Look for verioned ImageMagick-6 pkgconfig files so that
ImageMagick-6 libraries and be installed alongside a full ImageMagick-7.
This requires a patched build of ImageMagick-6.
diff -Naur inkscape-0.92.0.orig/CMakeScripts/DefineDependsandFlags.cmake
inkscape-0.92.0/CMakeScripts/DefineDependsandFlags.cmake
--- inkscape-0.92.0.orig/CMakeScripts/DefineDependsandFlags.cmake
2017-01-02 09:44:59.000000000 +0000
+++ inkscape-0.92.0/CMakeScripts/DefineDependsandFlags.cmake 2017-01-08
03:03:50.171286138 +0000
@@ -373,14 +373,14 @@
list(APPEND INKSCAPE_LIBS ${ZLIB_LIBRARIES})
if(WITH_IMAGE_MAGICK)
- pkg_check_modules(ImageMagick ImageMagick MagickCore Magick++ )
- if(ImageMagick_FOUND)
+ pkg_check_modules(ImageMagick-6 ImageMagick-6 MagickCore-6 Magick++-6 )
+ if(ImageMagick-6_FOUND)
- list(APPEND INKSCAPE_LIBS ${ImageMagick_LDFLAGS})
- add_definitions(${ImageMagick_CFLAGS_OTHER})
+ list(APPEND INKSCAPE_LIBS ${ImageMagick-6_LDFLAGS})
+ add_definitions(${ImageMagick-6_CFLAGS_OTHER})
- list(APPEND INKSCAPE_INCS_SYS ${ImageMagick_INCLUDE_DIRS})
- list(APPEND INKSCAPE_LIBS ${ImageMagick_LIBRARIES})
+ list(APPEND INKSCAPE_INCS_SYS ${ImageMagick-6_INCLUDE_DIRS})
+ list(APPEND INKSCAPE_LIBS ${ImageMagick-6_LIBRARIES})
else()
set(WITH_IMAGE_MAGICK OFF) # enable 'Extensions > Raster'
endif()
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page