From b686f38730132ee75969212ab48029d9136412ccdaf763d0efc29662039e7ffd Mon Sep 17 00:00:00 2001 From: Johannes Meixner Date: Thu, 15 Mar 2012 15:45:27 +0000 Subject: [PATCH] - Configure --without-libpaper disables libpaper support because SUSE does not have libpaper. - Configure --without-system-libtiff enforces not to use the systems libtiff because currently (dated Thu Mar 15 2012) using system libtiff fails in openSUSE:Factory with "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no configure: Could not find a copy of libtiff on your system. Disabling tiff output devices." regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory. OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=5 --- ghostscript.changes | 15 +++++++++++++++ ghostscript.spec | 12 ++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/ghostscript.changes b/ghostscript.changes index 43bf290..fbffe44 100644 --- a/ghostscript.changes +++ b/ghostscript.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Thu Mar 15 16:43:26 CET 2012 - jsmeix@suse.de + +- Configure --without-libpaper disables libpaper support + because SUSE does not have libpaper. +- Configure --without-system-libtiff enforces not to use + the systems libtiff because currently (dated Thu Mar 15 2012) + using system libtiff fails in openSUSE:Factory with + "checking for libtiff with pkg-config... + checking for TIFFOpen in -ltiff... no + configure: Could not find a copy of libtiff on your system. + Disabling tiff output devices." + regardless of "BuildRequires libtiff-devel" which works + everywhere except openSUSE:Factory. + ------------------------------------------------------------------- Thu Mar 15 12:28:36 CET 2012 - jsmeix@suse.de diff --git a/ghostscript.spec b/ghostscript.spec index b9dc1d1..2fabab7 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -230,6 +230,13 @@ autoreconf -fi # Performance, reliability and memory use whilst decoding JPX streams are all improved. # --without-ufst and --without-luratech because those are relevant to commercial releases only # which would require a commercial license. +# --without-libpaper disables libpaper support because SUSE does not have libpaper. +# --without-system-libtiff enforces not to use the systems libtiff because +# currently (dated Thu Mar 15 2012) using system libtiff fails in openSUSE:Factory with +# "checking for libtiff with pkg-config... checking for TIFFOpen in -ltiff... no +# configure: Could not find a copy of libtiff on your system. +# Disabling tiff output devices." +# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory. ./configure --prefix=%{_prefix} \ --bindir=%{_bindir} \ --mandir=%{_mandir} \ @@ -238,7 +245,7 @@ autoreconf -fi --libdir=%{_libdir} \ --with-fontpath=%{gsfontpath} \ --with-libiconv=maybe \ - --with-system-libtiff \ + --without-system-libtiff \ --enable-freetype \ --with-ijs \ --with-jbig2dec \ @@ -253,7 +260,8 @@ autoreconf -fi --disable-compile-inits \ --without-omni \ --without-ufst \ - --without-luratech + --without-luratech \ + --without-libpaper make # make libgs.so and two programs which use it, gsx which uses Gtk+ and gsc which does not: make so