- 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
This commit is contained in:
Johannes Meixner 2012-03-15 15:45:27 +00:00 committed by Git OBS Bridge
parent df7a61762f
commit b686f38730
2 changed files with 25 additions and 2 deletions

View File

@ -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 Thu Mar 15 12:28:36 CET 2012 - jsmeix@suse.de

View File

@ -230,6 +230,13 @@ autoreconf -fi
# Performance, reliability and memory use whilst decoding JPX streams are all improved. # 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 # --without-ufst and --without-luratech because those are relevant to commercial releases only
# which would require a commercial license. # 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} \ ./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \ --bindir=%{_bindir} \
--mandir=%{_mandir} \ --mandir=%{_mandir} \
@ -238,7 +245,7 @@ autoreconf -fi
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--with-fontpath=%{gsfontpath} \ --with-fontpath=%{gsfontpath} \
--with-libiconv=maybe \ --with-libiconv=maybe \
--with-system-libtiff \ --without-system-libtiff \
--enable-freetype \ --enable-freetype \
--with-ijs \ --with-ijs \
--with-jbig2dec \ --with-jbig2dec \
@ -253,7 +260,8 @@ autoreconf -fi
--disable-compile-inits \ --disable-compile-inits \
--without-omni \ --without-omni \
--without-ufst \ --without-ufst \
--without-luratech --without-luratech \
--without-libpaper
make make
# make libgs.so and two programs which use it, gsx which uses Gtk+ and gsc which does not: # make libgs.so and two programs which use it, gsx which uses Gtk+ and gsc which does not:
make so make so