Add tools

This commit is contained in:
Grégory Soutadé 2010-08-06 22:03:53 +02:00
parent 88c6b1198c
commit d9733bd21d
6 changed files with 29 additions and 5 deletions

4
README
View File

@ -1,5 +1,7 @@
KissCount is personnal account software delivered under GPL v3 licence terms.
Current version is 0.1 bêta
Current version is 0.1 beta (trunk version)
A modified version of wxFreeChart is used : warning during recompilation, don't overwrite autotools files with ./configure
More information can be found at http://soutade.indefero.net/p/kisscount

View File

@ -1,5 +1,7 @@
KissCount est un logiciel de gestion de comptes personnels délivré sous licence GPL v3
La version actuelle est 0.1 bêta
La version actuelle est 0.1 bêta (version du tronc)
Une version modifiée de wxFreeChart est utilisée : attention à lors de la recompilation à ne pas écraser les fichiers des autotools (pas de ./configure)
Plus d'informations peuvent être trouvé sur http://soutade.indefero.net/p/kisscount

View File

@ -1,3 +0,0 @@
#!/bin/bash
CPP_FILE_LIST=`find src -name '*.cpp' -print`
xgettext --from-code utf-8 -d kisscount -s --keyword=_ -p ./ressources/po -o kisscount.pot $CPP_FILE_LIST

1
generate_locales.sh Symbolic link
View File

@ -0,0 +1 @@
tools/generate_locales.sh

3
tools/generate_locales.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
CPP_FILE_LIST=`find src -name '*.cpp' -print`
xgettext --from-code utf-8 -d kisscount -s --keyword=_ -p ./ressources/po -o kisscount.pot $CPP_FILE_LIST

4
tools/launch_kc.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
./kc

15
tools/package.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
DATE=`date +%d.%m.%Y`
DIR="build_$DATE"
FILE="$DIR.tar.bz2"
rm -f $FILE
rm -rf $DIR
make clean
make || (echo "Compilation failed" ; exit 1)
mkdir $DIR
cp -r kc lib/freechart/lib/* lib/wxsqlite3-1.9.9/lib/* init.sql ressources launch_kc.sh TODO CONTRIBUTORS COPYING README README.fr $DIR
tar -jcf $FILE $DIR
rm -rf $DIR
echo "Packaged !"