From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/
Date: Thu, 4 Dec 2014 18:30:21 +0000 (UTC) [thread overview]
Message-ID: <1417696513.b7e59e2064704a2e5117185923016c0598164af2.ulm@gentoo> (raw)
commit: b7e59e2064704a2e5117185923016c0598164af2
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 4 12:35:13 2014 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Dec 4 12:35:13 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=b7e59e20
net-print/brother-dcpj925dw: Fix some install locations and permission bits.
Package-Manager: portage-2.2.14
---
net-print/brother-dcpj925dw/ChangeLog | 4 +++
.../brother-dcpj925dw-20131010.ebuild | 36 +++++++++++++++-------
2 files changed, 29 insertions(+), 11 deletions(-)
diff --git a/net-print/brother-dcpj925dw/ChangeLog b/net-print/brother-dcpj925dw/ChangeLog
index e54bc48..ba2874f 100644
--- a/net-print/brother-dcpj925dw/ChangeLog
+++ b/net-print/brother-dcpj925dw/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 04 Dec 2014; Ulrich Müller <ulm@gentoo.org>
+ brother-dcpj925dw-20131010.ebuild:
+ Fix some install locations and permission bits.
+
*brother-dcpj925dw-20131010 (01 Dec 2014)
01 Dec 2014; Ulrich Müller <ulm@gentoo.org>
diff --git a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
index 085b257..7271a43 100644
--- a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
+++ b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
@@ -22,25 +22,39 @@ RESTRICT="strip"
RDEPEND="net-print/cups"
-S="${WORKDIR}"
+S="${WORKDIR}/opt/brother/Printers/${MODEL}"
src_prepare() {
if use metric; then
- sed -i "/^PaperType/s/Letter/A4/" \
- opt/brother/Printers/${MODEL}/inf/br${MODEL}rc || die
+ sed -i "/^PaperType/s/Letter/A4/" inf/br${MODEL}rc || die
fi
}
src_install() {
- cp -r opt "${D}" || die
+ local dest=/opt/brother/Printers/${MODEL}
- exeinto /opt/brother/Printers/${MODEL}/bin
- doexe usr/bin/brprintconf_${MODEL}
-
- dosym ../../../../opt/brother/Printers/${MODEL}/lpd/filter${MODEL} \
+ cd "${S}"/lpd || die
+ exeinto ${dest}/lpd
+ doexe br${MODEL}filter filter${MODEL} psconvertij2
+ dosym ${dest}/lpd/filter${MODEL} \
/usr/libexec/cups/filter/brother_lpdwrapper_${MODEL}
- dosym ../../../../opt/brother/Printers/${MODEL}/cupswrapper/brother_${MODEL}_printer_en.ppd \
+
+ cd "${S}"/inf || die
+ insinto ${dest}/inf
+ doins br${MODEL}func ImagingArea paperinfij2
+ doins -r lut
+ insinto /etc${dest}/inf
+ doins br${MODEL}rc # config file
+ dosym /etc${dest}/inf/br${MODEL}rc ${dest}/inf/br${MODEL}rc
+
+ cd "${S}"/cupswrapper || die
+ insinto ${dest}/cupswrapper
+ doins brother_${MODEL}_printer_en.ppd
+ dosym ${dest}/cupswrapper/brother_${MODEL}_printer_en.ppd \
/usr/share/cups/model/brother_${MODEL}_printer_en.ppd
- dosym ../../opt/brother/Printers/${MODEL}/bin/brprintconf_${MODEL} \
- /usr/sbin/brprintconf_${MODEL}
+
+ # The brprintconf utility is very broken and mangles the path
+ # of the function list file. Therefore, don't install it.
+ #exeinto ${dest}/bin
+ #doexe "${WORKDIR}"/usr/bin/brprintconf_${MODEL}
}
next reply other threads:[~2014-12-04 18:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-04 18:30 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-07-21 17:38 [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/ Ulrich Müller
2015-08-30 9:36 ` Ulrich Müller
2014-12-01 21:37 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1417696513.b7e59e2064704a2e5117185923016c0598164af2.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox