Hello community, here is the log from the commit of package GraphicsMagick for openSUSE:Factory checked in at 2017-09-12 19:54:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/GraphicsMagick (Old) and /work/SRC/openSUSE:Factory/.GraphicsMagick.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "GraphicsMagick" Tue Sep 12 19:54:29 2017 rev:60 rq:523017 version:1.3.26 Changes: -------- --- /work/SRC/openSUSE:Factory/GraphicsMagick/GraphicsMagick.changes 2017-07-27 11:13:44.416791631 +0200 +++ /work/SRC/openSUSE:Factory/.GraphicsMagick.new/GraphicsMagick.changes 2017-09-12 19:55:05.745600873 +0200 @@ -1,0 +2,7 @@ +Mon Sep 11 09:57:00 UTC 2017 - pgaj...@suse.com + +- fix perl bindings + + GraphicsMagick-perl-linkage.patch from fedora +- turn on perl test suite + +------------------------------------------------------------------- New: ---- GraphicsMagick-perl-linkage.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ GraphicsMagick.spec ++++++ --- /var/tmp/diff_new_pack.MMwpnf/_old 2017-09-12 19:55:06.585482780 +0200 +++ /var/tmp/diff_new_pack.MMwpnf/_new 2017-09-12 19:55:06.585482780 +0200 @@ -33,6 +33,7 @@ # following typemap file is needed for building PerlMagick with perl 5.16; # should be present in Graphics Magick 1.4.0 Source1: typemap +Patch0: GraphicsMagick-perl-linkage.patch BuildRequires: cups-client BuildRequires: dcraw BuildRequires: gcc-c++ @@ -183,6 +184,7 @@ %prep %setup -q +%patch0 -p1 %build # This shouldn't be there yet. @@ -230,6 +232,11 @@ %check make %{?_smp_mflags} check +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/magick/.libs:$PWD/wand/.libs +export MAGICK_CODER_MODULE_PATH=$PWD/coders/.libs +export MAGICK_CONFIGURE_PATH=$PWD/config +cd PerlMagick +make test %post -n libGraphicsMagick-Q%{quant}-%{so_ver} -p /sbin/ldconfig %postun -n libGraphicsMagick-Q%{quant}-%{so_ver} -p /sbin/ldconfig ++++++ GraphicsMagick-perl-linkage.patch ++++++ diff -up GraphicsMagick-1.3.14/PerlMagick/Makefile.PL.in.perl_linkage GraphicsMagick-1.3.14/PerlMagick/Makefile.PL.in --- GraphicsMagick-1.3.14/PerlMagick/Makefile.PL.in.perl_linkage 2012-02-25 14:43:38.000000000 -0600 +++ GraphicsMagick-1.3.14/PerlMagick/Makefile.PL.in 2012-02-26 07:35:38.542731280 -0600 @@ -78,7 +78,7 @@ WriteMakefile 'INSTALLBIN' => $magick_BIN_DIR, # Library specification - 'LIBS' => ["-L$magick_LIB_DIR -lGraphicsMagick $magick_LDFLAGS $magick_DEP_LIBS"], + 'LIBS' => ["-L$magick_LIB_DIR -L../magick/.libs -lGraphicsMagick $magick_LDFLAGS $magick_DEP_LIBS"], # Perl binary name (if a Perl binary is built) 'MAP_TARGET' => 'PerlMagick',