Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 662365 Details for
Bug 744631
net-print/ql570: cups driver for Brother QL-570
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild
ql570-1.0.1.ebuild (text/plain), 1.75 KB, created by
Ortwin Glueck
on 2020-09-25 13:13:31 UTC
(
hide
)
Description:
ebuild
Filename:
MIME Type:
Creator:
Ortwin Glueck
Created:
2020-09-25 13:13:31 UTC
Size:
1.75 KB
patch
obsolete
># Copyright 2020 Gentoo Authors ># Distributed under the terms of the GNU General Public License v2 > >EAPI=7 > >DESCRIPTION="CUPS driver for Brother QL-570" >HOMEPAGE="https://www.brother.ch/fr-ch/support/ql-820nwb/downloads" >SRC_URI="ql570cupswrapper-${PV}-0.i386.rpm ql570lpr-${PV}-0.i386.rpm" >LPV="${PV}-0" > >LICENSE="" >SLOT="0" >KEYWORDS="amd64 x86" >IUSE="" >RESTRICT="fetch" > >DEPEND="net-print/cups" >RDEPEND="${DEPEND}" >BDEPEND="app-arch/rpm2targz" > >pkg_nofetch() { > einfo "Please download" > einfo " - ql570cupswrapper-${LPV}.i386.rpm" > einfo " - ql570lpr-${LPV}.i386.rpm" > einfo "from ${HOMEPAGE} and place them in your DISTDIR directory." >} > >src_unpack() { > mkdir "${P}" > cd "${P}" > for f in ${A}; do > rpmunpack "../../distdir/${f}" > done >} > >src_compile() { > # modify install script to only dump out the embedded files > INST=ql570cupswrapper-${LPV}.i386/opt/brother/PTouch/ql570/cupswrapper/cupswrapperql570pt1 > sed -i -e '/^tmp_filter=/,/^cat <<ENDOFPPDFILE/ccat <<ENDOFPPDFILE >brother_ql570_printer_en.ppd' -e '/^brotherlpdwrapper=/,/^cat <<!ENDOFWFILTER!/ccat <<!ENDOFWFILTER! >brother_lpdwrapper_ql570' -e '/^chmod a+x/,$ d' "${INST}" > # run the modified installer > "${INST}" > chmod 755 brother_lpdwrapper_ql570 > rm ql570cupswrapper-${LPV}.i386/opt/brother/PTouch/ql570/cupswrapper/cupswrapperql570pt1 >} > >src_install() { > insinto /usr/share/cups/model/Brother/ > doins brother_ql570_printer_en.ppd > exeinto /usr/libexec/cups/filter/ > doexe brother_lpdwrapper_ql570 > dodir /opt/brother/PTouch/ql570/inf > dodir /opt/brother/PTouch/ql570/lpd > cp -R "${S}/ql570lpr-${LPV}.i386/opt" "${D}/" || die "LPS install failed" > dodir /opt/brother/PTouch/ql570/cupswrapper > cp -R "${S}/ql570cupswrapper-${LPV}.i386/opt" "${D}/" || die "cupswrapper install failed" > dobin ql570lpr-${LPV}.i386/usr/bin/* >}
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 744631
: 662365 |
662764