/[packages]/cauldron/texlive/current/SOURCES/texlive-20130530-mandriva-xdvi.patch
ViewVC logotype

Annotation of /cauldron/texlive/current/SOURCES/texlive-20130530-mandriva-xdvi.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 152666 - (hide annotations) (download)
Fri Oct 7 05:38:20 2011 UTC (12 years, 6 months ago) by dmorgan
Original Path: cauldron/texlive/current/SOURCES/texlive-20110312-xdvi.patch
File size: 1790 byte(s)
New version 20110705  ( sync with mdv)
1 dmorgan 152666 --- texlive-20110312-source/texk/xdvik/xdvi-sh.in.orig 2011-03-12 14:20:50.040873001 -0300
2     +++ texlive-20110312-source/texk/xdvik/xdvi-sh.in 2011-03-12 14:21:14.296873002 -0300
3     @@ -4,19 +4,6 @@
4     # Copyright Thomas Esser, 1998. Permission to distribute under the terms
5     # of the GNU general public license version 2 or later.
6    
7     -# This script sets some environment variables to make sure that xdvi's
8     -# resource file in $XDVIINPUTS/xdvi is read by xdvi.bin.
9     -
10     -test -f /bin/sh5 && test -z "$RUNNING_SH5" \
11     - && test x"`(uname -s) 2>&1`" = xULTRIX \
12     - && { RUNNING_SH5=true; export RUNNING_SH5; exec /bin/sh5 $0 ${1+"$@"}; }
13     -RUNNING_SH5=
14     -
15     -test -f /bin/bsh && test -z "$RUNNING_BSH" \
16     - && test x"`(uname -s) 2>&1`" = xAIX \
17     - && { RUNNING_BSH=true; export RUNNING_BSH; exec /bin/bsh $0 ${1+"$@"}; }
18     -RUNNING_BSH=
19     -
20     # -help and -version only used to work if they were the only options,
21     # so the "-name xdvi" parameter wasn't used in that case. With current
22     # xdvik, it should work in any case, but we keep this logic for compatibility
23     @@ -35,19 +22,4 @@ case "$#:$1" in
24     NAMEOPT="-name $BASE_NAME";;
25     esac
26    
27     -xdviappfile=`kpsewhich -progname=xdvi --format='other text files' XDvi`
28     -if test -n "$xdviappfile"; then
29     - xdviappdir=`dirname "$xdviappfile"`
30     - xdviapppath="${xdviappdir}/%l_%t/%N:${xdviappdir}/%N"
31     -
32     - # For R3, we have to set XAPPLRESDIR.
33     - ### SU: removed, xdvik won't work with R3 anyway, and XAPPLRESDIR is
34     - ### for user customizations in current X
35     - ### XAPPLRESDIR="$xdviappdir"; export XAPPLRESDIR
36     -
37     - # For R4 or later, we have to set XFILESEARCHPATH, since XAPPLRESDIR might
38     - # be ignored (if XUSERFILESEARCHPATH is set)
39     - XFILESEARCHPATH="$xdviapppath:${XFILESEARCHPATH-%D}"; export XFILESEARCHPATH
40     -fi
41     -
42     exec @final_exec_name@ $NAMEOPT ${1+"$@"}

  ViewVC Help
Powered by ViewVC 1.1.30