Debian Bug report logs - #702498
bash-completion: xpdf should be able to get completion of compressed PDF files

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Alfredo Finelli <0x4146@gmail.com>

Date: Thu, 7 Mar 2013 12:57:02 UTC

Severity: normal

Tags: patch

Found in version bash-completion/1:2.0-1

Fixed in version bash-completion/1:2.1-3

Done: David Paleino <dapal@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, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#702498; Package bash-completion. (Thu, 07 Mar 2013 12:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Alfredo Finelli <0x4146@gmail.com>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Thu, 07 Mar 2013 12:57:04 GMT) (full text, mbox, link).


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

From: Alfredo Finelli <0x4146@gmail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: xpdf should be able to get completion of compressed PDF files
Date: Thu, 7 Mar 2013 13:52:35 +0100
Package: bash-completion
Version: 1:2.0-1
Severity: normal
Tags: patch


The "xpdf" reader is also able to open PDF files compressed in various
formats (gz, bz2, xz, and Z).

The following patch allows completion for those cases (*.pdf.gz, etc.).

Best regards.





--- /usr/share/bash-completion/bash_completion	2013-03-07 13:03:48.365849111 +0100
+++ bash_completion	2013-03-07 13:23:39.249902990 +0100
@@ -1862,7 +1862,8 @@
 _install_xspec '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))' gv ggv kghostview
 _install_xspec '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi kdvi
 _install_xspec '!*.dvi' dvips dviselect dvitype dvipdf advi dvipdfm dvipdfmx
-_install_xspec '!*.[pf]df' acroread gpdf xpdf
+_install_xspec '!*.[pf]df' acroread gpdf
+_install_xspec '!*.@(pdf|fdf)?(.@(gz|GZ|bz2|BZ2|Z))' xpdf
 _install_xspec '!*.@(?(e)ps|pdf)' kpdf
 _install_xspec '!*.@(okular|@(?(e|x)ps|?(E|X)PS|[pf]df|[PF]DF|dvi|DVI|cb[rz]|CB[RZ]|djv?(u)|DJV?(U)|dvi|DVI|gif|jp?(e)g|miff|tif?(f)|pn[gm]|p[bgp]m|bmp|xpm|ico|xwd|tga|pcx|GIF|JP?(E)G|MIFF|TIF?(F)|PN[GM]|P[BGP]M|BMP|XPM|ICO|XWD|TGA|PCX|epub|EPUB|odt|ODT|fb?(2)|FB?(2)|mobi|MOBI|g3|G3|chm|CHM)?(.?(gz|GZ|bz2|BZ2)))' okular
 _install_xspec '!*.pdf' epdfview





-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.8.2-t410 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.2+dfsg-0.1
ii  dpkg  1.16.9

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#702498; Package bash-completion. (Sat, 09 Mar 2013 09:06:03 GMT) (full text, mbox, link).


Acknowledgement sent to Ville Skyttä <ville.skytta@iki.fi>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 09 Mar 2013 09:06:03 GMT) (full text, mbox, link).


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

From: Ville Skyttä <ville.skytta@iki.fi>
To: Alfredo Finelli <0x4146@gmail.com>, 702498@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#702498: bash-completion: xpdf should be able to get completion of compressed PDF files
Date: Sat, 09 Mar 2013 11:02:28 +0200
On 2013-03-07 14:52, Alfredo Finelli wrote:
> The "xpdf" reader is also able to open PDF files compressed in various
> formats (gz, bz2, xz, and Z).

My xpdf (version 3.03 on Fedora 18) isn't, and I see nothing in the code
that would implement that.



Information forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#702498; Package bash-completion. (Sat, 09 Mar 2013 23:18:03 GMT) (full text, mbox, link).


Acknowledgement sent to Alfredo Finelli <0x4146@gmail.com>:
Extra info received and forwarded to list. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 09 Mar 2013 23:18:03 GMT) (full text, mbox, link).


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

From: Alfredo Finelli <0x4146@gmail.com>
To: Ville Skyttä <ville.skytta@iki.fi>, 702498@bugs.debian.org
Subject: Re: [Bash-completion-devel] Bug#702498: bash-completion: xpdf should be able to get completion of compressed PDF files
Date: Sun, 10 Mar 2013 00:15:31 +0100
Ville Skyttä [09.03.2013 10:02 +0100]:
> On 2013-03-07 14:52, Alfredo Finelli wrote:
>> The "xpdf" reader is also able to open PDF files compressed in
>> various formats (gz, bz2, xz, and Z).
>
> My xpdf (version 3.03 on Fedora 18) isn't, and I see nothing in the
> code that would implement that.

I don't know about Fedora.  I submitted the bugreport to the Debian BTS
and not upstream.  On Debian the "xpdf" executable is a wrapper script
that creates a temporary decompressed file if the user opens a
compressed PDF.

From the Debian xpdf man page:

    You can also start xpdf without opening any files:

        xpdf

    Various compressed formats (gz, bz2, xz, and Z) are also supported, for
    example::

        xpdf file.pdf.gz

Best regards.



Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Wed, 19 Mar 2014 11:06:31 GMT) (full text, mbox, link).


Notification sent to Alfredo Finelli <0x4146@gmail.com>:
Bug acknowledged by developer. (Wed, 19 Mar 2014 11:06:31 GMT) (full text, mbox, link).


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

From: David Paleino <dapal@debian.org>
To: 702498-close@bugs.debian.org
Subject: Bug#702498: fixed in bash-completion 1:2.1-3
Date: Wed, 19 Mar 2014 11:03:30 +0000
Source: bash-completion
Source-Version: 1:2.1-3

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

Debian distribution maintenance software
pp.
David Paleino <dapal@debian.org> (supplier of updated bash-completion 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: SHA1

Format: 1.8
Date: Wed, 19 Mar 2014 11:44:27 +0100
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:2.1-3
Distribution: unstable
Urgency: medium
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 496162 574950 665651 673235 680852 697513 698977 702498 704832 708173 737672 737881 739835 741657
Changes: 
 bash-completion (1:2.1-3) unstable; urgency=medium
 .
   * Import patch from Ubuntu:
     - fix_quote_readline_by_ref.patch, thanks to JuanJo Ciarlante
       (Closes: #739835):
       + avoid escaping 1st '~' (LP: #1288314)
       + avoid quoting if empty, else expansion without args only shows
         dirs (LP: #1288031)
       + replace double escaping to single (eg for completing file/paths
         with spaces)
     - words_bad_array_subscript.patch, thanks to Barry Warsaw
     - dpkg_ddeb.patch: dpkg also supports *.ddeb, thanks to Sebastien
       Bacher (LP: #568404, Closes: #737881)
     - disable_avahi_browse.patch: slow, and doesn't scale to big
       networks, thanks to Chris Jones (Closes: #574950, LP: #510591)
     - xine_add_more_formats.patch: add oga and ogx to multimedia players
       (Closes: #496162, LP: #311525)
   * debian/maintscript, debian/postinst:
     - clean etc conffiles on upgrade since completion files are in /usr
       with 2.0, thanks to Sebastien Bacher
   * debian/control: marked Multi-Arch: foreign
   * debian/patches/:
     - fix_gcc_detection.patch, correctly parses Debian's GCC version
       number, thanks to Tomas Janousek (Closes: #665651)
     - xpdf_support_compressed_pdf.patch, in Debian xpdf also supports
       compressed files, thanks to Alfredo Finelli (Closes: #702498)
     - dpkg_support_raw-extract_vextract.patch: add support for more
       options in dpkg-deb, thanks to Uwe Storbeck (Closes: #698977)
     - dpkg_fix_-W_option.patch: -W|--show doesn't support udebs/ddebs,
       thanks to Luca Capello (Closes: #697513)
     - aptitude_safe-upgrade.patch: safe-upgrade supports package names,
       thanks to Nicolas Le Cam (Closes: #673235)
     - ifconfig_locale.patch: _mac_addresses() didn't consider locale
       awareness of ifconfig, thanks to Thilo Six (Closes: #704832)
     - dont_return_from_sourced_script.patch: avoid problems with shells
       not supporting returning from a sourced script (Closes: #741657)
     - look_for_pod.patch: perldoc: look for .pod in addition to .pm
       files, thanks to Carl Hayter (Closes: #708173)
   * debian/extra/debhelper/dh_bash-completion: fix installation process
     when more than one "proper snippet" is being installed, thanks to
     Jean-Michel Vourgère (Closes: #680852)
   * Dropped completions included in util-linux (Closes: #737672)
Checksums-Sha1: 
 e9849707f765792d9227836eec5a9db90a1bcb0b 1377 bash-completion_2.1-3.dsc
 abd628e5dfef3242aa467277e4647a0ec0b13a7d 19408 bash-completion_2.1-3.debian.tar.xz
 f2a0edfbace7dfc007d629968e6eec180267c124 182124 bash-completion_2.1-3_all.deb
Checksums-Sha256: 
 2b44aeb674a9690c6af75957fa5308889277c9abd1a05143c81ccb4733e0a15f 1377 bash-completion_2.1-3.dsc
 8f48a945a680d9ab0da54be570929c33ae7bc5ec0f25fb6512fb75db1013ee3a 19408 bash-completion_2.1-3.debian.tar.xz
 d226ff84e0633c0ee4abdb9b2631fe0532b6c516f9d434a035633500811d9049 182124 bash-completion_2.1-3_all.deb
Files: 
 1ad095c77d5c9f34aa34d8822c52af4b 1377 shells standard bash-completion_2.1-3.dsc
 0d3f94bc45de05f6c05bfdf7d8d9a82e 19408 shells standard bash-completion_2.1-3.debian.tar.xz
 b3f48281983f26282a473b2a082d9786 182124 shells standard bash-completion_2.1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlMpdqQACgkQ5qqQFxOSsXRWtwCfRpjyuFpSIdtHdUnGSM3nzZSv
5OUAn29tGWEKYQydzlajsOUrA45W4D/f
=67po
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 17 Apr 2014 07:34: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: Sun Jul 2 09:30:21 2023; Machine Name: bembo

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.