Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 2627 Details for
Bug 5644
pnm2ppa-1.10.ebuild (New package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pnm2ppa-1.10.ebuild (New)
pnm2ppa-1.10.ebuild (text/plain), 3.46 KB, created by
Christopher Horler
on 2002-07-27 06:25:20 UTC
(
hide
)
Description:
pnm2ppa-1.10.ebuild (New)
Filename:
MIME Type:
Creator:
Christopher Horler
Created:
2002-07-27 06:25:20 UTC
Size:
3.46 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/net-print/pnm2ppa/pnm2ppa-1.0.91-r3.ebuild,v 1.5 2002/07/14 20:41:22 aliz Exp $ ># Note: this also d/ls the hp-ppa-howto and installs it under /usr/share/doc/${P} > ># pnm2ppa is a print filter for HP's line of Winprinters which use a proprietary ># protocol called ppa (Print Performance Architecture). ># Like Winmodems, Winprinters don't have a microprocessor; your main CPU does ># all the hard work. ># Winprinters: Hp Deskjet 710, 712, 720, 722, 820, 1000 series. ># pnm2ppa can work on its own or via lpr or pdq. > ># The ebuild in general seems a bit flaky, anyone who has a ppa printer ># please check it out and tell me if it worked. > ># Description of accompanying patch: install into /usr instead of /usr/local ># and use env. var. CFLAGS. Took a lot of changes though. > >S=${WORKDIR}/${P} >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz > mirror://sourceforge/${PN}/howto.tgz" > >HOMEPAGE="http://pnm2ppa.sourceforge.net" >KEYWORDS="x86" >SLOT="0" >DESCRIPTION="Print driver for Hp Deskjet 710, 712, 720, 722, 820, 1000 series" >LICENSE="GPL-2" > ># note: this doesn't depend on virtual/lpr, because it can work on its own, ># just without queueing etc. since it's not just a driver but a standalone ># executable. >DEPEND="gtk? ( x11-libs/gtk+ ) > ncurses? ( sys-libs/ncurses )" > >RDEPEND="${DEPEND} > app-text/enscript > dev-util/dialog" > >src_unpack() { > > cd ${WORKDIR} > unpack ${P}.tar.gz > cd ${S} > unpack howto.tgz > > patch -p1 < ${FILESDIR}/${PF}-gentoo.diff > >} > >src_compile() { > > export CFLAGS="-DNDEBUG ${CFLAGS}" > > emake \ > CFLAGS="${CFLAGS} -DLANG_EN" || die > > > cd ${S}/ppa_protocol > emake \ > CFLAGS="${CFLAGS}" || die > >} > >src_install () { > > dodir /usr/bin > dodir /etc > dodir /usr/share/man/man1 > > make \ > BINDIR=${D}/usr/bin \ > CONFDIR=${D}/etc \ > MANDIR=${D}/usr/share/man/man1 \ > install || die > > exeinto /usr/bin > doexe utils/Linux/detect_ppa utils/Linux/test_ppa > > insinto /usr/share/pnm2ppa/lpd > doins ${S}/lpd/* > exeinto /usr/share/pnm2ppa/lpd > doexe ${S}/lpd/lpdsetup > > insinto /usr/share/pnm2ppa/pdq > doins ${S}/pdq/* > > # Interfaces for configuration of integration with lpd > # These are not installed because we do not assume that > # lpd, ncurses, gtk, but the sources are provided. Thus, > # if the headers were found they would have been built. > > exeinto /usr/share/pnm2ppa/sample_scripts > doexe ${S}/sample_scripts/* > > cd ${S}/pdq > exeinto /etc/pdq/drivers/ghostscript > doexe gs-pnm2ppa > exeinto /etc/pdq/interfaces > doexe dummy > > # possibly not needed > rm ${D}/etc/printcap.* > > cd ${S}/docs/en > dodoc CALIBRATION*txt COLOR*txt PPA*txt RELEASE* > dodoc CREDITS INSTALL LICENSE README TODO > > cd sgml > insinto /usr/share/doc/${P} > doins *.sgml > > cd ${S} > dohtml -r . > >} > >pkg_postinst() { > > einfo " > Now, you *must* edit /etc/pnm2ppa.conf and choose (at least) > your printer model and papersize. > > Run calibrate_ppa to calibrate color offsets. > > Read the docs in /usr/share/pnm2ppa/ to configure the printer, > configure lpr substitutes, cups, pdq, networking etc. > > Note that lpr and pdq drivers *have* been installed, but if your > config file management has /etc blocked (the default), they have > been installed under different filenames. Read the appropriate > Gentoo documentation for more info. > > Note: lpr has been configured for default papersize letter > " > >}
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 5644
: 2627 |
2628