summaryrefslogtreecommitdiffstats
path: root/kde3/kdebase3/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde3/kdebase3/Pkgfile')
-rw-r--r--kde3/kdebase3/Pkgfile20
1 files changed, 15 insertions, 5 deletions
diff --git a/kde3/kdebase3/Pkgfile b/kde3/kdebase3/Pkgfile
index 89dfce5c4..d575a3a1a 100644
--- a/kde3/kdebase3/Pkgfile
+++ b/kde3/kdebase3/Pkgfile
@@ -6,14 +6,20 @@
name=kdebase3
version=3.5.10
-release=2
+release=3
source=(http://mirrors.isc.org/pub/kde/stable/3.5.10/src/kdebase-$version.tar.bz2 \
- kdebase-3.5.10-gcc44-1.patch \
- kdebase-3.5.10-crypto-1.patch kdm Xsession ede.desktop lxde.desktop)
+ http://nutyx.meticul.eu/files/patchs/$name/kdebase-3.5.10-gcc44-1.patch \
+ http://nutyx.meticul.eu/files/patchs/$name/kdebase-3.5.10-crypto-1.patch \
+ http://nutyx.meticul.eu/files/patchs/$name/NuTyX_logo_attapu.png \
+ http://nutyx.meticul.eu/files/patchs/$name/NuTyX_Wall_attapu.jpg \
+ kdm Xsession)
build() {
cd kdebase-$version
patch -Np1 -i ../kdebase-3.5.10-gcc44-1.patch
patch -Np1 -i ../kdebase-3.5.10-crypto-1.patch
+# export DO_NOT_COMPILE=kpersonalizer
+ sed -i "s/KDE34.png/NuTyX_Wall_attapu.jpg/g" \
+ kpersonalizer/keyecandypage.cpp
./configure --prefix=/opt/kde \
--sysconfdir=/etc/kde3 \
--disable-debug \
@@ -28,19 +34,23 @@ XDG_DATA_DIRS=/opt/kde/share:/usr/local/share:/usr/share
XDG_CONFIG_DIRS=/etc/kde3/xdg:/etc/xdg
export XDG_DATA_DIRS XDG_CONFIG_DIRS
EOF
-# rm -rf $PKG/$KDE3_PREFIX/share/doc
mkdir -v -p $PKG/etc/rc.d/init.d
mkdir -v -p $PKG/etc/rc.d/rc{0,1,3,4,5,6}.d
install -m755 ../kdm $PKG/etc/rc.d/init.d/
install -m755 ../Xsession $PKG/opt/kde/share/config/kdm/
- install -m644 ../{ede.desktop,lxde.desktop} $PKG/opt/kde/share/apps/kdm/sessions/
ln -svf ../init.d/kdm $PKG/etc/rc.d/rc3.d/S40kdm
ln -svf ../init.d/kdm $PKG/etc/rc.d/rc5.d/K10kdm
ln -svf ../init.d/kdm $PKG/etc/rc.d/rc4.d/K10kdm
ln -svf ../init.d/kdm $PKG/etc/rc.d/rc0.d/K10kdm
ln -svf ../init.d/kdm $PKG/etc/rc.d/rc1.d/K10kdm
ln -svf ../init.d/kdm $PKG/etc/rc.d/rc6.d/K10kdm
+ sed -i "s/default_blue.jpg/NuTyX_Wall_attapu.jpg/" $PKG/opt/kde/share/config/kdm/backgroundrc
+ sed -i "s/kdelogo.png/NuTyX_logo_attapu.png/" $PKG/opt/kde/share/config/kdm/kdmrc
sed -i "s/AllowRootLogin/#\ AllowRootLogin/" $PKG/opt/kde/share/config/kdm/kdmrc
sed -i "s@gnome-session@/usr/bin/gnome-session@" $PKG/opt/kde/share/apps/kdm/sessions/gnome.desktop
+ install -p -m 644 ../NuTyX_logo_attapu.png $PKG/opt/kde/share/apps/kdm/pics/NuTyX_logo_attapu.png
+ install -p -m 644 ../NuTyX_Wall_attapu.jpg $PKG/opt/kde/share/wallpapers/NuTyX_Wall_attapu.jpg
+ sed -i "s/KDE34.png/NuTyX_Wall_attapu.jpg/" \
+ $PKG/opt/kde/share/apps/kthememanager/themes/Plastik/Plastik.xml
}