- Configure --without-jasper and --enable-openjpeg because

since Ghostscript 9.05 JasPer is deprecated and Ghostscript
  now ships modified OpenJPEG sources for JPEG2000 decoding
  (replacing JasPer). Performance, reliability and memory use
  whilst decoding JPX streams are all improved. Accordingly
  the BuildRequires libjasper-devel is removed.
- Configure --without-ufst and --without-luratech because
  those are relevant to commercial releases only
  which would require a commercial license.
- Added BuildRequires libtool which requires automake and
  automake requires autoconf to fix build requirements
  for openSUSE:Factory.

OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=4
This commit is contained in:
Johannes Meixner 2012-03-15 12:01:17 +00:00 committed by Git OBS Bridge
parent 475fd5aea9
commit df7a61762f
2 changed files with 29 additions and 5 deletions

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Thu Mar 15 12:28:36 CET 2012 - jsmeix@suse.de
- Configure --without-jasper and --enable-openjpeg because
since Ghostscript 9.05 JasPer is deprecated and Ghostscript
now ships modified OpenJPEG sources for JPEG2000 decoding
(replacing JasPer). Performance, reliability and memory use
whilst decoding JPX streams are all improved. Accordingly
the BuildRequires libjasper-devel is removed.
- Configure --without-ufst and --without-luratech because
those are relevant to commercial releases only
which would require a commercial license.
- Added BuildRequires libtool which requires automake and
automake requires autoconf to fix build requirements
for openSUSE:Factory.
-------------------------------------------------------------------
Fri Feb 24 16:48:06 CET 2012 - jsmeix@suse.de

View File

@ -27,7 +27,6 @@ BuildRequires: fontconfig-devel
BuildRequires: freetype2-devel
BuildRequires: gcc-c++
BuildRequires: libexpat-devel
BuildRequires: libjasper-devel
%if 0%{?suse_version:%{suse_version}} > 1130
BuildRequires: liblcms-devel
%endif
@ -224,7 +223,13 @@ export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
autoreconf -fi
# --enable-cups and --with-install-cups (the latter is new since version 9.04)
# make and install cups/filter/gstoraster and cups/filter/gstopxl
# and related files (gstoraster.convs pxlcolor.ppd pxlmono.ppd):
# and related files (gstoraster.convs pxlcolor.ppd pxlmono.ppd).
# --without-jasper and --enable-openjpeg because since Ghostscript 9.05 JasPer is deprecated
# and Ghostscript now ships modified OpenJPEG sources for JPEG2000 decoding
# (replacing JasPer - although JasPer is still included for this release).
# 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.
./configure --prefix=%{_prefix} \
--bindir=%{_bindir} \
--mandir=%{_mandir} \
@ -237,15 +242,18 @@ autoreconf -fi
--enable-freetype \
--with-ijs \
--with-jbig2dec \
--with-jasper \
--without-jasper \
--enable-openjpeg \
--enable-dynamic \
--enable-cups \
--with-pdftoraster \
--with-install-cups \
--with-drivers=ALL \
--disable-gtk \
--disable-compile-inits \
--with-pdftoraster \
--without-omni
--without-omni \
--without-ufst \
--without-luratech
make
# make libgs.so and two programs which use it, gsx which uses Gtk+ and gsc which does not:
make so