GNU bug report logs - #30500
[PATCH] services: cups: Add all extensions by default.

Previous Next

Package: guix-patches;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Sat, 17 Feb 2018 14:55:02 UTC

Severity: normal

Tags: moreinfo, patch

Done: Danny Milosavljevic <dannym <at> scratchpost.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30500 in the body.
You can then email your comments to 30500 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Sat, 17 Feb 2018 14:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 17 Feb 2018 14:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: guix-patches <at> gnu.org
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>
Subject: [PATCH] services: cups: Add all extensions by default.
Date: Sat, 17 Feb 2018 15:54:11 +0100
* gnu/services/cups.scm (cups-configuration): Add all extensions by default.
---
 gnu/services/cups.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
index 4c62e6a6f..4e7325a74 100644
--- a/gnu/services/cups.scm
+++ b/gnu/services/cups.scm
@@ -465,7 +465,7 @@ programs."))
    (package cups)
    "The CUPS package.")
   (extensions
-   (package-list (list cups-filters))
+   (package-list (list cups-filters escpr hplip))
    "Drivers and other extensions to the CUPS package.")
   (files-configuration
    (files-configuration (files-configuration))




Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Mon, 26 Feb 2018 17:58:01 GMT) Full text and rfc822 format available.

Message #8 received at 30500 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 30500 <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Mon, 26 Feb 2018 18:57:14 +0100
Danny Milosavljevic <dannym <at> scratchpost.org> skribis:

> * gnu/services/cups.scm (cups-configuration): Add all extensions by default.
> ---
>  gnu/services/cups.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
> index 4c62e6a6f..4e7325a74 100644
> --- a/gnu/services/cups.scm
> +++ b/gnu/services/cups.scm
> @@ -465,7 +465,7 @@ programs."))
>     (package cups)
>     "The CUPS package.")
>    (extensions
> -   (package-list (list cups-filters))
> +   (package-list (list cups-filters escpr hplip))

Also ‘foomatic-filters’.

>     "Drivers and other extensions to the CUPS package.")
>    (files-configuration
>     (files-configuration (files-configuration))

I can definitely understand the usability argument.  The counter
argument would be this:

--8<---------------cut here---------------start------------->8---
$ guix size cups-filters | tail -1
total: 270.4 MiB
$ guix size cups-filters escpr hplip foomatic-filters | tail -1
total: 569.5 MiB
--8<---------------cut here---------------end--------------->8---

I think carrying all this could make ‘guix system reconfigure’
heavyweight for many—lots of unnecessary downloads/rebuilds, etc.

What do people think?

I suppose on Debian etc., one has to explicitly install the right
packages, no?

Ludo’.




Added tag(s) moreinfo. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Fri, 02 Mar 2018 12:58:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Mon, 19 Oct 2020 13:52:02 GMT) Full text and rfc822 format available.

Message #13 received at 30500 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>, 30500 <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Mon, 19 Oct 2020 15:51:12 +0200
Dear,

What is the status of the bug #30500 [1]?  It is tagged 'moreinfo' and
now a bit old.  It is about the addition of the two packages 'escpr' and
'hplip' to the service 'cups'.

1: <http://issues.guix.gnu.org/issue/30500>


On Mon, 26 Feb 2018 at 18:57, ludo <at> gnu.org (Ludovic Courtès) wrote:
> Danny Milosavljevic <dannym <at> scratchpost.org> skribis:
>
>> * gnu/services/cups.scm (cups-configuration): Add all extensions by default.
>> ---
>>  gnu/services/cups.scm | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
>> index 4c62e6a6f..4e7325a74 100644
>> --- a/gnu/services/cups.scm
>> +++ b/gnu/services/cups.scm
>> @@ -465,7 +465,7 @@ programs."))
>>     (package cups)
>>     "The CUPS package.")
>>    (extensions
>> -   (package-list (list cups-filters))
>> +   (package-list (list cups-filters escpr hplip))
>
> Also ‘foomatic-filters’.
>
>>     "Drivers and other extensions to the CUPS package.")
>>    (files-configuration
>>     (files-configuration (files-configuration))
>
> I can definitely understand the usability argument.  The counter
> argument would be this:
>
> $ guix size cups-filters | tail -1
> total: 270.4 MiB
> $ guix size cups-filters escpr hplip foomatic-filters | tail -1
> total: 569.5 MiB
>
> I think carrying all this could make ‘guix system reconfigure’
> heavyweight for many—lots of unnecessary downloads/rebuilds, etc.

What people think?


All the best,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Mon, 19 Oct 2020 15:59:02 GMT) Full text and rfc822 format available.

Message #16 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>,
 Ludovic Courtès <ludo <at> gnu.org>, guix-patches <at> gnu.org,
 30500 <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Mon, 19 Oct 2020 17:58:16 +0200
[Message part 1 (text/plain, inline)]
zimoun 写道:
>> $ guix size cups-filters | tail -1
>> total: 270.4 MiB
>> $ guix size cups-filters escpr hplip foomatic-filters | tail -1
>> total: 569.5 MiB

It's since improved.  Probably thanks to hplip-minimal, whilst the 
newer Samsung SpliX package adds a mere 0.2 MiB:

 λ guix size cups | tail -n 1
 total: 279.5 MiB
 λ guix size cups-filters escpr hplip-minimal foomatic-filters 
 splix | tail -n 1
 total: 405.4 MiB (+45%)

>> I think carrying all this could make ‘guix system reconfigure’
>> heavyweight for many—lots of unnecessary downloads/rebuilds, 
>> etc.

‘Lots’ is way overblown.  This is it:

+/gnu/store/44xzcm69lmy71ydrnmv4plzxc26rk0dc-splix-2.0.0-315
+/gnu/store/amahw2r0b7fjqphisv8c0f6w77qac3c0-hplip-minimal-3.20.9
+/gnu/store/jqqf3xzs4sjdvnvddpk3pgx8g2rn9db3-foomatic-filters-4.0.17
+/gnu/store/w3rqls7rxri89xmi02yw8irycnf5zia1-escpr-1.7.7
+/gnu/store/9bfxyfqx12mnxwh715y23djnp239qh1b-libusb-1.0.23
+/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32
+/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2

With the last 2 (3?) almost certainly already installed, this is 
not unreasonable for ‘cups-service-type actually prints, even if 
you visit grandma’.

Visit grandma,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Mon, 19 Oct 2020 15:59:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Wed, 28 Oct 2020 17:25:02 GMT) Full text and rfc822 format available.

Message #22 received at 30500 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: dannym <at> scratchpost.org, ludo <at> gnu.org, 30500 <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Wed, 28 Oct 2020 18:24:02 +0100
Hi,

On Mon, 19 Oct 2020 at 17:58, Tobias Geerinckx-Rice <me <at> tobias.gr> wrote:

>  λ guix size cups | tail -n 1
>  total: 279.5 MiB
>  λ guix size cups-filters escpr hplip-minimal foomatic-filters   splix | tail
> -n 1
>  total: 405.4 MiB (+45%)
>
>>> I think carrying all this could make ‘guix system reconfigure’
>>> heavyweight for many—lots of unnecessary downloads/rebuilds, etc.
>
> ‘Lots’ is way overblown.  This is it:
>
> +/gnu/store/44xzcm69lmy71ydrnmv4plzxc26rk0dc-splix-2.0.0-315
> +/gnu/store/amahw2r0b7fjqphisv8c0f6w77qac3c0-hplip-minimal-3.20.9
> +/gnu/store/jqqf3xzs4sjdvnvddpk3pgx8g2rn9db3-foomatic-filters-4.0.17
> +/gnu/store/w3rqls7rxri89xmi02yw8irycnf5zia1-escpr-1.7.7
> +/gnu/store/9bfxyfqx12mnxwh715y23djnp239qh1b-libusb-1.0.23
> +/gnu/store/57xj5gcy1jbl9ai2lnrqnpr0dald9i65-coreutils-8.32
> +/gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2
>
> With the last 2 (3?) almost certainly already installed, this is not
> unreasonable for ‘cups-service-type actually prints, even if you visit
> grandma’.

Grandma’ is lost, on one hand +45% and on the other hand not
unreasonable. :-)

Does it make sense to apply the patch?  From my point of view, yes.


Cheers,
simon




Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Tue, 17 Nov 2020 23:09:02 GMT) Full text and rfc822 format available.

Message #25 received at 30500 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 30500 <at> debbugs.gnu.org, Ludovic Courtès <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Wed, 18 Nov 2020 00:07:47 +0100
Hi,

Does it make sense to apply the patch and close this old bug?

From my point of view, yes for the two. ;-)


All the best,
simon

On Sat, 17 Feb 2018 at 15:54, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
> * gnu/services/cups.scm (cups-configuration): Add all extensions by default.
> ---
>  gnu/services/cups.scm | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
> index 4c62e6a6f..4e7325a74 100644
> --- a/gnu/services/cups.scm
> +++ b/gnu/services/cups.scm
> @@ -465,7 +465,7 @@ programs."))
>     (package cups)
>     "The CUPS package.")
>    (extensions
> -   (package-list (list cups-filters))
> +   (package-list (list cups-filters escpr hplip))
>     "Drivers and other extensions to the CUPS package.")
>    (files-configuration
>     (files-configuration (files-configuration))




Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Wed, 18 Nov 2020 08:29:02 GMT) Full text and rfc822 format available.

Message #28 received at 30500 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>,
 Ludovic Courtès <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, 30500 <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Wed, 18 Nov 2020 10:28:00 +0200
[Message part 1 (text/plain, inline)]
On Wed, Nov 18, 2020 at 12:07:47AM +0100, zimoun wrote:
> Hi,
> 
> Does it make sense to apply the patch and close this old bug?
> 
> From my point of view, yes for the two. ;-)
> 

I no longer have the original bug report in my main mail folder, that's
how old it is :). Lets add a couple more, printing sucks a lot as it
already is. I don't think it's any worse than, say, adding
glibc-locales <at> 2.29 by default. Just make sure the documentation is
updated accordingly.

I vote yes

> 
> All the best,
> simon
> 
> On Sat, 17 Feb 2018 at 15:54, Danny Milosavljevic <dannym <at> scratchpost.org> wrote:
> > * gnu/services/cups.scm (cups-configuration): Add all extensions by default.
> > ---
> >  gnu/services/cups.scm | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/gnu/services/cups.scm b/gnu/services/cups.scm
> > index 4c62e6a6f..4e7325a74 100644
> > --- a/gnu/services/cups.scm
> > +++ b/gnu/services/cups.scm
> > @@ -465,7 +465,7 @@ programs."))
> >     (package cups)
> >     "The CUPS package.")
> >    (extensions
> > -   (package-list (list cups-filters))
> > +   (package-list (list cups-filters escpr hplip))
> >     "Drivers and other extensions to the CUPS package.")
> >    (files-configuration
> >     (files-configuration (files-configuration))
> 
> 
> 

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#30500; Package guix-patches. (Wed, 18 Nov 2020 08:52:02 GMT) Full text and rfc822 format available.

Message #31 received at 30500 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: Danny Milosavljevic <dannym <at> scratchpost.org>,
 Ludovic Courtès <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, 30500 <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Wed, 18 Nov 2020 09:48:06 +0100
Hi,

On Wed, 18 Nov 2020 at 10:28, Efraim Flashner <efraim <at> flashner.co.il> wrote:

> I no longer have the original bug report in my main mail folder, that's
> how old it is :). Lets add a couple more, printing sucks a lot as it
> already is. I don't think it's any worse than, say, adding
> glibc-locales <at> 2.29 by default. Just make sure the documentation is
> updated accordingly.
>
> I vote yes

I could rebase the patch and add documentation.  But I am not using
printing or services (foreign distro) so I would be able to test it.

Please beat me at this. :-)


Cheers,
simon




Reply sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
You have taken responsibility. (Wed, 18 Nov 2020 09:01:02 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Wed, 18 Nov 2020 09:01:02 GMT) Full text and rfc822 format available.

Message #36 received at 30500-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: zimoun <zimon.toutoune <at> gmail.com>
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>,
 Ludovic Courtès <ludo <at> gnu.org>, 30500-done <at> debbugs.gnu.org
Subject: Re: [bug#30500] [PATCH] services: cups: Add all extensions by default.
Date: Wed, 18 Nov 2020 10:00:47 +0100
[Message part 1 (text/plain, inline)]
Pushed a T G-R variant of this cups-services patch to guix master as
commit 8490fa0253fa8ee5613a89851273e007494ea79b.
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Dec 2020 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 130 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.