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

Jump to: navigation, search
(Install by hand)
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{Template:I18n/Language Navigation Bar|Getting_Started/Build/KDE4/Gentoo}}
+
 
 
Gentoo requirements
 
Gentoo requirements
  
Line 6: Line 6:
  
 
To install kde type as root:
 
To install kde type as root:
<code bash>
+
<syntaxhighlight lang="bash">
 
emerge -avD kde-base/kde-meta
 
emerge -avD kde-base/kde-meta
</code>
+
</syntaxhighlight>
  
 
==== Install by hand ====
 
==== Install by hand ====
Line 18: Line 18:
 
Required:
 
Required:
  
<code bash>
+
<syntaxhighlight lang="bash">
 
echo 'x11-libs/qt accessibility' >> /etc/portage/package.use
 
echo 'x11-libs/qt accessibility' >> /etc/portage/package.use
</code>
+
</syntaxhighlight>
  
 
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.
 
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.
  
<code bash>
+
<syntaxhighlight lang="bash">
 
emerge -avu \
 
emerge -avu \
 
   'sys-devel/gcc' \
 
   'sys-devel/gcc' \
Line 48: Line 48:
 
   'x11-libs/qt' \
 
   'x11-libs/qt' \
 
   'x11-libs/qt-dbus'
 
   'x11-libs/qt-dbus'
</code>
+
</syntaxhighlight>
 
   
 
   
 
You will also need to emerge either 'kde-base/kdesdk' or kde-base/kdesdk-scripts'.
 
You will also need to emerge either 'kde-base/kdesdk' or kde-base/kdesdk-scripts'.
Line 58: Line 58:
  
 
===== The Recipe for Strigi =====
 
===== The Recipe for Strigi =====
<code bash>
+
<syntaxhighlight lang="bash">
 
cd  
 
cd  
 
cs # [[Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc|'cs' is a bash function, click here to learn more]]
 
cs # [[Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc|'cs' is a bash function, click here to learn more]]
Line 65: Line 65:
 
cd strigi
 
cd strigi
 
cmakekde
 
cmakekde
</code>
+
</syntaxhighlight>
 
===== The Recipe for Automoc =====
 
===== The Recipe for Automoc =====
<code bash>
+
<syntaxhighlight lang="bash">
 
cd  
 
cd  
 
cs
 
cs
Line 74: Line 74:
 
cd automoc
 
cd automoc
 
cmakekde
 
cmakekde
</code>
+
</syntaxhighlight>
 
===== The Recipe for Akonadi =====
 
===== The Recipe for Akonadi =====
<code bash>
+
<syntaxhighlight lang="bash">
 
cd  
 
cd  
 
cs
 
cs
Line 83: Line 83:
 
cd akonadi
 
cd akonadi
 
cmakekde
 
cmakekde
</code>
+
</syntaxhighlight>
 
===== The Recipe for Qimageblitz =====
 
===== The Recipe for Qimageblitz =====
<code bash>
+
<syntaxhighlight lang="bash">
 
cd  
 
cd  
 
cs
 
cs
Line 92: Line 92:
 
cd qimageblitz
 
cd qimageblitz
 
cmakekde
 
cmakekde
</code>
+
</syntaxhighlight>
 
===== The Recipe for Soprano =====
 
===== The Recipe for Soprano =====
<code bash>
+
<syntaxhighlight lang="bash">
 
cd  
 
cd  
 
cs
 
cs
Line 101: Line 101:
 
cd soprano
 
cd soprano
 
cmakekde
 
cmakekde
</code>
+
</syntaxhighlight>
 
===== The Recipe for Phonon =====
 
===== The Recipe for Phonon =====
<code bash>
+
<syntaxhighlight lang="bash">
 
cd  
 
cd  
 
cs
 
cs
Line 110: Line 110:
 
cd phonon
 
cd phonon
 
cmakekde
 
cmakekde
</code>
+
</syntaxhighlight>

Latest revision as of 10:46, 15 July 2012

Gentoo requirements

Contents

[edit] 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 as root:

emerge -avD kde-base/kde-meta

[edit] 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:

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-libs/libxml2' \
  'dev-libs/libxslt' \
  'x11-misc/shared-mime-info' \
  'dev-libs/boost' \
  'dev-util/cmake' \
  'dev-libs/redland' \
  'sys-apps/dbus' \
  'media-libs/xine-lib' \
  'app-doc/doxygen' \
  'media-libs/libcanberra' \
  '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:

[edit] The Recipe for Strigi
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
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/strigi
cd strigi
cmakekde
[edit] The Recipe for Automoc
cd 
cs
cd kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/automoc
cd automoc
cmakekde
[edit] The Recipe for Akonadi
cd 
cs
cd kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/akonadi
cd akonadi
cmakekde
[edit] The Recipe for Qimageblitz
cd 
cs
cd kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/qimageblitz
cd qimageblitz
cmakekde
[edit] The Recipe for Soprano
cd 
cs
cd kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/soprano
cd soprano
cmakekde
[edit] The Recipe for Phonon
cd 
cs
cd kdesupport
svn checkout svn://anonsvn.kde.org/home/kde/trunk/kdesupport/phonon
cd phonon
cmakekde

This page was last modified on 15 July 2012, at 10:46. This page has been accessed 27,702 times. Content is available under Creative Commons License SA 3.0 as well as the GNU Free Documentation License 1.2.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V.Legal