summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-07-05 15:43:39 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-07-05 15:43:39 +0000
commit3150a784d36b6f0fdf3bf97b37bf1725e2daa009 (patch)
tree98b4083c6c2b5fd4b7251ab8e1df0ec94deaa8b6 /net-print
parentnew version. please see http://gcc.gnu.org/gcc-3.4/changes.html#3.4.1 for mor... (diff)
downloadgentoo-2-3150a784d36b6f0fdf3bf97b37bf1725e2daa009.tar.gz
gentoo-2-3150a784d36b6f0fdf3bf97b37bf1725e2daa009.tar.bz2
gentoo-2-3150a784d36b6f0fdf3bf97b37bf1725e2daa009.zip
enable raw printing, bug #54981
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/ChangeLog5
-rw-r--r--net-print/cups/cups-1.1.21_rc1.ebuild6
2 files changed, 9 insertions, 2 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog
index a57983b6e375..09c3accf8227 100644
--- a/net-print/cups/ChangeLog
+++ b/net-print/cups/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-print/cups
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.73 2004/07/05 15:31:24 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.74 2004/07/05 15:43:39 lanius Exp $
+
+ 05 Jul 2004; Heinrich Wendel <lanius@gentoo.org> cups-1.1.21_rc1.ebuild:
+ enable raw printing, bug #54981
*cups-1.1.21_rc1 (05 Jul 2004)
diff --git a/net-print/cups/cups-1.1.21_rc1.ebuild b/net-print/cups/cups-1.1.21_rc1.ebuild
index 6efcd1dbaa6d..a4e1fbbe9af3 100644
--- a/net-print/cups/cups-1.1.21_rc1.ebuild
+++ b/net-print/cups/cups-1.1.21_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.21_rc1.ebuild,v 1.1 2004/07/05 15:31:24 lanius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.21_rc1.ebuild,v 1.2 2004/07/05 15:43:39 lanius Exp $
inherit eutils flag-o-matic
@@ -106,6 +106,10 @@ src_install() {
insinto /etc/xinetd.d ; newins ${FILESDIR}/cups.xinetd cups-lpd
#insinto /etc/cups; newins ${FILESDIR}/cupsd.conf-1.1.18 cupsd.conf
+
+ # allow raw printing
+ sed -i -e "s:#application/octet-stream:application/octet-stream" ${D}/etc/cups/mime.types
+ sed -i -e "s:#application/octet-stream:application/octet-stream" ${D}/etc/cups/mime.conv
}
pkg_postinst() {