Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: brother-hl5340d-lpr-2.0.3
@ 2019-07-10  5:14 voidlinux-github
  2019-07-11  3:18 ` voidlinux-github
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-10  5:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

There is a new pull request by Monkey-7-12 against master on the void-packages repository

https://github.com/Monkey-7-12/void-packages brother-hl5340d-lpr
https://github.com/void-linux/void-packages/pull/12954

New package: brother-hl5340d-lpr-2.0.3


A patch file from https://github.com/void-linux/void-packages/pull/12954.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-hl5340d-lpr-12954.patch --]
[-- Type: application/text/x-diff, Size: 1767 bytes --]

From 4a63415235c9d5b01e3c421c690951338eb9f84b Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Wed, 10 Jul 2019 07:02:55 +0200
Subject: [PATCH] New package: brother-hl5340d-lpr-2.0.3

---
 srcpkgs/brother-hl5340d-lpr/template | 40 ++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/brother-hl5340d-lpr/template

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
new file mode 100644
index 00000000000..f8287b2238b
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -0,0 +1,40 @@
+# Template file for 'brother-hl5340d-lpr'
+pkgname=brother-hl5340d-lpr
+_br_version=2.0.3
+_br_revision=1
+version=${_br_version}
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+make_dirs="/var/spool/lpd 0775 root lp"
+depends="a2ps ghostscript"
+short_desc="LPR driver for the brother HL5340D printer"
+maintainer="Monkey 7<monkeyseven@fblog.ch>"
+license="brother-eula GPL-2"
+homepage="http://support.brother.com"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-${_br_revision}.i386.deb"
+checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+nopie=yes
+patch_args="-Np1"
+
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	depends+=" glibc-32bit"
+fi
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${_br_version}-${_br_revision}.i386.deb
+	tar xzpvf data.tar.gz -C ${wrksrc}
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}
+	cp -a ${wrksrc}/usr ${DESTDIR}/
+	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	  mkdir -p ${DESTDIR}/usr/lib32/
+ 	  mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib32/
+	fi
+	mv ${DESTDIR}/usr/local/Brother ${DESTDIR}/usr/lib/brother
+	rm -rf ${DESTDIR}/usr/local
+}
+

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

* Re: New package: brother-hl5340d-lpr-2.0.3
  2019-07-10  5:14 [PR PATCH] New package: brother-hl5340d-lpr-2.0.3 voidlinux-github
@ 2019-07-11  3:18 ` voidlinux-github
  2019-07-11  5:12 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-11  3:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

New comment by abenson on void-packages repository

https://github.com/void-linux/void-packages/pull/12954#issuecomment-510312693
Comment:
Not sure how this passed Travis.

    => brother-hl5340d-lpr-2.0.3_1: building ...
    => ERROR: brother-hl5340d-lpr-2.0.3_1: runtime dependency 'glibc-32bit' does not exist!


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

* Re: [PR PATCH] [Updated] New package: brother-hl5340d-lpr-2.0.3
  2019-07-10  5:14 [PR PATCH] New package: brother-hl5340d-lpr-2.0.3 voidlinux-github
  2019-07-11  3:18 ` voidlinux-github
  2019-07-11  5:12 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-07-11  5:12 ` voidlinux-github
  2019-07-11  5:19 ` [PR PATCH] [Closed]: " voidlinux-github
  3 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-11  5:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

There is an updated pull request by Monkey-7-12 against master on the void-packages repository

https://github.com/Monkey-7-12/void-packages brother-hl5340d-lpr
https://github.com/void-linux/void-packages/pull/12954

New package: brother-hl5340d-lpr-2.0.3


A patch file from https://github.com/void-linux/void-packages/pull/12954.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-hl5340d-lpr-12954.patch --]
[-- Type: application/text/x-diff, Size: 4386 bytes --]

From 4a63415235c9d5b01e3c421c690951338eb9f84b Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Wed, 10 Jul 2019 07:02:55 +0200
Subject: [PATCH 1/3] New package: brother-hl5340d-lpr-2.0.3

---
 srcpkgs/brother-hl5340d-lpr/template | 40 ++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/brother-hl5340d-lpr/template

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
new file mode 100644
index 00000000000..f8287b2238b
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -0,0 +1,40 @@
+# Template file for 'brother-hl5340d-lpr'
+pkgname=brother-hl5340d-lpr
+_br_version=2.0.3
+_br_revision=1
+version=${_br_version}
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+make_dirs="/var/spool/lpd 0775 root lp"
+depends="a2ps ghostscript"
+short_desc="LPR driver for the brother HL5340D printer"
+maintainer="Monkey 7<monkeyseven@fblog.ch>"
+license="brother-eula GPL-2"
+homepage="http://support.brother.com"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-${_br_revision}.i386.deb"
+checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+nopie=yes
+patch_args="-Np1"
+
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	depends+=" glibc-32bit"
+fi
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${_br_version}-${_br_revision}.i386.deb
+	tar xzpvf data.tar.gz -C ${wrksrc}
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}
+	cp -a ${wrksrc}/usr ${DESTDIR}/
+	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	  mkdir -p ${DESTDIR}/usr/lib32/
+ 	  mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib32/
+	fi
+	mv ${DESTDIR}/usr/local/Brother ${DESTDIR}/usr/lib/brother
+	rm -rf ${DESTDIR}/usr/local
+}
+

From f12f3bf9cbf1975651dc94fa9f759136920fb9d5 Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Thu, 11 Jul 2019 07:10:04 +0200
Subject: [PATCH 2/3] version, license and repository changed

---
 srcpkgs/brother-hl5340d-lpr/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
index f8287b2238b..9e0071d5a7e 100644
--- a/srcpkgs/brother-hl5340d-lpr/template
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -1,8 +1,6 @@
 # Template file for 'brother-hl5340d-lpr'
 pkgname=brother-hl5340d-lpr
-_br_version=2.0.3
-_br_revision=1
-version=${_br_version}
+version=2.0.3
 revision=1
 archs="i686 x86_64"
 create_wrksrc=yes
@@ -10,9 +8,10 @@ make_dirs="/var/spool/lpd 0775 root lp"
 depends="a2ps ghostscript"
 short_desc="LPR driver for the brother HL5340D printer"
 maintainer="Monkey 7<monkeyseven@fblog.ch>"
-license="brother-eula GPL-2"
+license="proprietary"
+repository=nonfree
 homepage="http://support.brother.com"
-distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-${_br_revision}.i386.deb"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-1.i386.deb"
 checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
 nopie=yes
 patch_args="-Np1"
@@ -23,7 +22,7 @@ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
 fi
 
 do_extract() {
-	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${_br_version}-${_br_revision}.i386.deb
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${version}-1.i386.deb
 	tar xzpvf data.tar.gz -C ${wrksrc}
 }
 

From 1bcfe0e486d58bd3f1376ab63495c7e795a6f572 Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Thu, 11 Jul 2019 07:11:27 +0200
Subject: [PATCH 3/3] version, license and repository changed

---
 srcpkgs/brother-hl5340d-lpr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
index 9e0071d5a7e..42c232e688a 100644
--- a/srcpkgs/brother-hl5340d-lpr/template
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -9,10 +9,10 @@ depends="a2ps ghostscript"
 short_desc="LPR driver for the brother HL5340D printer"
 maintainer="Monkey 7<monkeyseven@fblog.ch>"
 license="proprietary"
-repository=nonfree
 homepage="http://support.brother.com"
 distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-1.i386.deb"
 checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+repository=nonfree
 nopie=yes
 patch_args="-Np1"
 

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

* Re: [PR PATCH] [Updated] New package: brother-hl5340d-lpr-2.0.3
  2019-07-10  5:14 [PR PATCH] New package: brother-hl5340d-lpr-2.0.3 voidlinux-github
  2019-07-11  3:18 ` voidlinux-github
@ 2019-07-11  5:12 ` voidlinux-github
  2019-07-11  5:12 ` voidlinux-github
  2019-07-11  5:19 ` [PR PATCH] [Closed]: " voidlinux-github
  3 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-11  5:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 348 bytes --]

There is an updated pull request by Monkey-7-12 against master on the void-packages repository

https://github.com/Monkey-7-12/void-packages brother-hl5340d-lpr
https://github.com/void-linux/void-packages/pull/12954

New package: brother-hl5340d-lpr-2.0.3


A patch file from https://github.com/void-linux/void-packages/pull/12954.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-hl5340d-lpr-12954.patch --]
[-- Type: application/text/x-diff, Size: 4386 bytes --]

From 4a63415235c9d5b01e3c421c690951338eb9f84b Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Wed, 10 Jul 2019 07:02:55 +0200
Subject: [PATCH 1/3] New package: brother-hl5340d-lpr-2.0.3

---
 srcpkgs/brother-hl5340d-lpr/template | 40 ++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/brother-hl5340d-lpr/template

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
new file mode 100644
index 00000000000..f8287b2238b
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -0,0 +1,40 @@
+# Template file for 'brother-hl5340d-lpr'
+pkgname=brother-hl5340d-lpr
+_br_version=2.0.3
+_br_revision=1
+version=${_br_version}
+revision=1
+archs="i686 x86_64"
+create_wrksrc=yes
+make_dirs="/var/spool/lpd 0775 root lp"
+depends="a2ps ghostscript"
+short_desc="LPR driver for the brother HL5340D printer"
+maintainer="Monkey 7<monkeyseven@fblog.ch>"
+license="brother-eula GPL-2"
+homepage="http://support.brother.com"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-${_br_revision}.i386.deb"
+checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+nopie=yes
+patch_args="-Np1"
+
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	depends+=" glibc-32bit"
+fi
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${_br_version}-${_br_revision}.i386.deb
+	tar xzpvf data.tar.gz -C ${wrksrc}
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}
+	cp -a ${wrksrc}/usr ${DESTDIR}/
+	if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	  mkdir -p ${DESTDIR}/usr/lib32/
+ 	  mv ${DESTDIR}/usr/lib/* ${DESTDIR}/usr/lib32/
+	fi
+	mv ${DESTDIR}/usr/local/Brother ${DESTDIR}/usr/lib/brother
+	rm -rf ${DESTDIR}/usr/local
+}
+

From f12f3bf9cbf1975651dc94fa9f759136920fb9d5 Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Thu, 11 Jul 2019 07:10:04 +0200
Subject: [PATCH 2/3] version, license and repository changed

---
 srcpkgs/brother-hl5340d-lpr/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
index f8287b2238b..9e0071d5a7e 100644
--- a/srcpkgs/brother-hl5340d-lpr/template
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -1,8 +1,6 @@
 # Template file for 'brother-hl5340d-lpr'
 pkgname=brother-hl5340d-lpr
-_br_version=2.0.3
-_br_revision=1
-version=${_br_version}
+version=2.0.3
 revision=1
 archs="i686 x86_64"
 create_wrksrc=yes
@@ -10,9 +8,10 @@ make_dirs="/var/spool/lpd 0775 root lp"
 depends="a2ps ghostscript"
 short_desc="LPR driver for the brother HL5340D printer"
 maintainer="Monkey 7<monkeyseven@fblog.ch>"
-license="brother-eula GPL-2"
+license="proprietary"
+repository=nonfree
 homepage="http://support.brother.com"
-distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-${_br_revision}.i386.deb"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-1.i386.deb"
 checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
 nopie=yes
 patch_args="-Np1"
@@ -23,7 +22,7 @@ if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
 fi
 
 do_extract() {
-	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${_br_version}-${_br_revision}.i386.deb
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${version}-1.i386.deb
 	tar xzpvf data.tar.gz -C ${wrksrc}
 }
 

From 1bcfe0e486d58bd3f1376ab63495c7e795a6f572 Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Thu, 11 Jul 2019 07:11:27 +0200
Subject: [PATCH 3/3] version, license and repository changed

---
 srcpkgs/brother-hl5340d-lpr/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
index 9e0071d5a7e..42c232e688a 100644
--- a/srcpkgs/brother-hl5340d-lpr/template
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -9,10 +9,10 @@ depends="a2ps ghostscript"
 short_desc="LPR driver for the brother HL5340D printer"
 maintainer="Monkey 7<monkeyseven@fblog.ch>"
 license="proprietary"
-repository=nonfree
 homepage="http://support.brother.com"
 distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${version}-1.i386.deb"
 checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+repository=nonfree
 nopie=yes
 patch_args="-Np1"
 

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

* Re: [PR PATCH] [Closed]: New package: brother-hl5340d-lpr-2.0.3
  2019-07-10  5:14 [PR PATCH] New package: brother-hl5340d-lpr-2.0.3 voidlinux-github
                   ` (2 preceding siblings ...)
  2019-07-11  5:12 ` voidlinux-github
@ 2019-07-11  5:19 ` voidlinux-github
  3 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-11  5:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

There's a closed pull request on the void-packages repository

New package: brother-hl5340d-lpr-2.0.3
https://github.com/void-linux/void-packages/pull/12954
Description: 

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

* [PR PATCH] New package: brother-hl5340d-lpr-2.0.3
@ 2019-07-09 16:25 voidlinux-github
  0 siblings, 0 replies; 6+ messages in thread
From: voidlinux-github @ 2019-07-09 16:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 370 bytes --]

There is a new pull request by Monkey-7-12 against master on the void-packages repository

https://github.com/Monkey-7-12/void-packages brother-hl5340d-lpr
https://github.com/void-linux/void-packages/pull/12948

New package: brother-hl5340d-lpr-2.0.3
Brother HL-5340D lpr driver

A patch file from https://github.com/void-linux/void-packages/pull/12948.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-brother-hl5340d-lpr-12948.patch --]
[-- Type: application/text/x-diff, Size: 6484 bytes --]

From 76593ee019c356db5507c81ebf4790bfa46d8d57 Mon Sep 17 00:00:00 2001
From: Monkey 7 <monkeyseven@fblog.ch>
Date: Tue, 9 Jul 2019 18:09:07 +0200
Subject: [PATCH] New package: brother-hl5340d-lpr-2.0.3

---
 srcpkgs/brother-hl5340d-lpr/INSTALL           |  5 +++
 srcpkgs/brother-hl5340d-lpr/files/LICENSE     |  9 +++++
 .../patches/filterHL5340D.patch               | 11 ++++++
 .../patches/setupPrintcap.patch               | 11 ++++++
 srcpkgs/brother-hl5340d-lpr/template          | 36 +++++++++++++++++++
 5 files changed, 72 insertions(+)
 create mode 100644 srcpkgs/brother-hl5340d-lpr/INSTALL
 create mode 100644 srcpkgs/brother-hl5340d-lpr/files/LICENSE
 create mode 100644 srcpkgs/brother-hl5340d-lpr/patches/filterHL5340D.patch
 create mode 100644 srcpkgs/brother-hl5340d-lpr/patches/setupPrintcap.patch
 create mode 100644 srcpkgs/brother-hl5340d-lpr/template

diff --git a/srcpkgs/brother-hl5340d-lpr/INSTALL b/srcpkgs/brother-hl5340d-lpr/INSTALL
new file mode 100644
index 00000000000..d329b943643
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/INSTALL
@@ -0,0 +1,5 @@
+case "${ACTION}" in
+    post)
+        mkdir -p var/spool/lpd
+    ;;
+esac
diff --git a/srcpkgs/brother-hl5340d-lpr/files/LICENSE b/srcpkgs/brother-hl5340d-lpr/files/LICENSE
new file mode 100644
index 00000000000..a3d7fdf8754
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/files/LICENSE
@@ -0,0 +1,9 @@
+License Agreement
+
+This Agreement provides terms and conditions for license grant from Brother Industries, Ltd ("Brother"). Brother, who owns all copyrights to the software that is distributed with this Agreement ("Software") to recipients thereof ("User"), for use of the Software. User shall have the right to use the Software only in accordance with the terms and conditions of this Agreement. Any use by User of the Software shall be deemed as its agreement hereto.
+
+Brother retains any and all copyrights to the Software. In no case this Agreement shall be construed to assign or otherwise transfer from Brother to User any copyrights or other intellectual property rights to whole or any part of the Software.
+
+Brother grants User a non-exclusive license: to reproduce and/or distribute (via Internet or in any other manner) the Software. Further, Brother grants User a non-exclusive license to modify, alter, translate or otherwise prepare derivative works of the Software and to reproduce and distribute (via Internet or in any other manner) such modification, alteration, translation or other derivative works for any purpose.
+
+The license of the Software from Brother hereunder is granted "AS IS." BROTHER HEREBY DISCLAIMS ANY WARRANTIES WITH RESPECT TO THE SOFTWARE, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTY FOR THE QUALITY, MERCHANTABILITY, FITNESS FOR PARTICULAR PURPOSE OR NON-INFRINGEMENT. Brother shall have no liability in contract, tort (including negligence or breach of statutory duty) or otherwise for any interruption of use, loss of data, or for any indirect, incidental, punitive or consequential loss or damage, or for any loss of profit, revenue, data, goodwill or anticipated savings that arises under, out of, or in contemplation of this Agreement or otherwise arises due to any error, inaccuracy or defect in the Software even if Brother has been advised of the possibility of such loss or damage. Further, Brother shall have no liability to disclose and/or distribute the source code of the Software to User under any circumstances. In no case shall the above license by Brother to modify, alter, translate or otherwise prepare derivative works of the Software be construed as Brother's implied agreement or undertakings to disclose and/or distribute the source code of the Software. 
diff --git a/srcpkgs/brother-hl5340d-lpr/patches/filterHL5340D.patch b/srcpkgs/brother-hl5340d-lpr/patches/filterHL5340D.patch
new file mode 100644
index 00000000000..0b953f33f57
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/patches/filterHL5340D.patch
@@ -0,0 +1,11 @@
+--- orig/usr/local/Brother/lpd/filterHL5340D	2008-09-18 08:26:25.000000000 +0200
++++ new/usr/local/Brother/lpd/filterHL5340D	2019-07-08 15:04:31.252101733 +0200
+@@ -22,7 +22,7 @@
+ PRINTER_TMP=$(echo $PRINTER | sed -e 's/ //g' -e 's/-//g')
+ PCL=1
+ 
+-BR_PRT_PATH=/usr/local/Brother
++BR_PRT_PATH=/usr/lib/brother
+ RCFILE=`eval echo $BR_PRT_PATH/inf/brPRINTERrc | eval sed 's/PRINTER/"$PRINTER_TMP"/'`
+ PAPER_INF=$BR_PRT_PATH/inf/paperinf
+ PSCONV=$BR_PRT_PATH/lpd/psconvert2
diff --git a/srcpkgs/brother-hl5340d-lpr/patches/setupPrintcap.patch b/srcpkgs/brother-hl5340d-lpr/patches/setupPrintcap.patch
new file mode 100644
index 00000000000..61c27ab5124
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/patches/setupPrintcap.patch
@@ -0,0 +1,11 @@
+--- orig/usr/local/Brother/inf/setupPrintcap	2008-09-18 08:26:25.000000000 +0200
++++ new/usr/local/Brother/inf/setupPrintcap	2019-07-08 15:03:43.515834792 +0200
+@@ -46,7 +46,7 @@
+         :sd=/var/spool/lpd/$BRPRINTER_NAME:\\
+         :sh:\\
+         :lp=$DEVICE_IF:\\
+-        :if=/usr/local/Brother/lpd/filter$BRPRINTER_NAME:
++        :if=/usr/lib/brother/lpd/filter$BRPRINTER_NAME:
+ EOF
+ 	;;
+ 	-e)
diff --git a/srcpkgs/brother-hl5340d-lpr/template b/srcpkgs/brother-hl5340d-lpr/template
new file mode 100644
index 00000000000..8260f55a3f2
--- /dev/null
+++ b/srcpkgs/brother-hl5340d-lpr/template
@@ -0,0 +1,36 @@
+# Template file for 'brother-hl5340d-lpr'
+pkgname=brother-hl5340d-lpr
+br_version=2.0.3
+br_revision=1
+version=${br_version}
+revision=1
+maintainer="Monkey 7<monkeyseven@fblog.ch>"
+homepage="http://support.brother.com"
+license="brother-eula GPL-2"
+short_desc="LPR driver for the brother HL5340D printer"
+distfiles="http://www.brother.com/pub/bsc/linux/dlf/hl5340dlpr-${br_version}-${br_revision}.i386.deb"
+checksum="32f2d3e0297bbbcc4aab70f911fab3ba3cc6a0eb98c3569dfcb22beef6e32c19"
+archs="i686 x86_64"
+create_wrksrc=yes
+depends="a2ps ghostscript"
+nopie=yes
+patch_args="-Np1"
+
+if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
+	depends+=" glibc-32bit"
+fi
+
+do_extract() {
+	ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/hl5340dlpr-${br_version}-${br_revision}.i386.deb
+	tar xzpvf data.tar.gz -C ${wrksrc}
+}
+
+do_install() {
+	mkdir -p ${DESTDIR}
+	cp -a ${wrksrc}/usr ${DESTDIR}/
+	mv ${DESTDIR}/usr/lib ${DESTDIR}/usr/lib32
+	mkdir -p ${DESTDIR}/usr/lib
+	mv ${DESTDIR}/usr/local/Brother ${DESTDIR}/usr/lib/brother
+	rm -rf ${DESTDIR}/usr/local
+	vlicense ${FILESDIR}/LICENSE
+}

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

end of thread, other threads:[~2019-07-11  5:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-10  5:14 [PR PATCH] New package: brother-hl5340d-lpr-2.0.3 voidlinux-github
2019-07-11  3:18 ` voidlinux-github
2019-07-11  5:12 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-11  5:12 ` voidlinux-github
2019-07-11  5:19 ` [PR PATCH] [Closed]: " voidlinux-github
  -- strict thread matches above, loose matches on Subject: below --
2019-07-09 16:25 [PR PATCH] " voidlinux-github

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).