From ff495ba08e98f5870eed1fb7ebf260b724c7577c Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 25 Jan 2007 12:15:57 +0000 Subject: [PATCH] - dvipdf script fixes (bug #88906). - Resolves: rhbz#88906 --- ghostscript-dvipdf.patch | 8 ++++++++ ghostscript.spec | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 ghostscript-dvipdf.patch diff --git a/ghostscript-dvipdf.patch b/ghostscript-dvipdf.patch new file mode 100644 index 0000000..c63db86 --- /dev/null +++ b/ghostscript-dvipdf.patch @@ -0,0 +1,8 @@ +--- espgs-8.15.3/lib/dvipdf.dvipdf 2007-01-25 12:14:49.000000000 +0000 ++++ espgs-8.15.3/lib/dvipdf 2007-01-25 12:15:02.000000000 +0000 +@@ -37,4 +37,4 @@ + + # We have to include the options twice because -I only takes effect if it + # appears before other options. +-exec dvips -q -f "$infile" | gs $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - ++exec dvips -R -q -f "$infile" | gs $OPTIONS -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite - diff --git a/ghostscript.spec b/ghostscript.spec index 9dbf56a..a28357d 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -20,6 +20,7 @@ Patch3: ghostscript-noopt.patch Patch4: ghostscript-big-cmap-post.patch Patch5: ghostscript-split-cidfnmap.patch Patch6: ghostscript-gxcht-64bit-crash.patch +Patch7: ghostscript-dvipdf.patch Requires: urw-fonts >= 1.1, ghostscript-fonts BuildRequires: libjpeg-devel, libXt-devel @@ -91,6 +92,9 @@ A GTK-enabled version of Ghostscript, called 'gsx'. # Backported gxcht 64bit crash fix from GPL trunk (bug #177763). %patch6 -p1 -b .gxcht-64bit-crash +# dvipdf script fixes (bug #88906). +%patch7 -p1 -b .dvipdf + # Convert manual pages to UTF-8 from8859_1() { iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_" @@ -249,6 +253,7 @@ rm -rf $RPM_BUILD_ROOT %changelog * Thu Jan 25 2007 Tim Waugh +- dvipdf script fixes (bug #88906). - Moved libijs.so and libgs.so into devel package (bug #203623). * Wed Jan 24 2007 Tim Waugh 8.15.3-6