Hi André,
Am 09.09.2013 06:08, schrieb Andre Joost:
> Am 08.09.2013 20:04, schrieb Josef Latt:
>> Hi André,
>>
>> I used the Prodeia PPA at the beginning using Ubuntu. Sometimes I wanted
>> to use QLGT from trunk, so I had to compile QLGT myself.
>> Therefore I wrote a script to download, compile and install QLGT.
>>
>> Because the Prodeia PPA stands still about one year, I changed my script
>> to use the official version of QLGT.
>>
>> Think, you could do it yourself.
>
> Is this page ob the wiki:
>
> http://sourceforge.net/apps/mediawiki/qlandkartegt/index.php?title=Compiling_QLandkarte_GT_on_Kubuntu
>
> the same you did? If not, can you add your script here, or on the wiki?
Yes the script is based on this site. But installing the dependencies
showed an error concerning 'proj'. And for importing pictures you need
libexif-dev.
The command to install the dependencies is in the script as remark. Hope
I don't forget one. If so you get an error during compilation. Just
install it and start compilation again.
At the end of the script is a command which removes the desktop file.
This is because a new installation creates a new desktop file with
another categorie. Therefore I created a new one in
.local/share/applications.
For Ubuntu this shouldn't be relevant, remove it.
Regards
Josef
#!/bin/bash
# Abhängigkeiten: sudo apt-get install lsb-cxx lsb-qt4 qt4-qmake libqt4-core
libqt4-dev libgdal1-dev libqt4-sql-sqlite libproj0 libproj-dev libexif-dev cmake
cd /home/jolatt/Software_Build-Inst
wget http://sourceforge.net/projects/qlandkartegt/files/latest/QLGT.gz
echo
tar -xvzf QLGT.gz
echo
mkdir QLandkarteGT
mv ./qland*/* ./QLandkarteGT
rm -f QLGT.gz
rm -r -f ./qlandkartegt-*
mkdir -p ./build_QLandkarteGT
cd ./build_QLandkarteGT
cmake ../QLandkarteGT -DBIN_INSTALL_DIR=/usr/bin \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DDATA_INSTALL_DIR=/usr/share \
-DDATA_INSTALL_PREFIX=/usr/share \
-DEXEC_INSTALL_PREFIX=/usr \
make
echo
echo "QLandkarteGT installieren!"
echo
sudo make install
sudo rm -f /usr/share/applications/qlandkartegt.desktop
cd ..
rm -r -f ./build_QLandkarteGT
rm -r -f ./QLandkarteGT
echo
echo "Fertig, Entertaste drücken!"
read pause
exit
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users