<div dir="ltr">Hello,<br><br>I have some problems for compiling kde-baseapps; I installed:<br>devel/qt4 -> went well<br>devel/qt5 -> went well<br><div><div>x11/kdelibs4 -> problem: "Could not find QtCore"<br><br>===>  Configuring for soprano-2.9.4<br>===>  Performing out-of-source build<br>/bin/mkdir -p /usr/ports/textproc/soprano/work/.build<br>CMake Error at cmake/modules/FindQt4.cmake:747 (MESSAGE):<br>  Could NOT find QtCore.  Check CMakeFiles/CMakeError.log for more details.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:46 (find_package)<br><br></div><div>port/x11/kde-baseapps: <br><br>===>  Configuring for soprano-2.9.4<br>===>  Performing out-of-source build<br>/bin/mkdir -p /usr/ports/textproc/soprano/work/.build<br>CMake Error at cmake/modules/FindQt4.cmake:747 (MESSAGE):<br>  Could NOT find QtCore.  Check CMakeFiles/CMakeError.log for more details.<br>Call Stack (most recent call first):<br>  CMakeLists.txt:46 (find_package)<br><br></div><div>Another question, how should I manage updating the port tree (with portmaster) ? Should I first update the port tree (portsnap + portmaster) then reapply the plasma5 branch (via kdemerge, sed command... ?)<br></div><div><br></div><div>Thanks<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-05-28 10:53 GMT+02:00 Tobias Berner <span dir="ltr"><<a href="mailto:tcberner@gmail.com" target="_blank">tcberner@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
For libgit2, the one in the plasma5-branch can be removed, the ports have caught up<br>
with it (and have a newer version), so the one from ports should be chosen.<br>
<br>
There is no plasma5-baseapps, but x11/kde-baseapps (note: not x11/kde4-baseapps), which<br>
contains the kde applications. They do still need kdelibs4 -- kate, konsole,gwenview<br>
and most of the games and edu/science stuff is frameworks on the other hand.<br>
[I will add entries to MOVED once I find time...] -- You can install x11/kde-baseapps<br>
and all should be well.<br>
<br>
As for plasma5-plasma-* ... puh, no idea what the reasoning is for what goes in to<br>
which of them, sorry.<br>
<br>
<br>
mfg Tobias<br>
<div><div><br>
<br>
<br>
On Thursday 28. May 2015 09:28:26 Sébastien Mainand wrote:<br>
> I compiled it on both my laptop and desktop pc and it worked! I just had<br>
> the following error (both times):<br>
><br>
> ===>  License GPLv2 accepted by the user<br>
> ===>  Found saved configuration for libgit2-0.22.1<br>
> ===>   libgit2-0.22.1 depends on file: /usr/local/sbin/pkg - found<br>
> => libgit2-libgit2-0.22.1-v0.22.1_GH0.tar.gz is not in<br>
> /usr/ports/devel/libgit2/distinfo.<br>
> => Either /usr/ports/devel/libgit2/distinfo is out of date, or<br>
> => libgit2-libgit2-0.22.1-v0.22.1_GH0.tar.gz is spelled incorrectly.<br>
> *** Error code 1<br>
> Stop.<br>
> make[1]: stopped in /usr/ports/devel/libgit2<br>
> *** Error code 1<br>
> that I passed by installing libgit2 with pkg (# pkg install libgit2)<br>
><br>
> Where can I find the kde5-applications ? I couldn't find a<br>
> "plasma5-baseapps"-like port.<br>
><br>
> Out of curiosity, what is the difference between all the plasma5-plasma*<br>
> ports ?<br>
><br>
> Thanks for your help<br>
><br>
> 2015-05-26 21:11 GMT+02:00 Tobias Berner <<a href="mailto:notifications@github.com" target="_blank">notifications@github.com</a>>:<br>
><br>
> > At the moment my github repo is a bit behind -- the plasma5 branch of<br>
> > area51 contains the current version. So I'll describe how to use that one :)<br>
> ><br>
> > 1) Clone the plasma5 branch of area51 to a directory of your chosing<br>
> > # svn co <a href="http://area51.pcbsd.org/branches/plasma5" target="_blank">http://area51.pcbsd.org/branches/plasma5</a><br>
> ><br>
> > 2) Run kdemerge -a on it<br>
> > # plasma5/Tools/scripts/kdemerge -a /usr/ports<br>
> ><br>
> > 3) Edit /usr/ports/Mk/<a href="http://bsd.port.mk" target="_blank">bsd.port.mk</a> using the following command / by hand<br>
> > # sed -i .bak_kde\<br>
> > -e '/defined(USE_KDE4)/ s#$# || defined(USE_KDE5)#g'\<br>
> > -e '/defined(KDE4_BUILDENV)/ s#$# || defined(KDE5_BUILDENV)#g'\<br>
</div></div>> > -e 's#<a href="http://bsd.kde4.mk#bsd.kde.mk%23g" target="_blank">bsd.kde4.mk#bsd.kde.mk#g</a> <<a href="http://bsd.kde4.mk#bsd.kde.mk%23g" target="_blank">http://bsd.kde4.mk#bsd.kde.mk%23g</a>>'\<br>
<div><div>> > /usr/ports/Mk/<a href="http://bsd.port.mk" target="_blank">bsd.port.mk</a><br>
> > [This should wire in the new KDE-bits, i.e. <a href="http://bsd.kde.mk" target="_blank">bsd.kde.mk</a> should get sucked<br>
> > in<br>
> > instead of the old <a href="http://bsd.kde4.mk" target="_blank">bsd.kde4.mk</a> if either USE_KDE4 or USE_KDE5 is set].<br>
> ><br>
> > 4) Deinstall kde4 (this will give your build greater chances to succeed :)<br>
> > )<br>
> > # pkg delete kde* attica*<br>
> > [This step might be a bit annoying. You may get around it, by updating<br>
> > kdelibs4 and attica after you merged the plasma5 ports.<br>
> > The problem is that there are header files that share the same name, and<br>
> > lead to compile errors, when the wrong one is picked up. In the<br>
> > plasma5-branch version of the ports, they do get installed into<br>
> > ${LOCALBASE}/include/kde4 instead of ${LOCALBASE}/include which<br>
> > fixes that issue. So you may get around by simply issuing<br>
> > # portmaster kdelibs attica<br>
> > # portmaster -o x11-themes/kde-icons-oxygen x11-themes/kde4-icons-oxygen<br>
> > # portmaster<br>
> > Though I have never tried whether this works.<br>
> > -- I would recommend a fresh start.]<br>
> ><br>
> > 5) Install x11/plasma5-plasma<br>
> > # cd /usr/ports/x11/plasma5-plasma && make install clean<br>
> > An important note: Make sure, you have both DOCS and NLS enabled. Some<br>
> > of the ports will not build if either is not set (sorry -- I added<br>
> > them too soon).<br>
> ><br>
> > If all goes well you should now have plasma5 \o/.<br>
> ><br>
> > Simply start it using "startkde" in .xinitrc with something like:<br>
> > exec startkde > ~/startkde-date +"%Y-%m-%d_%H-%M-%S" 2>&1<br>
> ><br>
> > You should also be able to build (most) of the kde-applications 15.04<br>
> > release.<br>
> > Simply run portmaster/make on them as you see fit.<br>
> ><br>
> > Note: There are most likely some conflicts/breakages I didn't notice here<br>
> > (i.e. forgot to merge something). So I would be glad if you could send me<br>
> > the fallouts :) (e.g. kdepim at the moment is broken in plasma5-branch as<br>
> > there is a conflict between akonadi and kf5-akonadi, which I have to fix).<br>
> ><br>
> > mfg Tobias<br>
> ><br>
> > —<br>
> > Reply to this email directly or view it on GitHub<br>
</div></div>> > <<a href="https://github.com/tcberner/kde5/issues/1#issuecomment-105637697" target="_blank">https://github.com/tcberner/kde5/issues/1#issuecomment-105637697</a>>.<br>
> ><br>
<br>
</blockquote></div><br></div></div>