wok rev 13506

Up: razorqt (0.5.0) With new splited packages and a bunch of new features)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Oct 13 22:11:32 2012 +0200 (2012-10-13)
parents d28da15a9c1f
children 9000cde8e23a
files razorqt-appswitcher/receipt razorqt-autosuspend/receipt razorqt-dev/receipt razorqt-policykit-agent/receipt razorqt-power/receipt razorqt-runner/receipt razorqt-themes/receipt razorqt/receipt razorqt/stuff/desktop.conf razorqt/stuff/session.conf
line diff
     1.1 --- a/razorqt-appswitcher/receipt	Sat Oct 13 22:09:46 2012 +0200
     1.2 +++ b/razorqt-appswitcher/receipt	Sat Oct 13 22:11:32 2012 +0200
     1.3 @@ -1,18 +1,20 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="razorqt-appswitcher"
     1.7 -VERSION="0.4.1"
     1.8 +VERSION="0.5.0"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="RazorQT Apps switcher plugin."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  WANTED="razorqt"
    1.13  WEB_SITE="http://razor-qt.org/"
    1.14  
    1.15 -DEPENDS="razor-qt"
    1.16 +DEPENDS="razorqt"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/bin
    1.22 +	mkdir -p $fs/usr/bin $fs/etc/xdg/autostart
    1.23  	cp -a $install/usr/bin/razor-appswitcher $fs/usr/bin
    1.24 +	cp -a $install/etc/xdg/autostart/razor-appswitcher.desktop \
    1.25 +		$fs/etc/xdg/autostart
    1.26  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/razorqt-autosuspend/receipt	Sat Oct 13 22:11:32 2012 +0200
     2.3 @@ -0,0 +1,27 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="razorqt-autosuspend"
     2.7 +VERSION="0.5.0"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="RazorQT suspend manage application tool."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +WANTED="razorqt"
    2.12 +WEB_SITE="http://razor-qt.org/"
    2.13 +
    2.14 +DEPENDS="razorqt"
    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/bin $fs/etc/xdg/autostart \
    2.20 +		$fs/usr/share/applications \
    2.21 +		$fs/usr/share/razor
    2.22 +	cp -a $install/usr/bin/razor-autosuspend $fs/usr/bin
    2.23 +	cp -a $install/usr/bin/razor-config-autosuspend $fs/usr/bin
    2.24 +	cp -a $install/etc/xdg/autostart/razor-autosuspend.desktop \
    2.25 +		$fs/etc/xdg/autostart
    2.26 +	cp $install/usr/share/applications/razor-config-autosuspend.desktop \
    2.27 +		$fs/usr/share/applications
    2.28 +	cp -a $install/usr/share/razor/razor-autosuspend $fs/usr/share/razor
    2.29 +	cp -a $install/usr/share/razor/razor-config-autosuspend $fs/usr/share/razor
    2.30 +}
     3.1 --- a/razorqt-dev/receipt	Sat Oct 13 22:09:46 2012 +0200
     3.2 +++ b/razorqt-dev/receipt	Sat Oct 13 22:11:32 2012 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="razorqt-dev"
     3.7 -VERSION="0.4.1"
     3.8 +VERSION="0.5.0"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Development files for the QT based Razor desktop"
    3.11  MAINTAINER="pankso@slitaz.org"
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/razorqt-policykit-agent/receipt	Sat Oct 13 22:11:32 2012 +0200
     4.3 @@ -0,0 +1,20 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="razorqt-policykit-agent"
     4.7 +VERSION="0.5.0"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="RazorQT lightweight PolicyKit agent/user interface."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +WANTED="razorqt"
    4.12 +WEB_SITE="http://razor-qt.org/"
    4.13 +
    4.14 +DEPENDS="razorqt polkit polkit-qt"
    4.15 +
    4.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.17 +genpkg_rules()
    4.18 +{
    4.19 +	mkdir -p $fs/usr/bin $fs/etc/xdg/autostart
    4.20 +	cp -a $install/usr/bin/razor-policykit-agent $fs/usr/bin
    4.21 +	cp -a $install/etc/xdg/autostart/razor-policykit-agent.desktop \
    4.22 +		$fs/etc/xdg/autostart
    4.23 +}
     5.1 --- a/razorqt-power/receipt	Sat Oct 13 22:09:46 2012 +0200
     5.2 +++ b/razorqt-power/receipt	Sat Oct 13 22:11:32 2012 +0200
     5.3 @@ -1,20 +1,22 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="razorqt-power"
     5.7 -VERSION="0.4.1"
     5.8 +VERSION="0.5.0"
     5.9  CATEGORY="x-window"
    5.10 -SHORT_DESC="RazorQT Apps switcher plugin."
    5.11 +SHORT_DESC="Razor-qt power management component."
    5.12  MAINTAINER="pankso@slitaz.org"
    5.13  WANTED="razorqt"
    5.14  WEB_SITE="http://razor-qt.org/"
    5.15  
    5.16 -DEPENDS="razor-qt upower"
    5.17 +DEPENDS="razorqt upower"
    5.18  
    5.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.20  genpkg_rules()
    5.21  {
    5.22 -	mkdir -p $fs/usr/bin $fs/usr/share/razor
    5.23 +	mkdir -p $fs/usr/bin $fs/usr/share/razor $fs/usr/share/applications
    5.24  	cp -a $install/usr/bin/razor-power $fs/usr/bin
    5.25  	cp -a $install/usr/share/razor/razor-power \
    5.26 -		 $fs/usr/share/razor
    5.27 +		$fs/usr/share/razor
    5.28 +	cp $install/usr/share/applications/razor-power.desktop \
    5.29 +		$fs/usr/share/applications
    5.30  }
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/razorqt-runner/receipt	Sat Oct 13 22:11:32 2012 +0200
     6.3 @@ -0,0 +1,22 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="razorqt-runner"
     6.7 +VERSION="0.5.0"
     6.8 +CATEGORY="x-window"
     6.9 +SHORT_DESC="Razor-qt quick launch and runner application."
    6.10 +MAINTAINER="pankso@slitaz.org"
    6.11 +WANTED="razorqt"
    6.12 +WEB_SITE="http://razor-qt.org/"
    6.13 +
    6.14 +DEPENDS="razorqt"
    6.15 +
    6.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.17 +genpkg_rules()
    6.18 +{
    6.19 +	mkdir -p $fs/usr/bin $fs/etc/xdg/autostart $fs/usr/share/razor
    6.20 +	cp -a $install/usr/bin/razor-runner $fs/usr/bin
    6.21 +	cp -a $install/etc/xdg/autostart/razor-runner.desktop \
    6.22 +		$fs/etc/xdg/autostart
    6.23 +	cp -a $install/usr/share/razor/razor-runner \
    6.24 +		$fs/usr/share/razor
    6.25 +}
     7.1 --- a/razorqt-themes/receipt	Sat Oct 13 22:09:46 2012 +0200
     7.2 +++ b/razorqt-themes/receipt	Sat Oct 13 22:11:32 2012 +0200
     7.3 @@ -1,14 +1,14 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="razorqt-themes"
     7.7 -VERSION="0.4.1"
     7.8 +VERSION="0.5.0"
     7.9  CATEGORY="x-window"
    7.10  SHORT_DESC="Extra themes for RazorQT desktop"
    7.11  MAINTAINER="pankso@slitaz.org"
    7.12  WANTED="razorqt"
    7.13  WEB_SITE="http://razor-qt.org/"
    7.14  
    7.15 -DEPENDS="razor-qt"
    7.16 +DEPENDS="razorqt"
    7.17  
    7.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.19  genpkg_rules()
     8.1 --- a/razorqt/receipt	Sat Oct 13 22:09:46 2012 +0200
     8.2 +++ b/razorqt/receipt	Sat Oct 13 22:11:32 2012 +0200
     8.3 @@ -1,18 +1,23 @@
     8.4  # SliTaz package receipt.
     8.5  
     8.6  PACKAGE="razorqt"
     8.7 -VERSION="0.4.1"
     8.8 +VERSION="0.5.0"
     8.9  CATEGORY="x-window"
    8.10  SHORT_DESC="Light and fast QT based Desktop Environment."
    8.11  MAINTAINER="pankso@slitaz.org"
    8.12  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.13  WEB_SITE="http://razor-qt.org/"
    8.14  WGET_URL="https://github.com/downloads/Razor-qt/razor-qt/$TARBALL"
    8.15 -SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power"
    8.16 +SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power \
    8.17 +razorqt-runner razorqt-autosuspend"
    8.18  
    8.19 -DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic"
    8.20 -BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev"
    8.21 -# polkit-dev polkit-qt-dev doxygen
    8.22 +DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic \
    8.23 +libstatgrab alsa-lib"
    8.24 +BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev \
    8.25 +grep libstatgrab-dev alsa-lib-dev polkit-dev polkit-qt-dev glib-dev \
    8.26 +libgio-dev"
    8.27 +
    8.28 +GENERIC_MENUS="no"
    8.29  
    8.30  # Rules to configure and make the package.
    8.31  compile_rules()
    8.32 @@ -25,34 +30,57 @@
    8.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.34  genpkg_rules()
    8.35  {
    8.36 -	mkdir -p $fs/usr/lib $fs/usr/share/xsessions
    8.37 +	mkdir -p $fs/usr/lib $fs/usr/share $fs/etc
    8.38 +
    8.39  	# Use SliTaz XDG Menu
    8.40 -	#cp -a $install/etc $fs
    8.41 +	cp -a $install/etc $fs
    8.42 +	rm -rf $fs/etc/xdg/menus
    8.43 +
    8.44 +	# Copy almost everything then split
    8.45  	cp -a $install/usr/bin $fs/usr
    8.46 -	cp -f $install/usr/share/xsessions/razor.desktop \
    8.47 -		$fs/usr/share/xsessions
    8.48 -	
    8.49 +	cp -f $install/usr/share/xsessions $fs/usr/share
    8.50 +	cp -a $install/usr/share/applications $fs/usr/share
    8.51 +
    8.52  	# Split more plugins ?
    8.53  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    8.54  	cp -a $install/usr/lib/razor-* $fs/usr/lib
    8.55  	cp -a $install/usr/share/librazorqt $fs/usr/share
    8.56  	cp -a $install/usr/share/razor $fs/usr/share
    8.57 -	
    8.58 +
    8.59  	# Appswitcher --> razorqt-appswitcher
    8.60  	rm -f $fs/usr/bin/razor-appswitcher
    8.61 -	
    8.62 +	rm -f $fs/etc/xdg/autostart/razor-appswitcher.desktop
    8.63 +
    8.64 +	# Autosuspend --> razorqt-autosuspend
    8.65 +	rm -f $fs/usr/bin/razor-autosuspend
    8.66 +	rm -f $fs/usr/bin/razor-config-autosuspend
    8.67 +	rm -f $fs/etc/xdg/autostart/razor-autosuspend.desktop
    8.68 +	rm -f $fs/usr/share/applications/razor-config-autosuspend.desktop
    8.69 +	rm -rf $fs/usr/share/razor/razor-autosuspend
    8.70 +	rm -rf $fs/usr/share/razor/razor-config-autosuspend
    8.71 +
    8.72  	# Power --> razorqt-power
    8.73  	rm -f $fs/usr/bin/razor-power
    8.74  	rm -rf $fs/usr/share/razor/razor-power
    8.75 -	
    8.76 +	rm -f $fs/usr/share/applications/razor-power.desktop
    8.77 +
    8.78 +	# Policykit-agent --> razorqt-policykit-agent
    8.79 +	rm -f $fs/usr/bin/razor-policykit-agent
    8.80 +	rm -f $fs/etc/xdg/autostart/razor-policykit-agent.desktop
    8.81 +
    8.82 +	# Runner --> razorqt-runner
    8.83 +	rm -f $fs/usr/bin/razor-runner
    8.84 +	rm -rf $fs/usr/share/razor/razor-runner
    8.85 +	rm -f $fs/etc/xdg/autostart/razor-runner.desktop
    8.86 +
    8.87  	# Themes --> razorqt-themes
    8.88  	rm -rf $fs/usr/share/razor/themes
    8.89  	mkdir -p $fs/usr/share/razor/themes
    8.90  	cp -a $install/usr/share/razor/themes/light \
    8.91  		$fs/usr/share/razor/themes
    8.92 -	
    8.93 +
    8.94  	# Custom SliTaz integration
    8.95 -	cp -a $stuff/*.conf $fs/usr/share/razor
    8.96 +	cp -a $stuff/*.conf $fs/etc/razor
    8.97  }
    8.98  
    8.99  post_install()
     9.1 --- a/razorqt/stuff/desktop.conf	Sat Oct 13 22:09:46 2012 +0200
     9.2 +++ b/razorqt/stuff/desktop.conf	Sat Oct 13 22:11:32 2012 +0200
     9.3 @@ -6,9 +6,9 @@
     9.4  icons=true
     9.5  
     9.6  [razor]
     9.7 -desktops\size=1
     9.8 -desktops\1\plugins=iconview_default, analogclock_default
     9.9 -menu_file=/etc/xdg/menus/applications.menu
    9.10 +plugins=iconview_default, analogclock_default
    9.11 +screens\1\desktops\size=1
    9.12 +screens\size=1
    9.13  
    9.14  [iconview_default]
    9.15  plugin=iconview
    10.1 --- a/razorqt/stuff/session.conf	Sat Oct 13 22:09:46 2012 +0200
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,13 +0,0 @@
    10.4 -[General]
    10.5 -windowmanager=openbox
    10.6 -
    10.7 -[modules]
    10.8 -razor-panel=true
    10.9 -razor-desktop=true
   10.10 -razor-appswitcher=false
   10.11 -razor-runner=true
   10.12 -razor-policykit-agent=false
   10.13 -
   10.14 -[environment]
   10.15 -TERM=xterm
   10.16 -BROWSER=arora