Bug#200264: tetex's dependencies on texdoctk, dvipdfm, perl-tk
On 21.04.04 Stefan Ulrich (stefan-ulrich.nntp@zen.co.uk) wrote:
> Frank Küster <frank@debian.org> wrote :
Hi all,
> > Couldn't we just test whether xmessage exists and use it if yes,
> > but use dialog or echo otherwise? If texdoctk is started from a
> > menu or icon, xbase-clients will usually be installed.
>
> That was what I meant, yes ... I also had assumed that xterm and xmessage
> were in the same Xclients package, but apparently they aren't. So you
> could try xmessage first, then xterm -e "/bin/echo ...", then stderr.
>
I guess, xterm is in a separate package too and will pull in
libncurses5.
> (Does one also need to check for whether X is running at all?)
>
drachi:~# texdoctk
couldn't connect to display ":0" at /usr/lib/perl5/Tk/MainWindow.pm line 55.
MainWindow->new() at /usr/bin/texdoctk line 118
drachi:~#
I guess not.
> As for Hilmar's suggestion of writing a small X program - wouldn't
> that also depend on Xlib/Xt and whatever toolkit you chose to write
> the program in?
>
Of course, we'll use QT. ;-) No, Xt/Xaw is contained in xlibs, which
is installed anyway. I have no clue about programming in XFree, so I
don't know, which toolkits I need to write a simple program.
H.
--
sigmentation fault
Reply to: