summaryrefslogtreecommitdiffstats
path: root/debian/patches/06-xpdf_support_compressed_pdf.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 01:03:19 +0000
commit98634323a37a3056ba35a14ea519c80d8727b0e6 (patch)
tree50d10992ee45045491fd10cb24064fcfdabd82fc /debian/patches/06-xpdf_support_compressed_pdf.patch
parentMerging upstream version 1:2.12.0. (diff)
downloadbash-completion-98634323a37a3056ba35a14ea519c80d8727b0e6.tar.xz
bash-completion-98634323a37a3056ba35a14ea519c80d8727b0e6.zip
Merging debian version 1:2.12.0-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/06-xpdf_support_compressed_pdf.patch')
-rw-r--r--debian/patches/06-xpdf_support_compressed_pdf.patch28
1 files changed, 12 insertions, 16 deletions
diff --git a/debian/patches/06-xpdf_support_compressed_pdf.patch b/debian/patches/06-xpdf_support_compressed_pdf.patch
index de050f4..99d285e 100644
--- a/debian/patches/06-xpdf_support_compressed_pdf.patch
+++ b/debian/patches/06-xpdf_support_compressed_pdf.patch
@@ -3,19 +3,15 @@ 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/702498
----
- bash_completion | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
---- bash-completion.orig/bash_completion
-+++ bash-completion/bash_completion
-@@ -1958,7 +1958,8 @@ _install_xspec '!*.@(gif|jp?(e)g?(2)|j2[ck]|jp[2f]|tif?(f)|png|p[bgp]m|bmp|x[bp]
- _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|xz|XZ)))' okular
- _install_xspec '!*.pdf' epdfview pdfunite
+diff --git a/bash_completion b/bash_completion
+index f6830e7a..82a349fd 100644
+--- a/bash_completion
++++ b/bash_completion
+@@ -3071,6 +3071,7 @@ _comp__init_install_xspec '!*.@(@(?(e)ps|?(E)PS|pdf|PDF)?(.gz|.GZ|.bz2|.BZ2|.Z))
+ _comp__init_install_xspec '!*.@(dvi|DVI)?(.@(gz|Z|bz2))' xdvi kdvi
+ _comp__init_install_xspec '!*.dvi' dvips dviselect dvitype dvipdf advi dvipdfm dvipdfmx
+ _comp__init_install_xspec '!*.[pf]df' acroread gpdf xpdf
++_comp__init_install_xspec '!*.@(pdf|fdf)?(.@(gz|GZ|bz2|BZ2|Z))' xpdf
+ _comp__init_install_xspec '!*.@(?(e)ps|pdf)' kpdf
+ _comp__init_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|md|markdown)?(.?(gz|GZ|bz2|BZ2|xz|XZ)))' okular
+ _comp__init_install_xspec '!*.pdf' epdfview pdfunite