Package: geeqie
Version: 1:1.0-10.1

When creating a new print window (File->Print...), geeqie spawns an
"lpstat -p" to build a list of configured printers. This has no big
merit (only that geeqie can then show off with a pre-made list of
"custom commands", like

Custom Printer
~~~~~~~~~~~~~~
lpr -P lp@server2
lpr -P np-151@server2
lpr -P np-211@server2
lpr -P np-3ogl@server2
lpr -P logik1@server2
lpr -P logik2@server2
lpr -P cp-3og@server2)

, but the essential regression that this can take 1min or more which is
unacceptable (we are using lpstat from the lprng package).

I suggest altogether removing this feature which seems like a mix of the
worst of both the "Unix" and the "integrated" approaches.

A quick and non-intrusive fix would be like

Index: geeqie-1.0/src/print.c
===================================================================
--- geeqie-1.0.orig/src/print.c 2012-06-20 17:24:56.000000000 +0200
+++ geeqie-1.0/src/print.c      2012-06-20 17:25:14.000000000 +0200
@@ -33,7 +33,7 @@

 #define PRINT_LPR_COMMAND "lpr"
 #define PRINT_LPR_CUSTOM  "lpr -P %s"
-#define PRINT_LPR_QUERY   "lpstat -p"
+#define PRINT_LPR_QUERY   "true"

 #define PRINT_DLG_WIDTH 600
 #define PRINT_DLG_HEIGHT 400

-Jens Stimpfle



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

Reply via email to