public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw-bin/
@ 2014-12-01  0:08 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2014-12-01  0:08 UTC (permalink / raw
  To: gentoo-commits

commit:     1fa1cdf735f3becf86763fdc4e4b24a42d67a501
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  1 00:02:26 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 00:07:43 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=1fa1cdf7

net-print/brother-dcpj925dw-bin: Initial import. Ebuild contributed by me.

Package-Manager: portage-2.2.14

---
 net-print/brother-dcpj925dw-bin/ChangeLog          | 10 ++++++
 net-print/brother-dcpj925dw-bin/Manifest           |  2 ++
 .../brother-dcpj925dw-bin-20131010.ebuild          | 36 ++++++++++++++++++++++
 net-print/brother-dcpj925dw-bin/metadata.xml       |  7 +++++
 4 files changed, 55 insertions(+)

diff --git a/net-print/brother-dcpj925dw-bin/ChangeLog b/net-print/brother-dcpj925dw-bin/ChangeLog
new file mode 100644
index 0000000..865a252
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-print/brother-dcpj925dw-bin
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*brother-dcpj925dw-bin-20131010 (30 Nov 2014)
+
+  30 Nov 2014; Ulrich Müller <ulm@gentoo.org>
+  +brother-dcpj925dw-bin-20131010.ebuild, +metadata.xml:
+  Initial import. Ebuild contributed by me.
+

diff --git a/net-print/brother-dcpj925dw-bin/Manifest b/net-print/brother-dcpj925dw-bin/Manifest
new file mode 100644
index 0000000..e72abb1
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/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-bin/brother-dcpj925dw-bin-20131010.ebuild b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
new file mode 100644
index 0000000..be79b2f
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit rpm
+
+MODEL="${PN%-bin}"; MODEL="${MODEL#*-}"
+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="Brother-EULA"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="mirror strip"
+
+RDEPEND="net-print/cups"
+
+S="${WORKDIR}"
+
+src_install() {
+	cp -r opt "${D}" || die
+
+	exeinto /opt/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/dcpj925dw/cupswrapper/brother_${MODEL}_printer_en.ppd \
+		  /usr/share/cups/model/brother_${MODEL}_printer_en.ppd
+}

diff --git a/net-print/brother-dcpj925dw-bin/metadata.xml b/net-print/brother-dcpj925dw-bin/metadata.xml
new file mode 100644
index 0000000..e153d85
--- /dev/null
+++ b/net-print/brother-dcpj925dw-bin/metadata.xml
@@ -0,0 +1,7 @@
+<?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>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw-bin/
@ 2014-12-01  0:33 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2014-12-01  0:33 UTC (permalink / raw
  To: gentoo-commits

commit:     612616186c0336f1220924d29d57945b766bcac9
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  1 00:32:44 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 00:32:44 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=61261618

Add USE flag for A4 paper default.

Package-Manager: portage-2.2.14

---
 net-print/brother-dcpj925dw-bin/ChangeLog                      |  4 ++++
 .../brother-dcpj925dw-bin-20131010.ebuild                      | 10 +++++++++-
 net-print/brother-dcpj925dw-bin/metadata.xml                   |  3 +++
 3 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/net-print/brother-dcpj925dw-bin/ChangeLog b/net-print/brother-dcpj925dw-bin/ChangeLog
index 865a252..4ce1241 100644
--- a/net-print/brother-dcpj925dw-bin/ChangeLog
+++ b/net-print/brother-dcpj925dw-bin/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  01 Dec 2014; Ulrich Müller <ulm@gentoo.org>
+  brother-dcpj925dw-bin-20131010.ebuild, metadata.xml:
+  Add USE flag for A4 paper default.
+
 *brother-dcpj925dw-bin-20131010 (30 Nov 2014)
 
   30 Nov 2014; Ulrich Müller <ulm@gentoo.org>

diff --git a/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
index be79b2f..77ce679 100644
--- a/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
+++ b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
@@ -17,12 +17,20 @@ SRC_URI="http://download.brother.com/welcome/dlf005614/${MODEL}lpr-${PV_LPR}.i38
 LICENSE="Brother-EULA"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+IUSE="+metric"
 RESTRICT="mirror 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
 
@@ -31,6 +39,6 @@ src_install() {
 
 	dosym ../../../../opt/brother/Printers/${MODEL}/lpd/filter${MODEL} \
 		  /usr/libexec/cups/filter/brother_lpdwrapper_${MODEL}
-	dosym ../../../../opt/brother/Printers/dcpj925dw/cupswrapper/brother_${MODEL}_printer_en.ppd \
+	dosym ../../../../opt/brother/Printers/${MODEL}/cupswrapper/brother_${MODEL}_printer_en.ppd \
 		  /usr/share/cups/model/brother_${MODEL}_printer_en.ppd
 }

diff --git a/net-print/brother-dcpj925dw-bin/metadata.xml b/net-print/brother-dcpj925dw-bin/metadata.xml
index e153d85..3b7ffd9 100644
--- a/net-print/brother-dcpj925dw-bin/metadata.xml
+++ b/net-print/brother-dcpj925dw-bin/metadata.xml
@@ -4,4 +4,7 @@
 <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] 3+ messages in thread

* [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw-bin/
@ 2014-12-01  6:21 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2014-12-01  6:21 UTC (permalink / raw
  To: gentoo-commits

commit:     1de9e0f8c09767f81896a97351e6bc9428ff873e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  1 06:25:19 2014 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  1 06:25:19 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=dev/ulm.git;a=commit;h=1de9e0f8

net-print/brother-dcpj925dw-bin: Update LICENSE, this is not an EULA.

Package-Manager: portage-2.2.14

---
 net-print/brother-dcpj925dw-bin/ChangeLog                             | 4 ++++
 net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/net-print/brother-dcpj925dw-bin/ChangeLog b/net-print/brother-dcpj925dw-bin/ChangeLog
index 4ce1241..be180a3 100644
--- a/net-print/brother-dcpj925dw-bin/ChangeLog
+++ b/net-print/brother-dcpj925dw-bin/ChangeLog
@@ -3,6 +3,10 @@
 # $Header: $
 
   01 Dec 2014; Ulrich Müller <ulm@gentoo.org>
+  brother-dcpj925dw-bin-20131010.ebuild:
+  Update LICENSE, this is not an EULA.
+
+  01 Dec 2014; Ulrich Müller <ulm@gentoo.org>
   brother-dcpj925dw-bin-20131010.ebuild, metadata.xml:
   Add USE flag for A4 paper default.
 

diff --git a/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
index 77ce679..91a42ab 100644
--- a/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
+++ b/net-print/brother-dcpj925dw-bin/brother-dcpj925dw-bin-20131010.ebuild
@@ -14,11 +14,11 @@ 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="Brother-EULA"
+LICENSE="GPL-2+ Brother-lpr no-source-code"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+metric"
-RESTRICT="mirror strip"
+RESTRICT="strip"
 
 RDEPEND="net-print/cups"
 


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-12-01  6:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01  0:33 [gentoo-commits] dev/ulm:master commit in: net-print/brother-dcpj925dw-bin/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2014-12-01  6:21 Ulrich Müller
2014-12-01  0:08 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