From 0c83de717149ca699dc1d6a5f751962ec2d778ea Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Tue, 31 Jan 2012 11:38:25 +0100 Subject: [PATCH 1/7] improved debian package --- buildDebianPackage | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/buildDebianPackage b/buildDebianPackage index ca709d01..9eb6010e 100755 --- a/buildDebianPackage +++ b/buildDebianPackage @@ -49,8 +49,8 @@ else LAST_COMMITED_VERSION="`git describe $(git rev-list --tags --max-count=1)`" if [ "v$VERSION" != "$LAST_COMMITED_VERSION" ]; then echo creating a tag with the version $VERSION -# git tag -a "v$VERSION" -m "Generating setup for v$VERSION" -# git push origin --tags + git tag -a "v$VERSION" -m "Generating setup for v$VERSION" + git push origin --tags fi fi @@ -192,6 +192,9 @@ CONTROL_FILE="$BASE_WORKING_DIR/DEBIAN/control" CHANGE_LOG_TEXT="changelog.txt" ARCHITECTURE=`uname -i` +if [ "$ARCHITECTURE" == "x86_64" ]; then + ARCHITECTURE="amd64" +fi echo "Open-Sankore ($VERSION) $ARCHITECTURE; urgency=low" > "$CHANGE_LOG_FILE" echo >> "$CHANGE_LOG_FILE" @@ -206,8 +209,8 @@ echo "Priority: optional" >> "$CONTROL_FILE" echo "Architecture: $ARCHITECTURE" >> "$CONTROL_FILE" echo "Essential: no" >> "$CONTROL_FILE" echo "Installed-Size: `du -s $SANKORE_PACKAGE_DIRECTORY | awk '{ print $1 }'`" >> "$CONTROL_FILE" -echo "Maintainer: Claudio VALERIO " >> "$CONTROL_FILE" -echo "Homepage: http://www.open-sankore.org" >> "$CONTROL_FILE" +echo "Maintainer: Open-Sankoré Developers team " >> "$CONTROL_FILE" +echo "Homepage: http://dev.open-sankore.org" >> "$CONTROL_FILE" echo -n "Depends: " >> "$CONTROL_FILE" unset tab declare -a tab @@ -223,6 +226,10 @@ for l in `objdump -p $SANKORE_PACKAGE_DIRECTORY/Open-Sankore | grep NEEDED | awk done; done; +#additional dependencies +tab[$count]="gtk2-engines-pixbuf" +((count++)) + for ((i=0;i<${#tab[@]};i++)); do if [ $i -ne "0" ]; then echo -n ", " >> "$CONTROL_FILE" @@ -254,10 +261,10 @@ chmod 755 "$BASE_WORKING_DIR/DEBIAN/postint" mkdir -p "install/linux" -sudo chown -R root:root $BASE_WORKING_DIR +fakeroot chown -R root:root $BASE_WORKING_DIR dpkg -b "$BASE_WORKING_DIR" install/linux/Open-Sankore_${VERSION}_$ARCHITECTURE.deb notify-send "Open-Sankore" "Package built" #clean up mess -#sudo rm -rf $BASE_WORKING_DIR +#fakeroot rm -rf $BASE_WORKING_DIR From d2923eb6d07ea92388b243e1fa7fbc31f3c92f64 Mon Sep 17 00:00:00 2001 From: Claudio Valerio Date: Tue, 31 Jan 2012 11:38:50 +0100 Subject: [PATCH 2/7] added execute flag --- release.linux.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 release.linux.sh diff --git a/release.linux.sh b/release.linux.sh old mode 100644 new mode 100755 From 79588b6a1d326044ba23400a3d475d8d944213c4 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 31 Jan 2012 14:05:52 +0200 Subject: [PATCH 3/7] changed paraschool widget --- .../ordonner_des_images.wgt/index.html | 10 +++++++++- .../ordonner_des_images.wgt/js/languages.js | 20 ------------------- .../ordonner_des_images.wgt/js/script.js | 19 ++++-------------- .../js/translation/en.js | 8 ++++++++ .../js/translation/fr.js | 8 ++++++++ .../js/translation/ru.js | 8 ++++++++ 6 files changed, 37 insertions(+), 36 deletions(-) delete mode 100644 resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/languages.js create mode 100644 resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/translation/en.js create mode 100644 resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/translation/fr.js create mode 100644 resources/library/sankoreInteractivities/ordonner_des_images.wgt/js/translation/ru.js diff --git a/resources/library/sankoreInteractivities/ordonner_des_images.wgt/index.html b/resources/library/sankoreInteractivities/ordonner_des_images.wgt/index.html index 536bd4e0..5525abd4 100644 --- a/resources/library/sankoreInteractivities/ordonner_des_images.wgt/index.html +++ b/resources/library/sankoreInteractivities/ordonner_des_images.wgt/index.html @@ -10,6 +10,14 @@