[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    www/sites/edu/marble
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2012-11-12 21:26:07
Message-ID: 20121112212607.39FABAC857 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1325022 by nienhueser:

Redirect obtain.php to marble.kde.org/sources.php


 M  +3 -223    obtain.php  


--- trunk/www/sites/edu/marble/obtain.php #1325021:1325022
@@ -1,225 +1,5 @@
 <?php
-  $translation_file = "edu";
-  require_once "functions.inc";
-  $page_title = i18n_noop("Build and Install Marble");
-  $site_root = "../";
-
-  include( "header.inc" );
-
-  $submenu->show();
-
+header("HTTP/1.1 301 Moved Permanently");
+header("Location: http://marble.kde.org/sources.php");
+exit();
 ?>
-
-<p>
-<?php i18n( "To obtain <b>pre-built packages of Marble for your favourite operating \
system</b>, please have a look at our <a href=\"./download.php\">Download \
                section</a>." ); ?>
-</p>
-<p><?php i18n( "You might be able to obtain a more recent version of this document \
<a href=\"https://projects.kde.org/projects/kde/kde-edu/marble/repository/revisions/master/entry/INSTALL\">here</a>" \
                ); ?>
-
-<div style="padding: 10px 20px 10px 20px; border: 1px solid #DDD; margin-left: \
                20px;">
-<div style="float:left"><i><?php i18n( "NOTE:" ); ?></i></div>
-<div style="margin-left:4em;"><?php i18n( "This file describes how to build Marble \
as a stand-alone application. If you are building Marble as part of the KDE-EDU \
module, then you should instead read the file INSTALL in the top level directory of \
                this module and ignore this one. This is most likely ../INSTALL." ); \
                ?></div>
-</div>
-
-
-<p><?php i18n( "Prerequisites for building Marble are:" ); ?></p>
-<ul>
-<li><?php i18n( "Qt 4.6 or newer" ); ?>
-<li><?php i18n( "cmake version 2.6.4 or newer" ); ?>
-<li><?php i18n( "(optional): kdelibs (including the kdelibs-dev package)." ); ?>
-</ul>
-
-<?php i18n( "And of course you need the Marble source code." ); ?>
-
-<h3><?php i18n( "1. Getting the Marble Source Code" ); ?></h3>
-
-<p>
-<?php i18n( "You can check out the <i>unstable</i> development version (\"Marble \
                trunk\" using the git tool via the command:" ); ?>
-<p>
-
-<pre>
-git clone git://anongit.kde.org/marble
-</pre>
-
-<p>
-<?php i18n( "If you have a KDE developer account you might want to use:" ); ?>
-<p>
-
-<pre>
-git clone git@git.kde.org:marble
-</pre>
-
-<p>
-<?php i18n( "If you want to check out the latest <i>stable</i> version please check \
out the KDE/4.8 branch (for Marble 1.3) You can do so by using one of these commands \
                (depending on whether you've got a developer account or not):" ); ?>
-<p>
-
-<pre>
-git clone -b KDE/4.8 git://anongit.kde.org/marble
-</pre>
-<?php i18n( "or" ); ?>
-
-<p>
-<?php i18n( "In case you have a KDE developer account the git command is:" ); ?>
-<p>
-
-<pre>
-git clone -b KDE/4.8 git@git.kde.org:marble
-</pre>
-
-<p><?php i18n( "As an alternative you can download a compressed archive of the \
source code on our <a href=\"./download.php\">Download Page</a>. However we recommend \
to get it from git as updating the source code later on will be much more \
                convenient." ); ?>
-
-<h3><?php i18n( "2. Compiling Marble" ); ?></h3>
-
-<p><?php i18n( "You can build and install Marble in two different ways:" ); ?><p>
-
-<ol>
-<li><?php i18n( "As a Qt-only application." ); ?>
-<li><?php i18n( "As a KDE application, using kdelibs and KDE based classes." ); ?>
-</ol>
-
-<p><?php i18n( "Choose one of them and follow our instructions on how to do it. If \
you want to install Marble's data into a directory that is different from the system \
default (e.g. your home directory) then we suggest that you take section \"3. Adjust \
                Marble's search path for the maps and data\" into account." ); ?></p>
-
-<div style="padding: 10px 20px 10px 20px; border: 1px solid #DDD; margin-left: \
                20px;">
-<div style="float:left"><i><?php i18n( "NOTE:" ); ?></i></div>
-<div style="margin-left:4em;"><?php i18n( "If you wish to build Marble with debug \
                info include the argument
-      -DCMAKE_BUILD_TYPE=debug in the cmake command below." ); ?></div>
-</div>
-
-<h4><?php i18n( "A. Build Marble as a Qt only application." ); ?></h3>
-
-<h5><?php i18n( "1. Create a build directory" ); ?></h5>
-<p>
-<?php i18n( "Create a build directory parallel to the source directory.  Suppose \
that the source directory is named 'marble'. Then create a new directory called \
                'marble-build'." ); ?>
-</p>
-
-<h5><?php i18n( "2. Configure the build tree" ); ?></h5>
-<p>
-<?php i18n( "Go into the build directory and type" ); ?>
-</p>
-<pre>
-  cmake -DQTONLY=ON ../marble
-</pre>
-
-<h5><?php i18n( "3. Build marble" ); ?></h5>
-<p>
-<?php i18n( "Also in the build directory, type:" ); ?>
-</p>
-<pre>
-  make
-</pre>
-
-
-<h5><?php i18n( "4. Install marble" ); ?></h5>
-<p>
-<?php i18n( "Finally, also from the build directory, type:" ); ?>
-</p>
-<pre>
-  make install
-</pre>
-<p>
-<?php i18n( "and start Marble either from the menu or via the command line:" ); ?>
-<p>
-<pre>
-  marble
-</pre>
-<p>
-<?php i18n( "If you're on (K)Ubuntu or Debian you need to adjust your \
                LD_LIBRARY_PATH environment variable:" ); ?>
-</p>
-<pre>
-  export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
-</pre>
-<p>
-<?php i18n( "To make this change persistent you need to add this line to your \
                .bashrc or your \"/etc/environment\" file." ); ?>
-</p>
-
-<h4><?php i18n( "B. Build Marble as a KDE application." ); ?></h3>
-
-<h5><?php i18n( "1. Create a build directory" ); ?></h5>
-<p>
-<?php i18n( "This is the same step as for a Qt-only build:" ); ?>
-</p>
-<p>
-<?php i18n( "Create a build directory parallel to the source directory. Suppose that \
the source directory is named 'marble'. Then create a new directory called \
                'marble-build'." ); ?>
-</p>
-
-<h5><?php i18n( "2. Configure the build tree" ); ?></h5>
-<p>
-<?php i18n( "Go into the build directory and type" ); ?>
-</p>
-<pre>
-  cmake ../marble
-</pre>
-<p>
-<?php i18n( "From now on the steps are the same as for a Qt-only build." ); ?>
-</p>
-<h5>
-<?php i18n( "3. Build marble" ); ?>
-</h5>
-<pre>
-  make
-</pre>
-
-<h5><?php i18n( "4. Install marble" ); ?></h5>
-
-
-<pre>
-  make install
-</pre>
-<p>
-<?php i18n( "and start Marble either from the menu or via the command line:" ); ?>
-<p>
-<pre>
-  marble
-</pre>
-
-<br>
-<h3><?php i18n( "3 Adjust Marble's search path for the maps and data" ); ?></h3>
-<p>
-<p><?php i18n( "If you want to install Marble's data into a different place than the \
system default then read on: There are several ways to adjust the path where Marble \
                is drawing it's data from:" ); ?>
-</p>
-<h4><?php i18n( "3.1 At Compiletime" ); ?></h4>
-<p>
-<?php i18n( "Use the cmake option -DMARBLE_DATA_PATH to specify the built-in system \
                path that Marble gathers its data from:" ); ?>
-</p>
-
-<p><?php i18n( "Example:" ); ?></p>
-<pre>
-  cmake -DQTONLY=ON -DMARBLE_DATA_PATH /mnt1/marble/data ~/marble
-</pre>
-
-<h4><?php i18n( "3.2 \"At Runtime\"" ); ?></h4>
-<p>
-<?php i18n( "There are two solutions to adjust the data path for a precompiled \
                Marble binary:" ); ?>
-</p>
-<p>
-<?php i18n( "a) Enter a key and a value" ); ?>
-</p>
-<pre>
-marbleDataPath="/smb/marble/data"
-</pre>
-<p>
-<?php i18n( "to the config file \"marblerc\" or \
                \"~/.config/KDE/Marble\Desktop\Globe.conf\" and (re)start the \
                application." ); ?>
-</p>
-<p>
-<?php i18n( "b) Start Marble using the command line option --marbleDataPath:" ); ?>
-</p>
-<pre>
-marble --marbleDataPath ~/marble/data
-</pre>
-<br>
-<h3><?php i18n( "4 .. and how to contribute back changes" ); ?></h3>
-<p>
-<p><?php i18n( "Now that you've built and installed Marble you might want to apply \
changes to the source code. Your bugfixes or feature additions are very much welcome. \
                " ); ?>
-</p>
-<p><?php i18n( "So in case you want to contribute them back please submit them to \
the <a href=\"https://git.reviewboard.kde.org/groups/marble/\">Marble Review \
board</a>  or send them to us by <a href=\"mailto:marble-devel@kde.org\">e-mail</a>." \
                ); ?>
-</p>
-
-
-<br />
-<hr width="30%" align="center" />
-<p>
-<?php i18n( "Last update:" ); ?> <?php echo date ("Y-m-d", filemtime(__FILE__)); ?>
-</p>
-
-<?php
-  include "footer.inc";
-?>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic