SHA256
1
0
forked from pool/a2ps

Accepting request 90044 from Publishing

- Fix wrong parameter usage for gv in a2ps.conf (bnc#725806)

OBS-URL: https://build.opensuse.org/request/show/90044
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/a2ps?expand=0&rev=21
This commit is contained in:
Stephan Kulow 2011-11-05 10:12:43 +00:00 committed by Git OBS Bridge
commit de87b683fc
4 changed files with 24 additions and 4 deletions

View File

@ -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'.

View File

@ -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.

View File

@ -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

View File

@ -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.*