Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 874466 Details for
Bug 833603
media-gfx/brscan5: new package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
git patch for the build
0001-ebuild-for-brscan5-1.2.13_p0.patch (text/plain), 2.95 KB, created by
Tobias Leupold
on 2023-11-10 13:56:00 UTC
(
hide
)
Description:
git patch for the build
Filename:
MIME Type:
Creator:
Tobias Leupold
Created:
2023-11-10 13:56:00 UTC
Size:
2.95 KB
patch
obsolete
>From 7161f84adc730845bc477191d63721dd72d12143 Mon Sep 17 00:00:00 2001 >From: Tobias Leupold <tl@stonemx.de> >Date: Fri, 10 Nov 2023 14:51:39 +0100 >Subject: [PATCH] ebuild for brscan5 1.2.13_p0 > >Signed-off-by: Tobias Leupold <tl@stonemx.de> >--- > brscan5-1.2.13_p0.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++ > files/brother5.conf | 1 + > 2 files changed, 81 insertions(+) > create mode 100644 brscan5-1.2.13_p0.ebuild > create mode 100644 files/brother5.conf > >diff --git a/brscan5-1.2.13_p0.ebuild b/brscan5-1.2.13_p0.ebuild >new file mode 100644 >index 0000000..eede1ca >--- /dev/null >+++ b/brscan5-1.2.13_p0.ebuild >@@ -0,0 +1,80 @@ >+# Copyright 1999-2023 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+ >+EAPI=8 >+ >+inherit rpm udev >+ >+MY_PV="${PV/_p/-}" >+ >+DESCRIPTION="SANE driver for Brother DS-series scanners (brscan5)" >+HOMEPAGE="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html" >+SRC_URI="https://download.brother.com/welcome/dlf105160/${PN/-bin}-${MY_PV}.x86_64.rpm" >+ >+RESTRICT="strip mirror" >+QA_PREBUILT=".*" >+ >+LICENSE="Brother-EULA" >+SLOT="0" >+KEYWORDS="~amd64" >+IUSE="" >+ >+RDEPEND=" >+ media-gfx/sane-backends >+ net-dns/avahi[dbus] >+ " >+DEPEND="${RDEPEND}" >+ >+S="${WORKDIR}" >+ >+src_unpack() { >+ rpm_unpack ${A} >+} >+ >+src_install() { >+ local v >+ local l >+ >+ for l in libLxBsNetDevAccs.so.1.0.0 libLxBsScanCoreApi.so.3.2.0 libLxBsUsbDevAccs.so.1.0.0 libLxBsDeviceAccs.so.1.0.0 libsane-brother5.so.1.0.7 >+ do >+ v=$(echo "$l" | sed 's/^.*\.so\.//') >+ p=$(basename "$l" ".$v") >+ >+ ln -s "$l" "opt/brother/scanner/brscan5/$p."$(ver_cut 1 $v) || die >+ ln -s "$l" "opt/brother/scanner/brscan5/$p" || die >+ done >+ >+ # ??? >+ dosym "libLxBsScanCoreApi.so.3.2.0" "usr/lib64/libScanCoreApi.so" >+ >+ dolib.so opt/brother/scanner/brscan5/libLxBs*.so* >+ >+ insinto /usr/lib64/sane >+ insopts -m0755 >+ doins opt/brother/scanner/brscan5/libsane-brother5.so* >+ >+ insinto /etc/sane.d/dll.d >+ insopts -m0644 >+ doins "${FILESDIR}/brother5.conf" >+ >+ # path is hard-coded in libsane-brother5 library >+ insinto /etc/opt/brother/scanner/brscan5 >+ insopts -m0644 >+ doins "opt/brother/scanner/brscan5/brscan5.ini" >+ doins "opt/brother/scanner/brscan5/brsanenetdevice.cfg" >+ >+ # path is hard-coded in libsane-brother5 library >+ insinto /opt/brother/scanner/brscan5/models >+ doins "opt/brother/scanner/brscan5/models"/* >+ >+ exeinto /usr/bin >+ doexe "opt/brother/scanner/brscan5/setupSaneScan5" >+ doexe "opt/brother/scanner/brscan5/brscan_gnetconfig" >+ doexe "opt/brother/scanner/brscan5/brscan_cnetconfig" >+ doexe "opt/brother/scanner/brscan5/brsaneconfig5" >+ >+ # fix SYSFS in udev rules >+ sed -i -e 's/SYSFS/ATTR/g' "opt/brother/scanner/brscan5/udev-rules/NN-brother-mfp-brscan5-1.0.2-2.rules" >+ udev_dorules "opt/brother/scanner/brscan5/udev-rules/NN-brother-mfp-brscan5-1.0.2-2.rules" >+} >+ >diff --git a/files/brother5.conf b/files/brother5.conf >new file mode 100644 >index 0000000..c7b0dfa >--- /dev/null >+++ b/files/brother5.conf >@@ -0,0 +1 @@ >+brother5 >-- >2.41.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 833603
:
765376
|
765377
|
869129
| 874466