Marble/NewMarbleMoldules: Difference between revisions

    From KDE TechBase
    (Page moved to community wiki)
     
    (9 intermediate revisions by 3 users not shown)
    Line 1: Line 1:
    We want to simplify packaging and maintenance of Marble. And we want to make it easier for KDE application authors to link against the marble library by getting rid of a kde-edu dependency.
    {{ Moved To Community }}
     
    So starting with KDE 4.5 the Marble source code is supposed to be reorganized:
     
    ==Marble Qt Library==
     
    * It's <b>Qt Only</b>. No KDE dependencies.
    * Contains the actual Marble library in the package "<b>libmarble</b>". "libmarble" should contain the essentail graphics which are necessary to display stuff graciously. Therefore Graphics inside "libmarble" should include such as the current directories <i>data/svg, data/mwdbii, data/icons, data/ico, data/bitmaps</i> and <i>dgml file</i> and the <i>level zero tiles</i> of the maps: <i>Atlas</i>, <i>Satellite</i>, <i>OSM</i> and <i>Plain Map</i>. <i>libmarble</i> should contain all base <i>plugins</i>. The package <b>libmarble</b> should <b>recommend</b> installation of the package <b>libmarble-data</b>.
    * Contains the recommended base data in the package <b>libmarble-data</b>. This includes the data of the most basic maps: <i>Atlas</i>, <i>Satellite</i>, <i>OSM</i> and <i>Plain Map</i>. Specifically "libmarble-data" should contain the current directories <i>data/flags, data/weather and data/stars</i>. <i>libmarble-data</i> should <b>depend</b> on <i>libmarble</i>.
    * Provides the Marble Qt application (Executable: "marbleqt") as an example application (Compilation of this part can be switched off at wish). The package "marbleqt" should <b>depend</b> on <i>libmarble</i> and <i>libmarble-data</i>.
    * Located in SVN at <code>kdesupport/libmarble</code>.
    * Provides Qt development documentation, bindings and tools for Marble in the package <b>libmarble-dev</b>. This package is <b>optional</b>.
     
    ==Marble KDE application==
    * Depends on Marble Qt library (in kdesupport/libmarble).
    * Provides the Marble Application (Executable"marble"). Suggested package name: kdeedu-marble.
    * Provides the KPart. Actual location of this part in SVN needs to be evaluated for best reuse.
    * Provides optional data ( <i>Moon</i>, <i>Historical Map</i>, <i>Precipitation</i>, <i>Temperature</i>, etc.). Suggested package name: kdeedu-marble-data
    * Located in SVN at <code>kdeedu/marble</code>
     
    ==Other==
    * What should happen to the worldclock plasmoid? Move it to the other KDE plasmoids (which would depend on libmarble inside kdesupport).
     
     
    ==Migration Plan==
    1. Jens-Michael ("jmho") starts to get rid of QTONLY in MarbleDirs.
     
    2. Get rid of all the kde specific cmake code below marble/src/lib (no "if (QTONLY)" anymore)

    Latest revision as of 04:51, 26 October 2016

    This page is now on the community wiki.