diff --git a/Makefile.am b/Makefile.am index a2c6f1c5..1bc66edd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -62,18 +62,12 @@ EXTRA_DIST = \ deb: fakeroot dpkg-buildpackage -install-exec-hook: \ - (mkdir -p $(pkgdatadir) && \ - mkdir -p $(pkgdatadir)/plugins && \ - mkdir -p $(pkgdatadir)/ide && \ - mkdir -p $(pkgdatadir)/samples && \ - cp documentation/sbasic_ref.csv $(pkgdatadir) && \ - cp plugins/*.* $(pkgdatadir)/plugins && \ - cp ide/*.* $(pkgdatadir)/ide) - test: (cd $(SUBDIRS) && make test) +release: + (cd $(SUBDIRS) && make release) + # produce a stack dump ndk-stack: adb logcat | ${NDK}/ndk-stack -sym src/platform/android/obj/local/armeabi diff --git a/README b/README index 54ca1c21..b1e3c93d 100644 --- a/README +++ b/README @@ -30,13 +30,13 @@ Then use it to cross-compile the tools: make make install DESTDIR=$(pwd) -3. Build common +3. setup config.h -./configure --enable-android --host=arm-linux-androideabi +./configure --enable-android 4. Build the native activity -$ cd src/platform/andoid/jni && $NDK/ndk-build +$ cd src/platform/andoid/jni && $NDK/ndk-build NDK_DEBUG=0 $ cd - && cd ide/android/ && ant release install diff --git a/configure.ac b/configure.ac index 7f0fdf91..054fe9f9 100644 --- a/configure.ac +++ b/configure.ac @@ -7,7 +7,7 @@ dnl This program is distributed under the terms of the GPL v2.0 dnl Download the GNU Public License (GPL) from www.gnu.org dnl -AC_INIT([smallbasic], [0.11.8]) +AC_INIT([smallbasic], [0.11.11]) AC_CONFIG_SRCDIR([configure.ac]) AC_CANONICAL_TARGET @@ -123,14 +123,6 @@ function checkPCRE() { fi } -function checkSearch() { - have_saerch="maybe" - AC_CHECK_HEADER(search.h, [have_search="yes"], [have_search="no"]) - if test x$have_search = xyes ; then - AC_DEFINE(HAVE_SEARCH_H, 1, [Found GNU search.h]) - fi -} - function defaultConditionals() { AM_CONDITIONAL(WITH_HILDON, false) AM_CONDITIONAL(WITH_CYGWIN_CONSOLE, false) @@ -511,7 +503,7 @@ function buildTizen() { } function buildAndroid() { - TARGET="Building common library for Android." + TARGET="Building for Android." defaultConditionals @@ -528,7 +520,7 @@ function buildAndroid() { AC_DEFINE(IMPL_LOG_WRITE, 1, [Driver implements lwrite()]) AC_DEFINE(USE_TERM_IO, 0, [Does not use terminal-io functions.]) - BUILD_SUBDIRS="src/platform/android/common" + BUILD_SUBDIRS="src/platform/android" AC_SUBST(BUILD_SUBDIRS) } @@ -633,7 +625,6 @@ else buildConsole fi -checkSearch checkPCRE checkDebugMode checkForWindows @@ -654,7 +645,7 @@ src/platform/mingw/Makefile src/platform/unix/Makefile src/platform/mosync/common/Makefile src/platform/tizen/common/Makefile -src/platform/android/common/Makefile +src/platform/android/Makefile ]) AC_OUTPUT diff --git a/debian/changelog b/debian/changelog index aa9711b2..8bf8438b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,18 @@ +smallbasic (0.11.11) unstable; urgency=low + * Built using common code from the android project and SDL + + -- Chris Warren-Smith Sat, 19 July 2014 09:45:25 +1000 + +smallbasic (0.11.10) unstable; urgency=low + * Built using common code from the android project and SDL + + -- Chris Warren-Smith Sat, 19 July 2014 09:45:25 +1000 + smallbasic (0.10.8) unstable; urgency=low * Fix misc issues with const char* uncovered with new gcc -- Chris Warren-Smith Sat, 31 July 2010 09:45:25 +1000 - + smallbasic (0.10.7) unstable; urgency=low * Added defineKey and fixed delay problems with the inkey command diff --git a/debian/control b/debian/control index 390f23b3..c269e16d 100644 --- a/debian/control +++ b/debian/control @@ -13,6 +13,6 @@ Description: One more basic SmallBASIC is a fast and easy to learn BASIC language interpreter ideal for everyday calculations, scripts and prototypes. SmallBASIC includes trigonometric, matrices and algebra functions, - a built in IDE, a powerful string library, system, sound, and graphic + a powerful string library, system, sound, and graphic commands along with structured programming syntax. SmallBASIC is licensed under the GPL. diff --git a/debian/rules b/debian/rules index 185d5123..afded1fc 100755 --- a/debian/rules +++ b/debian/rules @@ -72,7 +72,7 @@ binary-arch: build install dh_installchangelogs ChangeLog dh_installdocs dh_installexamples - dh_install --exclude=".svn" documentation/sbasic_ref.csv plugins samples/distro-examples usr/share/smallbasic + dh_install --exclude=".git" documentation/sbasic_ref.csv plugins samples/distro-examples usr/share/smallbasic dh_installman dh_link dh_strip diff --git a/ide/android/AndroidManifest.xml b/ide/android/AndroidManifest.xml index f7ca3f9b..2ecb8261 100644 --- a/ide/android/AndroidManifest.xml +++ b/ide/android/AndroidManifest.xml @@ -2,12 +2,16 @@ + android:versionCode="13" + android:versionName="0.11.11"> - + - + + + + + - - + + + + diff --git a/ide/android/assets/main.bas b/ide/android/assets/main.bas index 4a6693c9..952787a7 100644 --- a/ide/android/assets/main.bas +++ b/ide/android/assets/main.bas @@ -30,7 +30,7 @@ sub about() print "(_ ._ _ _.|||_) /\ (_ |/ " print "__)| | |(_||||_)/--\__)|\_" print - print "Version 0.11.8" + print "Version 0.11.11" print print "Copyright (c) 2002-2014 Chris Warren-Smith" print "Copyright (c) 2000-2006 Nic Christopoulos" + chr(10) diff --git a/ide/android/build.xml b/ide/android/build.xml index e417ae1e..4c2085ca 100644 --- a/ide/android/build.xml +++ b/ide/android/build.xml @@ -2,10 +2,10 @@