[FFe] brlaser 4

Bug #1752579 reported by Till Kamppeter
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
brlaser (Ubuntu)
Fix Released
High
Unassigned

Bug Description

NOTE: This bug was turned into a Feature Freeze Exception Request to get brlaser 4 into Bionic, see comment #8 and following.

----------

There is a new upstream version of brlaser releases:

https://github.com/pdewacht/brlaser/releases/tag/v4

As it is not in the list of packages which I can upload to Main. I need sponsoring.

debdiff attached.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Till, could you provide a dsc/debian.tar.xz/orig? your debdiff fails to apply to the current oneiric version
 with one hunk in brlaser.drv.in and one in the README, also it's not clear what orig to use

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Base is the version currently used by Bionic, version 3-6 which got synced in from Debian. You get it by running the command

pull-lp-source brlaser

The upstream source tarball is the .tar.gz downloaded from

https://github.com/pdewacht/brlaser/releases/tag/v4

It is

https://github.com/pdewacht/brlaser/archive/v4.tar.gz

I have recompressed it to .xz running these commands on Bionic:

gunzip v4.tar.gz
xz v4.tar

The resulting tarball, correctly renamed to brlaser_4.orig.tar.xz is attached.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

For applying the debdiff it works for me as folows:

pull-lp-source brlaser
cd brlaser-3
quilt pop -a
patch -p1 < ../../brlaser_3-6_4-0ubuntu1.debdiff

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

The recompression of the original tarball is not actually needed. Also

wget https://github.com/pdewacht/brlaser/archive/v4.tar.gz
mv v4.tar.gz brlaser_4.orig.tar.gz
pull-lp-source brlaser
cd brlaser-3
quilt pop -a
patch -p1 < ../../brlaser_3-6_4-0ubuntu1.debdiff

allows to build the package.

Jeremy Bícha (jbicha)
tags: added: bionic upgrade-software-version
Revision history for this message
Didier Raboud (odyx) wrote :

I've just uploaded brlaser 4-1 to Debian unstable fwiw. See https://salsa.debian.org/printing-team/brlaser

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Till, if you want this in Ubuntu 18.04 LTS, please convert this bug into a Feature Freeze Exception bug. Please mention what testing you've done of this package.

https://wiki.ubuntu.com/FreezeExceptionProcess

Changed in brlaser (Ubuntu):
status: New → Incomplete
summary: - Needs sponsoring: Upload brlaser 4
+ [FFe] brlaser 4
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

As Feature Freeze of Bionic has passed I want to get this update done as a Feature Freeze Exception, as described on https://wiki.ubuntu.com/FreezeExceptionProcess.

Rationale for the update:

Support for additional Brother printers, duplex support for the Brother DCP-7065DN.

Old upstream version is version 3, new version is version 4.

The package I want to have in 18.04 LTS is the current Debian package, brlaser 4-1, to be obtained via

pull-debian-source brlaser

The package should get synced into Ubuntu.

Here is the needed information:

- diff of the Upstream ChangeLog:

----------
brlaser v4 (2018-02-25)
    Added several printers.
    Merged duplex printing support from @xc-racer99. Enabled for DCP-7065DN.
    Switched to a CMake build system.
----------

- Install log:

----------
till@till-x1yoga:~/ubuntu/brlaser/debian$ sudo dpkg -i ~/pbuilder/bionic_result/*.deb
[sudo] password for till:
(Reading database ... 263558 files and directories currently installed.)
Preparing to unpack .../printer-driver-brlaser_4-1_amd64.deb ...
Unpacking printer-driver-brlaser (4-1) over (3-6) ...
Setting up printer-driver-brlaser (4-1) ...
Processing triggers for cups (2.2.7-1ubuntu1) ...
Updating PPD files for brlaser ...
till@till-x1yoga:~/ubuntu/brlaser/debian$
----------

- Testing:

I do not have any Brother printer and therefore I could not do actual printing, but at least I could check correct behavior of the driver with CUPS:

----------
till@till-x1yoga:~/ubuntu/brlaser/debian$ lpinfo -m | grep brlaser
drv:///brlaser.drv/br1510.ppd Brother DCP-1510 series, using brlaser v4
drv:///brlaser.drv/br7030.ppd Brother DCP-7030, using brlaser v4
drv:///brlaser.drv/br7040.ppd Brother DCP-7040, using brlaser v4
drv:///brlaser.drv/br7055.ppd Brother DCP-7055, using brlaser v4
drv:///brlaser.drv/br7055w.ppd Brother DCP-7055W, using brlaser v4
drv:///brlaser.drv/br7065dn.ppd Brother DCP-7065DN, using brlaser v4
drv:///brlaser.drv/brl2300d.ppd Brother HL-L2300D, using brlaser v4
drv:///brlaser.drv/br7360n.ppd Brother MFC-7360N, using brlaser v4
till@till-x1yoga:~/ubuntu/brlaser/debian$ lpadmin -p brlasertest -E -v socket://10.0.0.4:9100 -m drv:///brlaser.drv/br7065dn.ppd -o PageSize=A4
till@till-x1yoga:~/ubuntu/brlaser/debian$ sudo cupstestppd /etc/cups/ppd/brlasertest.ppd
/etc/cups/ppd/brlasertest.ppd: PASS
till@till-x1yoga:~/ubuntu/brlaser/debian$ lp -d brlasertest ~/ghostscript/testfiles/CityMap.pdf
request id is brlasertest-72 (1 file(s))
till@till-x1yoga:~/ubuntu/brlaser/debian$ lpstat -o
brlasertest-72 till 326656 Mi 04 Apr 2018 14:57:22 CEST
till@till-x1yoga:~/ubuntu/brlaser/debian$ lpstat -o
till@till-x1yoga:~/ubuntu/brlaser/debian$
----------

The printout did not show the correct image as I have only an HP printer and not a Brother, but the driver did not cause any errors or crashes. All behaves as expected. Also the job is removed from the queue after printing, meaning that there were no errors.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Build log from

pbuilder-dist bionic amd64 brlaser_4-1.dsc

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

There is no package depending on this package, so it cannot break such packages or require the rebuild of any other package.

description: updated
Revision history for this message
Iain Lane (laney) wrote :

OK Till, go ahead.

Changed in brlaser (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Laney, can you sponsor the sync for me? brlaser is missing in my upload list.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

This bug was fixed in the package brlaser - 4-1
Sponsored for Till Kamppeter (till-kamppeter)

---------------
brlaser (4-1) unstable; urgency=medium

  * New upstream release
    - Build system changed to CMake

  * Packaging cleanup:
    - Bump debhelper compat to 11
    - Update packaging to cmake build system
    - Install README.md as doc
    - Cleanup the superfluous Testsuite control field
    - Refresh d/copyright
    - Enable hardening

 -- Didier Raboud <email address hidden> Fri, 02 Mar 2018 08:08:59 +0100

Changed in brlaser (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Laney, thanks.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

And thanks, Jeremy, for syncing.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

Synced but it will need manual approval from the Ubuntu Release Team because we are in Final Beta freeze. I expect it to be approved after the Beta is released.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.