Debian Bug report logs - #808057
Please demote dependency on liblouisutdm1-bin

version graph

Package: cups-filters; Maintainer for cups-filters is Debian Printing Team <debian-printing@lists.debian.org>; Source for cups-filters is src:cups-filters (PTS, buildd, popcon).

Reported by: Michael Biebl <biebl@debian.org>

Date: Tue, 15 Dec 2015 16:36:02 UTC

Severity: normal

Found in versions cups-filters/1.4.0-1, cups-filters/1.7.0-1

Fixed in version cups-filters/1.8.0-1

Done: Didier Raboud <odyx@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Tue, 15 Dec 2015 16:36:05 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
New Bug report received and forwarded. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Tue, 15 Dec 2015 16:36:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Please demote dependency on liblouisutdm1-bin
Date: Tue, 15 Dec 2015 17:33:07 +0100
Package: cups-filters
Version: 1.4.0-1
Severity: normal

Hi,

the latest update of cups-filters wants to pull liblouisutdm1-bin which
in turn installs ~10Mb of additional dependencies.
Since I don't use any Braille drivers, it would be great if those
dependencies could be demoted to suggests or recommends or pulled in via
other means (e.g. via a task).

Thanks for considering.
Michael

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

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cups-filters depends on:
ii  bc                         1.06.95-9+b1
ii  cups-filters-core-drivers  1.3.0-1
ii  ghostscript                9.16~dfsg-2
ii  libc6                      2.21-4
ii  libcups2                   2.1.2-1
ii  libcupsfilters1            1.3.0-1
ii  libcupsimage2              2.1.2-1
ii  libfontconfig1             2.11.0-6.3
ii  libfontembed1              1.3.0-1
ii  libgcc1                    1:5.3.1-3
ii  libijs-0.35                0.35-11
ii  libpoppler57               0.38.0-2
ii  libqpdf17                  6.0.0-2
ii  libstdc++6                 5.3.1-3

Versions of packages cups-filters recommends:
ii  colord  1.2.12-1

Versions of packages cups-filters suggests:
ii  foomatic-db  20150825-1

-- Configuration Files:
/etc/modules-load.d/cups-filters.conf changed [not included]

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Tue, 15 Dec 2015 16:45:03 GMT) (full text, mbox, link).


Acknowledgement sent to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Tue, 15 Dec 2015 16:45:04 GMT) (full text, mbox, link).


Message #10 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Till Kamppeter <till.kamppeter@gmail.com>
To: Michael Biebl <biebl@debian.org>, 808057@bugs.debian.org, Debian Printing Team <Debian-printing@lists.debian.org>
Subject: Re: Bug#808057: Please demote dependency on liblouisutdm1-bin
Date: Tue, 15 Dec 2015 14:42:48 -0200
Hi,

I have added the Braille support and today discussed it with the Ubuntu 
folks, and there we came to the conclusion to move Braille into a 
separate binary package named cups-filters-braille. I was about to do 
this now.

Especially in Ubuntu the new dependencies would need a move of packages 
from the Canonical-usupported part "Universe" to the supported part 
"Main" which requires security reviews of these packages.

So we decided to have the separate cups-filters-braille binary package 
which in Ubuntu will reside in "Universe". It can be promoted to "Main" 
there but then not by me but by the accessibility guys.

   Till


On 12/15/2015 02:33 PM, Michael Biebl wrote:
> Package: cups-filters
> Version: 1.4.0-1
> Severity: normal
>
> Hi,
>
> the latest update of cups-filters wants to pull liblouisutdm1-bin which
> in turn installs ~10Mb of additional dependencies.
> Since I don't use any Braille drivers, it would be great if those
> dependencies could be demoted to suggests or recommends or pulled in via
> other means (e.g. via a task).




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Tue, 15 Dec 2015 16:57:12 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Biebl <biebl@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Tue, 15 Dec 2015 16:57:12 GMT) (full text, mbox, link).


Message #15 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Michael Biebl <biebl@debian.org>
To: Till Kamppeter <till.kamppeter@gmail.com>, 808057@bugs.debian.org, Debian Printing Team <Debian-printing@lists.debian.org>
Subject: Re: Bug#808057: Please demote dependency on liblouisutdm1-bin
Date: Tue, 15 Dec 2015 17:53:01 +0100
[Message part 1 (text/plain, inline)]
Am 15.12.2015 um 17:42 schrieb Till Kamppeter:

> So we decided to have the separate cups-filters-braille binary package
> which in Ubuntu will reside in "Universe". It can be promoted to "Main"
> there but then not by me but by the accessibility guys.

Sounds good to me.

Thanks for the quick reply, Till.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Tue, 15 Dec 2015 17:09:13 GMT) (full text, mbox, link).


Acknowledgement sent to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Tue, 15 Dec 2015 17:09:13 GMT) (full text, mbox, link).


Message #20 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Till Kamppeter <till.kamppeter@gmail.com>
To: Michael Biebl <biebl@debian.org>, 808057@bugs.debian.org, Debian Printing Team <Debian-printing@lists.debian.org>
Subject: Re: Bug#808057: Please demote dependency on liblouisutdm1-bin
Date: Tue, 15 Dec 2015 15:07:36 -0200
Splitting done in Debian GIT repository of cups-filters, ready for 
release of 1.4.1-2.

   Till




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Tue, 15 Dec 2015 17:15:14 GMT) (full text, mbox, link).


Acknowledgement sent to Till Kamppeter <till.kamppeter@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Tue, 15 Dec 2015 17:15:14 GMT) (full text, mbox, link).


Message #25 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Till Kamppeter <till.kamppeter@gmail.com>
To: Michael Biebl <biebl@debian.org>, 808057@bugs.debian.org, Debian Printing Team <Debian-printing@lists.debian.org>
Subject: Re: Bug#808057: Please demote dependency on liblouisutdm1-bin
Date: Tue, 15 Dec 2015 15:11:33 -0200
On 12/15/2015 03:07 PM, Till Kamppeter wrote:
> Splitting done in Debian GIT repository of cups-filters, ready for
> release of 1.4.1-2.

Sorry, 1.4.0-2.

   Till





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Tue, 15 Dec 2015 19:36:12 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Tue, 15 Dec 2015 19:36:12 GMT) (full text, mbox, link).


Message #30 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Samuel Thibault <sthibault@debian.org>
To: Till Kamppeter <till.kamppeter@gmail.com>, Debian-printing@lists.debian.org, Adam Chester <adam.chester@pentest.co.uk>, Yann Soubeyrand <yann-externe.soubeyrand@edf.fr>, Debian Security Team <team@security.debian.org>, debian-accessibility@lists.debian.org, 808057@bugs.debian.org
Subject: cups braille dependencies [Was: Please release the cups-filters 1.4.0-2 Debian package]
Date: Tue, 15 Dec 2015 19:56:54 +0100
Giving some background for people who haven't had the whole story.

I've recently played with embossers, and written drivers for CUPS, so
that they can be used in a very standard way just like any printer.  It
happens that they already got integrated to cups-filters, and already
got uploaded to Debian.  The drivers are split in two parts:

- device-dependent drivers, which are basically simple shell scripts or
C files, which don't depend on anything beyond bash and libc

- device-independent filters, which are able to convert documents to
braille.  This part can make more or less use of liblouis, imagemagick,
antiword, etc. to be able to turn documents into nice braille printing.

So the device-dependent drivers should really not pose disk size
problem, but the second part may: there is no real end here as to what
could be implemented/integrated, etc. so we somehow have to define
what is "reasonable" to install always / by default / as suggestion /
optionally, etc.

The scripts that were added to cups-filters are able to make use of
imagemagick to turn images into braille, liblouisutdml to reformat text
into braille, poppler-utils to extract text from PDF files and render it
as text, and liblouisutdml + antiword/docx2txt to reformat .doc/.docx
documents into braille.  These all add disk usage (about 10MiB, mostly
composed of the braille tables for various languages), and apparently
this is already perhaps considered too much: bug #808057 was immediately
filed:

Michael Biebl wrote:
> Since I don't use any Braille drivers, it would be great if those
> dependencies could be demoted to suggests or recommends

Personnally, I see a lot of stuff on my disk which I won't ever use
because I'll never have the hardware, which takes much more than 10MiB,
but well.

> or pulled in via other means (e.g. via a task).

Well, the task would then be task-print-server, which I guess you have
installed?

I agree that we don't want to see this size increase too much.  For
instance, I don't plan to pull the natbraille dependency by default,
even if it'd allow some nice tex to braille translation and similar,
because natbraille would pull a whole pile of java libraries.  But can't
we agree on a reasonable set of package, to at least have basic support
for printing braille by default?  Having to look for specific drivers
for such basic things is always a pain.

Samuel



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Sun, 20 Dec 2015 20:33:15 GMT) (full text, mbox, link).


Acknowledgement sent to Samuel Thibault <sthibault@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Sun, 20 Dec 2015 20:33:15 GMT) (full text, mbox, link).


Message #35 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Samuel Thibault <sthibault@debian.org>
To: Till Kamppeter <till.kamppeter@gmail.com>, Debian-printing@lists.debian.org, Adam Chester <adam.chester@pentest.co.uk>, Yann Soubeyrand <yann-externe.soubeyrand@edf.fr>, debian-accessibility@lists.debian.org, 808057@bugs.debian.org
Subject: Re: cups braille dependencies [Was: Please release the cups-filters 1.4.0-2 Debian package]
Date: Sun, 20 Dec 2015 21:28:39 +0100
Hello,

Not much reaction on this issue for now :)

Samuel Thibault, on Tue 15 Dec 2015 19:56:54 +0100, wrote:
> - device-dependent drivers, which are basically simple shell scripts or
> C files, which don't depend on anything beyond bash and libc
> 
> - device-independent filters, which are able to convert documents to
> braille.  This part can make more or less use of liblouis, imagemagick,
> antiword, etc. to be able to turn documents into nice braille printing.

I'm thinking: the device-independent filters don't strictly depend on
all of that: they at least do support raw text conversion so at least
printing text will work.  When printing non-pure-text, we could make
the filters emit advices to users through the error messages, e.g.
"liblouisutdml-bin package missing for braille translation".

That way, users will have embosser drivers ready for testing, and will
immediately get advices about how to get further in a very logical way.

It then becomes a tasksel matter about what translation tools should be
preinstalled on a default Debian desktop system to provide at least
basic document printing support.

Samuel



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Thu, 21 Jan 2016 17:15:08 GMT) (full text, mbox, link).


Acknowledgement sent to Yuri D'Elia <wavexx@thregr.org>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Thu, 21 Jan 2016 17:15:08 GMT) (full text, mbox, link).


Message #40 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Yuri D'Elia <wavexx@thregr.org>
To: Debian Bug Tracking System <808057@bugs.debian.org>
Subject: Re: Please demote dependency on liblouisutdm1-bin
Date: Thu, 21 Jan 2016 18:09:55 +0100
Package: cups-filters
Version: 1.7.0-1
Followup-For: Bug #808057

Hi, I've seen this discussed for 1.4.*, but cups-filters is now at 1.7 and
liblouis-data/liblouisutdml-bin are still hard dependencies.



Reply sent to Didier Raboud <odyx@debian.org>:
You have taken responsibility. (Fri, 22 Jan 2016 09:54:10 GMT) (full text, mbox, link).


Notification sent to Michael Biebl <biebl@debian.org>:
Bug acknowledged by developer. (Fri, 22 Jan 2016 09:54:10 GMT) (full text, mbox, link).


Message #45 received at 808057-close@bugs.debian.org (full text, mbox, reply):

From: Didier Raboud <odyx@debian.org>
To: 808057-close@bugs.debian.org
Subject: Bug#808057: fixed in cups-filters 1.8.0-1
Date: Fri, 22 Jan 2016 09:51:05 +0000
Source: cups-filters
Source-Version: 1.8.0-1

We believe that the bug you reported is fixed in the latest version of
cups-filters, 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 808057@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups-filters 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 21 Jan 2016 19:26:43 +0100
Source: cups-filters
Binary: libcupsfilters1 libfontembed1 cups-filters cups-filters-core-drivers libcupsfilters-dev libfontembed-dev cups-browsed
Architecture: source
Version: 1.8.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
 cups-browsed - OpenPrinting CUPS Filters - cups-browsed
 cups-filters - OpenPrinting CUPS Filters - Main Package
 cups-filters-core-drivers - OpenPrinting CUPS Filters - PPD-less printing
 libcupsfilters-dev - OpenPrinting CUPS Filters - Development files for the library
 libcupsfilters1 - OpenPrinting CUPS Filters - Shared library
 libfontembed-dev - OpenPrinting CUPS Filters - Development files for font embed libr
 libfontembed1 - OpenPrinting CUPS Filters - Font Embed Shared library
Closes: 808057
Changes:
 cups-filters (1.8.0-1) unstable; urgency=medium
 .
   * New upstream release
     - COPYING: Replaced the COPYING file by a file in Debian format,
       derived from Debian's file but updated and corrected
     - braille: Added info about additional packages needed for Braille
       printing to the README file
     - braille: Let the Braille filters use lou_translate of
       liblouis if the more sophisticated file2brl of liblouisutdml
       is not installed. This is decided on at run time, so later
       installation of liblouisutdml will let the filters
       automatically switch to file2brl
     - braille: Allow one to build with Braille support also if
       liblouis is not installed at build time
     - braille: Added checks for the presence of helper tools, to
       get clear messages in the CUPS error_log if something is
       missing
     - Updated COPYING file for missing implicitclass and beh
       backends
 .
   [ Till Kamppeter ]
   * Let cups-drivers not depend on liblouisutdml-bin any more, instead, let it
     depend on liblouis-bin and move liblouisutdml-bin to Suggests
     (Closes: #808057)
   * Updated and cleaned debian/copyright using the new COPYING file from
     upstream
Checksums-Sha1:
 3e151b1841263c6fe172a8e11682676f0fa1f15e 2712 cups-filters_1.8.0-1.dsc
 9854dcf80e6c6f8fd951ddd87eadc6ca8d7292fd 1371300 cups-filters_1.8.0.orig.tar.xz
 ed0cd857fcdc1cf4e6ea60e35375e8c49f747890 69552 cups-filters_1.8.0-1.debian.tar.xz
Checksums-Sha256:
 5f1224041ee936bef124e1ea26d7888c87b369b9fac4055de99a69918cc11bc8 2712 cups-filters_1.8.0-1.dsc
 ebe43fd8586f6948eefc0d6a8ac83a61ab4b6dee97b7de20fc37b82eb077e890 1371300 cups-filters_1.8.0.orig.tar.xz
 36023f6dea7d86feebb346e330083b44be5da0215414b1cab135e9c952d07466 69552 cups-filters_1.8.0-1.debian.tar.xz
Files:
 3b509bec071a783bc716b186f90f1fcc 2712 net optional cups-filters_1.8.0-1.dsc
 6fb54428363f8b26600e0a50462c181e 1371300 net optional cups-filters_1.8.0.orig.tar.xz
 ccea9d6b2bc66095593910cc7f815e86 69552 net optional cups-filters_1.8.0-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQGcBAEBCgAGBQJWoeUQAAoJEIvPpx7KFjRV8D8L/ipXmoNYRaSpo6hDYnybj/WO
flOcHGOYsH11qoIFfpo8l4Gx1MiudfxSRfdaS0zrsdXV5K3yKS680Hc4hkoURk/W
ebzuLTTG6iL9djbrdLtAXyQ/gNCfOVPZuvafnzpDTm9eooQY75hP9j4nw9HFHth8
jruhC42Z1kelTevpFGeJ6vXISebm/VG5312DF1IJRJVuj886n9xyofMuMWhkcFNF
0kIUZV7gB5Yl3KUnteVFwFphpvsbOlBh5H7yhqjWXl1f8iJ8EMmS1O/0dS0U5KAV
+TiuMVjzxIL9NTG3lecnrtxKEmAo1zwyfnSvgN6YngTVIZV5aMDA7K/E5WVYEgJa
xr/aJp4o9ajDvxfhIrfXHp4GBzMdVQ6xjRlB4A9t/C2xRK+etFbN8N9bgGHnQ+ch
Wa8AenTQzZuoH4n5d50M/vw4Ixujf9JmhYmPiJVu3Q5lv2lCI3ouFn4nqjQ1toTd
Invpai4RdK3XbGKXLD+90Ok4a4IHdHm7NfuTOmuY8A==
=rXqy
-----END PGP SIGNATURE-----




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Printing Team <debian-printing@lists.debian.org>:
Bug#808057; Package cups-filters. (Sat, 23 Jan 2016 13:15:04 GMT) (full text, mbox, link).


Acknowledgement sent to Yuri D'Elia <wavexx@thregr.org>:
Extra info received and forwarded to list. Copy sent to Debian Printing Team <debian-printing@lists.debian.org>. (Sat, 23 Jan 2016 13:15:04 GMT) (full text, mbox, link).


Message #50 received at 808057@bugs.debian.org (full text, mbox, reply):

From: Yuri D'Elia <wavexx@thregr.org>
To: Debian Bug Tracking System <808057@bugs.debian.org>, Didier Raboud <odyx@debian.org>, Till Kamppeter <till.kamppeter@gmail.com>
Subject: Re: Bug#808057: marked as done (Please demote dependency on liblouisutdm1-bin)
Date: Sat, 23 Jan 2016 14:12:12 +0100
On 22/01/16 10:54, Debian Bug Tracking System wrote:
>    [ Till Kamppeter ]
>    * Let cups-drivers not depend on liblouisutdml-bin any more, instead, let it
>      depend on liblouis-bin and move liblouisutdml-bin to Suggests
>      (Closes: #808057)

This still pulls ~7mb of additional dependencies though. I'm not too
happy about it, since I'm space-constrained on a few print servers I
have and that's additional spooling space being lost.

Since I assume liblouis-bin is just called/probed through exec, there's
no real reason to depend on it (or there is?). Couldn't you just
suggest/recommend liblouisutmdl-bin directly and avoid using a fallback
entirely?

I'm fine with the filter failing, since I cannot read/write/print
braille anyway. And likewise I assume that people that need braille want
the full package.




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 25 Feb 2016 07:32:15 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 4 23:09:05 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.