summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorDavid Paleino <dapal@debian.org>2014-03-19 11:05:42 +0100
committerDavid Paleino <dapal@debian.org>2014-03-19 11:05:42 +0100
commit70c2d1b623d74ef06942a1e9390b36384fdc63e0 (patch)
treea3d2628569159c26bf66053728aab8568973154c /debian/patches
parente1c7b890b48196b39900219826c0bc20b1bb08ef (diff)
downloadbash-completion-70c2d1b623d74ef06942a1e9390b36384fdc63e0.tar.gz
xpdf_support_compressed_pdf.patch, in Debian xpdf also supports compressed files, thanks to Alfredo Finelli (Closes: #702498)
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/06-xpdf_support_compressed_pdf.patch21
-rw-r--r--debian/patches/series1
2 files changed, 22 insertions, 0 deletions
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 00000000..7e2f654b
--- /dev/null
+++ b/debian/patches/06-xpdf_support_compressed_pdf.patch
@@ -0,0 +1,21 @@
+From: Alfredo Finelli <0x4146@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 0faecdfd..3d6bbf82 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