Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#306402: gjots2: Option -seascape is not recognized for printing

0 views
Skip to first unread message

Khalid El Fathi

unread,
May 10, 2005, 9:30:16 AM5/10/05
to
Package: gjots2
Version: 2.1.1-2
Severity: normal
Tags: patch

Hi,

Thank you for your bug report, I just fund a new bug.

The gv command says :
gv is /usr/bin/gv
gv: invalid option -- s

This option -seascape is not recognized but is needed the following
option : --orientation=seascape

I forwarded patch upstream

Best Regards,


diff -urN orig/gui.py new/gui.py
--- orig/gui.py 2005-05-10 14:12:49.000000000 +0200
+++ new/gui.py 2005-05-10 14:13:30.000000000 +0200
@@ -263,7 +263,7 @@
self.client.set_string(self.text_formatter_path,
"fmt -w %d")

if not self.client.get_string(self.print_command_path):
- self.client.set_string(self.print_command_path,
"if type gv; then GV='gv -seascape'; else if type ggv; then GV=ggv; else
lpr $1; exit; fi; fi; T=/tmp/.tmp.$$;mpage -f -2 -I1 -P- $1 > $T;($GV
$T; rm $T)&")
+ self.client.set_string(self.print_command_path,
"if type gv; then GV='gv --orientation=seascape'; else if type ggv; then
GV=ggv; else lpr $1; exit; fi; fi; T=/tmp/.tmp.$$;mpage -f -2 -I1 -P- $1
> $T;($GV $T; rm $T)&")

if not self.client.get_string(self.external_editor_path):
if os.system("type nedit >/dev/null 2>&1") == 0:

--
.''`. Khalid El Fathi
: :' : inv...@edena-fr.org
`. `' www.edena-fr.org
`- GPG: 1024D/5801E0DA

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

0 new messages