hsarkanen / JollaOpas

Jolla Opas
GNU General Public License v3.0
4 stars 4 forks source link

Install fails if qt5-plugin-geoservices-here isn't installed #21

Closed ZeiP closed 4 years ago

ZeiP commented 4 years ago

I tried to install JollaOpas first through Storeman (which didn't show the Install option at all) and then by downloading the RPM and selecting install, which also failed. When I tried to install the RPM manually with pkcon local-install, it showed me the actual reason: It apparently couldn't find qt5-plugin-geoservices-here: Fatal error: harbour-jollaopas-0.9.0-1.armv7hl requires qt5-plugin-geoservices-here, but this requirement cannot be provided After installing that package by running pkcon install qt5-plugin-geoservices-here, Storeman showed the install option and the package installed just fine.

Any ideas why this happened? Could there be something amiss in the RPM package which causes Storeman not to detect the dependencies properly? I'm running Sailfish 3.1.0.11 (Seitseminen).

hsarkanen commented 4 years ago

Jolla has had this licensing and unstable issue with QtLocation and Here Maps open for the last 6 years. Apps using QtLocation are not allowed in the Jolla Store and that's why JollaOpas is not available there. Native sailfish-maps app using QtLocation is shipped with Jolla1 and is still available from Jolla Store for Jolla1, but it seems that's not the case with later devices. It seems according to pkcon depends-on sailfish-maps that when sailfish-maps is installed the qt5-plugin-geoservices-here is installed and there should be no issue to install JollaOpas. The plugin is listed as a dependency for the RPM and I don't know how different package managers handle those requirements and packages that may not be "officially" available to your device. Good that you found the package with pckon from some repository, but I think this is something Jolla should fix and there is nothing that could be done in JollaOpas.