* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/
@ 2014-12-01 21:37 Ulrich Müller
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2014-12-01 21:37 UTC (permalink / raw
To: gentoo-commits
commit: c0845de82b5badb401807d91152c01ffcb0dd67d
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 1 18:55:02 2014 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 1 18:55:02 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=c0845de8
net-print/brother-dcpj925dw: Initial import. Ebuild contributed by me.
Package-Manager: portage-2.2.14
---
net-print/brother-dcpj925dw/ChangeLog | 10 +++++
net-print/brother-dcpj925dw/Manifest | 2 +
.../brother-dcpj925dw-20131010.ebuild | 46 ++++++++++++++++++++++
net-print/brother-dcpj925dw/metadata.xml | 10 +++++
4 files changed, 68 insertions(+)
diff --git a/net-print/brother-dcpj925dw/ChangeLog b/net-print/brother-dcpj925dw/ChangeLog
new file mode 100644
index 0000000..e54bc48
--- /dev/null
+++ b/net-print/brother-dcpj925dw/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-print/brother-dcpj925dw
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*brother-dcpj925dw-20131010 (01 Dec 2014)
+
+ 01 Dec 2014; Ulrich Müller <ulm@gentoo.org>
+ +brother-dcpj925dw-20131010.ebuild, +metadata.xml:
+ Initial import. Ebuild contributed by me.
+
diff --git a/net-print/brother-dcpj925dw/Manifest b/net-print/brother-dcpj925dw/Manifest
new file mode 100644
index 0000000..e72abb1
--- /dev/null
+++ b/net-print/brother-dcpj925dw/Manifest
@@ -0,0 +1,2 @@
+DIST dcpj925dwcupswrapper-3.0.0-1.i386.rpm 17395 SHA256 348fbb24b2feb4a4adba2be4c73d70fa5d267b92783e05d8321f55caa4b6e654 SHA512 fd7cf0526e05e82f659ee1c158e5108ee4c67e689d77c19d0d59cbded921888b597eee68c3e18d12fe6a0ec93daff5095ac8f3d8c9f8a471002987b87646fc8e WHIRLPOOL e4ace7d3b67e7ba0a3cfdabe24e0d309f3a602f0929659f4b8aaad7801914400cbcddf373b5073ec5a05dbd6fcdc7400121e036de6886b7010b9f075bc159410
+DIST dcpj925dwlpr-3.0.1-1.i386.rpm 3430885 SHA256 20777cd07aef4e271c389b107487efe0ba9c0fb07750295082f24232bb3c28a0 SHA512 11973cbca305e14266772bc428db05504e794bd2f862778e6fb1dd917144502348685f241f21b5fc8bbba3d487a36938ef6e148b1f74ef1e5d5825bb7ed2cd23 WHIRLPOOL 49ff4c9d080add35c5a26322f37ef772e2f2a45d5633f6cacd6b100b819b0206080c433c68e59f427b5f9b7373ee640c3f541ff1aa759727dcc71070ebcd8d41
diff --git a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
new file mode 100644
index 0000000..085b257
--- /dev/null
+++ b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit rpm
+
+MODEL="${PN#*-}"
+PV_LPR="3.0.1-1"
+PV_CUPSWRAPPER="3.0.0-1"
+
+DESCRIPTION="Brother printer driver for DCP-J925DW"
+HOMEPAGE="http://www.brother.com/"
+SRC_URI="http://download.brother.com/welcome/dlf005614/${MODEL}lpr-${PV_LPR}.i386.rpm http://download.brother.com/welcome/dlf005616/${MODEL}cupswrapper-${PV_CUPSWRAPPER}.i386.rpm"
+
+LICENSE="GPL-2+ Brother-lpr no-source-code"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="metric"
+RESTRICT="strip"
+
+RDEPEND="net-print/cups"
+
+S="${WORKDIR}"
+
+src_prepare() {
+ if use metric; then
+ sed -i "/^PaperType/s/Letter/A4/" \
+ opt/brother/Printers/${MODEL}/inf/br${MODEL}rc || die
+ fi
+}
+
+src_install() {
+ cp -r opt "${D}" || die
+
+ exeinto /opt/brother/Printers/${MODEL}/bin
+ doexe usr/bin/brprintconf_${MODEL}
+
+ dosym ../../../../opt/brother/Printers/${MODEL}/lpd/filter${MODEL} \
+ /usr/libexec/cups/filter/brother_lpdwrapper_${MODEL}
+ dosym ../../../../opt/brother/Printers/${MODEL}/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}
+}
diff --git a/net-print/brother-dcpj925dw/metadata.xml b/net-print/brother-dcpj925dw/metadata.xml
new file mode 100644
index 0000000..3b7ffd9
--- /dev/null
+++ b/net-print/brother-dcpj925dw/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>ulm@gentoo.org</email>
+</maintainer>
+<use>
+ <flag name='metric'>Default to A4 paper size</flag>
+</use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/
@ 2014-12-04 18:30 Ulrich Müller
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2014-12-04 18:30 UTC (permalink / raw
To: gentoo-commits
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}
}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/
@ 2015-07-21 17:38 Ulrich Müller
2015-08-30 9:36 ` Ulrich Müller
0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Müller @ 2015-07-21 17:38 UTC (permalink / raw
To: gentoo-commits
commit: 4197acb9e406f292e0d811b6125c1eab56b55db1
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 17:37:41 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 17:37:41 2015 +0000
URL: https://gitweb.gentoo.org/dev/ulm.git/commit/?id=4197acb9
Install ppd file into subdirectory.
Package-Manager: portage-2.2.20
net-print/brother-dcpj925dw/ChangeLog | 6 +++++-
net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/net-print/brother-dcpj925dw/ChangeLog b/net-print/brother-dcpj925dw/ChangeLog
index ba2874f..001cd02 100644
--- a/net-print/brother-dcpj925dw/ChangeLog
+++ b/net-print/brother-dcpj925dw/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-print/brother-dcpj925dw
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Jul 2015; Ulrich Müller <ulm@gentoo.org>
+ brother-dcpj925dw-20131010.ebuild:
+ Install ppd file into subdirectory.
+
04 Dec 2014; Ulrich Müller <ulm@gentoo.org>
brother-dcpj925dw-20131010.ebuild:
Fix some install locations and permission bits.
diff --git a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
index 7271a43..2125f0b 100644
--- a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
+++ b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -51,7 +51,7 @@ src_install() {
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
+ /usr/share/cups/model/Brother/brother_${MODEL}_printer_en.ppd
# The brprintconf utility is very broken and mangles the path
# of the function list file. Therefore, don't install it.
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/
2015-07-21 17:38 Ulrich Müller
@ 2015-08-30 9:36 ` Ulrich Müller
0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Müller @ 2015-08-30 9:36 UTC (permalink / raw
To: gentoo-commits
commit: 4197acb9e406f292e0d811b6125c1eab56b55db1
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 21 17:37:41 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Jul 21 17:37:41 2015 +0000
URL: https://gitweb.gentoo.org/dev/ulm.git/commit/?id=4197acb9
Install ppd file into subdirectory.
Package-Manager: portage-2.2.20
net-print/brother-dcpj925dw/ChangeLog | 6 +++++-
net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild | 4 ++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/net-print/brother-dcpj925dw/ChangeLog b/net-print/brother-dcpj925dw/ChangeLog
index ba2874f..001cd02 100644
--- a/net-print/brother-dcpj925dw/ChangeLog
+++ b/net-print/brother-dcpj925dw/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for net-print/brother-dcpj925dw
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 21 Jul 2015; Ulrich Müller <ulm@gentoo.org>
+ brother-dcpj925dw-20131010.ebuild:
+ Install ppd file into subdirectory.
+
04 Dec 2014; Ulrich Müller <ulm@gentoo.org>
brother-dcpj925dw-20131010.ebuild:
Fix some install locations and permission bits.
diff --git a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
index 7271a43..2125f0b 100644
--- a/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
+++ b/net-print/brother-dcpj925dw/brother-dcpj925dw-20131010.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -51,7 +51,7 @@ src_install() {
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
+ /usr/share/cups/model/Brother/brother_${MODEL}_printer_en.ppd
# The brprintconf utility is very broken and mangles the path
# of the function list file. Therefore, don't install it.
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-30 9:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-04 18:30 [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw/ Ulrich Müller
-- strict thread matches above, loose matches on Subject: below --
2015-07-21 17:38 Ulrich Müller
2015-08-30 9:36 ` Ulrich Müller
2014-12-01 21:37 Ulrich Müller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox