From ab2d092ec999fd142338cb851e1b22e6184fc942 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marcelo=20G=C3=B3es?= Date: Mon, 23 Apr 2007 22:29:26 +0000 Subject: [PATCH] 1.7.4 version bump. Package-Manager: portage-2.1.2.2 --- net-print/hplip/ChangeLog | 7 +- net-print/hplip/Manifest | 16 ++- net-print/hplip/files/digest-hplip-1.7.4 | 6 ++ net-print/hplip/hplip-1.7.4.ebuild | 124 +++++++++++++++++++++++ 4 files changed, 148 insertions(+), 5 deletions(-) create mode 100644 net-print/hplip/files/digest-hplip-1.7.4 create mode 100644 net-print/hplip/hplip-1.7.4.ebuild diff --git a/net-print/hplip/ChangeLog b/net-print/hplip/ChangeLog index 96f19c53e3ad..1400e3d1cded 100644 --- a/net-print/hplip/ChangeLog +++ b/net-print/hplip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-print/hplip # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.59 2007/04/07 13:45:12 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/ChangeLog,v 1.60 2007/04/23 22:29:26 vanquirius Exp $ + +*hplip-1.7.4 (23 Apr 2007) + + 23 Apr 2007; Marcelo Goes +hplip-1.7.4.ebuild: + 1.7.4 version bump. 07 Apr 2007; Stefan Schweizer hplip-1.7.3.ebuild: Add information about qt3 useflag needed thanks to Matthew Schultz diff --git a/net-print/hplip/Manifest b/net-print/hplip/Manifest index e724338f419a..5109ab2f6060 100644 --- a/net-print/hplip/Manifest +++ b/net-print/hplip/Manifest @@ -5,6 +5,7 @@ SHA256 9dad79022ced93da207a50f8d49d93acfc19f36b89e2b3d77f6b809ee81abd95 files/hp DIST foomatic-db-hpijs-20060720.tar.gz 98252 RMD160 0c2c09f3cea6fc2a8e5da216bd9996b96d91613d SHA1 0e4ec08d01cd28bb751bc2e5844f0d0f7b97ba42 SHA256 1e50f603b46b1d07980212b2e5dfc5d72d07c889259e79ecbf09469fef5ad20e DIST hplip-1.6.10.tar.gz 10561620 RMD160 3608757fca36865528565c0c40571d91a936fd3f SHA1 7c877cac132fc8695c693800c7e34322bdc8d858 SHA256 45f4eafd4568a06889bf4b996a3c75ef571a157b921f56b027b567766d8e239f DIST hplip-1.7.3.tar.gz 13556732 RMD160 dfed95da08f6d5384759b60fc49e8f7cdcbd5aa4 SHA1 5b35c68ca0c1b96a0edadbae144d504319f91843 SHA256 13276261eef92167bf1d36fe7331775a3c2428ab06cf34e68fd1e2409b1c614e +DIST hplip-1.7.4.tar.gz 13565392 RMD160 1e1cf865be6507fed0cc174eff5ad55002ea435a SHA1 215f7a295357d5e3f6133bd96f1450178abf5c64 SHA256 cb9c3531897af9613932fb9896ed2696f8903dd44b2a385a2faff0b819337aa5 EBUILD hplip-1.6.10.ebuild 3673 RMD160 cb97ee29e40405d1d9c2cddd523fedafb9a04f27 SHA1 e5f04b956ea421745c3986bd9c6764d7401324cb SHA256 ce12d77789f659fc57452d219cffcc729f7979317c81f958c09988cb58bea8ae MD5 acbc7941c0e137d038603c41a6b71d27 hplip-1.6.10.ebuild 3673 RMD160 cb97ee29e40405d1d9c2cddd523fedafb9a04f27 hplip-1.6.10.ebuild 3673 @@ -13,10 +14,14 @@ EBUILD hplip-1.7.3.ebuild 3392 RMD160 4cf57aadc778b1b641f59c5eece439d6e4c67ae3 S MD5 a5c1c65c3407d841adf133d4f81028df hplip-1.7.3.ebuild 3392 RMD160 4cf57aadc778b1b641f59c5eece439d6e4c67ae3 hplip-1.7.3.ebuild 3392 SHA256 8ebc89a136536d9f1e0c289590c18e2d78dd04de63801d8e2ae2f3a6c3a298c1 hplip-1.7.3.ebuild 3392 -MISC ChangeLog 10342 RMD160 4f514575ed0f4c18f0ea03285ce2b6f7a26302a7 SHA1 d6332a0780f64acc998f1d1db052302c433ce3f6 SHA256 7f850a86a0641c0e119cb15a2f72ee1d930afaedf7f4e6436ac2b49528e2fdb6 -MD5 2afbc69a6d6f827dc114f1dac58132d4 ChangeLog 10342 -RMD160 4f514575ed0f4c18f0ea03285ce2b6f7a26302a7 ChangeLog 10342 -SHA256 7f850a86a0641c0e119cb15a2f72ee1d930afaedf7f4e6436ac2b49528e2fdb6 ChangeLog 10342 +EBUILD hplip-1.7.4.ebuild 3395 RMD160 4f7ae55074ba5ec8b55647ced1fdbd4d36081705 SHA1 116083d97bbb6d5cda1054a66fa989356f15f3ab SHA256 6057ccabc25f6044fb97e573cb1b3e057606e852f26c252ced72caa3da0ec536 +MD5 bc02960c59d9c4e56197e6f35696327b hplip-1.7.4.ebuild 3395 +RMD160 4f7ae55074ba5ec8b55647ced1fdbd4d36081705 hplip-1.7.4.ebuild 3395 +SHA256 6057ccabc25f6044fb97e573cb1b3e057606e852f26c252ced72caa3da0ec536 hplip-1.7.4.ebuild 3395 +MISC ChangeLog 10469 RMD160 17e23497018c8d0be8a5291b2fc3a9149076ca8a SHA1 6164e4d05ccc0e4dba66cf510cbbef354e3c1043 SHA256 648dc5eee4227f646d75fb337f5d5f5452a8e7c308f92b42a13c523c2a0e5eaa +MD5 2cbce7929bac6ecee385a995cfe2e60c ChangeLog 10469 +RMD160 17e23497018c8d0be8a5291b2fc3a9149076ca8a ChangeLog 10469 +SHA256 648dc5eee4227f646d75fb337f5d5f5452a8e7c308f92b42a13c523c2a0e5eaa ChangeLog 10469 MISC metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 SHA1 209c6a46e4cdd891980115e42ba419e3799f8088 SHA256 7c85e6739a71f5bb23e8de36c88677d772946e61f7285892f7554e37bd2bca76 MD5 26b4b081d538c195dc39bcb2ec8e6f3a metadata.xml 161 RMD160 1e5b1e42553c8869b93c4a5448e9a2a2ed9fe525 metadata.xml 161 @@ -27,3 +32,6 @@ SHA256 a6a40ef739f13c2b5baf4d46161d709d65d1770a0bef40d472cd3161562c92ef files/di MD5 8131f62abf443de6a23dfee041a6d18c files/digest-hplip-1.7.3 518 RMD160 851876dd38b2fbd24a612a5dd9fdc24f3ec044d3 files/digest-hplip-1.7.3 518 SHA256 8420503d0910c30234937e9e2c43469e80926d322130a88bdeb113cbff7be779 files/digest-hplip-1.7.3 518 +MD5 9c9b65fd14b9deb4596758a9859783f1 files/digest-hplip-1.7.4 518 +RMD160 86901fa9a089a807505764fc917bfe60bf02ac74 files/digest-hplip-1.7.4 518 +SHA256 5c27411a7cb99880e1d58ef8d33d5f33bd7aff83fe442199ebd121e231df8d74 files/digest-hplip-1.7.4 518 diff --git a/net-print/hplip/files/digest-hplip-1.7.4 b/net-print/hplip/files/digest-hplip-1.7.4 new file mode 100644 index 000000000000..e223150978db --- /dev/null +++ b/net-print/hplip/files/digest-hplip-1.7.4 @@ -0,0 +1,6 @@ +MD5 1c4b65222333d048450d37082d521b1e foomatic-db-hpijs-20060720.tar.gz 98252 +RMD160 0c2c09f3cea6fc2a8e5da216bd9996b96d91613d foomatic-db-hpijs-20060720.tar.gz 98252 +SHA256 1e50f603b46b1d07980212b2e5dfc5d72d07c889259e79ecbf09469fef5ad20e foomatic-db-hpijs-20060720.tar.gz 98252 +MD5 61bff0f674dff2c0ef0a077c0ce17a57 hplip-1.7.4.tar.gz 13565392 +RMD160 1e1cf865be6507fed0cc174eff5ad55002ea435a hplip-1.7.4.tar.gz 13565392 +SHA256 cb9c3531897af9613932fb9896ed2696f8903dd44b2a385a2faff0b819337aa5 hplip-1.7.4.tar.gz 13565392 diff --git a/net-print/hplip/hplip-1.7.4.ebuild b/net-print/hplip/hplip-1.7.4.ebuild new file mode 100644 index 000000000000..a727502376a7 --- /dev/null +++ b/net-print/hplip/hplip-1.7.4.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-1.7.4.ebuild,v 1.1 2007/04/23 22:29:26 vanquirius Exp $ + +inherit eutils + +DB_V=20060720 +DESCRIPTION="HP Linux Imaging and Printing System. Includes net-print/hpijs, scanner drivers and service tools." +HOMEPAGE="http://hplip.sourceforge.net/" +SRC_URI="mirror://sourceforge/hplip/${P}.tar.gz + foomaticdb? ( + http://gentooexperimental.org/~genstef/dist/foomatic-db-hpijs-${DB_V}.tar.gz + http://www.linuxprinting.org/download/foomatic/foomatic-db-hpijs-${DB_V}.tar.gz + )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="cups foomaticdb snmp qt3 ppds scanner X" + +DEPEND=">=dev-lang/python-2.2.0 + snmp? ( >=net-analyzer/net-snmp-5.0.9 ) + !net-print/hpijs + !net-print/hpoj + virtual/ghostscript + scanner? ( + >=media-gfx/sane-backends-1.0.9 + X? ( || ( + >=media-gfx/xsane-0.89 + >=media-gfx/sane-frontends-1.0.9 + ) ) + !X? ( || ( + >=media-gfx/sane-frontends-1.0.9 + >=media-gfx/xsane-0.89 + ) ) + ) + qt3? ( >=dev-python/PyQt-3.11 =x11-libs/qt-3* ) + >=dev-libs/libusb-0.1.10a + sys-apps/hotplug-base + net-print/cups + foomaticdb? ( net-print/foomatic-db-engine ) + >=net-print/foomatic-filters-3.0.2" +RDEPEND="${DEPEND}" + +pkg_setup() { + # avoid collisions with cups-1.2 compat symlinks + if [ -e ${ROOT}/usr/lib/cups/backend/hp ] && [ -e ${ROOT}/usr/libexec/cups/backend/hp ]; then + rm -f ${ROOT}/usr/libexec/cups/backend/hp{,fax}; + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + # bug 98428 + sed -i -e "s:/usr/bin/env python:/usr/bin/python:g" \ + hpssd.py +} +src_compile() { + econf \ + $(use_enable snmp network-build) \ + $(use_enable cups cups-install) \ + $(use_enable ppds foomatic-install) \ + || die "econf failed" + emake || die "emake failed" + + if use foomaticdb ; then + cd ../foomatic-db-hpijs-${DB_V} + econf || die "econf failed" + rm -fR data-generators/hpijs-rss + emake || die "emake failed" + fi +} + + +src_install() { + # cups-1.2 installation paths, make sure that the .desktop is installed + sed -i -e "s:/usr/lib/cups:$(cups-config --serverbin):" \ + -e 's:\(ICON_FILE = \).*:\1hplip.desktop:' \ + -e 's:\(ICON_PATH = \).*:\1/usr/share/applications:' \ + Makefile + + emake -j1 DESTDIR="${D}" install || die "emake install failed" + + newinitd "${FILESDIR}"/hplip.init.d hplip + + if use scanner; then + dodir /usr/$(get_libdir)/sane + for i in libsane-hpaio.{la,so{,.1{,.0.0}}}; do + dosym /usr/$(get_libdir)/${i} /usr/$(get_libdir)/sane/${i}; done + else + rm -f "${D}"/usr/$(get_libdir)/libsane-hpaio.{la,so{,.1{,.0.0}}} + rm -f "${D}"/etc/sane.d/dll.conf + fi + + # bug 106035 + if ! use qt3 ; then + rm -f "${D}"/usr/{bin/hp-,share/hplip/}{print,toolbox} + rm -f "${D}"/usr/share/applications/hplip.desktop + rm -f "${D}"/usr/lib/menu/hplip + fi + + rm -rf ${D}/$(cups-config --serverbin)/filter ${D}/usr/bin/foomatic-rip + + if use foomaticdb ; then + cd ../foomatic-db-hpijs-${DB_V} + emake DESTDIR="${D}" install || die "emake install failed" + fi +} + +pkg_preinst() { + if use scanner; then + insinto /etc/sane.d + [ -e /etc/sane.d/dll.conf ] && cp /etc/sane.d/dll.conf . + [ -e ${ROOT}/etc/sane.d/dll.conf ] && cp ${ROOT}/etc/sane.d/dll.conf . + grep -q hpaio dll.conf || echo hpaio >> dll.conf + doins dll.conf + fi +} + +pkg_postinst() { + einfo "You need the qt3 useflag enabled to use the guy configurator hp-setup" +} -- 2.26.2