Skip to content
Permalink
Browse files

renames starter-scripts; deletes unneeded Version file

  • Loading branch information
spiderbit committed Feb 20, 2009
1 parent 73eb7dc commit af4f83703c48c243e6b03a420e45394c20b5e9b4
@@ -3,8 +3,8 @@ Installation / Requirements

1. RUN DIRECTLY

> python main.py starts canta
> python csg.py starts canta song generator
> sh run_canta starts canta
> sh run_song_generator starts canta song generator
(--help for more)

you need all the Dependencies listet under Point 3
@@ -1,4 +1,4 @@
include *.txt main.py csg.py
include *.txt run_canta run_song_generator
recursive-include media *
recursive-include locale *
recursive-include misc *

This file was deleted.

File renamed without changes.
File renamed without changes.
2 view_theme.py → run_view_theme 100644 → 100755
@@ -43,7 +43,7 @@ def usage():
print "| - res x: resolution, e.g. 1024"
print "| - res y: resolution, e.g. 768"
print "| - fs: fullscreen 1 or 0\n|"
print "| Example: python view_theme.py mozart 1024 768 0"
print "| Example: python run_view_theme.py mozart 1024 768 0"

def main():
if len(sys.argv) != 5:
@@ -11,7 +11,7 @@ function bla {

if test -n "$1"
then
xgettext main.py --language=Python -o locale/canta.pot --force-po;
xgettext run_canta --language=Python -o locale/canta.pot --force-po;
find . -iname "*.py" -exec xgettext --language=Python -j -o locale/canta.pot --keyword=_ {} \;
if test -d locale/$1
then
@@ -35,5 +35,3 @@ else
echo "Usage example for german language:"
echo "> $0 de_DE "
fi


@@ -16,14 +16,14 @@

version_file = open('VERSION')
version = version_file.next()


def get_files(path):
files = []
elements = glob(path + '/*')
for elem in elements:
if os.path.isdir(elem):
files.extend(get_files(os.path.join(elem)))
files.extend(get_files(os.path.join(elem)))
else:
files.append(os.path.join(elem))
return files
@@ -38,7 +38,7 @@ def get_files(path):
for file in data_files:
setup_data_files.append(('share/games/canta/'+os.path.dirname(file), [file]))

setup_data_files.append(('share/games/canta/', ['ABOUT.txt', 'changelog.txt', 'HACKING.txt', 'INSTALL.txt', 'LICENSE.txt', 'main.py', 'csg.py', 'VERSION', 'configspec']))
setup_data_files.append(('share/games/canta/', ['ABOUT.txt', 'changelog.txt', 'HACKING.txt', 'INSTALL.txt', 'LICENSE.txt', 'run_canta', 'run_song_generator', 'configspec']))
setup_data_files.append(('share/pixmaps', ['misc/canta.png', 'misc/csg.png']))
setup_data_files.append(('share/applications', ['misc/canta.desktop', 'misc/csg.desktop']))
setup_data_files.append(('share/games/canta/misc', ['misc/HELP.txt']))
@@ -71,6 +71,3 @@ def get_files(path):
version = version,
data_files = setup_data_files,
)



@@ -1,3 +1,3 @@
#!/bin/sh

python /usr/share/games/canta/main.py
python /usr/share/games/canta/run_canta
@@ -1,3 +1,3 @@
#!/bin/sh

python /usr/share/games/canta/csg.py $*
python /usr/share/games/canta/run_song_generator $*

0 comments on commit af4f837

Please sign in to comment.
You can’t perform that action at this time.