You are not logged in.
Pages: 1
I have modified the kdelibs PKGBUILD from abs to use avahi instead of mdnsresponder, it anyone wants it.
Just place this in the abs dir for kdelibs:
# $Id: PKGBUILD,v 1.53 2006/01/27 15:56:49 tpowa Exp $
# Contributor: Roman Kreisel <roman.kreisel@epost.de>
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
pkgname=kdelibs-avahi
pkgver=3.5.1
kdever=3.5.1
pkgrel=1
pkgdesc="KDE Core Libraries"
url="http://www.kde.org"
groups=('kde')
depends=('arts>=1.5.1' 'db' 'libxslt' 'pcre' 'libart-lgpl' 'openexr' 'avahi' 'jasper'
'fam' 'bzip2' 'openssl' 'libidn' 'perl' 'aspell' 'heimdal' 'acl' 'libtiff' 'qt>=3.3.5')
makedepends=('cups')
provides=('kdelibs')
conflicts=('kdelibs')
# 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
applications.menu.patch kdeprintrc.patch fileshareset-wrapper.c kde-menu.patch xdg-icon-lookup.patch
html_misc.patch
http://helios.et.put.poznan.pl/~jstachow/pub/kdnssd-avahi_0.1.2.orig.tar.gz)
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
# fix for kdebindings
patch -Np4 -i ../html_misc.patch || return 1
#automake
./configure --prefix=/opt/kde --with-distribution="Arch Linux" --with-alsa
--disable-dependency-tracking --disable-debug
--enable-dnotify --enable-sendfile --without-hspell
--enable-gcc-hidden-visibility --enable-final --disable-dnssd
# --enable-final # remove this if you build with < 512mb ram.
make || return 1
make DESTDIR=$startdir/pkg install || return 1
# Hack-ish way to get Avahi support
cd $startdir/src/kdnssd-avahi-0.1.2
./configure --prefix=/opt/kde
cd kdnssd-avahi && make mocs && make
cd ../
make || return 1
make DESTDIR=$startdir/pkg install
# 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=('2a22193ae7c23f3759b02723dab02d30' 'a66270abcdd0dcb2e28d3b2464927ff6'
'6061c259247f56f0ede21deabfad2732' '60ab1a486895d6c18ef334ec958c48d6'
'e94aef45b5a59fe58c7cc085ab1dd3ae' '3627a48526fefa2fe2beeff43f35ac0f'
'ac1421ba31fe20e8108b5ffb509b11b0' '36e7073d39d692c9f45b22c1044eb563')
Offline
Well, I got one report claiming this as a success, you just need avahi started before getting into kde or else kicker will go bonkers
Offline
Pages: 1