Commit [ab4ce1] Maximize Restore History

ready to release 0.1

Thomas Tsai Thomas Tsai 2011-12-27

changed i18n/tuxboot.ts
changed ChangeLog
changed tuxboot.pot
copied qmake-linux-staticqt -> release-static-linux
copied release-linux -> release-src
copied release-windows -> winbuild/release-windows
i18n/tuxboot.ts Diff Switch to side-by-side view
Loading...
ChangeLog Diff Switch to side-by-side view
Loading...
tuxboot.pot Diff Switch to side-by-side view
Loading...
release-linux to release-src
--- a/release-linux
+++ b/release-src
@@ -1,16 +1,10 @@
 #!/bin/sh
-
-rvern="$(./vcs-revno)"
-machine=$(uname -m)
+release_path="/qt/tuxboot-release/"
+rvern="0.1"
 make clean
 rm Makefile*
 rm release/*.gz
 rm release/*linux*
-git archive --format=tar --prefix=tuxboot-$rvern/  HEAD | gzip > release/tuxboot-$rvern.src.tar.gz
-./mkpotfile
-qmake
-make
-strip --strip-all tuxboot
-[ -d release ] || mkdir -p release
-mv tuxboot release/tuxboot-linux-$rvern-$machine
-./upx --lzma release/tuxboot-linux-$rvern-$machine
+git clean -d -f
+mkdir -p $release_path/$rvern/
+git archive --format=tar --prefix=tuxboot-$rvern/  HEAD | gzip > $release_path/$rvern/tuxboot-$rvern.src.tar.gz
release-windows to winbuild/release-windows
--- a/release-windows
+++ b/winbuild/release-windows
@@ -1,7 +1,11 @@
 #!/bin/sh
 mingwb="$(ls /usr/ | grep mingw32 | grep -v amd64 | head --lines 1)"
-qtwind="$(pwd)/winbuild/qt4-win"
-qtx11d="$(pwd)/winbuild/qt4-x11"
+#qmake="/usr/bin/qmake"
+#uic="/usr/bin/uic"
+#rcc="/usr/bin/rcc"
+#moc="/usr/bin/moc"
+qtwind="$(pwd)/winbuild/qt4.5-win"
+qtx11d="$(pwd)/winbuild/qt4.5-x11"
 if [ ! -f "embedfiles/sevnz.dll" ] || [ ! -f "embedfiles/sevnz.exe" ]; then
     svloc=$(wget "http://7-zip.org/" -O - | grep --ignore-case "a href=\"http://downloads.sourceforge.net/sevenzip/" | grep -v ".msi" | grep -v "x64" | tail --lines 1 | tr "<" "\n" | tr ">" "\n" | tr "\"" "\n" | grep "http://downloads.sourceforge.net/sevenzip/")
     wget "$svloc" -O sevenzip.exe
@@ -14,12 +18,14 @@
     mv 7zS.sfx embedfiles/7zS.sfx
 fi
 rvern="$(./vcs-revno)"
+mkdir -p release
 make clean
 rm Makefile*
 rm release/*.exe
 ./mkpotfile
 
 $qtx11d/bin/qmake -spec $qtx11d/mkspecs/win32-g++ "DEFINES += STATICWINDOWS" "QMAKE_CC = $mingwb-gcc" "QMAKE_CXX = $mingwb-g++" "QMAKE_INCDIR_QT = $qtwind/include" "QMAKE_LIBDIR_QT = $qtwind/lib" "QMAKE_LINK = $mingwb-g++" "QMAKE_COPY_DIR = cp -r" "QMAKE_COPY = cp" "QMAKE_COPY_DIR = cp -r" "QMAKE_MOVE = mv" "QMAKE_DEL_FILE = rm" "QMAKE_CHK_DIR_EXISTS = test -d" "QMAKE_QMAKE = $qtx11d/bin/qmake" "QMAKE_MOC = $qtx11d/bin/moc" "QMAKE_UIC = $qtx11d/bin/uic" "QMAKE_RCC = $qtx11d/bin/rcc" "QMAKE_RC = $mingwb-windres" "RESOURCES += tuxboot-windows.qrc" "QMAKE_LFLAGS += -Wl,-subsystem,windows" "RC_FILE += tuxboot.rc" "$@"
+#qmake -spec win32-g++ "DEFINES += STATICWINDOWS" "QMAKE_CC = $mingwb-gcc" "QMAKE_CXX = $mingwb-g++" "QMAKE_INCDIR_QT = $qtwind/include" "QMAKE_LIBDIR_QT = $qtwind/lib" "QMAKE_LINK = $mingwb-g++" "QMAKE_COPY_DIR = cp -r" "QMAKE_COPY = cp" "QMAKE_COPY_DIR = cp -r" "QMAKE_MOVE = mv" "QMAKE_DEL_FILE = rm" "QMAKE_CHK_DIR_EXISTS = test -d" "QMAKE_QMAKE = $qmake" "QMAKE_MOC = $moc" "QMAKE_UIC = $uic" "QMAKE_RCC = $rcc" "QMAKE_RC = $mingwb-windres" "RESOURCES += tuxboot-windows.qrc" "QMAKE_LFLAGS += -Wl,-subsystem,windows" "RC_FILE += tuxboot.rc" "$@"
 make
 $mingwb-strip --strip-all release/tuxboot.exe
 mv release/tuxboot.exe release/tuxboot-windows-$rvern.exe