Accepting request 115851 from home:jsmeix:branches:Printing

Added D-Bus requirement to get colord support in gstoraster (only in ghostscript but not in ghostscript-mini).

OBS-URL: https://build.opensuse.org/request/show/115851
OBS-URL: https://build.opensuse.org/package/show/Printing/ghostscript?expand=0&rev=13
This commit is contained in:
Johannes Meixner 2012-04-27 12:58:11 +00:00 committed by Git OBS Bridge
parent 066b2609af
commit 5c674c36d8
4 changed files with 44 additions and 31 deletions

View File

@ -2,7 +2,8 @@
Tue Apr 24 14:30:45 CEST 2012 - jsmeix@suse.de
- Install documentation which is not installed by default
(LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf
(LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm
doc/WhatIsGS.htm doc/GS9_Color_Management.pdf
doc/gs-vms.hlp doc/Ps2ps2.htm).
- Add a link from SUSE's usual documentation directory
(/usr/share/doc/packages/ghostscript/) to Ghostscript's

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ghostscript-mini
BuildRequires: freetype2-devel
BuildRequires: liblcms-devel
@ -114,6 +113,7 @@ autoreconf -fi
# --docdir=%%{_defaultdocdir}/%%{name} does not work therefore it is not used.
# --disable-cups and --without-pdftoraster and --without-install-cups
# to have nothing related to CUPS in the minimal Ghostscript.
# --disable-dbus to have nothing related to D-Bus in the minimal Ghostscript.
# --without-ijs to disable IJS printer driver support in the minimal Ghostscript.
# --with-drivers=FILES to have only the file format drivers
# but no printer drivers in the minimal Ghostscript.
@ -134,7 +134,7 @@ autoreconf -fi
# "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
# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory.
%define with_or_without_system_libtiff --without-system-libtiff
%else
%define with_or_without_system_libtiff --with-system-libtiff
@ -155,6 +155,7 @@ autoreconf -fi
--enable-openjpeg \
--enable-dynamic \
--disable-cups \
--disable-dbus \
--without-pdftoraster \
--without-install-cups \
--with-drivers=FILES \
@ -177,7 +178,7 @@ make soinstall DESTDIR=%{buildroot}
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
# and fail intentionally as notification if something changed:
DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc
for D in LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm
for D in LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm doc/WhatIsGS.htm doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm
do test -e $DOCDIR/$( basename $D ) && exit 99
install -m 644 $D $DOCDIR
done

View File

@ -1,8 +1,16 @@
-------------------------------------------------------------------
Fri Apr 27 10:40:53 CEST 2012 - jsmeix@suse.de
- BuildRequires dbus-1-devel for "configure --enable-dbus"
to have colord support in gstoraster (see the entry regarding
"color management daemon" in doc/History9.htm).
-------------------------------------------------------------------
Tue Apr 24 14:30:45 CEST 2012 - jsmeix@suse.de
- Install documentation which is not installed by default
(LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf
(LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm
doc/WhatIsGS.htm doc/GS9_Color_Management.pdf
doc/gs-vms.hlp doc/Ps2ps2.htm).
- Add a link from SUSE's usual documentation directory
(/usr/share/doc/packages/ghostscript/) to Ghostscript's

View File

@ -15,9 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ghostscript
BuildRequires: cups-devel
# dbus-1-devel is needed for "configure --enable-dbus" (see below):
BuildRequires: dbus-1-devel
BuildRequires: freetype2-devel
BuildRequires: libexpat-devel
BuildRequires: liblcms-devel
@ -230,6 +231,7 @@ autoreconf -fi
# (--with-install-cups is new since version 9.04)
# to make and install cups/filter/gstoraster and cups/filter/gstopxl
# and related files (gstoraster.convs pxlcolor.ppd pxlmono.ppd).
# --enable-dbus to have colord support in gstoraster, see cups/colord.c (colord is accessed via D-Bus).
# --with-ijs to enable IJS printer driver support (in particular needed by HPIJS).
# --with-drivers=ALL to all file format drivers and all printer drivers.
# --with-x to use the X Window System.
@ -249,7 +251,7 @@ autoreconf -fi
# "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
# regardless of "BuildRequires libtiff-devel" which works everywhere except openSUSE:Factory.
%define with_or_without_system_libtiff --without-system-libtiff
%else
%define with_or_without_system_libtiff --with-system-libtiff
@ -270,6 +272,7 @@ autoreconf -fi
--enable-openjpeg \
--enable-dynamic \
--enable-cups \
--enable-dbus \
--with-pdftoraster \
--with-install-cups \
--with-drivers=ALL \
@ -292,7 +295,7 @@ make soinstall DESTDIR=%{buildroot}
# see http://bugs.ghostscript.com/show_bug.cgi?id=693002
# and fail intentionally as notification if something changed:
DOCDIR=%{buildroot}%{_datadir}/ghostscript/%{version}/doc
for D in LICENSE doc/AUTHORS doc/COPYING doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm
for D in LICENSE doc/AUTHORS doc/COPYING doc/thirdparty.htm doc/WhatIsGS.htm doc/GS9_Color_Management.pdf doc/gs-vms.hlp doc/Ps2ps2.htm
do test -e $DOCDIR/$( basename $D ) && exit 99
install -m 644 $D $DOCDIR
done