Opened 6 years ago

Closed 6 years ago

#1165 closed enhancement (fixed)

Upgrade Marble to the latest stable version

Reported by: kalxas Owned by: live-demo@…
Priority: major Milestone: OSGeoLive7.0
Component: OSGeoLive Keywords: marble, disk space
Cc: antonio

Description

As we discussed today with Torsten on the openSUSE conference, the latest version of Marble can be build without the KDE libraries, using only Qt libraries. We believe that this would have a double benefit:

  1. All the new exciting features from latest Marble release
  2. Save lots of disk space, since KDE libraries will be out.

I believe that this is something we need to consider, even if we are at feature freeze right now.

Thoughts? Angelos

Change history (15)

comment:1 Changed 6 years ago by darkblueb

my understanding is that the Marble version installed now is two years old, and that many compelling new features are now available in the new Marble. It appears this fix would benefit the Live project because we save space by removing KDE libs, and, get these new features.

Marble is not an OSGeo project, but something like TMS tile support creates a basis for showing other project demos. I believe Marble is substantial enough such that we could plan to use it as a base for demos for the forseeable future. I also like that it is an easy demo to users of varying technical skill levels, and age groups.

comment:2 Changed 6 years ago by kalxas

Actually Marble is in Incubation for some time now.

comment:3 Changed 6 years ago by hamish

Cc: live-demo@… removed

Hi,

AFAIK for installing Marble on the disc it is just me (wrote/maintain the simple install script, overview, & quickstart). If a packager from the Marble dev team shows up with non-kde-edu packages, I'm sure they'd be welcome (especially if the backport was offered via UbuntuGIS). For my part though, I'm not going to be rebuilding them, so if nothing changes the next update will happen when we update the Ubuntu version to 14.04 (10 months from now). Their download page simply points to the official Ubuntu packages we use, and us :).

looking at it from another angle, I would enjoy it if the KDE-edu team thought that our disc would be an interesting thing to spend some time collaborating on.

re. space: On 7.0alpha3 'apt-get remove marble' and 'apt-get autoremove' only cleans up 7mb of disc space. Both the filelight and okular utils also use KDE, removing them + autoremove clears up 124mb (uncompressed) in another 66 packages. I personally like filelight (disk use analysis) and okular (pdf viewer) a lot, but neither are essential.

Presumably with new marble packages some of that would have to remain.

not taking any action on this at this point, Hamish

comment:4 Changed 6 years ago by kalxas

Hi Hamish,

Thanks for the comments. We are actually thinking of a mini code sprint here at the conference to create a new installer (or hopefully a new deb package). Lets see if that works out, else this task will move to a next OSGeoLive version as you pointed.

Thanks, Angelos

comment:5 Changed 6 years ago by darkblueb

a quick search `locate kde` reveals { /usr/share/doc/kde : 8.3M, /usr/lib/kde4 : 20M, /usr/lib/*kde* : 8M, /usr/bin/*kde* : 1M }

I recall having extended discussion about items occupying similar sizes than that.

comment:6 Changed 6 years ago by antonio

Cc: antonio added

comment:7 Changed 6 years ago by darkblueb

on a base XUbuntu 12.04, I have installed the new marble-qt package by jlarouche from UbuntuGIS-unstable. I captured a complete file list before and after the install, to text files.

The 368k binary is /usr/bin/marble-qt, which runs correctly locally, and via ssh -X.

A kde4 heirarchy is built.

 /usr/lib/kde4 
    ... 16k ...

/usr/share/doc/marble    
    copyright
    changelog.Debian.gz
/usr/share/doc/marble-qt
    copyright
    changelog.Debian.gz

/usr/share/doc/kde/HTML/en/marble:
    ... 3.2M ...

/usr/share/kde4
    apps/marble/data
        ... 21M ...

comment:8 Changed 6 years ago by darkblueb

in the stock kde Marble, the plugin hierarchy is as follows:

user@live-b495:/usr/lib/kde4$ ls
comicbookthumbnail.so        kio_nfs.so
cursorthumbnail.so           kio_remote.so
djvuthumbnail.so             kio_settings.so
emoticonstheme_adium.so      kio_sftp.so
emoticonstheme_kde.so        kio_smb.so
emoticonstheme_pidgin.so     kio_thumbnail.so
emoticonstheme_xmpp.so       kio_timeline.so
exrthumbnail.so              kio_trash.so
filelightpart.so             kjavaappletviewer.so
fixhosturifilter.so          krosskjs.so
htmlthumbnail.so             krossmoduleforms.so
imagethumbnail.so            krossmodulekdetranslation.so
imports                      krossqts.so
jpegthumbnail.so             kshorturifilter.so
katepart.so                  kspell_enchant.so
kcm_attica.so                kspell_hspell.so
kcm_cgi.so                   ktexteditor_autobrace.so
kcm_componentchooser.so      ktexteditor_exporter.so
kcm_device_automounter.so    ktexteditor_hlselection.so
kcm_emoticons.so             ktexteditor_iconinserter.so
kcm_filetypes.so             ktexteditor_insanehtml_le.so
kcm_icons.so                 ktexteditor_insertfile.so
kcm_kded.so                  ktexteditor_kdatatool.so
kcm_kdnssd.so                ktexteditor_python-encoding.so
kcm_knotify.so               ktranscript.so
kcm_locale.so                kuriikwsfilter.so
kcm_nepomuk.so               kurisearchfilter.so
kcm_phonon.so                libexec
kcmspellchecking.so          libkdeinit
kcm_ssl.so                   libkhtmlpart.so
kcm_trash.so                 libkmanpart.so
kded_desktopnotifier.so      libkmultipart.so
kded_device_automounter.so   libmarble_part.so
kded_kcookiejar.so           librenaudioplugin.so
kded_kpasswdserver.so        librenimageplugin.so
kded_kssld.so                localdomainurifilter.so
kded_ktimezoned.so           nepomukbackupsync.so
kded_nepomuksearchmodule.so  nepomukfileindexer.so
kded_networkstatus.so        nepomukfilewatch.so
kded_networkwatcher.so       nepomukqueryservice.so
kded_phononserver.so         nepomukstorage.so
kded_proxyscout.so           notepadpart.so
kded_remotedirnotify.so      okularGenerator_comicbook.so
kded_solidautoeject.so       okularGenerator_dvi.so
kded_soliduiserver.so        okularGenerator_fax.so
kfileaudiopreview.so         okularGenerator_fb.so
kfilemodule.so               okularGenerator_ghostview.so
khtmladaptorpart.so          okularGenerator_kimgio.so
khtmlimagepart.so            okularGenerator_ooo.so
kio_about.so                 okularGenerator_plucker.so
kio_applications.so          okularGenerator_poppler.so
kio_archive.so               okularGenerator_xps.so
kio_bookmarks.so             okularpart.so
kio_cgi.so                   plasma_appletscript_declarative.so
kio_desktop.so               plasma_appletscript_simple_javascript.so
kio_file.so                  plasma_applet_worldclock.so
kio_filter.so                plasma_containment_newspaper.so
kio_finger.so                plasma_dataenginescript_javascript.so
kio_fish.so                  plasma-kpart.so
kio_floppy.so                plasma_packagestructure_javascriptaddon.so
kio_ftp.so                   plasma_runner_marble.so
kio_ghelp.so                 plasma_runnerscript_javascript.so
kio_help.so                  platformimports
kio_http.so                  plugins
kio_info.so                  spellcheckplugin.so
kio_man.so                   svgthumbnail.so
kio_metainfo.so              textthumbnail.so
kio_nepomuksearch.so         windowsexethumbnail.so
kio_nepomuk.so               windowsimagethumbnail.so
kio_network.so
user@live-b495:/usr/lib/kde4$ ls plugins/
imageformats  kauth  marble  phonon_platform  script

user@live-b495:/usr/lib/kde4$ ls plugins/marble/13/
AprsPlugin.so                  OpenDesktopPlugin.so
CachePlugin.so                 OpenRouteServicePlugin.so
CompassFloatItem.so            org
CrosshairsPlugin.so            OsmPlugin.so
EarthquakePlugin.so            OverviewMap.so
ElevationProfileFloatItem.so   Photo.so
GosmorePlugin.so               PlacemarkPositionProviderPlugin.so
GpsdPositionProviderPlugin.so  PntPlugin.so
GpsInfo.so                     PositionMarker.so
GpxPlugin.so                   ProgressFloatItem.so
GraticulePlugin.so             QNamNetworkPlugin.so
HostipPlugin.so                RoutingPlugin.so
KmlPlugin.so                   RoutinoPlugin.so
LatLonPlugin.so                SatellitesPlugin.so
LocalDatabasePlugin.so         Speedometer.so
LocalOsmSearchPlugin.so        StarsPlugin.so
MapScaleFloatItem.so           SunPlugin.so
MonavPlugin.so                 Weather.so
NavigationFloatItem.so         Wikipedia.so
NominatimPlugin.so             YoursPlugin.so

comment:9 Changed 6 years ago by jlarouche

All the libs in /usr/lib/kde4 are mainly KDE4 libs so it's normal (and good thing I suppose) that they are not there anymore.

For the plugin I updated the marble-qt package so it depends on marble-data and marble-plugins, so it'll will install them automatically.

comment:10 in reply to:  9 Changed 6 years ago by hamish

Replying to jlarouche:

For the plugin I updated the marble-qt package so it depends on marble-data and marble-plugins, so it'll will install them automatically.

if they are not truly Depends: they should be Recommends: instead, and anything else explicitly installed. (mostly thinking about plugins here, data only if the program can run without it/with your own data easily).

on most ubuntu systems anything recommended is automatically installed. (but we switch that off on the live disc to avoid bringing in the kitchen sink)

thanks, Hamish

comment:11 Changed 6 years ago by darkblueb

A new revision of package marble-qt, file list generated as before:

/usr/lib/i386-linux-gnu/qt4/plugins/phonon_backend 
   ... 314K ...
/usr/lib/i386-linux-gnu/qt4/plugins/graphicssystems
   ... 40k ...
/usr/lib/kde4/plugins/marble/16
   ... 3.8M ...   (several dozen plugins)
/usr/share/doc/marble-plugins
   ... 20k ...
/usr/share/doc/libqt4-opengl
   ... 52k ...

libgps20 misc things 
   ~ 200k

libshp1_1.2.10-5_i386.deb
  ... 23k .. note: code compiled directly into gdal as well

libqtlocation1
libqt4-opengl
  ... the parts to this package are not clear to me, guess 400k ? ....

next task is to "user test" plugins..

comment:12 Changed 6 years ago by darkblueb

A cursory examination and test-drive of Routing, OpenStreetMap? layer, and the plugins tab, show apparently unimpaired functionality.

comment:13 Changed 6 years ago by darkblueb

using marble-qt and choosing About Marble the License Agreement tab is empty

comment:14 Changed 6 years ago by darkblueb

directory //usr/share/doc/kde/HTML/en/marble has resources available, but it appears to be docbook and not yet built.

comment:15 Changed 6 years ago by kalxas

Resolution: fixed
Status: newclosed

Online documentation is available when user hits F1. We should open another ticket for docs. This issue is fixed

Note: See TracTickets for help on using tickets.