Hi Alexey,<br>Thanks a lot for your help. <br>I have mentioned inline what I did. <br><br>Regards,<br>Laurad<br><br><div class="gmail_quote">On Tue, Apr 5, 2011 at 11:00 PM, Alexey Khudyakov <span dir="ltr"><<a href="mailto:alexey.skladnoy@gmail.com">alexey.skladnoy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On 01.04.2011 23:15, Laudis Radium wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi Alexey,<br>
I downloaded all the packages you mentioned. But I haven't yet figured<br>
out how to view the source code. I will be thankful if you can guide me<br>
or provide links for this.<br>
</blockquote>
<br></div>
Hi!<br>
<br>
Generally it's recommended to create separate user to develop KDE. It's needed to avoid possible corruption of your configuration and to be able to delete said profile without losing anything of value. You said that you going to use linux only to develop kstars so it's non-issue. Just to let you know.<br>
<br>
First of all you need to get sources. Kstars switched to git yesterday and it IMHO will make some thing easier in some respect. Links below contain some information on git in general and kde-specific things.<br>
<br>
To configure git you can use config below. Important parts are [user] and [url...]. After that sources could be fetched by following command:<br>
<br>
# 1. Create directory<br>
$ git clone kde:kstars ~/kstars</blockquote><div>This step dint work. So I did <br>$ git clone git://<a href="http://anongit.kde.org/" target="_blank">anongit.kde.org/</a>kstars ~/kstars<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Sources will be localed in the ~/kstars directory<br>
<br>
<br>
* <a href="http://community.kde.org/Sysadmin/GitKdeOrgManual" target="_blank">http://community.kde.org/Sysadmin/GitKdeOrgManual</a><br>
* <a href="http://techbase.kde.org/Development/Tutorials/Git" target="_blank">http://techbase.kde.org/Development/Tutorials/Git</a> </blockquote><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
>>> contents of ~/.gitconfig<br>
[user]<br>
name = Your name<br>
email = Your e-mail<br>
[color]<br>
ui = true<br>
[mergetool "tool"]<br>
cmd = kdiff3<br>
<br>
[url "git://<a href="http://anongit.kde.org/" target="_blank">anongit.kde.org/</a>"]<br>
insteadOf = kde:<br>
[url "<a href="mailto:git@git.kde.org" target="_blank">git@git.kde.org</a>:"]<br>
pushInsteadOf = kde:<br>
<<< end of git config<br></blockquote><div>I have not followed the above mentioned steps. I could not make out where to create the file .gitconfig<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Building is little more complicated. To set up environment append config at the end of mail to the end of ~/.bashrc (I assume that you use bash). Open a new terminal emulator (It's required so changes will make effect).<br>
<br>
# 1. Create build directory<br>
$ mkdir ~/build<br>
$ cd ~/build<br>
# 2. Configure kstars. It may fail for some reason<br>
$ kde-cmake ~/kstars<br></blockquote><div>kde-cmake was not recognised. Therefore i did "cmake ~/kstars" <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
# 3. If configuration was succesfful<br>
$ make install<br></blockquote><div>This gave some error. So I did "sudo make install" <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
# 4. After that kstars could be launched by typing.<br>
$ $KDEDIR/bin/kstars<br></blockquote><div>$KDEDIR was not recognized. Theredore I did /usr/local/bin/kstars<br><br>I was happy to see kstars run. But it was extremely slow and used to hang for some time... <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Please note that kstars will launch kstars installed from packages.<br>
<br>
<br>
If you encounter some difficulties feel free to ask.<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I also installed kstars v1.6.0<br>
For starters, I observed that all the globular clusters show the<br>
magnitude as 99.9<br>
1. How can I report this bug? (Also how can I see whether it has already<br>
been reported/fixed or not).<br>
</blockquote>
<br></div>
Bugs could (and should!) be reported to <a href="http://bugs.kde.org" target="_blank">bugs.kde.org</a><div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
2. How can I correct the bug?<br>
<br>
</blockquote></div>
It's difficult question. Usually answering such question almost equal to fixing bug (-:<br>
<br>
<br>
P.S. KDE techbase contain a lot of kde-related information.<br>
<br>
Paste code below into ~/.bashrc<br>
<br>
# KDE<br>
export KDEDIR=$HOME/kde<br>
export KDEHOME=$HOME/.kde4<br>
export KDETMP=/tmp/kde4-$USER<br>
mkdir -p $KDETMP<br>
export KDEDIRS=$KDEDIR<br>
<br>
export PATH=$PATH:$KDEDIR/bin<br>
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$KDEDIR/lib<br>
<br>
# you might want to change these:<br>
export KDE_BUILD=$HOME/kde/build<br>
export KDE_SRC=$HOME/svn<br>
<br>
# make the debug output prettier<br>
export KDE_COLOR_DEBUG=1<br>
export QTEST_COLORED=1<br>
<br>
# Invoke cmake with required parameters<br>
kde-cmake() {<br>
cmake "$@" \<br>
-DCMAKE_INSTALL_PREFIX=$KDEDIR \<br>
-DCMAKE_PREFIX_PATH=$KDEDIR \<br>
-DCMAKE_BUILD_TYPE=debugfull \<br>
-DCMAKE_VERBOSE_MAKEFILE=False<br>
}<br>
</blockquote></div><br>