From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: brother-hl5340d-lpr-2.0.3
Date: Thu, 11 Jul 2019 07:12:23 +0200 [thread overview]
Message-ID: <20190711051223.YMQglW3dXd3JLjGCJCf8pJI7g2I5SOH0OqzW5kG77yI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-12954@inbox.vuxu.org>
[-- 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"
next prev parent reply other threads:[~2019-07-11 5:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 5:14 [PR PATCH] " voidlinux-github
2019-07-11 3:18 ` voidlinux-github
2019-07-11 5:12 ` voidlinux-github [this message]
2019-07-11 5:12 ` [PR PATCH] [Updated] " 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
2019-07-09 18:58 ` [PR PATCH] [Updated] " voidlinux-github
2019-07-09 18:58 ` voidlinux-github
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=20190711051223.YMQglW3dXd3JLjGCJCf8pJI7g2I5SOH0OqzW5kG77yI@z \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).