Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182752 Details for
Bug 245136
net-print/hplip-3.9.2 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bad
(text/plain), 8.02 KB, created by
Yar Odin
on 2009-02-21 17:39:34 UTC
(
hide
)
Description:
bad
Filename:
MIME Type:
Creator:
Yar Odin
Created:
2009-02-21 17:39:34 UTC
Size:
8.02 KB
patch
obsolete
>--- hplip-2.8.7.ebuild 2008-08-17 18:46:53.000000000 +0600 >+++ hplip-3.9.2.ebuild 2009-02-21 22:12:15.000000000 +0500 >@@ -1,24 +1,27 @@ >-# Copyright 1999-2008 Gentoo Foundation >+# Copyright 1999-2009 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/net-print/hplip/hplip-2.8.7.ebuild,v 1.1 2008/08/17 12:46:53 calchan Exp $ >+# $Header: $ > >-inherit eutils linux-info python >+EAPI="1" >+ >+inherit eutils flag-o-matic fdo-mime linux-info python >+ >+IUSE="cupsddk dbus doc fax gtk minimal parport ppds plugins qt3 qt4 scanner snmp" > > 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" >+SRC_URI="plugins? ( http://www.linuxprinting.org/download/printdriver/auxfiles/HP/plugins/hplip-${PV}-plugin.run ) >+ mirror://sourceforge/hplip/${P}.tar.gz" > > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" > >-IUSE="cupsddk dbus doc fax gtk minimal parport ppds qt3 qt4 scanner snmp" >- > DEPEND="!net-print/hpijs > !net-print/hpoj > virtual/ghostscript > >=media-libs/jpeg-6b >- >=net-print/foomatic-filters-3.0.20080507 >+ >=net-print/foomatic-filters-3.0 > !minimal? ( > >=net-print/cups-1.2 > dev-libs/libusb >@@ -32,6 +35,7 @@ > )" > > RDEPEND="${DEPEND} >+ app-arch/gzip > !minimal? ( > !<sys-fs/udev-114 > scanner? ( >@@ -54,6 +58,7 @@ > > CONFIG_CHECK="PARPORT PPDEV" > ERROR_PARPORT="Please make sure parallel port support is enabled in your kernel (PARPORT and PPDEV)." >+RESTRICT="plugins? ( strip )" > > pkg_setup() { > ! use qt3 && ! use qt4 && ewarn "You need USE=qt3 (recommended) or USE=qt4 for the hplip GUI." >@@ -74,9 +79,20 @@ > } > > src_unpack() { >- unpack ${A} >+ unpack ${P}.tar.gz >+ >+ if use plugins; then >+ echo ">>> Unpacking hplip-${PV}-plugin.tar.gz to ${WORKDIR}/plugins" >+ mkdir -p "${WORKDIR}"/plugins >+ cd "${WORKDIR}"/plugins >+ tail -c +9523 "${DISTDIR}"/hplip-${PV}-plugin.run > hplip-${PV}-plugin.tar.gz >+ tar xf "${WORKDIR}"/plugins/hplip-${PV}-plugin.tar.gz >+ rm -f "${WORKDIR}"/plugins/hplip-${PV}-plugin.tar.gz >+ fi >+ > cd "${S}" > >+ sed -i -e "s:\/usr\/share\/hal\/fdi\/preprobe\/10osvendor:\/etc\/hal\/fdi\/preprobe:g" Makefile.in || die "Patching hplip.list.in failed" > sed -i -e "s:\$(doc_DATA)::" Makefile.in || die "Patching Makefile.in failed" > sed -i -e "s/'skipstone']/'skipstone', 'epiphany']/" \ > -e "s/'skipstone': ''}/'skipstone': '', 'epiphany': '--new-window'}/" \ >@@ -85,19 +101,19 @@ > # bug 98428 > sed -i -e "s:/usr/bin/env python:/usr/bin/python:g" hpssd.py || die "Patching hpssd.py failed" > >- # Force recognition of Gentoo distro by hp-check >+ # Force recognition of Gentoo distro by hp-check and Gentoo based pathes > sed -i \ > -e "s:file('/etc/issue', 'r').read():'Gentoo':" \ > installer/core_install.py || die "sed core_install.py" >+ sed -i \ >+ -e s:\/usr\/lib\/cups\/driver:$(cups-config --serverbin)\/driver:g \ >+ installer/core_install.py || die "sed core_install.py" > > # Replace udev rules, see bug #197726. > rm data/rules/55-hpmud.rules > cp "${FILESDIR}"/70-hpmud.rules data/rules > sed -i -e "s/55-hpmud.rules/70-hpmud.rules/g" Makefile.* */*.html || die "sed failed" > >- # Use system foomatic-rip instead of foomatic-rip-hplip >- sed -i -e 's/foomatic-rip-hplip/foomatic-rip/' ppd/*.ppd || die "sed failed" >- > # Qt4 is still undocumented by upstream, so use with caution > local QT_VER > use qt4 && QT_VER="4" >@@ -118,8 +134,10 @@ > local GUI_BUILD="--disable-gui-build" > fi > >+ use qt4 && GUI_BUILD="$GUI_BUILD --enable-qt4 --disable-qt3" >+ > econf \ >- --disable-dependency-tracking \ >+ --enable-dependency-tracking \ > --disable-cups11-build \ > --with-cupsbackenddir=$(cups-config --serverbin)/backend \ > --with-cupsfilterdir=$(cups-config --serverbin)/filter \ >@@ -134,18 +152,87 @@ > $(use_enable ppds foomatic-ppd-install) \ > $(use_enable scanner scan-build) \ > $(use_enable snmp network-build) \ >+ --with-systraydir=/usr/share/autostart \ > || die "econf failed" > emake || die "Compilation failed" > } > > src_install() { >- emake -j1 DESTDIR="${D}" install || die "emake install failed" >+ replace-flags "-j?" "-j1" >+ emake DESTDIR="${D}" install || die "emake install failed" > rm -f "${D}"/etc/sane.d/dll.conf > >+ # Use system foomatic-rip instead of foomatic-rip-hplip >+ local i >+ for i in "${D}"usr/share/ppd/HP/*.ppd >+ do >+ sed -i -e "s/foomatic-rip-hplip/foomatic-rip/g" $i || die "*.ppd sed failed" >+ rm -f $i.gz >+ done >+ >+ if use plugins; then >+ sed -i -e "s:SYSFS:ATTRS:g" "${WORKDIR}"/plugins/*.rules || die "sed failed" >+ >+ insinto /etc/udev/rules.d >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_1000.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_1005_series.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_1018.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_1020.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_p1005.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_p1006.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_p1007.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_p1008.rules >+ doins "${WORKDIR}"/plugins/86-hpmud-hp_laserjet_p1505.rules >+ >+ # detect ARCH variable >+ if [[ "${ARCH}" == "amd64" ]] ; then >+ arch_var="64" >+ else >+ arch_var="32" >+ fi >+ cd "${D}"/usr/lib >+ dodir /usr/share/hplip/scan/plugins >+ dolib.so "${WORKDIR}"/plugins/bb_marvell-x86_"${arch_var}".so >+ ln -s bb_marvell-x86_"${arch_var}".so bb_marvell.so >+ dosym /usr/lib/bb_marvell-x86_"${arch_var}".so /usr/share/hplip/scan/plugins/bb_marvell.so >+ dosym /usr/lib/bb_marvell-x86_"${arch_var}".so /usr/share/hplip/scan/plugins/bb_marvell-x86_"${arch_var}".so >+ dolib.so "${WORKDIR}"/plugins/bb_soap-x86_"${arch_var}".so >+ ln -s bb_soap-x86_"${arch_var}".so bb_soap.so >+ dosym /usr/lib/bb_soap-x86_"${arch_var}".so /usr/share/hplip/scan/plugins/bb_soap.so >+ dosym /usr/lib/bb_soap-x86_"${arch_var}".so /usr/share/hplip/scan/plugins/bb_soap-x86_"${arch_var}".so >+ dolib.so "${WORKDIR}"/plugins/bb_soapht-x86_"${arch_var}".so >+ ln -s bb_soapht-x86_"${arch_var}".so bb_soapht.so >+ dosym /usr/lib/bb_soapht-x86_"${arch_var}".so /usr/share/hplip/scan/plugins/bb_soapht.so >+ dosym /usr/lib/bb_soapht-x86_"${arch_var}".so /usr/share/hplip/scan/plugins/bb_soapht-x86_"${arch_var}".so >+ dodir /usr/share/hplip/prnt/plugins >+ dolib.so "${WORKDIR}"/plugins/lj-x86_"${arch_var}".so >+ ln -s lj-x86_"${arch_var}".so lj.so >+ dosym /usr/lib/lj-x86_"${arch_var}".so /usr/share/hplip/prnt/plugins/lj.so >+ dosym /usr/lib/lj-x86_"${arch_var}".so /usr/share/hplip/prnt/plugins/lj-x86_"${arch_var}".so >+ >+ dodir /usr/share/hplip/data/plugins >+ insinto /usr/share/hplip/data/plugins >+ doins "${WORKDIR}"/plugins/license.txt >+ >+ dodir /usr/share/hplip/data/firmware >+ insinto /usr/share/hplip/data/firmware >+ doins "${WORKDIR}"/plugins/hp_laserjet_1000.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_1005_series.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_1018.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_1020.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_p1005.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_p1006.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_p1007.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_p1008.fw.gz >+ doins "${WORKDIR}"/plugins/hp_laserjet_p1505.fw.gz >+ sed -i -e "s:version\=\(.*\):version\=\1\nplugin\=1:" "${D}"/etc/hp/hplip.conf || die "sed failed" >+ fi >+ > # bug 106035 > use qt3 || use qt4 || rm -Rf "${D}"/usr/share/applications > > use minimal && rm -rf "${D}"/usr/lib >+ > } > > pkg_preinst() { >@@ -157,6 +244,7 @@ > > pkg_postinst() { > python_mod_optimize /usr/share/${PN} >+ fdo-mime_desktop_database_update > > elog "You should run hp-setup as root if you are installing hplip for the first time, and may also" > elog "need to run it if you are upgrading from an earlier version." >@@ -169,4 +257,5 @@ > > pkg_postrm() { > python_mod_cleanup /usr/share/${PN} >+ fdo-mime_desktop_database_update > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 245136
:
171082
|
171083
|
171449
|
171450
|
171517
|
177677
|
177678
|
178169
|
178170
|
178173
|
178613
|
182736
|
182752
|
182754
|
182804
|
184692
|
185645
|
185778
|
186530
|
186531