]> git.pld-linux.org Git - packages/hatari.git/blob - hatari-python_init.patch
- Up to 1.9.0.
[packages/hatari.git] / hatari-python_init.patch
1 --- hatari-1.5.0/python-ui/hatariui.orig        2011-07-19 00:32:26.000000000 +0200
2 +++ hatari-1.5.0/python-ui/hatariui     2011-07-23 10:05:56.946083979 +0200
3 @@ -6,7 +6,7 @@
4  path=${0%/*}
5  name=${0##*/}
6  
7 -if [ ! -e $path/$name.py ]; then
8 +if [ ! -e $path/$name.pyc ]; then
9         # Assume package has been relocated, try relative data directory:
10         path=${0%/*}/../share/hatari/hatariui
11  fi
12 @@ -20,18 +20,18 @@
13  export HATARI_SYSTEM_CONFDIR=$conf
14  
15  # example setup for Hatari UI
16 -$path/$name.py --right "about,|,run,pause,forward,|,reset,|,quit" --embed $*
17 +python $path/$name.pyc --right "about,|,run,pause,forward,|,reset,|,quit" --embed $*
18  exit 0
19  
20  # test setup without embedding, dupplicate toggles
21 -$path/$name.py --top "about,run,pause,quit" \
22 +python $path/$name.pyc --top "about,run,pause,quit" \
23  --panel "Testpanel,pause,>,close" \
24  --bottom "sound,|,forward,pause,|,Testpanel" \
25  $*
26  exit 0
27  
28  # test setup with embedding and all available controls
29 -$path/$name.py --embed \
30 +python $path/$name.pyc --embed \
31  --top "about,|,run,pause,|,reset,debug,|,quit" \
32  --left "run,pause,reset,machine,about" \
33  --panel "Keys,F1=59,F2=60,F3=61,F4=62,F5=63,F6=64,F7=65,F8=66,F9=67,F10=68,>,Macro=Test,Undo=97,Help=98,Enter=114,>,close" \
This page took 0.052897 seconds and 3 git commands to generate.