<div dir="ltr"><div>Hi</div><div><br></div><div>Here's a short instruction on how to build and run the newest</div><div>and fanciest kde desktop.</div><div><br></div><div><br></div><div>1) Clone the plasma5 branch of area51 to a directory of your chosing</div><div>        # svn co <a href="http://area51.pcbsd.org/branches/plasma5">http://area51.pcbsd.org/branches/plasma5</a></div><div><br></div><div>2) Run kdemerge -a on it</div><div>        # plasma5/Tools/scripts/kdemerge -a /usr/ports</div><div><br></div><div>3) Edit /usr/ports/Mk/<a href="http://bsd.port.mk">bsd.port.mk</a> using the following command / by hand</div><div>        # sed -i .bak_kde\</div><div>              -e '/defined(USE_KDE4)/ s#$# || defined(USE_KDE5)#g'\</div><div>              -e '/defined(KDE4_BUILDENV)/ s#$# || defined(KDE5_BUILDENV)#g'\</div><div>              -e 's#<a href="http://bsd.kde4.mk#bsd.kde.mk#g">bsd.kde4.mk#bsd.kde.mk#g</a>'\</div><div>              /usr/ports/Mk/<a href="http://bsd.port.mk">bsd.port.mk</a></div><div>   [This should wire in the new KDE-bits, i.e. <a href="http://bsd.kde.mk">bsd.kde.mk</a> should get sucked in</div><div>    instead of the old <a href="http://bsd.kde4.mk">bsd.kde4.mk</a> if either USE_KDE4 or USE_KDE5 is set].</div><div><br></div><div>4) Deinstall kde4 (this will give your build greater chances to succeed :) )</div><div>        # pkg delete kde\* attica\*</div><div>   [This step might be a bit annoying. You may get around it, by updating</div><div>    kdelibs4 and attica after you merged the plasma5 ports.</div><div>    The problem is that there are header files that share the same name, and</div><div>    lead to compile errors, when the wrong one is picked up. In the</div><div>    plasma5-branch version of the ports, they do get installed into</div><div>    ${LOCALBASE}/include/kde4 instead of ${LOCALBASE}/include which</div><div>    fixes that issue. So you may get around by simply issuing</div><div>    # portmaster kdelibs attica</div><div>    # portmaster -o x11-themes/kde-icons-oxygen x11-themes/kde4-icons-oxygen</div><div>    # portmaster <probably something else></div><div>    Though I have never tried whether this works.</div><div>    -- I would recommend a fresh start.]</div><div><br></div><div>5) Install x11/plasma5-plasma</div><div>        # cd /usr/ports/x11/plasma5-plasma && make install clean</div><div>   An important note: Make sure, you have both DOCS and NLS enabled. Some</div><div>   of the ports will not build if either is not set (sorry -- I added</div><div>   them too soon).</div><div><br></div><div><br></div><div>If all goes well you should now have plasma5 \o/. </div><div>[My very old Lenovo x200 dit it in ~3h just now].</div><div><br></div><div><br></div><div>Simply start it using "startkde" in .xinitrc with something like:</div><div>        exec startkde > ~/startkde-`date +"%Y-%m-%d_%H-%M-%S"` 2>&1</div><div><br></div><div><br></div><div>You should also be able to build (most) of the kde-applications 15.04 release.</div><div>Simply run portmaster/make on them as you see fit.</div><div><br></div><div><br></div><div><br></div><div>Note: There are most likely some conflicts/breakages I didn't notice here</div><div>(i.e. forgot to merge something). So I would be glad if you could send me</div><div>the fallouts :) (e.g. kdepim at the moment is broken in plasma5-branch as</div><div>there is a conflict between akonadi and kf5-akonadi, which I have to fix).</div><div><br></div><div><br></div><div><br></div><div><br></div><div>Feel free to ask, if something is not clear.</div><div><br></div><div><br></div><div>mfg Tobias</div><div><br></div><div><br></div></div>