Bug#913120: cups-filters: please favor graphicsmagick-imagemagick-compat over imagemagick

2018-11-06 Thread Jonas Smedegaard
Source: cups-filters
Version: 1.21.3-2
Severity: important
Tags: security

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Graphicsmagick is a drop-in replacement for imagemagick which - apart
from being faster and lighter - also claims that it "suffers from fewer
security issues and exploits" - which seems to correspond with the
amount of issues reported at
https://security-tracker.debian.org/tracker/source-package/imagemagick
and
https://security-tracker.debian.org/tracker/source-package/graphicsmagick

Please list graphicsmagick-imagemagick-compat as favored over
imagemagick to have the former installed by default on new systems.

 - Jonas

-BEGIN PGP SIGNATURE-

iQIzBAEBCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAlvil9YACgkQLHwxRsGg
ASFjWBAAohF5VcTgx3Jl8GJpwKXAqXKnbTF3QEHB5f6hTS0uyDGSZ1/jboej/NxN
LZA+8NQrDuu1p3bWcBq8EQ/nybktol6CtimkfqD+kDObuOfsGGCD61drQwlfBj7W
WYM9CCnM9CE+6SDLc+M2PvRubQuFH1DkpGV1wDCmnHfRgGPbVtkPM9/epfkMNMbW
yCnV7rKyZD1TnRW354PfSrpl5RTijS93iU98/zAKuBlPbgQchUgZaePmcpJOhwto
3a1sIsyaPzMyymktlv4eZ1aBv1CNDv7UiDPCO/3Qozp83TcwY3UNs5D8hAk11Zjf
zLwY+ZBCWuGEtrDGbIsxeac5OhIZZZn02B7Vh41KPXq3WOKIx+DIui1YJTHV0eek
B7LA31wZ/2tMzBqOtJrfMUJOkjmthxpVZWIcqVdCA9fIYNiTi6IaiNJmOrYxSOYp
SAp0V+t8MtRLc733XG3O+mg98CzSIqog6zJI5uxTpftD9dfGe4mMDVILc6krsGin
agN4Nq5fCUSGWv28pvgIDy6MnBusb2Amho4nQQ9ny0kYjgaDK7dEPixMbAmBpdyI
iTq4jrw5TpDlC5mMI2wy+tIGvyo/DF45C3DOlLTGyTWDghZqEk9E36QYo2AxfUXc
seRByTLQlju9G5HHI5EVm1mBDvNZ9li/kBBaekubcKkkAgnEWlw=
=cM4p
-END PGP SIGNATURE-



Bug#912768: hplip-data: hp-toolbox fsck

2018-11-06 Thread Till Kamppeter

Concerning the scanning, I have done the following observation:

I have the HP OfficeJet Pro 8730.

I have removed all print queues using the "hp" CUPS backend (I print 
with a driverless queue). With an HPLIP-based print queue my scanner is 
always found.


1. Printer on the network

scanimage -L

does not find the scanner in my MF device, but

scanimage -d hpaio:/net/HP_OfficeJet_Pro_8730?ip=w.x.y.z > x.pnm

scans correctly.

hp-probe finds the URI:

hp:/net/HP_OfficeJet_Pro_8730?ip=w.x.y.z

2. Printer on USB

scanimage -L

finds the scanner with the following URI:

hpaio:/usb/HP_OfficeJet_Pro_8730?serial=xx

and it scans also when specifying this URI.

hp-probe finds the URI:

hp:/usb/HP_OfficeJet_Pro_8730?serial=CN783F60W1


Now I did some debugging and found out that "scanimage -l" discovers the 
scanner with the URI (device on network, note the "hp_" missing in the 
model name, upper/lower case is ignored by HPLIP):


hpaio:/net/officejet_pro_8730?ip=w.x.y.z

This does not match the model name in 
/usr/share/hplip/data/models/models.dat which is "[hp_officejet_pro_8730]".


So I did the following change:

--
--- io/hpmud/model.c~   2018-08-21 17:42:16.0 +0200
+++ io/hpmud/model.c2018-11-06 17:14:04.302446688 +0100
@@ -420,7 +420,10 @@
  strncpy(section, rcbuf+1, sizeof(section)); /* found new 
section */

  n = strlen(section);
  section[n-2]=0; /* remove ']' and CR */
- if (strcasecmp(model, section) == 0)
+ if (strcasecmp(model, section) == 0 ||
+(section[0] == 'h' && section[1] == 'p' &&
+ section[2] == '_' &&
+ strcasecmp(model, section + 3) == 0))
  {
 /* Found model match. */
 *bytes_read = ResolveAttributes(fp, attr, attrSize);
--

This matches the model names both with and without "hp_" in the beginning.

Note that I did not yet upload an Ubuntu package of HPLIP with this 
patch as the archive is not yet opened for the disco (19.04) development 
cycle.


After applying this change "scanimage -L" discovers also my scanner when 
connected to the network and I can scan from any SANE-based application 
without needing a print queue using the "hp" CUPS backend of HPLIP.


Cristian, this could solve your scanner problem if the other fixes did 
not solve it yet, please try and report back.


In general this patch helps for using driverless printing on HP devices 
as long as they are connected by the network. If you do driverless 
printing via USB, with ippusbxd (IPP over USB) scanning does not work 
while ippusbxd is connected to the printer (it is really time that 
manufacturers start with driverless IPP scanning).


So for USB connection you will still need to print with HPLIP if you 
want to be able to scan.


   Till



Bug#912768: hplip-data: hp-toolbox fsck

2018-11-06 Thread Cristian Ionescu-Idbohrn
On Mon, 5 Nov 2018, Brian Potkin wrote:
> 
> It would be useful to have what happens with
> 
>  scanimage -d "hpaio:/net/HP_ColorLaserJet_MFP_M278-M281?ip=192.168.x.y" > 
> out.pnm
> 
> for 3.18.10+dfsg0-1.
> 
> Does the scanner work? Do you get out.pnm?

Will do.  I'll try to find the time within the next few days.


-- 
Cristian



hplip_3.18.10+dfsg0-2_source.changes ACCEPTED into unstable

2018-11-06 Thread Debian FTP Masters



Accepted:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Tue, 06 Nov 2018 17:27:03 +0100
Source: hplip
Binary: hplip hplip-data printer-driver-postscript-hp hplip-gui hplip-doc 
hpijs-ppds printer-driver-hpijs printer-driver-hpcups libhpmud0 libhpmud-dev 
libsane-hpaio
Architecture: source
Version: 3.18.10+dfsg0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Printing Team 
Changed-By: Didier Raboud 
Description:
 hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD files
 hplip  - HP Linux Printing and Imaging System (HPLIP)
 hplip-data - HP Linux Printing and Imaging - data files
 hplip-doc  - HP Linux Printing and Imaging - documentation
 hplip-gui  - HP Linux Printing and Imaging - GUI utilities (Qt-based)
 libhpmud-dev - HP Multi-Point Transport Driver (hpmud) development libraries
 libhpmud0  - HP Multi-Point Transport Driver (hpmud) run-time libraries
 libsane-hpaio - HP SANE backend for multi-function peripherals
 printer-driver-hpcups - HP Linux Printing and Imaging - CUPS Raster driver 
(hpcups)
 printer-driver-hpijs - HP Linux Printing and Imaging - printer driver (hpijs)
 printer-driver-postscript-hp - HP Printers PostScript Descriptions
Closes: 912765 912768
Changes:
 hplip (3.18.10+dfsg0-2) unstable; urgency=low
 .
   * Import Ubuntu-triaged patches:
 [ Till Kamppeter ]
 - Call QMessageBox constructors of PyQT5 with the correct parameters
   (Closes: #912768, LP: #1745383)
 - Fixed incomplete removal of hp-toolbox features, which caused the
   hp-toolbox not to start (Closes: #912768, LP: #1789184)
 [ Francois Gouget ]
 - hp-check: Fix core.distro vs. core.distro_name mixups
   (LP: #1688684)
   * Patch to fix hp-doctor:
 - Make base.g.xint more generous in what it can take
   (Closes: #912765)
Checksums-Sha1:
 e2e553fef41d49801c6ad4517e8f804b44a10077 2993 hplip_3.18.10+dfsg0-2.dsc
 4709063c02c657693f38f95b46d76048b6b9dea9 110172 
hplip_3.18.10+dfsg0-2.debian.tar.xz
Checksums-Sha256:
 148cb4821dae1cce94c0304499c22744331869f8129737f492c0428e4c457c66 2993 
hplip_3.18.10+dfsg0-2.dsc
 c11fca15e65b8d4675cb0e6ccdad6416a5f5ce7bdb80e02ae320e08d685bd099 110172 
hplip_3.18.10+dfsg0-2.debian.tar.xz
Files:
 814025e76ee17501a7e08f69b83a4d2f 2993 utils optional hplip_3.18.10+dfsg0-2.dsc
 541ea384a6d4d776c7f295776b280f2c 110172 utils optional 
hplip_3.18.10+dfsg0-2.debian.tar.xz

-BEGIN PGP SIGNATURE-

iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlvhy7UACgkQi8+nHsoW
NFUYeQv9Hr4ibtX9Ob3B3Sypu21W2s4ChL1ep2d2gSyie7bOFOjqcz6BsjoKb6yI
Mc3FTaAkm3HEKnKbFxBfcKrkvB/emQxx+bZQtfNuhXeFZpdGyoY07pVBB4bBd3Lv
LaZbYlgEbKtKlw5v1nbgiiRegwdGk1SQdt3is8agGMGqzwTQzRbbyIQSeeq2G5Qz
mCRwO5WZhSG56x0vRxPJ19lTNXtwf/CZKtTpj104LxEyXY2q4dQU2vKpIM3KY7dZ
SZYa7bij8M9Ht6lLQOqVEgxvMMWdD4S1jKEk9+yiPcwnN7jVrFlSIBKzYVuLXw84
XXmSBsuBW5hB3/CSTVcKAbjIz8emkf4DgQLVF0VyhkiaQi6ps0fU2P7g4yinWhIV
FRwdk6B01u+UlB3xvhdnzyeesKAu8JUiqGNaiv4UISpHKcSIG8upqFaI38ibDHc+
vhXADmjz6JOII6w26uN/jDjGe5q2BTH1Wp7p4OCJVm6P2MmldxeFFI/7G8+9T+wt
71dK00h9
=mLaz
-END PGP SIGNATURE-


Thank you for your contribution to Debian.



Processing of hplip_3.18.10+dfsg0-2_source.changes

2018-11-06 Thread Debian FTP Masters
hplip_3.18.10+dfsg0-2_source.changes uploaded successfully to localhost
along with the files:
  hplip_3.18.10+dfsg0-2.dsc
  hplip_3.18.10+dfsg0-2.debian.tar.xz

Greetings,

Your Debian queue daemon (running on host usper.debian.org)



Bug#912768: marked as done (hplip-data: hp-toolbox fsck)

2018-11-06 Thread Debian Bug Tracking System
Your message dated Tue, 06 Nov 2018 17:34:01 +
with message-id 
and subject line Bug#912768: fixed in hplip 3.18.10+dfsg0-2
has caused the Debian Bug report #912768,
regarding hplip-data: hp-toolbox fsck
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
912768: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912768
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hplip-data
Version: 3.18.10+dfsg0-1
Severity: grave
Justification: renders package unusable

$ hp-toolbox

HP Linux Imaging and Printing System (ver. 3.18.10)
HP Device Manager ver. 15.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-cii'   
   \Traceback (most recent call last):
  File "/usr/bin/hp-toolbox", line 280, in 
toolbox = ui.DevMgr5(__version__, device_uri,  None)
  File "/usr/share/hplip/ui5/devmgr5.py", line 253, in __init__
self.initUI()
  File "/usr/share/hplip/ui5/devmgr5.py", line 324, in initUI
self.DiagnoseQueueAction.setIcon(QIcon(load_pixmap('warning', '16x16')))
AttributeError: 'DevMgr5' object has no attribute 'DiagnoseQueueAction'

Patch here:

https://bugs.launchpad.net/ubuntu/+source/hplip/+bug/1789184/comments/7

seems to help.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=en_US:en 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages hplip-data depends on:
ii  python3   3.6.7-1
ii  xz-utils  5.2.2-1.3

hplip-data recommends no packages.

Versions of packages hplip-data suggests:
ii  hplip  3.18.10+dfsg0-1

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/share/hplip/ui5/devmgr5.py (from hplip-data package)


Cheers,

-- 
Cristian
--- End Message ---
--- Begin Message ---
Source: hplip
Source-Version: 3.18.10+dfsg0-2

We believe that the bug you reported is fixed in the latest version of
hplip, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 912...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud  (supplier of updated hplip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Tue, 06 Nov 2018 17:27:03 +0100
Source: hplip
Binary: hplip hplip-data printer-driver-postscript-hp hplip-gui hplip-doc 
hpijs-ppds printer-driver-hpijs printer-driver-hpcups libhpmud0 libhpmud-dev 
libsane-hpaio
Architecture: source
Version: 3.18.10+dfsg0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Printing Team 
Changed-By: Didier Raboud 
Description:
 hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD files
 hplip  - HP Linux Printing and Imaging System (HPLIP)
 hplip-data - HP Linux Printing and Imaging - data files
 hplip-doc  - HP Linux Printing and Imaging - documentation
 hplip-gui  - HP Linux Printing and Imaging - GUI utilities (Qt-based)
 libhpmud-dev - HP Multi-Point Transport Driver (hpmud) development libraries
 libhpmud0  - HP Multi-Point Transport Driver (hpmud) run-time libraries
 libsane-hpaio - HP SANE backend for multi-function peripherals
 printer-driver-hpcups - HP Linux Printing and Imaging - CUPS Raster driver 
(hpcups)
 printer-driver-hpijs - HP Linux Printing and Imaging - printer driver (hpijs)
 printer-driver-postscript-hp - HP Printers PostScript Descriptions
Closes: 912765 912768
Changes:
 hplip (3.18.10+dfsg0-2) unstable; urgency=low
 .
   * Import Ubuntu-triaged patches:
 [ Till Kamppeter ]
 - Call QMessageBox constructors of PyQT5 with the correct parameters
   (Closes: #912768, LP: #1745383)
 - Fixed incomplete removal of hp-toolbox features, which caused the
   hp-toolbox not to start (Closes: #912768, LP: #1789184)
 [ Franco

Bug#912765: marked as done (hplip: hp-doctor broken)

2018-11-06 Thread Debian Bug Tracking System
Your message dated Tue, 06 Nov 2018 17:34:01 +
with message-id 
and subject line Bug#912765: fixed in hplip 3.18.10+dfsg0-2
has caused the Debian Bug report #912765,
regarding hplip: hp-doctor broken
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
912765: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912765
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: hplip
Version: 3.18.10+dfsg0-1
Severity: grave
Justification: renders package unusable

$ hp-doctor
Traceback (most recent call last):
  File "/usr/bin/hp-doctor", line 42, in 
check_extension_module_env('cupsext')
  File "/usr/share/hplip/base/g.py", line 339, in check_extension_module_env
python_ver = xint((sys.version).split(' ')[0])  #find the 
current python version ; xint() to convert string to int, returns a list
  File "/usr/share/hplip/base/g.py", line 331, in xint
return l
UnboundLocalError: local variable 'l' referenced before assignment


-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968), LANGUAGE=en_US:en 
(charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages hplip depends on:
ii  adduser3.118
ii  cups   2.2.8-5
ii  hplip-data 3.18.10+dfsg0-1
ii  libc6  2.27-6
ii  libcups2   2.2.8-5
ii  libdbus-1-31.12.10-1
ii  libhpmud0  3.18.10+dfsg0-1
ii  libsane-hpaio  3.18.10+dfsg0-1
ii  libsane1   1.0.27-3
ii  libsnmp30  5.7.3+dfsg-4+b1
ii  libusb-1.0-0   2:1.0.22-2
ii  lsb-base   9.20170808
ii  printer-driver-hpcups  3.18.10+dfsg0-1
ii  python33.6.7-1
ii  python3-dbus   1.2.8-2+b1
ii  python3-gi 3.30.1-2
ii  python3-pexpect4.6.0-1
ii  python3-pil5.3.0-1
ii  python3-reportlab  3.5.9-1
ii  wget   1.19.5-2
ii  xz-utils   5.2.2-1.3

Versions of packages hplip recommends:
pn  avahi-daemon  
ii  policykit-1   0.105-21
pn  printer-driver-postscript-hp  
ii  sane-utils1.0.27-3

Versions of packages hplip suggests:
pn  hplip-doc  
ii  hplip-gui  3.17.10+repack0-7
ii  python3-notify20.3-3
ii  system-config-printer  1.5.11-3

-- no debconf information


Cheers,

-- 
Cristian
--- End Message ---
--- Begin Message ---
Source: hplip
Source-Version: 3.18.10+dfsg0-2

We believe that the bug you reported is fixed in the latest version of
hplip, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 912...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud  (supplier of updated hplip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Tue, 06 Nov 2018 17:27:03 +0100
Source: hplip
Binary: hplip hplip-data printer-driver-postscript-hp hplip-gui hplip-doc 
hpijs-ppds printer-driver-hpijs printer-driver-hpcups libhpmud0 libhpmud-dev 
libsane-hpaio
Architecture: source
Version: 3.18.10+dfsg0-2
Distribution: unstable
Urgency: low
Maintainer: Debian Printing Team 
Changed-By: Didier Raboud 
Description:
 hpijs-ppds - HP Linux Printing and Imaging - HPIJS PPD files
 hplip  - HP Linux Printing and Imaging System (HPLIP)
 hplip-data - HP Linux Printing and Imaging - data files
 hplip-doc  - HP Linux Printing and Imaging - documentation
 hplip-gui  - HP Linux Printing and Imaging - GUI utilities (Qt-based)
 libhpmud-dev - HP Multi-Point Transport Driver (hpmud) development libraries
 libhpmud0  - HP Multi-Point Transport Driver (hpmud) run-time libraries
 libsane-hpaio - HP SANE backend for multi-function peripherals
 printer-driver-hpcups - HP Linux Printing and Imaging - CUPS Raster driver 
(hpcups)
 printer-driver-hpijs - HP Linux Printing and Imaging - printer driver (hpijs)
 printer-driver-postscript-hp - HP Printer