Difference between revisions of "Getting Started/Build/Distributions/Gentoo"

Jump to: navigation, search
m (Added LangNavBar)
m (Install via portage)
Line 56: Line 56:
 
==== Install via portage ====
 
==== Install via portage ====
  
Also you can install the KDE 4 packages directly via
+
The latest information about kde4 in gentoo can be found on http://www.gentoo.org/proj/en/desktop/kde/kde4.xml
<code bash>
+
emerge -a <packagename>
+
</code>
+
  
To get the things you need, [http://gentoo-wiki.com/TIP_Overlays#Layman install layman] and then pull in the "kde" overlay (which contains experimental KDE ebuilds):
+
kde4 now is in the official portage tree, although it is still hard masked (will probably change soon). kde3 and kde4 can be be both installed at the same time.
 +
 
 +
You will need to unmask them (see previous link) and then install it the usual way. As the future for kde in gentoo is [http://www.gentoo.org/doc/en/kde-split-ebuilds.xml to use "split" packages], the best bet is to go with
 
<code bash>
 
<code bash>
layman -a kde
+
emerge -avD kde-base/kde-meta:kde-4
 
</code>
 
</code>
After this you need to adjust some USE-flags for KDE 4 and tell portage to use the testing KDE 4 ebuilds instead of the stable KDE 3 ones.
 
 
That way portage will do the dependency tracking for you.
 
 
Detailed instructions on building KDE 4 in Gentoo via portage can be found in the [http://overlays.gentoo.org/proj/kde/wiki KDE overlay wiki]. They are discussed in the forum thread [http://forums.gentoo.org/viewtopic-t-530111-postdays-0-postorder-asc-start-0.html KDE 4 monolithic ebuilds], which is continued [http://forums.gentoo.org/viewtopic-p-4359581.html#4359581 here]
 

Revision as of 03:29, 29 January 2008


Getting_Started/Build/KDE4/Gentoo

Gentoo requirements

Install by hand

You can use stable ebuilds just remember to sync your portage before you begin.

Remember: All commands are executed as root.

Required:

We need to allow the following keyword masked ebuilds.

echo 'dev-util/cmake' >> /etc/portage/package.keywords echo 'dev-cpp/clucene' >> /etc/portage/package.keywords

Make sure you have set the berkdb USE flag for redland, otherwise nepomuk won't work.

echo 'dev-libs/redland berkdb' >> /etc/portage/package.use echo 'x11-libs/qt accessibility' >> /etc/portage/package.use

These are the packages you will need to emerge, I included the update option into the emerge command so you will not re-emerge anything that you might already have installed.

emerge -avu 'sys-devel/gcc' \

 'dev-util/subversion' \
 'dev-util/pkgconfig'  \
 'x11-base/xorg-x11' \
 'virtual/glut' \
 'media-libs/mesa' \
 'media-libs/jpeg' \
 'media-libs/libpng' \
 'media-libs/giflib' \
 'dev-cpp/clucene' \
 'dev-util/cppunit' \
 'media-libs/liblrdf' \
 'dev-libs/libxml2' \
 'dev-libs/libxslt' \
 'x11-misc/shared-mime-info' \
 'dev-libs/boost' \
 'dev-util/cmake' \
 'dev-libs/redland' \
 'sys-apps/dbus' \
 'sys-apps/hal' \
 'x11-libs/qt'

You will also need to emerge either 'kde-base/kdesdk' or kde-base/kdesdk-scripts'.

If you emerged DBUS, CMAKE, QT or HAL you may skip those sections respectively. Good luck!

Install via portage

The latest information about kde4 in gentoo can be found on http://www.gentoo.org/proj/en/desktop/kde/kde4.xml

kde4 now is in the official portage tree, although it is still hard masked (will probably change soon). kde3 and kde4 can be be both installed at the same time.

You will need to unmask them (see previous link) and then install it the usual way. As the future for kde in gentoo is to use "split" packages, the best bet is to go with emerge -avD kde-base/kde-meta:kde-4


KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal