[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#94457: tcdialog problem



tag 94457 patch
tag 94546 patch
thanks

Looks like we lost a patch somewhere along the line.

tetex-bin 1.0.7+20000807-5's texconfig has *all* instances of
``tcdialog'' changed to use ``dialog''.  After some
experimentation, however, I discovered that only one instance of
``tcdialog'' needs to be changed to make the script work.

Thomas Esser includes source for an older version of dialog, which
is compiled into a tcdialog binary.  Debian policy is to split out
such packages; given that there is a newer version of dialog
available in the distribution, it makes sense to use that version.

The following patch replaces the test for ``tcdialog'' with one
for ``dialog'':

--- texk/tetex/texconfig.orig	Wed May 23 18:24:58 2001
+++ texk/tetex/texconfig	Wed May 23 19:18:20 2001
@@ -1719,7 +1719,7 @@
 EDIT=${VISUAL-${EDITOR-$std_editor}}
 PAGER=${PAGER-$std_pager}
 
-check_for_binary tcdialog >/dev/null
+check_for_binary dialog >/dev/null
 dialogok=$?
 
 # we have called some shellfunctions, so for HP-UX's shell, we need
    --- texk/tetex/texconfig.orig	Wed May 23 18:24:58 2001
    +++ texk/tetex/texconfig	Wed May 23 18:47:52 2001
    @@ -1719,7 +1719,7 @@
     EDIT=${VISUAL-${EDITOR-$std_editor}}
     PAGER=${PAGER-$std_pager}

    -check_for_binary tcdialog >/dev/null
    +check_for_binary dialog >/dev/null
     dialogok=$?

     # we have called some shellfunctions, so for HP-UX's shell, we need

Optionally, adding a command in the rules file to create a
symbolic link to /usr/bin/dialog called /usr/bin/tcdialog would do
the trick.  (Creating such a link is also a trivial workaround for
the current situation.)

   CMC

+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
 Behind the counter a boy with a shaven head stared vacantly into space, 
 a dozen spikes of microsoft protruding from the socket behind his ear.
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
   C.M. Connelly               c@eskimo.com                   SHC, DS
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ 



Reply to: