From 92f5e24397b5d1169375bfc9dc3baa3b9ea082e0 Mon Sep 17 00:00:00 2001 From: Thomas Kemmer Date: Fri, 20 Feb 2015 12:16:21 +0100 Subject: [PATCH] Prepare v0.7.0. --- CHANGES.rst | 10 ++++++ README.rst | 69 ++++++++++++++++++++++++--------------- build-android.sh | 14 -------- config.xml | 5 ++- mopidy_mobile/__init__.py | 2 +- scripts/release-apk.sh | 11 +++++++ setup.py | 2 +- 7 files changed, 70 insertions(+), 43 deletions(-) delete mode 100644 build-android.sh create mode 100644 scripts/release-apk.sh diff --git a/CHANGES.rst b/CHANGES.rst index 395a44b..4f3fb6b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,13 @@ +0.7.0 2015-02-20 +---------------- + +- Manage multiple server connections in app. + +- Prepare for new Mopidy `mixer` API. + +- Various UI improvements. + + 0.6.3 2015-02-12 ---------------- diff --git a/README.rst b/README.rst index 04ebacf..0badcae 100644 --- a/README.rst +++ b/README.rst @@ -1,40 +1,28 @@ -Mopidy-Mobile +Mopidy Mobile ======================================================================== -Mopidy-Mobile is a Mopidy_ Web extension and hybrid mobile app, -currently supporting iOS 7+ and Android 4.4. - -This project is in early development. At this time, it's still missing -some essential functionality, and it will not always work as expected. - -Initial working releases will be announced on the `Mopidy mailing list`_ -and/or `discussion forum`_. +Mopidy Mobile is a Mopidy_ Web extension and hybrid mobile app, +currently supporting iOS 7+ and Android 4.4. Users of older Android +versions may still access the Web extension using Google's `Chrome +browser`_. Installation ------------------------------------------------------------------------ -The Web extension can be installed using pip_ by running:: +The Mopidy Web extension can be installed using pip_ by running:: pip install Mopidy-Mobile -For now, the Android app is available for beta testing for members of -the `Mopidy mailing list`_ only; if you are already a member and want -to participate in testing, please follow `these instructions`_. - -To build Mopidy-Mobile from source, you need to have at least npm_ -installed. Then run:: - - npm install -g ionic gulp - npm install - gulp install - gulp dist +An Android app is available for beta testing for members of the Mopidy +`announcement mailing list`_. If you are already a member and want to +participate in testing, please follow these instructions_. Configuration ------------------------------------------------------------------------ -All of these are optional and subject to change for now:: +Please note that these are subject to change for now:: [mobile] enabled = true @@ -47,6 +35,30 @@ All of these are optional and subject to change for now:: ws_url = +Building from Source +------------------------------------------------------------------------ + +Mopidy Mobile is built using Ionic_, AngularJS_ and `Apache Cordova`_, +and uses npm_ and gulp_ for its build system, so it is recommended to +familiarize yourself with these tools before you start. + +To build the Mopidy Web extension, you need to have npm_ and gulp_ +installed. Then run:: + + npm install + gulp install + gulp dist + python setup.py develop + +To build the hybrid app for Android, follow Ionic's `installation +guide`_ to to make sure you have everything needed for Android +development. Then run:: + + ionic platform add android + ionic resources + ionic build android + + Project Resources ------------------------------------------------------------------------ @@ -80,13 +92,18 @@ Licensed under the `Apache License, Version 2.0`_. .. _Mopidy: http://www.mopidy.com/ +.. _Chrome browser: https://play.google.com/store/apps/details?id=com.android.chrome .. _pip: https://pip.pypa.io/en/latest/ -.. _npm: http://www.npmjs.org/ -.. _these instructions: https://play.google.com/apps/testing/com.ionicframework.mopidymobile190318 +.. _announcement mailing list: https://groups.google.com/d/forum/mopidy +.. _instructions: https://play.google.com/apps/testing/com.ionicframework.mopidymobile190318 -.. _Mopidy mailing list: https://groups.google.com/d/forum/mopidy -.. _discussion forum: https://discuss.mopidy.com/ +.. _Ionic: http://ionicframework.com/ +.. _AngularJS: https://angularjs.org/ +.. _Apache Cordova: http://cordova.apache.org/ +.. _npm: http://www.npmjs.org/ +.. _gulp: http://gulpjs.com/ +.. _installation guide: http://ionicframework.com/docs/guide/installation.html .. _Issue Tracker: https://github.com/tkem/mopidy-mobile/issues/ .. _Source Code: https://github.com/tkem/mopidy-mobile/ diff --git a/build-android.sh b/build-android.sh deleted file mode 100644 index 37f7d42..0000000 --- a/build-android.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# -# Usage: build-android.sh [KEYSTORE ALIAS] -# -CORDOVA="cordova" -JARSIGNER="jarsigner" -ZIPALIGN="$ANDROID_HOME/build-tools/21.1.2/zipalign" -APK="platforms/android/ant-build/CordovaApp-release-unsigned.apk" - -"$CORDOVA" build --release android -if [ $# -ge 2 ]; then - "$JARSIGNER" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore "$1" "$APK" "$2" -fi -"$ZIPALIGN" -v 4 "$APK" mopidy-mobile.apk diff --git a/config.xml b/config.xml index d1bbf7f..4ece9bc 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,10 @@ Mopidy Mobile - Mopidy Mobile App. + Mopidy Mobile is a Mopidy Web extension and hybrid mobile app, + currently supporting iOS 7+ and Android 4.4. Users of older + Android versions may still access the Web extension using Google's + Chrome browser. Thomas Kemmer diff --git a/mopidy_mobile/__init__.py b/mopidy_mobile/__init__.py index 3704383..fadd10d 100644 --- a/mopidy_mobile/__init__.py +++ b/mopidy_mobile/__init__.py @@ -4,7 +4,7 @@ from mopidy import config, ext -__version__ = '0.7.0a3' +__version__ = '0.7.0' class Extension(ext.Extension): diff --git a/scripts/release-apk.sh b/scripts/release-apk.sh new file mode 100644 index 0000000..e0bf10d --- /dev/null +++ b/scripts/release-apk.sh @@ -0,0 +1,11 @@ +#!/bin/sh +# +# Usage: release-apk.sh KEYSTORE ALIAS [INFILE OUTFILE] +# +JARSIGNER="jarsigner" +ZIPALIGN="$ANDROID_HOME/build-tools/21.1.2/zipalign" +INFILE="${3:-platforms/android/ant-build/CordovaApp-release-unsigned.apk}" +OUTFILE="${4:-platforms/android/ant-build/CordovaApp-release.apk}" + +"$JARSIGNER" -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore "$1" "$INFILE" "$2" +"$ZIPALIGN" -v -f 4 "$INFILE" "$OUTFILE" diff --git a/setup.py b/setup.py index 6076fca..e4f851b 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ def get_version(filename): license='Apache License, Version 2.0', author='Thomas Kemmer', author_email='tkemmer@computer.org', - description='Mopidy Web extension for mobile devices', + description='Mopidy Web extension and hybrid app for mobile devices', long_description=open('README.rst').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False,