Package Details: brother-dcp7055w-cups-bin 3.0.1-1

Git Clone URL: https://aur.archlinux.org/brother-dcp7055w-cups-bin.git (read-only, click to copy)
Package Base: brother-dcp7055w-cups-bin
Description: CUPS wrapper for Brother DCP-7055W printer
Upstream URL: http://support.brother.com/g/b/producttop.aspx?c=gb&lang=en&prod=dcp7055w_us_eu_as
Licenses: EULA
Groups: base-devel
Submitter: gitterrost4
Maintainer: gitterrost4
Last Packager: gitterrost4
Votes: 0
Popularity: 0.000000
First Submitted: 2020-04-27 09:44 (UTC)
Last Updated: 2020-04-27 09:44 (UTC)

Latest Comments

dreieck commented on 2024-12-25 11:04 (UTC) (edited on 2024-12-25 11:06 (UTC) by dreieck)

Enhancements to PKGBUILD, but in CUPS I get a filter failed error, no idea how to fix this:

# Maintainer:  Paul Kramer <gitterrost4@gmail.com>
# Contributor: dreieck
# Contributor: Paul Kramer <gitterrost4@gmail.com>

pkgname=brother-dcp7055w-cups-bin
pkgver=3.0.1
pkgrel=2
pkgdesc="CUPS wrapper for Brother DCP-7055W printer"
arch=("i686" "x86_64")
url="http://support.brother.com/g/b/producttop.aspx?c=gb&lang=en&prod=dcp7055w_us_eu_as"
license=(
  "GPL-2.0-only"
)
groups=("base-devel")
source=(
  "https://download.brother.com/welcome/dlf005533/dcp7055wcupswrapper-3.0.1-1.i386.deb"
  "EULA.txt"
)
sha256sums=(
  "ca096dc07c519e5335f132f74ffcd1deef8863e6600d16a2cb044d65629137dd"
  "5f174716106228541eb1e88c474fb778ddba56f6e9315e2abe68641fccb9e005"
)
depends=(
  "sh"
  "lib32-glibc"
)
makedepends=(
  "libcups"
)
provides=("brother-dcp7055w-cups=${pkgver}")
conflicts=("brother-dcp7055w-cups=${pkgver}")

prepare() {
  cd "${srcdir}"

  mkdir -p unzip
  cd unzip
  bsdtar xvf "${srcdir}/data.tar.gz"
}

package() {
  cd "${srcdir}/unzip/opt/brother/Printers/DCP7055W/cupswrapper/"

  install -Dvm755 -t "${pkgdir}/opt/brother/Printers/DCP7055W/cupswrapper"  "brcupsconfig4"
  install -Dvm755 -t "${pkgdir}/$(cups-config --serverbin)/filter"/         "brother_lpdwrapper_DCP7055W"
  install -Dvm644 -t "${pkgdir}/$(cups-config --datadir)/model"/Brother/    *.ppd

  install -Dvm644 -t "${pkgdir}/usr/share/licenses/${pkgdir}"               "${srcdir}/EULA.txt"
}

dreieck commented on 2024-12-25 10:40 (UTC)

Since you only install into /opt/, CUPS does not find the printer driver when adding a new printer via the web interface.

Can you please install to the locations where CUPS expect the files?

Regards!

dreieck commented on 2024-12-25 10:37 (UTC)

Ahoj!, thanks for the package.

Dependency lib32-glibc needs to be added:

brother-dcp7055w-cups-bin E: Dependency lib32-glibc detected and not included (libraries ['usr/lib32/libc.so.6'] needed in files ['opt/brother/Printers/DCP7055W/cupswrapper/brcupsconfig4'])

Can you also add

  • provides=("brother-dcp7055w-cups=${pkgver}"),
  • conflicts=('brother-dcp7055w-cups')

please?

Also, the license identifier needs to be made SPDX compliant, and you must install a license into /usr/share/licenses/${pkgname}/:

brother-dcp7055w-cups-bin E: EULA is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Maybe some of those comments also apply to your other package, brother-dcp7055w-lpr-bin.

Regards and thanks for the package!

vanadain commented on 2021-01-29 10:13 (UTC)

How to use this? I installed cups, enabled cups.socket, installed drivers and installed system-config-printer. Printer doesn't show up in system-config-printer.