summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2003-07-20 11:10:37 +0000
committerHeinrich Wendel <lanius@gentoo.org>2003-07-20 11:10:37 +0000
commitdd36760a3f81c35244bdd005d5e006205e12c29c (patch)
tree1ea7cffefb6dedbe39cc2b0ad2c9cb6d22d98c90
parentinitial release (diff)
downloadgentoo-2-dd36760a3f81c35244bdd005d5e006205e12c29c.tar.gz
gentoo-2-dd36760a3f81c35244bdd005d5e006205e12c29c.tar.bz2
gentoo-2-dd36760a3f81c35244bdd005d5e006205e12c29c.zip
initial release
-rw-r--r--net-print/xprint/ChangeLog10
-rw-r--r--net-print/xprint/Manifest4
-rw-r--r--net-print/xprint/files/digest-xprint-0081
-rw-r--r--net-print/xprint/files/xprint.rc620
-rw-r--r--net-print/xprint/metadata.xml5
-rw-r--r--net-print/xprint/xprint-008.ebuild40
6 files changed, 79 insertions, 1 deletions
diff --git a/net-print/xprint/ChangeLog b/net-print/xprint/ChangeLog
new file mode 100644
index 000000000000..d168892285af
--- /dev/null
+++ b/net-print/xprint/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-print/xprint
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/xprint/ChangeLog,v 1.1 2003/07/20 11:10:28 lanius Exp $
+
+*xprint-008 (20 Jul 2003)
+
+ 20 Jul 2003; lanius@gentoo.org metadata.xml, xprint-008.ebuild,
+ files/xprint.rc6:
+ initial release, thx to Zhen Lin <lowzl@hotmail.com> (bug #19398)
+
diff --git a/net-print/xprint/Manifest b/net-print/xprint/Manifest
index 687baec53031..c913a16c5074 100644
--- a/net-print/xprint/Manifest
+++ b/net-print/xprint/Manifest
@@ -1,3 +1,5 @@
MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161
-MD5 11b313c0ecd1bf4e40b01b93424d41df xprint-008.ebuild 655
+MD5 0d31eda209837a158441135a9f2bda07 xprint-008.ebuild 1330
+MD5 2de55e550336e467eb1b5a2360ab2221 ChangeLog 396
MD5 cdead8598c02db049fcacec8db172125 files/digest-xprint-008 100
+MD5 8cc2494e684006bb393f2d24bdbb1037 files/xprint.rc6 443
diff --git a/net-print/xprint/files/digest-xprint-008 b/net-print/xprint/files/digest-xprint-008
new file mode 100644
index 000000000000..c520eea69595
--- /dev/null
+++ b/net-print/xprint/files/digest-xprint-008
@@ -0,0 +1 @@
+MD5 bd8f412bc901055c1fc8ca95397eb0e0 xprint_mozdev_org_source-2003-05-08-release_008.tar.gz 9907926
diff --git a/net-print/xprint/files/xprint.rc6 b/net-print/xprint/files/xprint.rc6
new file mode 100644
index 000000000000..a66fa4cca2c0
--- /dev/null
+++ b/net-print/xprint/files/xprint.rc6
@@ -0,0 +1,20 @@
+#!/sbin/runscript
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-print/xprint/files/xprint.rc6,v 1.1 2003/07/20 11:10:28 lanius Exp $
+
+depend() {
+ use cupsd
+}
+
+start() {
+ ebegin "Starting xprint"
+ /usr/sbin/xprint start > /dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping xprint"
+ /usr/sbin/xprint stop > /dev/null
+ eend $?
+}
diff --git a/net-print/xprint/metadata.xml b/net-print/xprint/metadata.xml
new file mode 100644
index 000000000000..1fa0ca569505
--- /dev/null
+++ b/net-print/xprint/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>printing</herd>
+</pkgmetadata>
diff --git a/net-print/xprint/xprint-008.ebuild b/net-print/xprint/xprint-008.ebuild
new file mode 100644
index 000000000000..504a534aec69
--- /dev/null
+++ b/net-print/xprint/xprint-008.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/xprint/xprint-008.ebuild,v 1.1 2003/07/20 11:10:28 lanius Exp $
+
+DESCRIPTION="An advanced printing system which enables X11 applications to use devices like printers in formats like PostScript, PDF, PCL, etc."
+HOMEPAGE="http://xprint.mozdev.org"
+SRC_URI="http://puck.informatik.med.uni-giessen.de/download/xprint_mozdev_org_source-2003-05-08-release_${PV}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~x86"
+DEPEND="x11-base/xfree"
+RDEPEND="virtual/lpr"
+IUSE=""
+
+S=${WORKDIR}/xprint/src/xprint_main/xc/
+
+src_compile() {
+ make World || die
+}
+
+src_install() {
+ make install DESTDIR=${D} || die
+
+ # this is a really nasty package, so we have to do some cleanups
+ rm -fR ${D}/etc/profile.d
+ rm -fR ${D}/etc/X11/
+ dodir /usr/sbin
+ mv ${D}/etc/init.d/xprint ${D}/usr/sbin/
+ cp ${FILESDIR}/xprint.rc6 ${D}/etc/init.d/xprint
+ dodoc ${D}/usr/X11R6/lib/X11/xserver/README
+ rm -f ${D}/usr/X11R6/lib/X11/xserver/README
+}
+
+pkg_postinst() {
+ einfo
+ einfo ' You have to add '
+ einfo 'export XPSERVERLIST="`/bin/sh /etc/init.d/xprint get_xpserverlist`"'
+ einfo ' to your .xinitrc to get things working correctly '
+ einfo
+}