* Re: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
2020-10-03 23:47 ` Update brother-brscan3 package the-maldridge
@ 2021-02-15 4:54 ` ericonr
2021-02-15 12:38 ` [PR PATCH] [Updated] " anddam
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-02-15 4:54 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/22998#issuecomment-778936885
Comment:
@anddam ping? also please squash commits
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
2020-10-03 23:47 ` Update brother-brscan3 package the-maldridge
2021-02-15 4:54 ` ericonr
@ 2021-02-15 12:38 ` anddam
2021-02-15 13:05 ` anddam
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: anddam @ 2021-02-15 12:38 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
There is an updated pull request by anddam against master on the void-packages repository
https://github.com/anddam/void-packages feature-update-brother-brscan3
https://github.com/void-linux/void-packages/pull/22998
Update brother-brscan3 package
Bump version to latest available binary blob from manufacturer.
Drop building debug package, libs are stripped at the source.
Make description like brscan4 package, since this package targets for
multiple Brother devices.
Avoid repetitions when assembling distfiles URL.
A patch file from https://github.com/void-linux/void-packages/pull/22998.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feature-update-brother-brscan3-22998.patch --]
[-- Type: text/x-diff, Size: 4584 bytes --]
From 5d2e4e0834300837ad6790faafb9e4c6b9f62d94 Mon Sep 17 00:00:00 2001
From: Andrea D'Amore <a@d-amo.re>
Date: Wed, 17 Jun 2020 08:24:44 +0200
Subject: [PATCH] brother-brscan3: update to 0.2.13
Add license from website.
Detab template.
Drop building debug package, libs are stripped at the source.
Mimic description from package brother-brscan4 since this package
targets multiple Brother devices.
---
srcpkgs/brother-brscan3/template | 79 ++++++++++++++++++++------------
1 file changed, 50 insertions(+), 29 deletions(-)
diff --git a/srcpkgs/brother-brscan3/template b/srcpkgs/brother-brscan3/template
index 92e5759446b..c5c4140af7b 100644
--- a/srcpkgs/brother-brscan3/template
+++ b/srcpkgs/brother-brscan3/template
@@ -1,44 +1,65 @@
# Template file for 'brother-brscan3'
pkgname=brother-brscan3
-version=0.2.11
-revision=6
-maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
-homepage="http://support.brother.com/g/b/index.aspx"
-license="GPL-2"
-short_desc="Scanner driver for the brother DCP-197C printer/scanner"
+version=0.2.13
+revision=1
archs="i686 x86_64"
-makedepends="sane-devel"
-depends="sane"
create_wrksrc=yes
+hostmakedepends="tar"
+makedepends="sane-devel curl"
+depends="sane"
+short_desc="SANE scanner driver for brscan3-compatible Brother scanners"
+maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it.invalid>"
+license="custom:BrotherEULA"
+homepage="http://support.brother.com/g/b/index.aspx"
nopie=yes
+nodebug=yes
+_license_checksum=53162967e920109983b25060f478cca5d7a82967096d6c6e10a1b6a059f7ff17
+
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
- distfiles="http://download.brother.com/welcome/dlf006642/brscan3-${version}-5.amd64.deb"
- checksum="cce23bd9481f0fb3856e6c1fecdb65d7b21d1efb74e1741ef6185fa952319beb"
- debpkgid="5.amd64"
- mylibdir="lib64"
+ debpkgid="1.amd64"
+ distfiles="http://download.brother.com/welcome/dlf006642/brscan3-${version}-${debpkgid}.deb"
+ checksum="446adf531bf39032892e9504ce34b7bf889e0f8628c0732cebb3b83fafb327b8"
+ mylibdir="lib64"
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
- distfiles="http://download.brother.com/welcome/dlf006641/brscan3-${version}-4.i386.deb"
- checksum="3d2c8aace27a694c0984c6a1913fb2ebbd6cfd7a46bcdce3d54ae3693009d835"
- debpkgid="4.i386"
- mylibdir="lib"
+ debpkgid="1.i386"
+ distfiles="http://download.brother.com/welcome/dlf006641/brscan3-${version}-${debpkgid}.deb"
+ checksum="ad06665cac32035893f614d9305dabf73145af454f1aeb6b8b7c7fa2700fe2e6"
+ mylibdir="lib"
fi
do_extract() {
- ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/brscan3-${version}-${debpkgid}.deb
- cd ${wrksrc}
- bsdtar xzpvf data.tar.gz
+ ar x ${XBPS_SRCDISTDIR}/${pkgname}-${version}/brscan3-${version}-${debpkgid}.deb
+ cd ${wrksrc}
+ bsdtar xzpvf data.tar.gz
}
do_install() {
- # dlls and symlink (correctly put in /usr/lib)
- cd ${wrksrc}
- vinstall ./usr/${mylibdir}/sane/libsane-brother3.so.1.0.7 755 usr/lib/sane
- ln -sf /usr/lib/sane/libsane-brother3.so.1.0.7 ${DESTDIR}/usr/lib/sane/libsane-brother3.so.1
- ln -sf /usr/lib/sane/libsane-brother3.so.1.0.7 ${DESTDIR}/usr/lib/sane/libsane-brother3.so
- vinstall ./usr/${mylibdir}/libbrscandec3.so.1.0.0 755 usr/lib
- ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so.1
- ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so
- vmkdir /opt/Brother
- vcopy "./usr/local/Brother/*" /opt/Brother/
+ # dlls and symlink (correctly put in /usr/lib)
+ cd ${wrksrc}
+ vinstall ./usr/${mylibdir}/sane/libsane-brother3.so.1.0.7 755 usr/lib/sane
+ ln -sf /usr/lib/sane/libsane-brother3.so.1.0.7 ${DESTDIR}/usr/lib/sane/libsane-brother3.so.1
+ ln -sf /usr/lib/sane/libsane-brother3.so.1.0.7 ${DESTDIR}/usr/lib/sane/libsane-brother3.so
+ vinstall ./usr/${mylibdir}/libbrscandec3.so.1.0.0 755 usr/lib
+ ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so.1
+ ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so
+ vmkdir /opt/Brother
+ vcopy "./usr/local/Brother/*" /opt/Brother/
+ vlicense LICENSE
+}
+
+post_extract() {
+ curl -sk https://support.brother.com/g/s/agreement/English_lpr/agree.html | \
+ sed -n \
+ -e 's, \+</\?p>,,' \
+ -e 's/\"/"/g' \
+ -e $'s,\t, ,g' \
+ -e 's,^M,,' \
+ -e '14,18p' -e '28,45p' \
+ > LICENSE
+
+ filesum="$(xbps-digest LICENSE)"
+ if [ "$filesum" != "$_license_checksum" ]; then
+ msg_error "SHA256 mismatch for LICENSE:\n$filesum\n"
+ fi
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Updated] Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
` (2 preceding siblings ...)
2021-02-15 12:38 ` [PR PATCH] [Updated] " anddam
@ 2021-02-15 13:05 ` anddam
2021-02-15 13:39 ` anddam
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: anddam @ 2021-02-15 13:05 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
There is an updated pull request by anddam against master on the void-packages repository
https://github.com/anddam/void-packages feature-update-brother-brscan3
https://github.com/void-linux/void-packages/pull/22998
Update brother-brscan3 package
Bump version to latest available binary blob from manufacturer.
Drop building debug package, libs are stripped at the source.
Make description like brscan4 package, since this package targets for
multiple Brother devices.
Avoid repetitions when assembling distfiles URL.
A patch file from https://github.com/void-linux/void-packages/pull/22998.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-feature-update-brother-brscan3-22998.patch --]
[-- Type: text/x-diff, Size: 3046 bytes --]
From 7854027cc195835c66968dd0a464bf05ca2409ab Mon Sep 17 00:00:00 2001
From: Andrea D'Amore <a@d-amo.re>
Date: Wed, 17 Jun 2020 08:24:44 +0200
Subject: [PATCH] brother-brscan3: update to 0.2.13
Add license from website.
Drop building debug package, libs are stripped at the source.
Mimic description from package brother-brscan4 since this package
targets multiple Brother devices.
---
srcpkgs/brother-brscan3/template | 49 +++++++++++++++++++++++---------
1 file changed, 35 insertions(+), 14 deletions(-)
diff --git a/srcpkgs/brother-brscan3/template b/srcpkgs/brother-brscan3/template
index 92e5759446b..e51bddc1dbe 100644
--- a/srcpkgs/brother-brscan3/template
+++ b/srcpkgs/brother-brscan3/template
@@ -1,26 +1,29 @@
# Template file for 'brother-brscan3'
pkgname=brother-brscan3
-version=0.2.11
-revision=6
-maintainer="Carlo Dormeletti <carloDOTdormelettiATaliceDOTit>"
-homepage="http://support.brother.com/g/b/index.aspx"
-license="GPL-2"
-short_desc="Scanner driver for the brother DCP-197C printer/scanner"
+version=0.2.13
+revision=1
archs="i686 x86_64"
-makedepends="sane-devel"
-depends="sane"
create_wrksrc=yes
+hostmakedepends="tar"
+makedepends="sane-devel curl"
+depends="sane"
+short_desc="SANE scanner driver for brscan3-compatible Brother scanners"
+maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it.invalid>"
+license="custom:BrotherEULA"
+homepage="http://support.brother.com/g/b/index.aspx"
nopie=yes
+nodebug=yes
+_license_checksum=4ab8b9269a74377ee85458cc4dfbacfbf6d26665426572fe16f7102af214bd3c
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
- distfiles="http://download.brother.com/welcome/dlf006642/brscan3-${version}-5.amd64.deb"
- checksum="cce23bd9481f0fb3856e6c1fecdb65d7b21d1efb74e1741ef6185fa952319beb"
- debpkgid="5.amd64"
+ debpkgid="1.amd64"
+ distfiles="http://download.brother.com/welcome/dlf006642/brscan3-${version}-${debpkgid}.deb"
+ checksum="446adf531bf39032892e9504ce34b7bf889e0f8628c0732cebb3b83fafb327b8"
mylibdir="lib64"
elif [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
- distfiles="http://download.brother.com/welcome/dlf006641/brscan3-${version}-4.i386.deb"
- checksum="3d2c8aace27a694c0984c6a1913fb2ebbd6cfd7a46bcdce3d54ae3693009d835"
- debpkgid="4.i386"
+ debpkgid="1.i386"
+ distfiles="http://download.brother.com/welcome/dlf006641/brscan3-${version}-${debpkgid}.deb"
+ checksum="ad06665cac32035893f614d9305dabf73145af454f1aeb6b8b7c7fa2700fe2e6"
mylibdir="lib"
fi
@@ -41,4 +44,22 @@ do_install() {
ln -sf /usr/lib/libbrscandec3.so.1.0.0 ${DESTDIR}/usr/lib/libbrscandec3.so
vmkdir /opt/Brother
vcopy "./usr/local/Brother/*" /opt/Brother/
+ vlicense LICENSE
+}
+
+post_extract() {
+ curl -sk https://support.brother.com/g/s/agreement/English_lpr/agree.html | \
+ sed -n \
+ -e 's,</\?p>,,' \
+ -e 's/\"/"/g' \
+ -e 's, \?^M,,' \
+ -e 's,^[ \t]\+,,' \
+ -e '14,18p' \
+ -e '28,45p' \
+ > LICENSE
+
+ filesum="$(xbps-digest LICENSE)"
+ if [ "$filesum" != "$_license_checksum" ]; then
+ msg_error "SHA256 mismatch for LICENSE:\n$filesum\n"
+ fi
}
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
` (3 preceding siblings ...)
2021-02-15 13:05 ` anddam
@ 2021-02-15 13:39 ` anddam
2021-02-15 18:04 ` Chocimier
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: anddam @ 2021-02-15 13:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
New comment by anddam on void-packages repository
https://github.com/void-linux/void-packages/pull/22998#issuecomment-779230875
Comment:
Done and done.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
` (4 preceding siblings ...)
2021-02-15 13:39 ` anddam
@ 2021-02-15 18:04 ` Chocimier
2021-02-16 15:31 ` onekk
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: Chocimier @ 2021-02-15 18:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 288 bytes --]
New comment by Chocimier on void-packages repository
https://github.com/void-linux/void-packages/pull/22998#issuecomment-779378750
Comment:
Hello @onekk! Do you still have interest in Void? It is perfectly fine if you don't, we will just mark packages as not anymore maintained by you.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
` (5 preceding siblings ...)
2021-02-15 18:04 ` Chocimier
@ 2021-02-16 15:31 ` onekk
2021-02-16 16:14 ` ericonr
2021-04-03 3:06 ` [PR PATCH] [Closed]: " ericonr
8 siblings, 0 replies; 9+ messages in thread
From: onekk @ 2021-02-16 15:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 437 bytes --]
New comment by onekk on void-packages repository
https://github.com/void-linux/void-packages/pull/22998#issuecomment-779913594
Comment:
Hello, sadly I don't use Void anymore, feel free to adopt the package and change all is needed.
Hope it wil be useful for someone.
Good Luck for Void, maybe when I have more time (and a more powerful machine to permit decent compilation speed) I will re join the project.
Regards
Carlo D.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
` (6 preceding siblings ...)
2021-02-16 15:31 ` onekk
@ 2021-02-16 16:14 ` ericonr
2021-04-03 3:06 ` [PR PATCH] [Closed]: " ericonr
8 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-02-16 16:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 237 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/22998#issuecomment-779942915
Comment:
@anddam could you please orphan the package or add yourself as maintainer? Whichever you prefer.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PR PATCH] [Closed]: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
` (7 preceding siblings ...)
2021-02-16 16:14 ` ericonr
@ 2021-04-03 3:06 ` ericonr
8 siblings, 0 replies; 9+ messages in thread
From: ericonr @ 2021-04-03 3:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]
There's a closed pull request on the void-packages repository
Update brother-brscan3 package
https://github.com/void-linux/void-packages/pull/22998
Description:
Bump version to latest available binary blob from manufacturer.
Drop building debug package, libs are stripped at the source.
Make description like brscan4 package, since this package targets for
multiple Brother devices.
Avoid repetitions when assembling distfiles URL.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Update brother-brscan3 package
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
@ 2020-10-03 23:47 ` the-maldridge
2021-02-15 4:54 ` ericonr
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: the-maldridge @ 2020-10-03 23:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
New comment by the-maldridge on void-packages repository
https://github.com/void-linux/void-packages/pull/22998#issuecomment-703178256
Comment:
While it would be nice to parse the text out, the HTML is acceptable.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-04-03 3:06 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-22998@inbox.vuxu.org>
2020-10-03 23:47 ` Update brother-brscan3 package the-maldridge
2021-02-15 4:54 ` ericonr
2021-02-15 12:38 ` [PR PATCH] [Updated] " anddam
2021-02-15 13:05 ` anddam
2021-02-15 13:39 ` anddam
2021-02-15 18:04 ` Chocimier
2021-02-16 15:31 ` onekk
2021-02-16 16:14 ` ericonr
2021-04-03 3:06 ` [PR PATCH] [Closed]: " ericonr
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).