From 7921a3206cec2a13dcf24fa1b943b554863ed4e5c60d5c3e282a0d90f022917d Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 3 Nov 2011 13:57:00 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=14 --- a2ps-4.13-gv-arguments.patch | 13 +++++++++++++ a2ps-4.13.dif | 8 ++++---- a2ps.changes | 5 +++++ a2ps.spec | 2 ++ 4 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 a2ps-4.13-gv-arguments.patch diff --git a/a2ps-4.13-gv-arguments.patch b/a2ps-4.13-gv-arguments.patch new file mode 100644 index 0000000..eaff9d5 --- /dev/null +++ b/a2ps-4.13-gv-arguments.patch @@ -0,0 +1,13 @@ +--- a2ps-4.13/etc/a2ps_cfg.in ++++ a2ps-4.13/etc/a2ps_cfg.in 2011-10-21 16:07:46.000000000 +0000 +@@ -220,8 +220,8 @@ + # Either GV (prefered) or Ghostview will be used as the "display" printer + # We give -dNOPLATFONTS so that real fonts are used + # (Strange results appear with Ogonkify's fonts for instance). +-@COM_ghostview@Variable: ghostview @ghostview@ -arguments -dNOPLATFONTS +-@COM_gv@Variable: ghostview @gv@ -antialias -arguments -dNOPLATFONTS ++@COM_ghostview@Variable: ghostview @ghostview@ -arguments=-dNOPLATFONTS ++@COM_gv@Variable: ghostview @gv@ -antialias -arguments=-dNOPLATFONTS + + # Used for the `pdf' printer. + # Use as `#{ps2pdf} INPUT OUTPUT'. diff --git a/a2ps-4.13.dif b/a2ps-4.13.dif index 1b0c225..387a631 100644 --- a/a2ps-4.13.dif +++ b/a2ps-4.13.dif @@ -922,10 +922,10 @@ # Either GV (prefered) or Ghostview will be used as the "display" printer # We give -dNOPLATFONTS so that real fonts are used # (Strange results appear with Ogonkify's fonts for instance). --@COM_ghostview@Variable: ghostview @ghostview@ -arguments -dNOPLATFONTS --@COM_gv@Variable: ghostview @gv@ -antialias -arguments -dNOPLATFONTS -+##@COM_ghostview@Variable: ghostview @ghostview@ -arguments -dNOPLATFONTS -+#@COM_gv@Variable: ghostview @gv@ -antialias -arguments -dNOPLATFONTS +-@COM_ghostview@Variable: ghostview @ghostview@ -arguments=-dNOPLATFONTS +-@COM_gv@Variable: ghostview @gv@ -antialias -arguments=-dNOPLATFONTS ++##@COM_ghostview@Variable: ghostview @ghostview@ -arguments=-dNOPLATFONTS ++#@COM_gv@Variable: ghostview @gv@ -antialias -arguments=-dNOPLATFONTS +Variable: ghostview a2ps-open # Used for the `pdf' printer. diff --git a/a2ps.changes b/a2ps.changes index c84855d..278db78 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 3 13:46:25 UTC 2011 - werner@suse.de + +- Fix wrong parameter usage for gv in a2ps.conf (bnc#725806) + ------------------------------------------------------------------- Sat Sep 17 10:39:10 UTC 2011 - jengelh@medozas.de diff --git a/a2ps.spec b/a2ps.spec index 85c6dde..ceef34a 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -44,6 +44,7 @@ Patch8: a2ps-4.13-base.patch Patch9: a2ps-4.13-utf8.patch Patch10: a2ps-4.13-types.patch Patch11: a2ps-4.13-psgen.patch +Patch12: a2ps-4.13-gv-arguments.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -85,6 +86,7 @@ touch -r configure.in .ref %patch -P 9 -p 0 -b .utf8 %patch -P 10 -p 0 -b .types %patch -P 11 -p 0 -b .psgen +%patch -P 12 -p 1 -b .gvarg %patch cp -f %SOURCE1 po/ko.po rename no nb po/no.*