From d9733bd21dadc7390cec5f25736e2975c3dc70fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Soutad=C3=A9?= Date: Fri, 6 Aug 2010 22:03:53 +0200 Subject: [PATCH] Add tools --- README | 4 +++- README.fr | 4 +++- generate_locales.sh | 4 +--- tools/generate_locales.sh | 3 +++ tools/launch_kc.sh | 4 ++++ tools/package.sh | 15 +++++++++++++++ 6 files changed, 29 insertions(+), 5 deletions(-) mode change 100755 => 120000 generate_locales.sh create mode 100755 tools/generate_locales.sh create mode 100755 tools/launch_kc.sh create mode 100755 tools/package.sh diff --git a/README b/README index 3113e55..f538023 100644 --- a/README +++ b/README @@ -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 diff --git a/README.fr b/README.fr index 22ada49..4650c9a 100644 --- a/README.fr +++ b/README.fr @@ -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 diff --git a/generate_locales.sh b/generate_locales.sh deleted file mode 100755 index f259b1d..0000000 --- a/generate_locales.sh +++ /dev/null @@ -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 \ No newline at end of file diff --git a/generate_locales.sh b/generate_locales.sh new file mode 120000 index 0000000..85f8633 --- /dev/null +++ b/generate_locales.sh @@ -0,0 +1 @@ +tools/generate_locales.sh \ No newline at end of file diff --git a/tools/generate_locales.sh b/tools/generate_locales.sh new file mode 100755 index 0000000..f259b1d --- /dev/null +++ b/tools/generate_locales.sh @@ -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 \ No newline at end of file diff --git a/tools/launch_kc.sh b/tools/launch_kc.sh new file mode 100755 index 0000000..fc64aea --- /dev/null +++ b/tools/launch_kc.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH +./kc diff --git a/tools/package.sh b/tools/package.sh new file mode 100755 index 0000000..3cb79c4 --- /dev/null +++ b/tools/package.sh @@ -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 !" \ No newline at end of file