Package: xpdf-reader
Version: 3.01-9
Followup-For: Bug #338096

Applying this patch should make zxpdf set the title for xpdf so that one
can see in the windowmanager which file is shown in which window.

===========================
--- zxpdf       2006-09-22 11:54:53.000000000 +0200
+++ zxpdf.new   2006-09-22 11:54:30.000000000 +0200
@@ -13,7 +13,7 @@
 while [ $# -gt 0 ]
 do
     case "$1" in
-    -z|-g|-geometry|-remote|-rgb|-papercolor|-eucjp|-t1lib|-ps|-paperw|-paperh)
+    
-z|-g|-geometry|-remote|-rgb|-papercolor|-eucjp|-t1lib|-ps|-paperw|-paperh|-title)
        flags="$flags $1 $2"; shift ;;
     -*) flags="$flags $1" ;;
     *.pdf|*.PDF) file="$1"; shift; pages="$@"; cat=; break ;;
@@ -39,7 +39,7 @@
 fi
 
 if [ "$tmp" == "" ]; then
-    exec xpdf $flags
+    exec xpdf -title "zxpdf: $file" $flags
 else
-    exec xpdf $flags "$tmp" $pages
+    exec xpdf -title "zxpdf: $file" $flags "$tmp" $pages
 fi
===========================

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-k7
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to 
de_DE)

Versions of packages xpdf depends on:
ii  xpdf-common                   3.01-9     Portable Document Format (PDF) sui
ii  xpdf-reader                   3.01-9     Portable Document Format (PDF) sui
ii  xpdf-utils                    3.01-9     Portable Document Format (PDF) sui

xpdf recommends no packages.

Versions of packages xpdf-reader depends on:
ii  gsfonts               8.14+v8.11+urw-0.2 Fonts for the Ghostscript interpre
ii  lesstif2              1:0.94.4-2         OSF/Motif 2.1 implementation relea
ii  libc6                 2.3.6.ds1-4        GNU C Library: Shared libraries
ii  libfreetype6          2.2.1-5            FreeType 2 font engine, shared lib
ii  libgcc1               1:4.1.1-13         GCC support library
ii  libice6               1:1.0.1-2          X11 Inter-Client Exchange library
ii  libpaper1             1.1.20             Library for handling paper charact
ii  libsm6                1:1.0.1-2          X11 Session Management library
ii  libstdc++6            4.1.1-13           The GNU Standard C++ Library v3
ii  libt1-5               5.1.0-2            Type 1 font rasterizer library - r
ii  libx11-6              2:1.0.0-9          X11 client-side library
ii  libxext6              1:1.0.1-2          X11 miscellaneous extension librar
ii  libxp6                1:1.0.0.xsf1-1     X Printing Extension (Xprint) clie
ii  libxpm4               1:3.5.5-2          X11 pixmap library
ii  libxt6                1:1.0.2-2          X11 toolkit intrinsics library
ii  xpdf-common           3.01-9             Portable Document Format (PDF) sui
ii  zlib1g                1:1.2.3-13         compression library - runtime

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to