[Bash-completion-commits] [debian] 09/19: xpdf_support_compressed_pdf.patch, in Debian xpdf also supports compressed files, thanks to Alfredo Finelli (Closes: #702498)

David Paleino dapal at debian.org
Wed Mar 19 10:51:46 UTC 2014


This is an automated email from the git hooks/post-receive script.

dapal pushed a commit to branch master
in repository debian.

commit 70c2d1b623d74ef06942a1e9390b36384fdc63e0
Author: David Paleino <dapal at debian.org>
Date:   Wed Mar 19 11:05:42 2014 +0100

    xpdf_support_compressed_pdf.patch, in Debian xpdf also supports compressed files, thanks to Alfredo Finelli (Closes: #702498)
---
 debian/changelog                                    |  4 +++-
 debian/patches/06-xpdf_support_compressed_pdf.patch | 21 +++++++++++++++++++++
 debian/patches/series                               |  1 +
 3 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index bde763e..3b302dd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,8 +22,10 @@ bash-completion (1:2.1-3) UNRELEASED; urgency=medium
   * 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)
 
- -- David Paleino <dapal at debian.org>  Wed, 19 Mar 2014 10:58:27 +0100
+ -- David Paleino <dapal at debian.org>  Wed, 19 Mar 2014 11:05:12 +0100
 
 bash-completion (1:2.1-2) unstable; urgency=low
 
diff --git a/debian/patches/06-xpdf_support_compressed_pdf.patch b/debian/patches/06-xpdf_support_compressed_pdf.patch
new file mode 100644
index 0000000..7e2f654
--- /dev/null
+++ b/debian/patches/06-xpdf_support_compressed_pdf.patch
@@ -0,0 +1,21 @@
+From: Alfredo Finelli <0x4146 at gmail.com>
+Subject: xpdf in Debian also supports compressed PDFs
+Origin: vendor, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702498
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702498
+
+---
+ bash_completion |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- bash-completion.orig/bash_completion
++++ bash-completion/bash_completion
+@@ -1883,7 +1883,8 @@ _install_xspec '!*.@(gif|jp?(e)g|tif?(f)
+ _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|xz|Z|bz2))' 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
diff --git a/debian/patches/series b/debian/patches/series
index 0faecdf..3d6bbf8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
 03-disable_avahi_browse.patch
 04-xine_add_more_formats.patch
 05-fix_gcc_detection.patch
+06-xpdf_support_compressed_pdf.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/debian.git



More information about the Bash-completion-commits mailing list