diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-11-07 12:55:03 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-11-07 12:55:03 +0000 |
commit | 676463bbf3eeaaffef7b820eb4a8f67498c131cf (patch) | |
tree | 06065e4f7fbef1c216b728e34ccc4b9c2d66ec1d /net-print | |
parent | bump (diff) | |
download | gentoo-2-676463bbf3eeaaffef7b820eb4a8f67498c131cf.tar.gz gentoo-2-676463bbf3eeaaffef7b820eb4a8f67498c131cf.tar.bz2 gentoo-2-676463bbf3eeaaffef7b820eb4a8f67498c131cf.zip |
bump
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/hpoj/ChangeLog | 8 | ||||
-rw-r--r-- | net-print/hpoj/Manifest | 6 | ||||
-rw-r--r-- | net-print/hpoj/files/ExMgr.cpp_patch | 11 | ||||
-rw-r--r-- | net-print/hpoj/files/digest-hpoj-0.91 | 1 | ||||
-rw-r--r-- | net-print/hpoj/files/mlcd_make.patch | 11 | ||||
-rw-r--r-- | net-print/hpoj/hpoj-0.91.ebuild | 93 |
6 files changed, 103 insertions, 27 deletions
diff --git a/net-print/hpoj/ChangeLog b/net-print/hpoj/ChangeLog index 0cc9716eea7c..691591716dfa 100644 --- a/net-print/hpoj/ChangeLog +++ b/net-print/hpoj/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-print/hpoj # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/ChangeLog,v 1.7 2003/11/05 20:09:51 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/ChangeLog,v 1.8 2003/11/07 12:54:57 lanius Exp $ + +*hpoj-0.91 (07 Nov 2003) + + 07 Nov 2003; Heinrich Wendel <lanius@gentoo.org> hpoj-0.91.ebuild, + files/ExMgr.cpp_patch, files/mlcd_make.patch: + bump 05 Nov 2003; Heinrich Wendel <lanius@gentoo.org> files/hpoj.init: bug #32770 (hotplug) diff --git a/net-print/hpoj/Manifest b/net-print/hpoj/Manifest index 77cff1935fcb..389551e391e7 100644 --- a/net-print/hpoj/Manifest +++ b/net-print/hpoj/Manifest @@ -1,9 +1,7 @@ -MD5 ee3b817c625bc34668d9938d3e71df7f ChangeLog 1162 +MD5 0fa3c9657698507c3d08b050089da50a ChangeLog 1313 MD5 1de16ebbaef666d36c7c7861ee4ff28b hpoj-0.90-r1.ebuild 2949 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 -MD5 3a13bb487190e903427e36279fc970f9 hpoj-0.91.ebuild 2781 +MD5 c849b1504db4a2cc1572629feabbb26e hpoj-0.91.ebuild 2778 MD5 7b10c1855f92a1d1551de2c65128176f files/digest-hpoj-0.91 58 -MD5 e56953b799bb0ac5fa2e9cc49c885de2 files/ExMgr.cpp_patch 328 MD5 c5cedb38ee0632e6d0ca973da68e6a5f files/digest-hpoj-0.90-r1 58 MD5 6e2752d0e79c76507dccdc943f7c9cf0 files/hpoj.init 208 -MD5 ea087eb849513831b112071ca1a71029 files/mlcd_make.patch 292 diff --git a/net-print/hpoj/files/ExMgr.cpp_patch b/net-print/hpoj/files/ExMgr.cpp_patch deleted file mode 100644 index 9e094325392e..000000000000 --- a/net-print/hpoj/files/ExMgr.cpp_patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ExMgr.cpp 2003-01-21 20:04:01.000000000 +0000 -+++ ExMgr.cpp.patch 2003-01-21 20:03:44.000000000 +0000 -@@ -32,8 +32,6 @@ - #undef LOG_SYSLOG - #include <bp/ex/transport/ExMlcTransport.h> - -+#include "ExMgr.h" -+ - #define SAFE_STRING(s) ((s)?((char *)(s)):"") - - static ExMgr *gpMgr=0; /* Needed by the ExWatchdogTimer class. */ diff --git a/net-print/hpoj/files/digest-hpoj-0.91 b/net-print/hpoj/files/digest-hpoj-0.91 new file mode 100644 index 000000000000..761da4e580e8 --- /dev/null +++ b/net-print/hpoj/files/digest-hpoj-0.91 @@ -0,0 +1 @@ +MD5 0e083aeab9b00495aa433fa9465456e0 hpoj-0.91.tgz 542475 diff --git a/net-print/hpoj/files/mlcd_make.patch b/net-print/hpoj/files/mlcd_make.patch deleted file mode 100644 index e5d15067b88d..000000000000 --- a/net-print/hpoj/files/mlcd_make.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mlcd/Makefile 2003-01-21 19:51:03.000000000 +0000 -+++ mlcd/Makefile_patch 2003-01-21 19:53:09.000000000 +0000 -@@ -30,7 +30,7 @@ - %.o : %.c $(INCLUDES) - $(CC) $(CFLAGS) -c -o $@ $< - --all: $(LINKS) $(GOAL) -+all: $(GOAL) - - $(LINKS): - for link in $(LINKS) ; do ln -s . $$link ; done diff --git a/net-print/hpoj/hpoj-0.91.ebuild b/net-print/hpoj/hpoj-0.91.ebuild new file mode 100644 index 000000000000..d1d3b5fb9d6b --- /dev/null +++ b/net-print/hpoj/hpoj-0.91.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/hpoj/hpoj-0.91.ebuild,v 1.1 2003/11/07 12:54:57 lanius Exp $ + +DESCRIPTION="HP OfficeJet Linux driver" +HOMEPAGE="http://hpoj.sourceforge.net/" +SRC_URI="mirror://sourceforge/hpoj/${P}.tgz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="ssl scanner qt X snmp cups usb" + +DEPEND="qt? ( >=x11-libs/qt-3.1.0-r1 ) + ssl? ( >=dev-libs/openssl-0.9.6h ) + scanner? ( >=media-gfx/sane-backends-1.0.9 ) + scanner? ( || ( X? ( >=media-gfx/xsane-0.89 ) >=media-gfx/sane-frontends-1.0.9 ) ) + snmp? ( >=net-analyzer/ucd-snmp-4.2.6 ) + cups? ( >=net-print/cups-1.1.18-r2 ) + usb? ( dev-libs/libusb )" + +src_compile() { + local myconf + use snmp \ + && myconf="${myconf} --with-snmp=/usr" \ + || myconf="${myconf} --without-snmp" + + use cups \ + && myconf="${myconf} --with-cups-backend=/usr" \ + || myconf="${myconf} --without-cups" + + # xojpanel + use qt \ + && myconf="${myconf} --with-qt=/usr/qt/3" \ + || myconf="${myconf} --without-qt" + + use scanner \ + && myconf="${myconf} --with-sane-packend=/usr" \ + || myconf="${myconf} --without-sane" + + econf ${myconf} + emake || die "compilation failed" +} + +src_install() { + cd apps/cmdline + dobin ptal-print hpojip-test ptal-connect ptal-device ptal-devid ptal-hp ptal-pml + cd ../../doc + dohtml *html + cd .. + dodoc COPYING LICENSE LICENSE.OpenSSL README + use qt && dobin apps/xojpanel/xojpanel + dodir /usr/include + insinto /usr/include + doins include/hpojip.h include/ptal.h + cd lib + dolib.so hpojip/libhpojip.so* + dolib.so ptal/libptal.so* + dodir /usr/lib/sane + insinto /usr/lib/sane + doins sane/libsane-hpoj.so* + dodir /usr/lib/ghostscript/filt \ + /usr/lib/ghostscript/filt/bjc600 \ + /usr/lib/ghostscript/filt/bjc600.1 \ + /usr/lib/ghostscript/filt/bjc600.16 \ + /usr/lib/ghostscript/filt/bjc600.24 \ + /usr/lib/ghostscript/filt/bjc600.24.3 \ + /usr/lib/ghostscript/filt/bjc600.32 \ + /usr/lib/ghostscript/filt/bjc600.8 \ + /usr/lib/ghostscript/filt/bjc600.8.1 \ + /usr/lib/ghostscript/filt/bjt600.32 \ + /usr/lib/ghostscript/filt/direct \ + /usr/lib/ghostscript/filt/gsif \ + /usr/lib/ghostscript/filt/indirect \ + /usr/lib/ghostscript/filt + cd .. + dosbin apps/cmdline/ptal-photod apps/cmdline/ptal-printd mlcd/ptal-mlcd scripts/ptal-cups + exeinto /usr/sbin + doexe scripts/ptal-init + dodir /usr/lib/cups/backend + dosym /usr/sbin/ptal-cups /usr/lib/cups/backend/ptal + exeinto /etc/init.d + newexe ${FILESDIR}/hpoj.init hpoj +} + +pkg_postinst() { + echo + einfo "You might want to emerge app-admin/mtools for photo-card support." + echo + einfo "You might want to emerge net-print/hpijs for better printing quality." + echo + einfo "Before starting hpoj you have to set it up with 'ptal-init setup'" + echo +} |