X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C5A9FDC02A8 for ; Wed, 2 Jul 2014 23:45:52 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id r10so12760977pdi.37 for ; Wed, 02 Jul 2014 16:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=l2Znkczz/FagJ4c5FFsIZwT/uis8fkAAqGtL2y70qnM=; b=tW34kqO7d0wrkEL77R5YIv12w9BPwJu5hf7BgAZeHDNDTS2RG2e23RLPAClnG6l8V1 dYT7JtLs9ByfEzAJyM9N2mPD4V210cmbZZnyTYQDYd+pyRmXK9aSFlQv7n515yVOdSQT +Tkih5ajPAqdG4cf0CG4JOAn8O0RHpN1R4itWuJuoIGp2oKQ6HV4FopbhpP7msFHDsFl vv8tDjC4120uUfDJuGdaUs7N3ZjKzxWUwNBj9NrU5K5jCWY+wjStUqXS1i9/b3NR6ziY CrPLWf4AlTl8QyOBnQX8KB7O++ufg7/fhY6ddQL6lW39Vk+7WGvaIFNKrju6VvTJUdFW 0mhw== X-Received: by 10.66.231.139 with SMTP id tg11mr920157pac.87.1404344749825; Wed, 02 Jul 2014 16:45:49 -0700 (PDT) Received: from localhost.localdomain ([50.0.227.219]) by mx.google.com with ESMTPSA id vy8sm25156342pbc.84.2014.07.02.16.45.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Jul 2014 16:45:49 -0700 (PDT) From: Isaac Dunham To: alpine-devel@lists.alpinelinux.org Cc: Isaac Dunham Subject: [alpine-devel] [PATCH] main/brlaser: update from upstream git. Date: Fri, 4 Jul 2014 03:45:39 -0700 Message-Id: <1404470739-3118-1-git-send-email-ibid.ag@gmail.com> X-Mailer: git-send-email 2.0.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Upstream has updated the documentation and brlaser.drv to indicate support for the Brother DCP 7065DN --- main/brlaser/APKBUILD | 16 +++++++---- main/brlaser/brlaser-v2-to-9c4336.patch | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 6 deletions(-) create mode 100644 main/brlaser/brlaser-v2-to-9c4336.patch diff --git a/main/brlaser/APKBUILD b/main/brlaser/APKBUILD index 064695a..55faba4 100644 --- a/main/brlaser/APKBUILD +++ b/main/brlaser/APKBUILD @@ -2,8 +2,8 @@ # Maintainer: Isaac Dunham pkgname=brlaser pkgver=2 -pkgrel=0 -pkgdesc="Driver for Brother DCP 7030 and DCP 7065 printers" +pkgrel=1 +pkgdesc="Driver for Brother printers like the DCP 7030 and DCP 7065" url="http://github.com/pdewacht/brlaser" arch="all" license="GPL2+" @@ -12,7 +12,8 @@ depends_dev="" makedepends="$depends_dev cups-dev automake autoconf" install="" subpackages="$pkgname-doc" -source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz" +source="brlaser-$pkgver.tar.gz::https://github.com/pdewacht/brlaser/archive/v$pkgver.tar.gz + brlaser-v2-to-9c4336.patch" _builddir="$srcdir"/brlaser-$pkgver prepare() { @@ -45,6 +46,9 @@ package() { rm -f "$pkgdir"/usr/lib/*.la } -md5sums="34bc664707dcd51e96a3b79917bcb50d brlaser-2.tar.gz" -sha256sums="20852bb99004474c25885b7d7ba124b079e7ea6beb277a85500641ca34fe24c6 brlaser-2.tar.gz" -sha512sums="eda631fd4cf80e3dd0f7097b62fd8e73f8adcafdfad937b49b5515d4ede37bcb861fa8a69397cacc3634baf18551a06bf2feb85042e34432ee26e695b7b8339b brlaser-2.tar.gz" +md5sums="34bc664707dcd51e96a3b79917bcb50d brlaser-2.tar.gz +4f547141394e3f5a5dc4e1b0b5aa2d49 brlaser-v2-to-9c4336.patch" +sha256sums="20852bb99004474c25885b7d7ba124b079e7ea6beb277a85500641ca34fe24c6 brlaser-2.tar.gz +62b24b19090aa1846b0958ed94f8841aee1c6eb884286cefc96100acc69ee003 brlaser-v2-to-9c4336.patch" +sha512sums="eda631fd4cf80e3dd0f7097b62fd8e73f8adcafdfad937b49b5515d4ede37bcb861fa8a69397cacc3634baf18551a06bf2feb85042e34432ee26e695b7b8339b brlaser-2.tar.gz +b6952e15ccf47fe65df75a9796ba67f5e65c5b9980f91da8324a9cc82b7a87790609bf6ecaf83bc8b574d771933d3a0aa79fb29a1141171f3342e686885ce962 brlaser-v2-to-9c4336.patch" diff --git a/main/brlaser/brlaser-v2-to-9c4336.patch b/main/brlaser/brlaser-v2-to-9c4336.patch new file mode 100644 index 0000000..e648a9b --- /dev/null +++ b/main/brlaser/brlaser-v2-to-9c4336.patch @@ -0,0 +1,51 @@ +diff --git a/README.md b/README.md +index 585a42e..da4cb95 100644 +--- a/README.md ++++ b/README.md +@@ -1,23 +1,15 @@ +-"brlaser" Brother DCP-7030 printer driver ++Driver for (some) Brother laster printers + ========================================= + +-This is a driver for the Brother DCP-7030 laser printer. It might also +-be worth trying if you have some other old Brother monochrome laser +-printer. ++Most Brother printers support a standard printer language such as PCL ++or PostScript, but not all do. If you have a monochrome Brother laser ++printer (or multi-function device) and the other open source drivers ++don't work, this one might help. + +-Currently this printer is not supported by other free software +-drivers. Ghostscript's hl1250 driver almost works, but has glitches +-with some fonts. (That driver tries to use PCL emulation, but that +-seems to be buggy on this printer. The proprietary driver never uses +-that mode.) ++It is known to support these printers: + +-Brother provides a non-free x86-only driver. +- +-Requirements +------------- +- +-* CUPS: tested with version 1.6. +-* A C++11 compiler: GCC 4.6 or later, or a recent version of Clang. ++* Brother DCP-7030 ++* Brother DCP-7065DN + + Copyright + --------- +diff --git a/brlaser.drv.in b/brlaser.drv.in +index 90846a3..364c319 100644 +--- a/brlaser.drv.in ++++ b/brlaser.drv.in +@@ -81,3 +81,10 @@ Option "brlaserEconomode/Toner save mode" Boolean AnySetup 10 + Attribute "1284DeviceID" "" "MFG:Brother;CMD:PJL,HBP;MDL:DCP-7030;CLS:PRINTER;" + PCFileName "br7030.ppd" + } ++ ++{ ++ ModelName "DCP-7065DN" ++ Attribute "NickName" "" "Brother DCP-7065DN, using @PACKAGE@ v@VERSION@" ++ Attribute "1284DeviceID" "" "MFG:Brother;CMD:PJL,HBP;MDL:DCP-7065DN;CLS:PRINTER;CID:Brother Laser Type1;" ++ PCFileName "br7065dn.ppd" ++} -- 2.0.1 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---