Package Details: brother-mfc-9142cdn 1.1.3-3

Git Clone URL: https://aur.archlinux.org/brother-mfc-9142cdn.git (read-only)
Package Base: brother-mfc-9142cdn
Description: LPR and CUPS driver for the Brother MFC-9142CDN
Upstream URL: http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html
Keywords: brother printer
Licenses: custom:brother commercial license
Submitter: blueyed
Maintainer: blueyed
Last Packager: blueyed
Votes: 2
Popularity: 0.000029
First Submitted: 2016-04-24 14:32
Last Updated: 2018-02-19 11:51

Latest Comments

lynxis commented on 2018-10-15 17:42

There is now a GPL license'd tar.gz on the brother website

./PPD
./PPD/brother_mfc9142cdn_printer_en.ppd
./cupswrapper
./cupswrapper/cupswrappermfc9142cdn
./Copying
./brcupsconfig
./brcupsconfig/Makefile
./brcupsconfig/brcups_commands.h
./brcupsconfig/brcupsconfig.c

blueyed commented on 2018-02-19 11:53

Reverted back to using deb2targz for now. Needs more investigation. It seems like it would need to act on the (different) output from bsdtar when dropping deb2targz.

tristanteu commented on 2018-02-17 21:18

Can't build 1.1.3-2

Can't open /tmp/yaourt-tmp-firsttris/aur-brother-mfc-9142cdn/src/mfc9142cdn/opt/brother/Printers/mfc9142cdn/inf/setupPrintcapij: File or Directory not found

https://pastebin.com/Dxcz4f5J

jutaro commented on 2018-02-17 11:10

I'm getting the following error when I try to install the latest build on Manjaro: Can't open /tmp/pamac-build-jutaro/brother-mfc-9142cdn/src/mfc9142cdn/opt/brother/Printers/mfc9142cdn/inf/setupPrintcapij. What can this error mean? Thanks.

blueyed commented on 2018-02-14 21:16

Pushed an update.

Is the conditional depends ok? I guess there is a better way for it, so that it also gets reflected in .SRCINFO correctly (and not based on where it was generated)?!

if [ "$CARCH" == 'x86_64' ]; then
    depends=('lib32-libcups')
fi

blueyed commented on 2018-02-14 20:57

Thanks for the comment. I've based it on https://aur.archlinux.org/packages/brother-mfc-9140cdn/

Do you mean this patch should do it?

diff --git i/PKGBUILD w/PKGBUILD
index [`12d7eb8`](https://aur.archlinux.org/cgit/aur.git/commit/?h=brother-mfc-9142cdn&id=12d7eb8)..a71f525 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -9,9 +9,9 @@ arch=('i686' 'x86_64')
 license=(custom:"brother commercial license")
 install="brother-mfc-${model}.install"
 if [ "$CARCH" == 'i686' ]; then
-   depends=('deb2targz' 'perl')
+   depends=('perl')
 elif [ "$CARCH" == 'x86_64' ]; then
-   depends=('deb2targz' 'perl' 'lib32-libcups')
+   depends=('perl' 'lib32-libcups')
 fi
 source=("<http://download.brother.com/welcome/dlf101616/mfc>${model}lpr-${pkgver}-${_revision}
         "<http://download.brother.com/welcome/dlf101617/mfc>${model}cupswrapper-${pkgver}-${_r
@@ -19,8 +19,6 @@ sha256sums=('1ca1143c074c33ecfe0cdc26eb5c5e6cd9b0bbe94c116fc9c03d54de7a3029
             '5f173587460ebc0bd48b6b32a58bf89c1133e2becebbe0fe58ae10f519137f7d')

 package() {
-    deb2targz *.deb >/dev/null || return 1
-    rm -f *.deb || return 1
     cd $srcdir || return 1
     [ -d "mfc${model}" ] || (mkdir mfc${model} || return 1)
     for i in *.tar.gz;do tar xfz $i -C mfc${model};done || return 1

Scimmia commented on 2018-02-14 16:42

What's the point of deb2targz? makepkg already extracts the .deb file for you, you just have to tar file that was inside it and is already there.