GNU bug report logs - #16876
Zutils vs single compressor utilities

Previous Next

Package: gzip;

Reported by: Dagobert Michelsen <dam <at> opencsw.org>

Date: Tue, 25 Feb 2014 09:49:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

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 16876 in the body.
You can then email your comments to 16876 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 bug-gzip <at> gnu.org:
bug#16876; Package gzip. (Tue, 25 Feb 2014 09:49:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dagobert Michelsen <dam <at> opencsw.org>:
New bug report received and forwarded. Copy sent to bug-gzip <at> gnu.org. (Tue, 25 Feb 2014 09:49:02 GMT) Full text and rfc822 format available.

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

From: Dagobert Michelsen <dam <at> opencsw.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Antonio Diaz Diaz <ant_diaz <at> teleline.es>, bug-gzip <at> gnu.org,
 Rob Savoye <rob <at> welcomehome.org>
Subject: Re: Zutils vs single compressor utilities
Date: Tue, 25 Feb 2014 10:47:57 +0100
[Message part 1 (text/plain, inline)]
Hi Paul,

Am 16.01.2012 um 23:58 schrieb Paul Eggert <eggert <at> cs.ucla.edu>:
> On 01/16/12 10:59, Antonio Diaz Diaz wrote:
>> So here is a better patch
> 
> I don't see why either patch is needed.
> Without the patches, for example,
> "./configure --program-transform-name='s/^z/gz/'"
> followed by "make install" installs gzcat.1, not
> zcat.1.  Isn't that what you want?

I am currently rebuilding our gzip package and tried your suggestion:
it renames the programs and manpages but not the invocations:

> dam <at> unstable10s [unstable10s]:/home/dam/mgar/pkg/gzip/trunk/work/solaris10-sparc/pkgroot/opt/csw/bin > more gzfgrep
> #!/bin/bash
> bindir='/opt/csw/bin'
> case $1 in
> --__bindir) bindir=${2?}; shift; shift;;
> esac
> PATH=$bindir:$PATH
> exec zgrep --__bindir "$bindir" -F "$@„

Please note the invocation of zgrep here instead of gzgrep. Shouldn’t the transformation be
applied to all occurrences?


Best regards

  — Dago


-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#16876; Package gzip. (Tue, 25 Feb 2014 19:41:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Dagobert Michelsen <dam <at> opencsw.org>
Cc: ant_diaz <at> teleline.es, 16876 <at> debbugs.gnu.org, rob <at> welcomehome.org
Subject: Re: bug#16876: Zutils vs single compressor utilities
Date: Tue, 25 Feb 2014 11:40:28 -0800
On 02/25/2014 01:47 AM, Dagobert Michelsen wrote:
> Shouldn’t the transformation be
> applied to all occurrences?
Yes, I think it should.




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Mon, 04 Apr 2022 19:03:02 GMT) Full text and rfc822 format available.

Notification sent to Dagobert Michelsen <dam <at> opencsw.org>:
bug acknowledged by developer. (Mon, 04 Apr 2022 19:03:02 GMT) Full text and rfc822 format available.

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

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Dagobert Michelsen <dam <at> opencsw.org>
Cc: 16876-done <at> debbugs.gnu.org, ant_diaz <at> teleline.es, rob <at> welcomehome.org
Subject: Re: bug#16876: Zutils vs single compressor utilities
Date: Mon, 4 Apr 2022 12:01:47 -0700
[Message part 1 (text/plain, inline)]
On 2/25/14 11:40, Paul Eggert wrote:
> On 02/25/2014 01:47 AM, Dagobert Michelsen wrote:
>> Shouldn’t the transformation be
>> applied to all occurrences?
> Yes, I think it should.

After eight years I got around to implementing this (since nobody else 
wanted to :-) and installed the attached. Something like this should 
appear in the next gzip release.
[0001-build-support-program-prefix-etc.patch (text/x-patch, attachment)]
[0002-build-update-gnulib-submodule-to-latest.patch (text/x-patch, attachment)]
[0003-maint-update-from-Gnulib.patch (text/x-patch, attachment)]

Information forwarded to bug-gzip <at> gnu.org:
bug#16876; Package gzip. (Mon, 04 Apr 2022 19:06:01 GMT) Full text and rfc822 format available.

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

From: Dagobert Michelsen <dam <at> opencsw.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 16876-done <at> debbugs.gnu.org, ant_diaz <at> teleline.es, rob <at> welcomehome.org
Subject: Re: bug#16876: Zutils vs single compressor utilities
Date: Mon, 4 Apr 2022 21:05:28 +0200
Hi Paul,

Am 04.04.2022 um 21:01 schrieb Paul Eggert <eggert <at> cs.ucla.edu>:
> On 2/25/14 11:40, Paul Eggert wrote:
>> On 02/25/2014 01:47 AM, Dagobert Michelsen wrote:
>>> Shouldn’t the transformation be
>>> applied to all occurrences?
>> Yes, I think it should.
> 
> After eight years I got around to implementing this (since nobody else wanted to :-) and installed the attached. Something like this should appear in the next gzip release.<0001-build-support-program-prefix-etc.patch><0002-build-update-gnulib-submodule-to-latest.patch><0003-maint-update-from-Gnulib.patch>

Thank you very much :-) I am still around to appreciate the updated version in the
next package release!


Best regards

  — Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896





Information forwarded to bug-gzip <at> gnu.org:
bug#16876; Package gzip. (Tue, 05 Apr 2022 14:35:01 GMT) Full text and rfc822 format available.

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

From: Antonio Diaz Diaz <antonio <at> gnu.org>
To: 16876 <at> debbugs.gnu.org
Cc: dam <at> opencsw.org, eggert <at> cs.ucla.edu, rob <at> welcomehome.org
Subject: Re: bug#16876: Zutils vs single compressor utilities
Date: Tue, 05 Apr 2022 16:35:17 +0200
Paul Eggert wrote:
> On 2/25/14 11:40, Paul Eggert wrote:
>> On 02/25/2014 01:47 AM, Dagobert Michelsen wrote:
>>> Shouldn’t the transformation be
>>> applied to all occurrences?
>> Yes, I think it should.
>
> After eight years I got around to implementing this (since nobody else
> wanted to :-)

Thank you very much, Paul. I would say that the problem was difficult enough 
that nobody else dared to fix it. ;-)

Best regards,
Antonio.





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

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

Previous Next


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