Getting Started/Build/Distributions/Arch Linux

< Getting Started‎ | Build‎ | Distributions
Revision as of 00:00, 9 October 2012 by Vrusu (Talk | contribs)

Jump to: navigation, search


Building KDE4 From Source (Arch Linux requirements)
Tutorial Series   Getting Started
Previous   Build KDE
What's Next   Build KDE
Further Reading   kdesvn-build: The KDE From Subversion Build Tool
KDE Build Environment including useful scripts
Introduction to CMake


In Arch Linux you need to install the following packages:

pacman -Sy subversion bzip2 libxslt libxml2 libjpeg \
           libungif shared-mime-info mesa boost dbus \
           openssl pkgconfig xine-lib clucene redland \
           gpgme hal cmake qt qca libical lcms

Note that Qt 4 will be installed by the command above (it is required by QCA anyway), but you can build your own from qt-copy in KDE svn, which will include several fixes not yet in a released version of Qt as well as giving you the option of compiling a version with debugging information. If you do this, the system installed QCA (and any other system libraries that use Qt 4) should work without a problem in your local KDE build.

All of the dependencies in kdesupport can be installed from the [extra] repository. These will be fine for building from the KDE stable branch, but some may be too old for building KDE from trunk.

pacman -Sy automoc4 akonadi eigen taglib soprano strigi qimageblitz phonon

To build the latest versions of these instead, see building kdesupport

For the makeobj script, you can either install kdesdk from [extra] or just download http://websvn.kde.org/*checkout*/trunk/KDE/kdesdk/scripts/makeobj and copy it to either /usr/bin or $HOME/bin (providing $HOME/bin is in your PATH).

Note that there may be other optional dependencies of KDE modules, but almost all of these can be satisfied by [extra], [community] or the AUR. The missing optional dependencies will be listed when configuring a package with cmake. To search and install from all the main repositories and the AUR at the same time, you can use Yaourt.

Here is the list of packages needed to build almost all of the KDE. Put these lines into a file, named for example 'pkglist' then use it to install all the packages at once by issuing "pacman -S $(< pkglist)". See PacmanTips for more information.

a52dec 0.7.4-6
acl 2.2.51-2
alsa-lib 1.0.26-1
alsa-plugins 1.0.26-1
alsa-utils 1.0.26-1
apr 1.4.6-1
apr-util 1.4.1-1
archlinux-keyring 20120915-1
artwiz-fonts 1.3-7
aspell 0.60.6.1-1
aspell-fr 0.50.3-6
ati-dri 8.0.4-3
atk 2.4.0-1
attr 2.4.46-2
audiofile 0.3.4-1
autoconf 2.69-1
automake 1.12.4-1
avahi 0.6.31-4
bash 4.2.037-1
binutils 2.22-10
bison 2.6.2-1
boost 1.50.0-2
boost-libs 1.50.0-2
bzip2 1.0.6-4
bzr 2.5.1-1
ca-certificates 20120623-1
cairo 1.12.2-3
cdparanoia 10.2-4
cloog 0.17.0-2
clucene 2.3.3.4-6
clutter 1.10.6-1
clutter-gst 1.6.0-1
cmake 2.8.9-1
cogl 1.10.4-1
compositeproto 0.4.2-2
consolekit 0.4.6-4
coreutils 8.19-1
cracklib 2.8.19-1
cronie 1.4.8-3
cryptsetup 1.5.0-2
curl 7.27.0-1
damageproto 1.2.1-2
db 5.3.21-1
dblatex 0.3.2-3
dbus 1.6.8-1
dbus-core 1.6.8-1
dbus-glib 0.100-1
desktop-file-utils 0.20-1
device-mapper 2.02.97-1
dhcpcd 5.6.2-1
dialog 1.1_20120706-1
diffutils 3.2-1
dirmngr 1.1.0-4
dmxproto 2.3.1-2
dnssec-anchors 20120422-1
docbook-xml 4.5-5
docbook-xsl 1.77.1-2
doxygen 1.8.2-1
dri2proto 2.8-1
e2fsprogs 1.42.5-1
enca 1.13-2
eventlog 0.2.12-3
exiv2 0.23-1
expat 2.1.0-1
faad2 2.7-3
fakeroot 1.18.4-1
ffmpeg 1:1.0-1
ffmpegthumbnailer 2.0.7-5
fftw 3.3.2-1
file 5.11-1
filesystem 2012.10-1
findutils 4.4.2-4
fixesproto 5.0-2
flac 1.2.1-3
flex 2.5.37-1
font-bh-ttf 1.0.3-1
font-bitstream-speedo 1.0.1-2
fontconfig 2.10.1-2
fontsproto 2.1.2-1
freeglut 2.8.0-1
freetype2 2.4.10-1
fribidi 0.19.4-1
fuse 2.9.1-1
gambas3-devel 3.3.2-2
gambas3-examples 3.3.2-2
gambas3-gb-cairo 3.3.2-2
gambas3-gb-chart 3.3.2-2
gambas3-gb-complex 3.3.2-2
gambas3-gb-compress 3.3.2-2
gambas3-gb-crypt 3.3.2-2
gambas3-gb-data 3.3.2-2
gambas3-gb-db 3.3.2-2
gambas3-gb-db-form 3.3.2-2
gambas3-gb-db-mysql 3.3.2-2
gambas3-gb-db-odbc 3.3.2-2
gambas3-gb-db-postgresql 3.3.2-2
gambas3-gb-db-sqlite2 3.3.2-2
gambas3-gb-db-sqlite3 3.3.2-2
gambas3-gb-dbus 3.3.2-2
gambas3-gb-desktop 3.3.2-2
gambas3-gb-eval-highlight 3.3.2-2
gambas3-gb-form 3.3.2-2
gambas3-gb-form-dialog 3.3.2-2
gambas3-gb-form-mdi 3.3.2-2
gambas3-gb-form-stock 3.3.2-2
gambas3-gb-gtk 3.3.2-2
gambas3-gb-image 3.3.2-2
gambas3-gb-image-effect 3.3.2-2
gambas3-gb-image-imlib 3.3.2-2
gambas3-gb-image-io 3.3.2-2
gambas3-gb-media 3.3.2-2
gambas3-gb-mime 3.3.2-2
gambas3-gb-ncurses 3.3.2-2
gambas3-gb-net 3.3.2-2
gambas3-gb-net-curl 3.3.2-2
gambas3-gb-net-pop3 3.3.2-2
gambas3-gb-net-smtp 3.3.2-2
gambas3-gb-opengl 3.3.2-2
gambas3-gb-opengl-glsl 3.3.2-2
gambas3-gb-opengl-glu 3.3.2-2
gambas3-gb-option 3.3.2-2
gambas3-gb-pcre 3.3.2-2
gambas3-gb-pdf 3.3.2-2
gambas3-gb-qt4 3.3.2-2
gambas3-gb-qt4-ext 3.3.2-2
gambas3-gb-qt4-opengl 3.3.2-2
gambas3-gb-qt4-webkit 3.3.2-2
gambas3-gb-report 3.3.2-2
gambas3-gb-sdl 3.3.2-2
gambas3-gb-sdl-sound 3.3.2-2
gambas3-gb-settings 3.3.2-2
gambas3-gb-signal 3.3.2-2
gambas3-gb-v4l 3.3.2-2
gambas3-gb-vb 3.3.2-2
gambas3-gb-web 3.3.2-2
gambas3-gb-xml 3.3.2-2
gambas3-gb-xml-rpc 3.3.2-2
gambas3-gb-xml-xslt 3.3.2-2
gambas3-ide 3.3.2-2
gambas3-runtime 3.3.2-2
gambas3-script 3.3.2-2
gamin 0.1.10-6
gawk 4.0.1-1
gcc 4.7.1-6
gcc-libs 4.7.1-6
gd 2.0.36RC1-5
gdbm 1.10-1
gdk-pixbuf2 2.26.3-1
gettext 0.18.1.1-4
giflib 4.1.6-5
git 1.7.12.2-1
glew 1.8.0-1
glib 1.2.10-9
glib-networking 2.32.3-1
glib2 2.32.4-1
glibc 2.16.0-4
glitz 0.5.6-3
glproto 1.4.16-1
gmime 2.6.10-1
gmp 5.0.5-1
gnupg 2.0.19-2
gnutls 3.1.2-1
gpgme 1.3.1-4
gpm 1.20.6-10
grantlee 0.2.0-1
grep 2.14-1
groff 1.21-2
grub-bios 2.00-1
grub-common 2.00-1
gsettings-desktop-schemas 3.4.2-1
gsfonts 1.0.7pre44-3
gsm 1.0.13-7
gstreamer0.10 0.10.36-1
gstreamer0.10-base 0.10.36-1
gtk 1.2.10-11
gtk-update-icon-cache 2.24.13-1
gtk2 2.24.13-1
gzip 1.5-1
heirloom-mailx 12.5-3
hicolor-icon-theme 0.12-2
hwids 20120922-1
iana-etc 2.30-3
icu 49.1.2-2
imlib2 1.4.5-2
inetutils 1.9.1-4
initscripts 2012.09.2-2
inputproto 2.2-1
intel-dri 8.0.4-3
iproute2 3.5.1-1
iputils 20101006-4
isl 0.10-1
jade 1.2.1-8
jasper 1.900.1-7
jfsutils 1.1.15-3
json-c 0.9-1
json-glib 0.14.2-1
kbd 1.15.3-3
kbproto 1.0.6-1
keyutils 1.5.5-3
khrplatform-devel 8.0.4-3
kmod 10-1
krb5 1.10.3-1
lame 3.99.5-1
lcms 1.19-2
ldns 1.6.13-1
less 451-1
libao 1.1.0-2
libarchive 3.0.4-2
libass 0.10.0-3
libassuan 2.0.3-1
libasyncns 0.8-4
libcanberra 0.28-5
libcanberra-gstreamer 0.28-5
libcap 2.22-3
libcroco 0.6.5-1
libcups 1.6.1-6
libdaemon 0.14-2
libdatrie 0.2.5-1
libdbusmenu-qt 0.9.2-1
libdca 0.0.5-3
libdmtx 0.7.4-3
libdmx 1.1.2-1
libdrm 2.4.39-1
libdv 1.0.0-4
libdvbpsi 0.2.2-1
libdvdcss 1.2.12-1
libdvdnav 4.2.0-2
libdvdread 4.2.0-1
libebml 1.2.2-2
libedit 20120601_3.0-1
libegl 8.0.4-3
libexif 0.6.21-1
libffi 3.0.11-1
libfontenc 1.1.1-1
libftdi 0.20-1
libgbm 8.0.4-3
libgcrypt 1.5.0-3
libgl 8.0.4-3
libglapi 8.0.4-3
libgpg-error 1.10-2
libgphoto2 2.4.14-1
libgssglue 0.4-1
libical 0.48-1
libice 1.0.8-1
libid3tag 0.15.1b-7
libieee1284 0.2.11-4
libiodbc 3.52.8-1
libirman 0.4.5-3
libjpeg-turbo 1.2.1-1
libkate 0.4.1-3
libksba 1.2.0-2
libldap 2.4.32-1
libltdl 2.4.2-6
libmad 0.15.1b-6
libmatroska 1.3.0-2
libmikmod 3.1.12-4
libmng 1.0.10-4
libmodplug 0.8.8.4-1
libmpc 1.0.1-1
libmpcdec 1.2.6-3
libmpeg2 0.5.1-3
libmysqlclient 5.5.28-1
libnl 3.2.11-1
libogg 1.3.0-1
libopensync 0.39-4
libpcap 1.3.0-1
libpciaccess 0.13.1-1
libpipeline 1.2.2-1
libpng 1.5.12-1
libproxy 0.4.7-2
libpulse 2.1-1
libraw1394 2.0.7-2
librsvg 2.36.3-1
libsamplerate 0.1.8-1
libsasl 2.1.23-9
libshout 1:2.3.1-1
libsigsegv 2.10-1
libsm 1.2.1-1
libsndfile 1.0.25-2
libsoup 2.38.1-1
libssh 0.5.2-1
libssh2 1.4.2-1
libtasn1 2.14-1
libthai 0.1.18-1
libtheora 1.1.1-2
libtiff 4.0.3-1
libtiger 0.3.4-3
libtirpc 0.2.2-2
libtool 2.4.2-6
libupnp 1.6.17-1
libusb-compat 0.1.4-2
libusbx 1.0.14-1
libva 1.1.0-1
libvncserver 0.9.9-1
libvorbis 1.3.3-1
libvpx 1.1.0-1
libx11 1.5.0-1
libxau 1.0.7-1
libxaw 1.0.11-1
libxcb 1.8.1-1
libxcomposite 0.4.3-2
libxcursor 1.1.13-1
libxdamage 1.1.3-2
libxdmcp 1.1.1-1
libxext 1.3.1-1
libxfixes 5.0-2
libxfont 1.4.5-1
libxft 2.3.1-1
libxi 1.6.1-1
libxinerama 1.1.2-1
libxkbfile 1.0.8-1
libxml2 2.8.0-1
libxmu 1.1.1-1
libxpm 3.5.10-1
libxrandr 1.4.0-1
libxrender 0.9.7-1
libxslt 1.1.26-3
libxss 1.2.2-1
libxt 1.1.3-1
libxtst 1.2.1-1
libxv 1.0.7-1
libxvmc 1.0.7-1
libxxf86dga 1.1.3-1
libxxf86vm 1.1.2-1
licenses 2.9-1
linux 3.5.5-1
linux-api-headers 3.5.1-1
linux-firmware 20120625-1
lirc-utils 1:0.9.0-30
logrotate 3.8.2-1
lua 5.1.5-2
lvm2 2.02.97-1
m4 1.4.16-2
make 3.82-5
man-db 2.6.3-1
man-pages 3.42-1
mc 4.8.6-1
mcpp 2.7.2-4
mdadm 3.2.5-2
mesa 8.0.4-3
mjpegtools 2.0.0-2
mkinitcpio 0.10-1
mkinitcpio-busybox 1.20.2-1
mlocate 0.26-1
mobile-broadband-provider-info 20120614-1
modemmanager 0.6.0.0-1
mpfr 3.1.1.p2-1
mtdev 1.1.2-1
mysql 5.5.28-1
mysql-clients 5.5.28-1
nano 2.2.6-2
ncurses 5.9-3
neon 0.29.6-4
net-snmp 5.7.1-3
nettle 2.5-1
networkmanager 0.9.6.0-2
networkmanager-dispatcher-ntpd 1.0-4
nspr 4.9.2-1
nss 3.13.6-1
ntp 4.2.6.p5-11
opencore-amr 0.1.3-1
openjpeg 1.5.0-1
openssh 6.1p1-2
openssh-askpass 1.3.4-1
openssl 1.0.1.c-1
orc 0.4.16-1
p11-kit 0.13-1
package-query 1.0.1-1
pacman 4.0.3-3
pacman-color 4.0.3-3
pacman-mirrorlist 20120908-1
pam 1.1.5-4
pambase 20120701-1
pango 1.30.1-1
patch 2.7.1-1
pciutils 3.1.10-1
pcmciautils 018-4
pcre 8.31-1
perl 5.16.1-1
perl-crypt-ssleay 0.64-1
perl-encode-locale 1.03-1
perl-error 0.17018-1
perl-file-listing 6.04-1
perl-html-parser 3.69-2
perl-html-tagset 3.20-3
perl-http-cookies 6.01-1
perl-http-daemon 6.01-1
perl-http-date 6.02-1
perl-http-message 6.03-1
perl-http-negotiate 6.01-1
perl-io-socket-ssl 1.76-1
perl-libwww 6.04-1
perl-lwp-mediatypes 6.02-1
perl-lwp-protocol-https 6.03-1
perl-mozilla-ca 20120309-1
perl-net-http 6.03-1
perl-net-ssleay 1.49-1
perl-try-tiny 0.11-1
perl-uri 1.60-1
perl-www-robotrules 6.02-1
perl-xml-parser 2.41-3
pinentry 0.8.2-1
pixman 0.26.2-1
pkg-config 0.27.1-1
polkit 0.105-1
poppler 0.20.3-1
poppler-data 0.4.5-1
popt 1.16-5
postgresql-libs 9.2.1-1
ppl 1.0-1
ppp 2.4.5-4
procps-ng 3.3.3-6
psmisc 22.19-1
pth 2.0.7-4
pulseaudio 2.1-1
pulseaudio-alsa 2-1
python2 2.7.3-2
qjson 0.7.1-2
qrencode 3.3.1-1
qt 4.8.3-4
qtwebkit 2.2.2-1
randrproto 1.4.0-1
raptor 2.0.8-1
rasqal 1:0.9.29-1
readline 6.2.004-1
recode 3.6-7
recordproto 1.14.2-1
redland 1:1.0.15-3
redland-storage-virtuoso 1:1.0.15-3
reiserfsprogs 3.6.21-4
renderproto 0.11.1-2
rtkit 0.11-1
rtmpdump 2.4-1
run-parts 4.3.4-1
sane 1.0.23-1
schroedinger 1.0.11-1
scrnsaverproto 1.2.2-1
sdl 1.2.15-3
sdl_image 1.2.12-2
sdl_mixer 1.2.12-1
sdl_ttf 2.0.11-2
sed 4.2.1-4
sgmltools-lite 3.0.3-7
shadow 4.1.5.1-1
shared-mime-info 1.0-1
slang 2.2.4-2
smpeg 0.4.4-6
speex 1.2rc1-2
sqlite 3.7.14.1-1
sqlite2 2.8.17-5
sshfs 2.4-1
subversion 1.7.6-1
sudo 1.8.6.p3-1
svga-dri 8.0.4-3
sysfsutils 2.1.0-8
syslinux 4.05-7
syslog-ng 3.3.6-1
systemd 194-1
sysvinit 2.88-8
sysvinit-tools 2.88-8
t1lib 5.1.2-3
taglib 1.8-1
tar 1.26-2
tdb 1.2.9-2
texinfo 4.13a-7
texlive-bin 2012.0-4
texlive-core 2012.26892-2
texlive-htmlxml 2012.24013-1
texlive-latexextra 2012.26807-1
texlive-pictures 2012.26791-1
ttf-bitstream-vera 1.10-8
ttf-cheapskate 2.0-8
ttf-dejavu 2.33-3
ttf-liberation 2.00.0-1
tzdata 2012f-1
unixodbc 2.3.1-1
usbutils 006-1
util-linux 2.22-7
v4l-utils 0.8.8-1
vi 1:050325-2
videoproto 2.3.1-2
vim 7.3.661-1
vim-buftabs 0.18-1
vim-runtime 7.3.661-1
virtuoso 6.1.6-1
virtuoso-base 6.1.6-1
vlc 2.0.3-4
vorbis-tools 1.4.0-3
webrtc-audio-processing 0.1-1
wget 1.14-1
which 2.20-5
wpa_supplicant 1.0-1
x264 20120705-1
xbitmaps 1.1.1-2
xcb-proto 1.7.1-1
xcb-util 0.3.9-1
xcb-util-keysyms 0.3.9-1
xdg-utils 1.1.0-2.20120520
xextproto 7.2.1-1
xf86-input-acecad 1.5.0-3
xf86-input-aiptek 1.4.1-3
xf86-input-evdev 2.7.3-1
xf86-input-joystick 1.6.1-1
xf86-input-keyboard 1.6.2-1
xf86-input-mouse 1.8.1-1
xf86-input-synaptics 1.6.2-1
xf86-input-vmmouse 12.9.0-1
xf86-input-void 1.4.0-3
xf86-video-apm 1.2.5-1
xf86-video-ark 0.7.5-1
xf86-video-ast 0.97.0-1
xf86-video-ati 1:6.14.6-1
xf86-video-chips 1.2.5-1
xf86-video-cirrus 1.5.1-1
xf86-video-dummy 0.3.6-1
xf86-video-fbdev 0.4.3-1
xf86-video-glint 1.2.8-1
xf86-video-i128 1.3.6-1
xf86-video-i740 1.3.4-1
xf86-video-intel 2.20.9-1
xf86-video-mach64 6.9.3-1
xf86-video-mga 1.6.2-1
xf86-video-neomagic 1.2.7-1
xf86-video-nv 2.1.20-1
xf86-video-r128 6.9.1-1
xf86-video-rendition 4.2.5-1
xf86-video-s3 0.6.5-1
xf86-video-s3virge 1.10.6-1
xf86-video-savage 2.3.6-1
xf86-video-siliconmotion 1.7.7-1
xf86-video-sis 0.10.7-1
xf86-video-sisusb 0.9.6-1
xf86-video-tdfx 1.4.5-1
xf86-video-trident 1.3.6-1
xf86-video-tseng 1.2.5-1
xf86-video-v4l 0.2.0-10
xf86-video-vesa 2.3.2-1
xf86-video-vmware 12.0.2-1
xf86-video-voodoo 1.2.5-1
xf86dgaproto 2.1-2
xf86vidmodeproto 2.3.1-2
xfsprogs 3.1.8-2
xine-lib 1.2.2-1
xine-ui 0.99.7-1
xineramaproto 1.2.1-2
xkeyboard-config 2.7-1
xmms 1.2.11-4
xorg-bdftopcf 1.0.3-2
xorg-docs 1.7-1
xorg-font-util 1.3.0-1
xorg-font-utils 7.6-3
xorg-fonts-100dpi 1.0.1-4
xorg-fonts-75dpi 1.0.1-4
xorg-fonts-alias 1.0.2-2
xorg-fonts-encodings 1.0.4-3
xorg-fonts-misc 1.0.1-2
xorg-fonts-type1 7.4-2
xorg-iceauth 1.0.5-1
xorg-luit 1.1.1-1
xorg-mkfontdir 1.0.7-1
xorg-mkfontscale 1.1.0-1
xorg-server 1.12.4-1
xorg-server-common 1.12.4-1
xorg-server-utils 7.6-3
xorg-sessreg 1.0.7-1
xorg-setxkbmap 1.3.0-1
xorg-smproxy 1.0.5-1
xorg-twm 1.0.7-1
xorg-utils 7.6-8
xorg-x11perf 1.5.4-1
xorg-xauth 1.0.7-1
xorg-xbacklight 1.2.0-1
xorg-xclock 1.0.6-1
xorg-xcmsdb 1.0.4-1
xorg-xcursorgen 1.0.5-1
xorg-xdpyinfo 1.3.0-1
xorg-xdriinfo 1.0.4-3
xorg-xev 1.2.0-1
xorg-xgamma 1.0.5-1
xorg-xhost 1.0.5-1
xorg-xinit 1.3.2-1
xorg-xinput 1.6.0-1
xorg-xkbcomp 1.2.4-1
xorg-xkbevd 1.1.3-1
xorg-xkbutils 1.0.3-3
xorg-xkill 1.0.3-3
xorg-xlsatoms 1.1.1-1
xorg-xlsclients 1.1.2-2
xorg-xmodmap 1.0.7-1
xorg-xpr 1.0.4-1
xorg-xprop 1.2.1-1
xorg-xrandr 1.3.5-1
xorg-xrdb 1.0.9-2
xorg-xrefresh 1.0.4-3
xorg-xset 1.2.2-1
xorg-xsetroot 1.1.0-3
xorg-xvinfo 1.1.1-3
xorg-xwd 1.0.5-2
xorg-xwininfo 1.1.2-1
xorg-xwud 1.0.4-1
xproto 7.0.23-1
xterm 282-1
xvidcore 1.3.2-1
xz 5.0.4-1
yajl 2.0.4-1
yaourt 1.1-1
zlib 1.2.7-1
zvbi 0.2.33-4
zziplib 0.13.62-1

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