Package: gtkdialog
Version: 2:0.7.20-3
Severity: normal
Tags: patch
Althrough man page states that
-s, --stdin
Read the program from the standard input
gtkdialog launched with this option does not read from stdin but aborts
with following message:
** ERROR **: gtkdialog: Error in line 1, near token '(null)': syntax error
This is because of mistype in source code. Patch in attachment fixes the
problem
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to ru_RU.UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gtkdialog depends on:
ii libatk1.0-0 1.22.0-1 The ATK accessibility toolkit
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libcairo2 1.6.4-1+b1 The Cairo 2D vector graphics libra
ii libglade2-0 1:2.6.2-1 library to load .glade files at ru
ii libglib2.0-0 2.16.1-2 The GLib library of C routines
ii libgtk2.0-0 2.12.9-2 The GTK+ graphical user interface
ii libpango1.0-0 1.20.2-2 Layout and rendering of internatio
ii libxml2 2.6.32.dfsg-2 GNOME XML library
gtkdialog recommends no packages.
-- no debconf information
--- src/main.c.old 2008-05-10 22:29:14.000000000 +0400
+++ src/main.c 2008-05-10 22:29:22.000000000 +0400
@@ -305,7 +305,7 @@
static gint
get_program_from_stdin(void)
{
- source = PRG_MEMORY;
+ source = PRG_STDIN;
PIP_DEBUG("Start.");
}