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

Jump to: navigation, search
(Install via portage)
m (Update)
Line 1: Line 1:
 
{{Template:I18n/Language Navigation Bar|Getting_Started/Build/KDE4/Gentoo}}
 
{{Template:I18n/Language Navigation Bar|Getting_Started/Build/KDE4/Gentoo}}
 
Gentoo requirements
 
Gentoo requirements
 +
 +
==== Install via portage ====
 +
The latest information about kde4 in gentoo can be found on http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
 +
 +
To install kde type:
 +
<code bash>
 +
emerge -avD kde-base/kde-meta
 +
</code>
 +
 
==== Install by hand ====
 
==== Install by hand ====
  
Line 59: Line 68:
  
 
===== The Recipe for Strigi =====
 
===== The Recipe for Strigi =====
cd  
+
<code bash>
cs # [[Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc|'cs' is a bash function, click here to learn more]]
+
cd  
 +
cs # [[Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc|'cs' is a bash function, click here to learn more]]
 
  mkdir kdesupport && cd kdesupport # here we create the kdesupport folder that is also needed by the subsequent recipes
 
  mkdir kdesupport && cd kdesupport # here we create the kdesupport folder that is also needed by the subsequent recipes
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/strigi
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/strigi
cd strigi
+
cd strigi
cmakekde
+
cmakekde
 +
</code>
 
===== The Recipe for Automoc =====
 
===== The Recipe for Automoc =====
cd  
+
<code bash>
cs
+
cd  
cd kdesupport
+
cs
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/automoc
+
cd kdesupport
cd automoc
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/automoc
cmakekde
+
cd automoc
 +
cmakekde
 +
</code>
 
===== The Recipe for Akonadi =====
 
===== The Recipe for Akonadi =====
cd  
+
<code bash>
cs
+
cd  
cd kdesupport
+
cs
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/akonadi
+
cd kdesupport
cd akonadi
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/akonadi
cmakekde
+
cd akonadi
 +
cmakekde
 +
</code>
 
===== The Recipe for Qimageblitz =====
 
===== The Recipe for Qimageblitz =====
cd  
+
<code bash>
cs
+
cd  
cd kdesupport
+
cs
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz
+
cd kdesupport
cd qimageblitz
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz
cmakekde
+
cd qimageblitz
 +
cmakekde
 +
</code>
 
===== The Recipe for Soprano =====
 
===== The Recipe for Soprano =====
cd  
+
<code bash>
cs
+
cd  
cd kdesupport
+
cs
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/soprano
+
cd kdesupport
cd soprano
+
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/soprano
cmakekde
+
cd soprano
 +
cmakekde
 +
</code>
 
===== The Recipe for Phonon =====
 
===== The Recipe for Phonon =====
cd
 
cs
 
cd kdesupport
 
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/phonon
 
cd phonon
 
cmakekde
 
 
==== Install via portage ====
 
 
The latest information about kde4 in gentoo can be found on http://www.gentoo.org/proj/en/desktop/kde/kde4.xml LINK IS 404
 
 
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>
emerge -avD kde-base/kde-meta:kde-4
+
cd
 +
cs
 +
cd kdesupport
 +
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/phonon
 +
cd phonon
 +
cmakekde
 
</code>
 
</code>

Revision as of 16:41, 29 November 2009


Contents

Getting_Started/Build/KDE4/Gentoo

Gentoo requirements

Install via portage

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

To install kde type: emerge -avD kde-base/kde-meta

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' \
 'x11-libs/qt-dbus'

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!

Further dependencies are strigi, autmoc, akonado qimageblitz.and soprano. These packages can be found in the kdesupport module that is located in the kde svn repositories: svn://anonsvn.kde.org/home/kde/trunk/kdesupport. Since the module is pretty large and contains tons of things that you are probably not interested in, it is suggested that you selectively download the packages mentioned above:

The Recipe for Strigi

cd cs # 'cs' is a bash function, click here to learn more

mkdir kdesupport && cd kdesupport # here we create the kdesupport folder that is also needed by the subsequent recipes

svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/strigi cd strigi cmakekde

The Recipe for Automoc

cd cs cd kdesupport svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/automoc cd automoc cmakekde

The Recipe for Akonadi

cd cs cd kdesupport svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/akonadi cd akonadi cmakekde

The Recipe for Qimageblitz

cd cs cd kdesupport svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz cd qimageblitz cmakekde

The Recipe for Soprano

cd cs cd kdesupport svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/soprano cd soprano cmakekde

The Recipe for Phonon

cd cs cd kdesupport svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/phonon cd phonon cmakekde


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