Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 757525 - sys-apps/portage: support more texinfo compress_suffixes
Summary: sys-apps/portage: support more texinfo compress_suffixes
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on: 873757
Blocks:
  Show dependency tree
 
Reported: 2020-11-29 01:13 UTC by Zac Medico
Modified: 2022-11-20 03:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-11-29 01:13:11 UTC
Here are the compressions supported by texinfo-6.7:

static COMPRESSION_ALIST compress_suffixes[] = {
#if STRIP_DOT_EXE
  { ".gz", "gunzip" },
  { ".lz", "lunzip" },
#else
  { ".gz", "gzip -d" },
  { ".lz", "lzip -d" },
#endif
  { ".xz", "unxz" },
  { ".bz2", "bunzip2" },
  { ".z", "gunzip" },
  { ".lzma", "unlzma" },
  { ".Z", "uncompress" },
  { ".Y", "unyabba" },
#ifdef __MSDOS__
  { "gz", "gunzip" },
  { "z", "gunzip" },
#endif
  { NULL, NULL }
};
Comment 1 Arfrever Frehtes Taifersar Arahesis 2020-11-29 01:34:38 UTC
Above list is from https://git.savannah.gnu.org/cgit/texinfo.git/tree/info/filesys.c?id=122582fa6f2bf0e7234c578096376c398bcca1bf

xz compression supported since texinfo-5.0 (2013-02-17):
https://lists.gnu.org/archive/html/bug-texinfo/2013-02/msg00029.html

lzip (.lz) compression supported since texinfo-5.1 (2013-03-12):
https://lists.gnu.org/archive/html/bug-texinfo/2013-03/msg00023.html
Comment 2 Larry the Git Cow gentoo-dev 2022-10-18 00:31:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=800e09a4a1a630548ea8316e5c906c6f48af3105

commit 800e09a4a1a630548ea8316e5c906c6f48af3105
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-18 00:11:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-18 00:14:25 +0000

    info: support more info compression suffixes
    
    Bug: https://bugs.gentoo.org/757525
    Signed-off-by: Sam James <sam@gentoo.org>

 bin/ebuild-helpers/prepinfo     | 6 +++---
 bin/misc-functions.sh           | 2 +-
 lib/portage/util/_info_files.py | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2022-10-18 03:40:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=c81e799a3bc8de79ade7c5e2610ed305581c73cc

commit c81e799a3bc8de79ade7c5e2610ed305581c73cc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-18 03:16:02 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-18 03:40:07 +0000

    info: drop .lz4/.lzo for info, use sorted list
    
    Use same ordering of suffixes as we do elsewhere for easy comparison.
    
    (I threw in .lz4 & .lzo last-minute earlier but on reflection, it's
    misleading to put it here if it's not supported yet by texinfo.)
    
    Fixes: 800e09a4a1a630548ea8316e5c906c6f48af3105
    Bug: https://bugs.gentoo.org/757525
    Signed-off-by: Sam James <sam@gentoo.org>

 NEWS                        | 2 +-
 bin/ebuild-helpers/prepinfo | 2 +-
 bin/misc-functions.sh       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-21 02:47:12 UTC
* Note that zstd is not yet in a release but it will be in 6.9 which is in testing now (6.8.90 is in Gentoo, unkeyworded, as a "pretest").

texinfo patch: https://git.savannah.gnu.org/cgit/texinfo.git/commit/?id=650c80b5ac1d6c3c0026310dd2fe8a79a77b6384.

* It'll also be in Emacs 29.

emacs patch: https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=6b7dc132afe99e1b188882d32371b06021f64e95.
Comment 5 Larry the Git Cow gentoo-dev 2022-11-20 03:06:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=203e0d0083b5e7d8098785ec8862c02f6baf5534

commit 203e0d0083b5e7d8098785ec8862c02f6baf5534
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-11-20 03:04:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-20 03:05:40 +0000

    sys-apps/portage: add 3.0.39
    
    Closes: https://bugs.gentoo.org/365655
    Closes: https://bugs.gentoo.org/757525
    Closes: https://bugs.gentoo.org/871573
    Closes: https://bugs.gentoo.org/875812
    Closes: https://bugs.gentoo.org/875860
    Closes: https://bugs.gentoo.org/877215
    Closes: https://bugs.gentoo.org/877271
    Closes: https://bugs.gentoo.org/877357
    Closes: https://bugs.gentoo.org/877419
    Closes: https://bugs.gentoo.org/873757
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-apps/portage/Manifest              |   1 +
 sys-apps/portage/portage-3.0.39.ebuild | 273 +++++++++++++++++++++++++++++++++
 2 files changed, 274 insertions(+)