wok-6.x rev 12281
Add razor-qt (Light, fast QT based Desktop Environment)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 15 14:00:30 2012 +0200 (2012-04-15) |
parents | cd14149ba36e |
children | 7731cce850f0 |
files | razor-qt-dev/receipt razor-qt-themes/receipt razor-qt/receipt razor-qt/stuff/desktop.conf razor-qt/stuff/razor.conf razor-qt/stuff/session.conf |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/razor-qt-dev/receipt Sun Apr 15 14:00:30 2012 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="razor-qt-dev" 1.7 +VERSION="0.4.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Development files for the QT based Razor desktop" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +WANTED="razor-qt" 1.12 +WEB_SITE="http://razor-qt.org/" 1.13 + 1.14 +DEPENDS="Qt-dev" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib 1.20 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.21 + cp -a $install/usr/include $fs/usr 1.22 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/razor-qt-themes/receipt Sun Apr 15 14:00:30 2012 +0200 2.3 @@ -0,0 +1,19 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="razor-qt-themes" 2.7 +VERSION="0.4.1" 2.8 +CATEGORY="x-window" 2.9 +SHORT_DESC="Extra themes for RazorQT desktop" 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +WANTED="razor-qt" 2.12 +WEB_SITE="http://razor-qt.org/" 2.13 + 2.14 +DEPENDS="razor-qt" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + mkdir -p $fs/usr/share/razor 2.20 + cp -a $install/usr/share/razor/themes $fs/usr/share/razor 2.21 + rm -rf $fs/usr/share/razor/themes/light 2.22 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/razor-qt/receipt Sun Apr 15 14:00:30 2012 +0200 3.3 @@ -0,0 +1,62 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="razor-qt" 3.7 +VERSION="0.4.1" 3.8 +CATEGORY="x-window" 3.9 +SHORT_DESC="Light and fast QT based Desktop Environment." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +SOURCE="razorqt" 3.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 3.13 +WEB_SITE="http://razor-qt.org/" 3.14 +WGET_URL="https://github.com/downloads/Razor-qt/razor-qt/$TARBALL" 3.15 +SUGGESTED="razor-qt-themes" 3.16 + 3.17 +DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic" 3.18 +BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + cd $src 3.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr . 3.25 + make && make install 3.26 +} 3.27 + 3.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.29 +genpkg_rules() 3.30 +{ 3.31 + mkdir -p $fs/usr/lib $fs/usr/share 3.32 + # Use SliTaz XDG Menu 3.33 + #cp -a $install/etc $fs 3.34 + cp -a $install/usr/bin $fs/usr 3.35 + # Split plugins ? 3.36 + cp -a $install/usr/lib/*.so* $fs/usr/lib 3.37 + cp -a $install/usr/lib/razor-* $fs/usr/lib 3.38 + cp -a $install/usr/share/librazorqt $fs/usr/share 3.39 + cp -a $install/usr/share/razor $fs/usr/share 3.40 + # Themes --> razor-qt-themes 3.41 + rm -rf $fs/usr/share/razor/themes 3.42 + mkdir -p $fs/usr/share/razor/themes 3.43 + cp -a $install/usr/share/razor/themes/light $fs/usr/share/razor/themes 3.44 + # Custom SliTaz integration 3.45 + cp -a $stuff/*.conf $fs/usr/share/razor 3.46 +} 3.47 + 3.48 +post_install() 3.49 +{ 3.50 + res=$(cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//) 3.51 + # Adding WM to SLIM available sessions. 3.52 + if ! echo "$res" | grep -q $PACKAGE; then 3.53 + echo -n "Adding $PACKAGE to /etc/slim.conf..." 3.54 + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" /etc/slim.conf 3.55 + status 3.56 + fi 3.57 +} 3.58 + 3.59 +post_remove() 3.60 +{ 3.61 + # Remove WM from SLIM available sessions. 3.62 + if grep -q $PACKAGE $1/etc/slim.conf; then 3.63 + sed -i s/,$PACKAGE// $1/etc/slim.conf 3.64 + fi 3.65 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/razor-qt/stuff/desktop.conf Sun Apr 15 14:00:30 2012 +0200 4.3 @@ -0,0 +1,23 @@ 4.4 +[General] 4.5 +desktop=razor 4.6 +icon-launch-mode=singleclick 4.7 + 4.8 +[wm_native] 4.9 +icons=true 4.10 + 4.11 +[razor] 4.12 +desktops\size=1 4.13 +desktops\1\plugins=iconview_default, analogclock_default 4.14 +menu_file=/etc/xdg/menus/applications.menu 4.15 + 4.16 +[iconview_default] 4.17 +plugin=iconview 4.18 +x=10 4.19 +y=10 4.20 +w=790 4.21 +h=590 4.22 + 4.23 +[analogclock_default] 4.24 +plugin=analogclock 4.25 +x=-1 4.26 +y=1
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/razor-qt/stuff/razor.conf Sun Apr 15 14:00:30 2012 +0200 5.3 @@ -0,0 +1,3 @@ 5.4 +[General] 5.5 +theme=light 5.6 +icon_theme=SliTaz
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 6.2 +++ b/razor-qt/stuff/session.conf Sun Apr 15 14:00:30 2012 +0200 6.3 @@ -0,0 +1,13 @@ 6.4 +[General] 6.5 +windowmanager=openbox 6.6 + 6.7 +[modules] 6.8 +razor-panel=true 6.9 +razor-desktop=true 6.10 +razor-appswitcher=false 6.11 +razor-runner=true 6.12 +razor-policykit-agent=false 6.13 + 6.14 +[environment] 6.15 +TERM=xterm 6.16 +BROWSER=arora