kde: baselayout-2 fixes. Now supports KDE 4.6
This commit is contained in:
parent
111ea2c4e5
commit
c15f4fbd3f
14
kde/Makefile
14
kde/Makefile
|
@ -2,20 +2,12 @@
|
|||
preinstall:
|
||||
echo 'USE="$$USE qt3support xcomposite opengl"' >> "$(CHROOT)"/etc/make.conf
|
||||
|
||||
postinstall: kdmrc Xaccess local knotifyrc
|
||||
postinstall: kdmrc kdm.start Xaccess knotifyrc
|
||||
cp kdmrc Xaccess "$(CHROOT)"/usr/share/config/kdm
|
||||
mkdir -p "$(CHROOT)"/etc/skel/.kde4/share/config
|
||||
cp knotifyrc "$(CHROOT)"/etc/skel/.kde4/share/config/knotifyrc
|
||||
chroot "$(CHROOT)" rc-update add dbus default
|
||||
if [ -e "$(CHROOT)"/etc/conf.d/xdm ]; then \
|
||||
sed -i 's/^DISPLAYMANAGER=.*/DISPLAYMANAGER="kdm"/' \
|
||||
"$(CHROOT)"/etc/conf.d/xdm; \
|
||||
chroot "$(CHROOT)" rc-update add xdm default; \
|
||||
elif [ -f "$(CHROOT)/etc/conf.d/local" ]; then \
|
||||
cp local "$(CHROOT)/etc/conf.d/local"; \
|
||||
else \
|
||||
echo "/usr/bin/kdm -daemon" >> "$(CHROOT)"/etc/conf.d/local.start; \
|
||||
fi
|
||||
cp kdm.start "$(CHROOT)"/etc/local.d/kdm.start
|
||||
chroot "$(CHROOT)" ln -nsf /etc/init.d/dbus /etc/runlevels/default/dbus
|
||||
|
||||
clean:
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
# start script for baselayout-2 to start kdm
|
||||
|
||||
/usr/bin/kdm -daemon
|
||||
|
||||
exit 0
|
|
@ -1,9 +0,0 @@
|
|||
local_start() {
|
||||
/usr/bin/kdm -daemon
|
||||
return 0
|
||||
}
|
||||
|
||||
local_stop() {
|
||||
pkill kdm
|
||||
return 0
|
||||
}
|
|
@ -9,18 +9,20 @@ sys-libs/ncurses minimal
|
|||
app-misc/strigi dbus qt4
|
||||
app-text/poppler utils
|
||||
dev-libs/libxml2 python
|
||||
dev-libs/soprano raptor redland
|
||||
dev-libs/xmlrpc-c curl
|
||||
media-libs/phonon xine
|
||||
media-libs/xine-lib xcb
|
||||
media-sound/phonon xcb xine
|
||||
net-misc/curl ssl
|
||||
sys-apps/dbus X
|
||||
sys-auth/consolekit policykit
|
||||
sys-block/parted device-mapper
|
||||
sys-fs/udev extras
|
||||
x11-libs/cairo X svg
|
||||
x11-libs/qt-core exceptions qt3support ssl
|
||||
x11-libs/qt-gui accessibility dbus mng
|
||||
x11-libs/qt-qt3support accessibility kde
|
||||
x11-libs/qt-sql qt3support mysql
|
||||
x11-libs/qt-svg accessibility
|
||||
x11-libs/qt-webkit kde
|
||||
|
||||
# KDE 4.5
|
||||
>=dev-libs/soprano-2.4.64 raptor redland
|
||||
|
|
Loading…
Reference in New Issue