wok-current rev 12312
Rename razor-qt to razorqt (Follow https://github.com/Razor-qt/razor-qt/wiki/Packaging)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 17 14:21:40 2012 +0200 (2012-04-17) |
parents | ecd657025eda |
children | 80581f30bede |
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 razorqt-appswitcher/receipt razorqt-dev/receipt razorqt-themes/receipt razorqt/receipt razorqt/stuff/desktop.conf razorqt/stuff/razor.conf razorqt/stuff/session.conf |
line diff
1.1 --- a/razor-qt-dev/receipt Tue Apr 17 13:01:32 2012 +0200 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,19 +0,0 @@ 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 --- a/razor-qt-themes/receipt Tue Apr 17 13:01:32 2012 +0200 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,19 +0,0 @@ 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 --- a/razor-qt/receipt Tue Apr 17 13:01:32 2012 +0200 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,62 +0,0 @@ 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/" $1/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 --- a/razor-qt/stuff/desktop.conf Tue Apr 17 13:01:32 2012 +0200 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,23 +0,0 @@ 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 --- a/razor-qt/stuff/razor.conf Tue Apr 17 13:01:32 2012 +0200 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,3 +0,0 @@ 5.4 -[General] 5.5 -theme=light 5.6 -icon_theme=SliTaz
6.1 --- a/razor-qt/stuff/session.conf Tue Apr 17 13:01:32 2012 +0200 6.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 6.3 @@ -1,13 +0,0 @@ 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
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 7.2 +++ b/razorqt-appswitcher/receipt Tue Apr 17 14:21:40 2012 +0200 7.3 @@ -0,0 +1,18 @@ 7.4 +# SliTaz package receipt. 7.5 + 7.6 +PACKAGE="razorqt-appswitcher" 7.7 +VERSION="0.4.1" 7.8 +CATEGORY="x-window" 7.9 +SHORT_DESC="RazorQT Apps switcher plugin." 7.10 +MAINTAINER="pankso@slitaz.org" 7.11 +WANTED="razorqt" 7.12 +WEB_SITE="http://razor-qt.org/" 7.13 + 7.14 +DEPENDS="razor-qt" 7.15 + 7.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 7.17 +genpkg_rules() 7.18 +{ 7.19 + mkdir -p $fs/usr/bin 7.20 + cp -a $install/usr/bin/razor-appswitcher $fs/usr/bin 7.21 +}
8.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 8.2 +++ b/razorqt-dev/receipt Tue Apr 17 14:21:40 2012 +0200 8.3 @@ -0,0 +1,19 @@ 8.4 +# SliTaz package receipt. 8.5 + 8.6 +PACKAGE="razorqt-dev" 8.7 +VERSION="0.4.1" 8.8 +CATEGORY="development" 8.9 +SHORT_DESC="Development files for the QT based Razor desktop" 8.10 +MAINTAINER="pankso@slitaz.org" 8.11 +WANTED="razorqt" 8.12 +WEB_SITE="http://razor-qt.org/" 8.13 + 8.14 +DEPENDS="Qt-dev" 8.15 + 8.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 8.17 +genpkg_rules() 8.18 +{ 8.19 + mkdir -p $fs/usr/lib 8.20 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 8.21 + cp -a $install/usr/include $fs/usr 8.22 +}
9.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 9.2 +++ b/razorqt-themes/receipt Tue Apr 17 14:21:40 2012 +0200 9.3 @@ -0,0 +1,19 @@ 9.4 +# SliTaz package receipt. 9.5 + 9.6 +PACKAGE="razorqt-themes" 9.7 +VERSION="0.4.1" 9.8 +CATEGORY="x-window" 9.9 +SHORT_DESC="Extra themes for RazorQT desktop" 9.10 +MAINTAINER="pankso@slitaz.org" 9.11 +WANTED="razorqt" 9.12 +WEB_SITE="http://razor-qt.org/" 9.13 + 9.14 +DEPENDS="razor-qt" 9.15 + 9.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 9.17 +genpkg_rules() 9.18 +{ 9.19 + mkdir -p $fs/usr/share/razor 9.20 + cp -a $install/usr/share/razor/themes $fs/usr/share/razor 9.21 + rm -rf $fs/usr/share/razor/themes/light 9.22 +}
10.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 10.2 +++ b/razorqt/receipt Tue Apr 17 14:21:40 2012 +0200 10.3 @@ -0,0 +1,69 @@ 10.4 +# SliTaz package receipt. 10.5 + 10.6 +PACKAGE="razorqt" 10.7 +VERSION="0.4.1" 10.8 +CATEGORY="x-window" 10.9 +SHORT_DESC="Light and fast QT based Desktop Environment." 10.10 +MAINTAINER="pankso@slitaz.org" 10.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 10.12 +WEB_SITE="http://razor-qt.org/" 10.13 +WGET_URL="https://github.com/downloads/Razor-qt/razor-qt/$TARBALL" 10.14 +SUGGESTED="razorqt-themes razorqt-appswitcher" 10.15 + 10.16 +DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic" 10.17 +BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev" 10.18 +# polkit-dev polkit-qt-dev doxygen 10.19 + 10.20 +# Rules to configure and make the package. 10.21 +compile_rules() 10.22 +{ 10.23 + cd $src 10.24 + cmake -DCMAKE_INSTALL_PREFIX=/usr . 10.25 + make && make install 10.26 +} 10.27 + 10.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 10.29 +genpkg_rules() 10.30 +{ 10.31 + mkdir -p $fs/usr/lib $fs/usr/share 10.32 + # Use SliTaz XDG Menu 10.33 + #cp -a $install/etc $fs 10.34 + cp -a $install/usr/bin $fs/usr 10.35 + 10.36 + # Split plugins ? 10.37 + cp -a $install/usr/lib/*.so* $fs/usr/lib 10.38 + cp -a $install/usr/lib/razor-* $fs/usr/lib 10.39 + cp -a $install/usr/share/librazorqt $fs/usr/share 10.40 + cp -a $install/usr/share/razor $fs/usr/share 10.41 + 10.42 + # Appswitcher --> razorqt-appswitcher 10.43 + rm -f $fs/usr/bin/razor-appswitcher 10.44 + 10.45 + # Themes --> razorqt-themes 10.46 + rm -rf $fs/usr/share/razor/themes 10.47 + mkdir -p $fs/usr/share/razor/themes 10.48 + cp -a $install/usr/share/razor/themes/light \ 10.49 + $fs/usr/share/razor/themes 10.50 + 10.51 + # Custom SliTaz integration 10.52 + cp -a $stuff/*.conf $fs/usr/share/razor 10.53 +} 10.54 + 10.55 +post_install() 10.56 +{ 10.57 + res=$(cat $1/etc/slim.conf | grep ^session | sed s/"sessions. *"//) 10.58 + # Adding WM to SLIM available sessions. 10.59 + if ! echo "$res" | grep -q $PACKAGE; then 10.60 + echo -n "Adding $PACKAGE to /etc/slim.conf..." 10.61 + sed -i "s/^sessions.*/sessions ${res},$PACKAGE/" $1/etc/slim.conf 10.62 + status 10.63 + fi 10.64 +} 10.65 + 10.66 +post_remove() 10.67 +{ 10.68 + # Remove WM from SLIM available sessions. 10.69 + if grep -q $PACKAGE $1/etc/slim.conf; then 10.70 + sed -i s/,$PACKAGE// $1/etc/slim.conf 10.71 + fi 10.72 +}
11.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 11.2 +++ b/razorqt/stuff/desktop.conf Tue Apr 17 14:21:40 2012 +0200 11.3 @@ -0,0 +1,23 @@ 11.4 +[General] 11.5 +desktop=razor 11.6 +icon-launch-mode=singleclick 11.7 + 11.8 +[wm_native] 11.9 +icons=true 11.10 + 11.11 +[razor] 11.12 +desktops\size=1 11.13 +desktops\1\plugins=iconview_default, analogclock_default 11.14 +menu_file=/etc/xdg/menus/applications.menu 11.15 + 11.16 +[iconview_default] 11.17 +plugin=iconview 11.18 +x=10 11.19 +y=10 11.20 +w=790 11.21 +h=590 11.22 + 11.23 +[analogclock_default] 11.24 +plugin=analogclock 11.25 +x=-1 11.26 +y=1
12.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 12.2 +++ b/razorqt/stuff/razor.conf Tue Apr 17 14:21:40 2012 +0200 12.3 @@ -0,0 +1,3 @@ 12.4 +[General] 12.5 +theme=light 12.6 +icon_theme=SliTaz
13.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 13.2 +++ b/razorqt/stuff/session.conf Tue Apr 17 14:21:40 2012 +0200 13.3 @@ -0,0 +1,13 @@ 13.4 +[General] 13.5 +windowmanager=openbox 13.6 + 13.7 +[modules] 13.8 +razor-panel=true 13.9 +razor-desktop=true 13.10 +razor-appswitcher=false 13.11 +razor-runner=true 13.12 +razor-policykit-agent=false 13.13 + 13.14 +[environment] 13.15 +TERM=xterm 13.16 +BROWSER=arora