Package: xcftools
Version: 1.0.7-1
Severity: important
File: /usr/bin/xcfview
Tags: patch

xcfview completely does not work:

$ xcfview Tsuruya.xcf 
Global symbol "@converter" requires explicit package name at /usr/bin/xcfview 
line 26.
Global symbol "$usecomm" requires explicit package name at /usr/bin/xcfview 
line 27.
Global symbol "@converter" requires explicit package name at /usr/bin/xcfview 
line 29.
Global symbol "$usecomm" requires explicit package name at /usr/bin/xcfview 
line 30.
Global symbol "$usecomm" requires explicit package name at /usr/bin/xcfview 
line 36.
Global symbol "$usecomm" requires explicit package name at /usr/bin/xcfview 
line 37.
Global symbol "@converter" requires explicit package name at /usr/bin/xcfview 
line 48.
Global symbol "$usecomm" requires explicit package name at /usr/bin/xcfview 
line 49.
Execution of /usr/bin/xcfview aborted due to compilation errors.
anth...@tao:/tmp [$?=255]$ 

Trivial patch is below:

--- xcfview     2010-03-05 09:40:27.000000000 -0500
+++ xcfview.new 2010-03-05 09:41:12.000000000 -0500
@@ -22,6 +22,7 @@
 my $png_prog = `xdg-mime query default image/png`;
 my $pnm_prog = `xdg-mime query default image/x-portable-pixmap`;
 
+my (@converter, $usecomm);
 if ($png_prog) {
     @converter = ("xcf2png");
     $usecomm = $png_prog;


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (100, 'unstable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xcftools depends on:
ii  libc6                         2.10.2-6   Embedded GNU C Library: Shared lib
ii  libpng12-0                    1.2.42-2   PNG library - runtime
ii  xdg-utils                     1.0.2-6.1  desktop integration utilities from

Versions of packages xcftools recommends:
ii  mime-support                  3.48-1     MIME files 'mime.types' & 'mailcap

Versions of packages xcftools suggests:
ii  gimp                          2.6.7-1.1  The GNU Image Manipulation Program
ii  x11-common                    1:7.5+3    X Window System (X.Org) infrastruc

-- no debconf information



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

Reply via email to