summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-04-07 12:41:24 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-04-07 12:41:24 +0000
commit933311a8f506c941cdc80a0b13ca0c463020900b (patch)
tree73baea0292ff03cf17cfd03546e3929398568f71 /net-print/cups
parentAdd api to apidocs symlink. (diff)
downloadgentoo-2-933311a8f506c941cdc80a0b13ca0c463020900b.tar.gz
gentoo-2-933311a8f506c941cdc80a0b13ca0c463020900b.tar.bz2
gentoo-2-933311a8f506c941cdc80a0b13ca0c463020900b.zip
Use pstoraster for gs-gpl and -gnu to make them work with gimp-print for example, thanks to nicola.rauseo@gmail.com in bug 163897
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-print/cups')
-rw-r--r--net-print/cups/ChangeLog6
-rw-r--r--net-print/cups/cups-1.2.10.ebuild7
-rw-r--r--net-print/cups/cups-1.2.9.ebuild7
3 files changed, 17 insertions, 3 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog
index e3202bcfdf54..d053cf692629 100644
--- a/net-print/cups/ChangeLog
+++ b/net-print/cups/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-print/cups
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.231 2007/04/07 12:22:55 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.232 2007/04/07 12:41:24 genstef Exp $
+
+ 07 Apr 2007; <stefan@gentoo.org> cups-1.2.9.ebuild, cups-1.2.10.ebuild:
+ Use pstoraster for gs-gpl and -gnu to make them work with gimp-print for
+ example, thanks to nicola.rauseo@gmail.com in bug 163897
*cups-1.2.10 (07 Apr 2007)
diff --git a/net-print/cups/cups-1.2.10.ebuild b/net-print/cups/cups-1.2.10.ebuild
index e76160e51007..fd610c6bf486 100644
--- a/net-print/cups/cups-1.2.10.ebuild
+++ b/net-print/cups/cups-1.2.10.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.10.ebuild,v 1.1 2007/04/07 12:22:55 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.10.ebuild,v 1.2 2007/04/07 12:41:24 genstef Exp $
WANT_AUTOMAKE=latest
@@ -135,6 +135,11 @@ src_install() {
exeinto /usr/libexec/cups/filter/
newexe ${FILESDIR}/pdftops.pl pdftops
+ # only for gs-esp this is correct, see bug 163897
+ if has_version app-text/ghostscript-gpl || has_version app-text/ghostscript-gnu; then
+ sed -i -e "s:#application/vnd.cups-postscript:application/vnd.cups-postscript:" ${D}/etc/cups/mime.convs
+ fi
+
keepdir /usr/share/cups/profiles /usr/libexec/cups/driver /var/log/cups \
/var/run/cups/certs /var/cache/cups /var/spool/cups/tmp /etc/cups/ssl
diff --git a/net-print/cups/cups-1.2.9.ebuild b/net-print/cups/cups-1.2.9.ebuild
index 9b24617765a8..4259c59e1e6a 100644
--- a/net-print/cups/cups-1.2.9.ebuild
+++ b/net-print/cups/cups-1.2.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.9.ebuild,v 1.8 2007/03/29 14:31:50 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.2.9.ebuild,v 1.9 2007/04/07 12:41:24 genstef Exp $
WANT_AUTOMAKE=latest
@@ -135,6 +135,11 @@ src_install() {
exeinto /usr/libexec/cups/filter/
newexe ${FILESDIR}/pdftops.pl pdftops
+ # only for gs-esp this is correct, see bug 163897
+ if has_version app-text/ghostscript-gpl || has_version app-text/ghostscript-gnu; then
+ sed -i -e "s:#application/vnd.cups-postscript:application/vnd.cups-postscript:" ${D}/etc/cups/mime.convs
+ fi
+
keepdir /usr/share/cups/profiles /usr/libexec/cups/driver /var/log/cups \
/var/run/cups/certs /var/cache/cups /var/spool/cups/tmp /etc/cups/ssl