You are not logged in.
I'm a xfce user and just want amarok and sometimes k3b and k9copy from kde. I don't want any konqueror, kwrite, arts or any other bloated stuff in my machine. So, i modified the kdelibs PKGBUILD to suit my needs -without arts nor avahi dependency/support.
It builds and runs fine, but when restarting my system (or installing it without having official kdelibs package previously installed) i have no symlinks to the bins. I also have no menu items for kde-apps. If i try to run amarok (for example) from terminal giving the whole address (/opt/kde/bin/amarokapp) it runs ok giving no error, so i guess the problem is just that my kdelibs pkg isn't making the appropriate symlinks during boot?
Thanks in advance for any help.
Here is the PKGBUILD:
pkgname=kdelibs-noarts
pkgver=3.5.6
kdever=3.5.6
pkgrel=1
pkgdesc="KDE Core Libraries klein"
arch=(i686 x86_64)
url="http://www.kde.org"
provides='kdelibs'
conflicts='kdelibs'
replaces='kdelibs'
groups=('kde')
depends=('db' 'libxslt' 'pcre' 'libart-lgpl' 'openexr'
'jasper' 'fam' 'bzip2' 'openssl' 'libidn' 'perl'
'aspell' 'heimdal' 'acl' 'libtiff' 'qt>=3.3.7')
makedepends=(pkgconfig cups)
# for easier build, just uncomment the mirror you want to use
# mirror="ftp.solnet.ch/mirror/KDE" # updated every 2 hours, very fast for Europe
mirror="ftp.kde.org/pub/kde" # main server
# mirror="ibiblio.org/pub/mirrors/kde/" # ibiblio mirror
source=(ftp://$mirror/stable/$kdever/src/kdelibs-$pkgver.tar.bz2
#http://www.archlinux.org/~jgc/kdnssd-avahi-20060319.tar.bz2
applications.menu.patch
kdeprintrc.patch
fileshareset-wrapper.c
kde-menu.patch
xdg-icon-lookup.patch
kicker-crash.patch
inotify.patch
qxembed.cpp.patch)
build() {
# Source the QT and KDE profile
[ "$QTDIR" = "" ] && source /etc/profile.d/qt.sh
[ "$KDEDIR" = "" ] && source /etc/profile.d/kde.sh
# start building
cd $startdir/src/kdelibs-$pkgver
patch -Np1 -i $startdir/src/kde-menu.patch || return 1
# patch -Np0 -i $startdir/src/xdg-icon-lookup.patch || return 1
patch -Np0 -i $startdir/src/applications.menu.patch || return 1
patch -Np0 -i $startdir/src/kicker-crash.patch || return 1
patch -Np0 -i $startdir/src/inotify.patch || return 1
patch -Np4 -i $startdir/src/qxembed.cpp.patch || return 1
# Replace dns-sd implementation with avahi implementation
# rm dnssd/*
# cp -r ${startdir}/src/kdnssd-avahi-20060319/* dnssd/
# rm dnssd/configure{,.in}
# sed -i -e 's/kdnssd-avahi/dnssd/g' dnssd/configure.in.in
# sed -i -e 's|ksocketaddress.h|network/ksocketaddress.h|' dnssd/publicservice.cpp
#Needed for updated kdnssd-avahi and inotify patch
make -f admin/Makefile.common dist
./configure --prefix=/opt/kde --with-distribution="Arch Linux" --with-alsa
--disable-dependency-tracking --disable-debug
--disable-dnotify --enable-inotify --enable-sendfile --x-libraries=/usr/share
--without-lua-dir --without-lua-includes --without-lua-libraries
--without-hspell --enable-gcc-hidden-visibility --without-arts --enable-final
--enable-new-ldflags LDFLAGS="${LDFLAGS} -L/opt/qt/lib"
# --enable-final # remove this if you build with < 512mb ram.
make || return 1
make DESTDIR=$startdir/pkg install || return 1
# Set cups as default printing system
cd $startdir/pkg/opt/kde/share/config
patch -Np0 -i $startdir/src/kdeprintrc.patch || return 1
# fix that stupid fileshareset suid problem
mv $startdir/pkg/opt/kde/bin/fileshareset $startdir/pkg/opt/kde/bin/fileshareset.pl
gcc -Wall $startdir/src/fileshareset-wrapper.c -o $startdir/pkg/opt/kde/bin/fileshareset
chmod 0755 $startdir/pkg/opt/kde/bin/fileshareset.pl
chmod 4755 $startdir/pkg/opt/kde/bin/fileshareset
rm $startdir/pkg/opt/kde/bin/filesharelist
cd $startdir/pkg/opt/kde/bin/
ln -s fileshareset.pl filesharelist
}
md5sums=('f2da82c44b8a4e177018732e64a83a36' #'b7b98e965960f2d55741a10070aa943d'
'a66270abcdd0dcb2e28d3b2464927ff6' '6061c259247f56f0ede21deabfad2732'
'60ab1a486895d6c18ef334ec958c48d6' 'e94aef45b5a59fe58c7cc085ab1dd3ae'
'f7abfe849e5122dd01d6b8a884999da0' '091d05a08330372ddbaf5ef9d426be53'
'42d288e71fa0a886bc8882c198a27f2e' 'b697d458119880d0333dd368304e30aa')
All your base are belong to us
Offline
I fixed it. The problem was so stupid, i forgot to add kde-common as dependency... however, it is working now. I cleaned the PKGBUILD a little and uploaded it to AUR.
All your base are belong to us
Offline