[Kstars-devel] Porting KStars to KF5

Vijay vijay.atwork13 at gmail.com
Tue Aug 12 21:09:22 UTC 2014


Morning guys !!

I am working on fixing bugs and polishing Moon Phase tool, Solar system viewer, 
and Almanac in Randa Meetup 2014. You can checkout new version of this tools 
in "gsoc2014-vijay13" and "gsoc2013-vijay13-weather" branches. Please shoot me 
with bugs. 

And I thank and request to people porting KStars into KF5 to update status on 
https://community.kde.org/KDEEdu/RouteToKF5.

Cheers,
Vijay  

On Friday 18 Jul 2014 1:25:50 PM Jasem Mutlaq wrote:
> Folks,
> 
> After more tinkering, KStars now finally runs albeit with a LOT of stuff
> disabled. I will try to re-enable them one by one and would start with the
> easiest to get them out of the way. The QML stuff needs to be ported to KF5
> since I have very little experience in QML, I will stay away from it. I'll
> mark the things that I cannot port myself.
> 
> Regards,
> Jasem
> 
> 
> 
> On Wed, Jul 16, 2014 at 12:22 PM, Jasem Mutlaq <mutlaqja at ikarustech.com>
> 
> wrote:
> > kde_file.h is part of KDE4. I migrated KDE_fseek to QT_FSEEK so this file
> > is no longer required. Please update and test again. Btw, KStars still
> > crashes at startup, I think we need strip down the startup process so we
> > can diagnose these issues one by one. Furthermore, the ~400 FIXME entries
> > must be tackled, it would be made more difficult since they were written
> > by
> > developers who are not necessarily available now. Also, I can't get
> > QtCreator to run KStars is debug mode now, will try later.
> > 
> > Regards,
> > Jasem
> > 
> > 
> > 
> > On Tue, Jul 15, 2014 at 10:01 AM, Samikshan Bairagya <samikshan at gmail.com>
> > 
> > wrote:
> >> On Mon, Jul 14, 2014 at 8:21 PM, Jasem Mutlaq <mutlaqja at ikarustech.com>
> >> 
> >> wrote:
> >> > Hello,
> >> > 
> >> > I'm not sure on Fedora, but on Kubuntu, you can just use project-neon5
> >> 
> >> PPA,
> >> 
> >> > and just use neon5-env to setup the environment variables, and then it
> >> > should build cleanly. It won't run yet, but at least it compiles and a
> >> 
> >> lot
> >> 
> >> > of files/directories are disabled still.
> >> > 
> >> > 
> >> > On Mon, Jul 14, 2014 at 10:15 AM, Samikshan Bairagya <
> >> 
> >> samikshan at gmail.com>
> >> 
> >> > wrote:
> >> >> Hi,
> >> >> 
> >> >> I checked out the frameworks branch and tried building KStars.
> >> >> However,
> >> >> I can't figure out what all packages I need to install in order to get
> >> >> rid of the
> >> >> following cmake error:
> >> >> 
> >> >> sbairagy at dhcp193-120 ~/k/b/kstars-build [1]> cmake
> >> >> -DCMAKE_INSTALL_PREFIX=../../usr/ -DCMAKE_BUILD_TYPE=Debug
> >> >> ../../src/kstars/
> >> >> 
> >> >> CMake Error at CMakeLists.txt:27 (find_package):
> >> >>   By not providing "FindKF5.cmake" in CMAKE_MODULE_PATH this project
> >> 
> >> has
> >> 
> >> >>   asked CMake to find a package configuration file provided by "KF5",
> >> 
> >> but
> >> 
> >> >>   CMake did not find one.
> >> >>   
> >> >>   Could not find a package configuration file provided by "KF5" with
> >> 
> >> any
> >> 
> >> >> of
> >> >> 
> >> >>   the following names:
> >> >>     KF5Config.cmake
> >> >>     kf5-config.cmake
> >> >>   
> >> >>   Add the installation prefix of "KF5" to CMAKE_PREFIX_PATH or set
> >> >> 
> >> >> "KF5_DIR"
> >> >> 
> >> >>   to a directory containing one of the above files.  If "KF5" provides
> >> 
> >> a
> >> 
> >> >>   separate development package or SDK, be sure it has been installed.
> >> >> 
> >> >> -- Configuring incomplete, errors occurred!
> >> >> See also
> >> >> "/home/sbairagy/kde/build/kstars-build/CMakeFiles/CMakeOutput.log".
> >> >> See also
> >> >> "/home/sbairagy/kde/build/kstars-build/CMakeFiles/CMakeError.log".
> >> >> 
> >> >> ----
> >> 
> >> I have been able to get cmake to work for frameworks branch. For Fedora
> >> 20,
> >> I followed http://copr.fedoraproject.org/coprs/dvratil/kde-frameworks/
> >> to get
> >> the necessary packages. But I added the --skip-broken flag with yum to
> >> get
> >> rid of problems arising from the conflicting packages.
> >> 
> >> But now I am getting the following error wrt to kde_file.h:
> >> 
> >> 
> >> 
/home/sbairagy/kde/src/kstars/kstars/skycomponents/starcomponent.cpp:49:2
> >> 2:
> >> fatal error: kde_file.h: No such file or directory
> >> 
> >>  #include <kde_file.h>
> >>  
> >>                       ^
> >> 
> >> compilation terminated.
> >> 
> >> 
/home/sbairagy/kde/src/kstars/kstars/skycomponents/deepstarcomponent.cpp:
> >> 39:22: fatal error: kde_file.h: No such file or directory
> >> 
> >>  #include <kde_file.h>
> >>  
> >>                       ^
> >> 
> >> compilation terminated.
> >> make[2]: ***
> >> [kstars/CMakeFiles/KStarsLib.dir/skycomponents/starcomponent.cpp.o]
> >> Error 1
> >> make[2]: *** Waiting for unfinished jobs....
> >> make[2]: ***
> >> [kstars/CMakeFiles/KStarsLib.dir/skycomponents/deepstarcomponent.cpp.o]
> >> Error 1
> >> make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Error 2
> >> make: *** [all] Error 2
> >> 
> >> ========
> >> 
> >> I can't figure out what I might be missing here.
> >> 
> >> Regards,
> >> --
> >> Samikshan
> > 
> > --
> > Best Regards,
> > Jasem Mutlaq



More information about the Kstars-devel mailing list