|
2019-03-21
, 01:33
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2032
|
Alright. Call me stupid but I can't get this installed on my trusty N900. Updated to 1.3 and on CSSU. When I run apt-get install modrana I get
The following packages have unmet dependencies:
modrana: Depends: espeak but it is not going to be installed
E: Broken packages
Modrana for N900 is version 0.53.1... All packages are in the repo so you should check which repos are enabled on your device. Otherwise you can still install it by hands - downloading and "dpkg -i"-ing the downloaded packages...
If you want an updated version you can use github repo - I use 0.55.18 on my N900 and it is working fine.
The Following 5 Users Say Thank You to MartinK For This Useful Post: | ||
|
2019-03-21
, 07:45
|
Posts: 1,414 |
Thanked: 7,547 times |
Joined on Aug 2016
@ Estonia
|
#2033
|
Do they provide a binary that can launch QML files (qmlscene ro something like that) ? IIRC from reading the Pure Maps flatpak packaging metadata it looked like such a binary the script can call is not available and the app needs to build it itself.
|
2019-03-21
, 21:48
|
Posts: 9 |
Thanked: 42 times |
Joined on Jan 2019
|
#2034
|
|
2019-03-22
, 02:42
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2035
|
That's what https://github.com/rinigus/qmlrunner is for. It also has all options that are needed for flatpak distribution of Pure Maps and we can surely extend it as needed. Also, QML path can be extended as needed.
Nokia N900 1.3 on CSSU
I got modrana 0.53.1 installed and running from the repositories. Works great except trying to route just gives me a "routing failed". I had an active data connection the entire time.
I'm now trying to get offline routing working. The monav.openstreetmap.de site is down so I downloaded my state from data.modrana.org. The tar file was empty, however. It didn't create any directories. I tried the north-america_car.tar.gz as well. Empty. Tried with root too.
I guess I'll try to generate my own. It just seems like I'm either doing something wrong or nothing's working.
Secondly, how again to update? I downloaded the 0.55.18 file, tar'd it, and ran the modrana.py script. modrana opened but info-about doesn't show a version. The icon in the app drawer still loads 0.53.1 too
|
2019-03-22
, 08:08
|
Posts: 391 |
Thanked: 908 times |
Joined on Aug 2011
@ suncity
|
#2036
|
Yes, that's basically the recommended way & should work in general. Just grab a release tarball/checkout a release tag and run modrana.py.
I don't really test this regularly (as I don't have any functional Python 2.5 environment outside of my trusty N900), so please let me know if you hit some issues.
In any case, it's good to know there are still people using modRana on the N900 - which is what, 10 years old about now ? Well, modRana itself will hit the 10 year mark in January of the next year. Crazy!
Is still don't have any immediate plans for dropping support for the N900, but there are a few things to consider:
- I've recently completely dropped the old abandoned Qt4/QML UI that just kinda worked on the N900 and did not provide much useful features & AFAIK no one really used it anyway
- I'm developing modRana on Fedora (and actually developing the Fedora installer as my day job ;-) ) and due to the upcoming upstream end of support for Python 2, Python 2 only packages are currently getting dropped left and right
- it is therefore not unthinkable that some of the Python 2 only dependencies of modRana (such as PyGTK for example) will get dropped from Fedora in the near future
Not having the Python 2 only deps (and possibly even Python 2 itself!) available in the distro I use would make harder assuring that the Python 2/GTK2 based GUI used on the N900 continues to be working.
So at some point in the future a time might come, where it would make more sense to maintain basically a separate branch for the N900, that would likely just get occasional fixes than much (if any) new development.
On the other hand this could help to make the "modern" codebase targeting Python 3 + Qt 5 cleaner by dropping all the hacks needed to support Python 2.5 - 3.7 at the same time + all the (rather messy code) that constitutes the GTK GUI.
And, potentially the "n900-branch" would no longer need to care about any of that newfangled Python >2, GTK >2 and GUI != GTK stuff, potentially making the life of anyone interested in stepping in and improving the N900 version easier.
The Following 3 Users Say Thank You to justmemory For This Useful Post: | ||
|
2019-03-22
, 15:44
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2037
|
I do not know whether it is needed to have a n900 branch of ModRana if the tarballs are working so...
|
2019-03-28
, 14:19
|
Posts: 1,548 |
Thanked: 7,510 times |
Joined on Apr 2010
@ Czech Republic
|
#2038
|
|
2019-03-31
, 02:51
|
Posts: 1,038 |
Thanked: 3,980 times |
Joined on Nov 2010
@ USA
|
#2040
|
You can now easily start modRana from CLI on Sailfish OS by typing:
Code:harbour-modrana
Tags |
bada rox, martin_rocks, modrana, navigation, openstreetmap, the best, wehasgps |
|
For modRana and Universal Components I guess it would likely work as well:
The only possible problem I can thing of are environments where symlinks can't be used, such as running on top of FAT32 or from resource files on Android. But both is again more or less theoretical.
So while I don't think I want to change the launcher architecture for UC usage for modRana now, the symlink method seems like a good tip to add to the UC docs. Thanks for the idea!
As I don't really do any C/C++ coding regularly, it was more or less cobled together from how other OSS Sailfish OS apps do app startup & QtCreator autocomplete.
ModRana itself still continues to be noarch and I don't plan to change it. Also all the other startup methods (running modrana.py directly or the qmlscene using shell scripts in the "run" subfolder are still fully supported & are actually the main/intended method of running modRana if you just do a checkout from git or grab a tarball.
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)