wok-6.x diff razorqt/receipt @ rev 17652
Up: tcl 8.6.3
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 22:32:45 2015 +0000 (2015-02-14) |
parents | 10e6c72b2c15 |
children | 1067bb7f1e24 |
line diff
1.1 --- a/razorqt/receipt Sun Aug 11 18:44:25 2013 +0000 1.2 +++ b/razorqt/receipt Sat Feb 14 22:32:45 2015 +0000 1.3 @@ -1,22 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="razorqt" 1.7 -VERSION="0.5.0" 1.8 +VERSION="0.5.2" 1.9 CATEGORY="x-window" 1.10 SHORT_DESC="Light and fast QT based Desktop Environment." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2 LGPL2.1" 1.13 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 WEB_SITE="http://razor-qt.org/" 1.15 -WGET_URL="https://github.com/downloads/Razor-qt/razor-qt/$TARBALL" 1.16 +WGET_URL="http://razor-qt.org/downloads/$TARBALL" 1.17 SUGGESTED="razorqt-themes razorqt-appswitcher razorqt-power \ 1.18 razorqt-runner razorqt-autosuspend" 1.19 1.20 -DEPENDS="xorg-libX11 libQtCore libQtDBus libQtGui libQtScript libmagic \ 1.21 -libstatgrab alsa-lib" 1.22 -BUILD_DEPENDS="wget cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev \ 1.23 +BUILD_DEPENDS="cmake Qt4-dev qmake xorg-dev libmagic-dev upower-dev \ 1.24 grep libstatgrab-dev alsa-lib-dev polkit-dev polkit-qt-dev glib-dev \ 1.25 -libgio-dev grep" 1.26 +libgio-dev lightdm-qt-dev imagemagick" 1.27 +DEPENDS="libQtDBus libQtGui libmagic libstatgrab xorg-libXcomposite \ 1.28 +xorg-libXcursor xorg-libXdamage lightdm-qt" 1.29 1.30 GENERIC_MENUS="no" 1.31 1.32 @@ -26,27 +26,24 @@ 1.33 cd $src 1.34 cmake -DCMAKE_INSTALL_PREFIX=/usr . 1.35 make && make install 1.36 + 1.37 + # save space (png -> jpg) 1.38 + cd $install/usr/share/razor/themes/light 1.39 + convert ./simple_blue_widescreen.png ./simple_blue_widescreen.jpg 1.40 } 1.41 1.42 # Rules to gen a SliTaz package suitable for Tazpkg. 1.43 genpkg_rules() 1.44 { 1.45 - mkdir -p $fs/usr/lib $fs/usr/share $fs/etc 1.46 + # copy all, then remove unneeded 1.47 + cp -a $install/* $fs 1.48 1.49 - # Use SliTaz XDG Menu 1.50 - cp -a $install/etc $fs 1.51 - rm -rf $fs/etc/xdg/menus 1.52 + # Dev-files --> razorqt-dev 1.53 + rm -rf $fs/usr/include 1.54 + rm -rf $fs/usr/lib/pkgconfig 1.55 1.56 - # Copy almost everything then split 1.57 - cp -a $install/usr/bin $fs/usr 1.58 - cp -f $install/usr/share/xsessions $fs/usr/share 1.59 - cp -a $install/usr/share/applications $fs/usr/share 1.60 - 1.61 - # Split more plugins ? 1.62 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.63 - cp -a $install/usr/lib/razor-* $fs/usr/lib 1.64 - cp -a $install/usr/share/librazorqt $fs/usr/share 1.65 - cp -a $install/usr/share/razor $fs/usr/share 1.66 + # Language-files --> razorqt-locale-* 1.67 + find $fs -name '*.qm' -delete 1.68 1.69 # Appswitcher --> razorqt-appswitcher 1.70 rm -f $fs/usr/bin/razor-appswitcher 1.71 @@ -57,28 +54,41 @@ 1.72 rm -f $fs/usr/bin/razor-config-autosuspend 1.73 rm -f $fs/etc/xdg/autostart/razor-autosuspend.desktop 1.74 rm -f $fs/usr/share/applications/razor-config-autosuspend.desktop 1.75 - rm -rf $fs/usr/share/razor/razor-autosuspend 1.76 - rm -rf $fs/usr/share/razor/razor-config-autosuspend 1.77 - 1.78 - # Power --> razorqt-power 1.79 - rm -f $fs/usr/bin/razor-power 1.80 - rm -rf $fs/usr/share/razor/razor-power 1.81 - rm -f $fs/usr/share/applications/razor-power.desktop 1.82 1.83 # Policykit-agent --> razorqt-policykit-agent 1.84 rm -f $fs/usr/bin/razor-policykit-agent 1.85 rm -f $fs/etc/xdg/autostart/razor-policykit-agent.desktop 1.86 1.87 + # Power --> razorqt-power 1.88 + rm -f $fs/usr/bin/razor-power 1.89 + rm -f $fs/usr/share/applications/razor-power.desktop 1.90 + 1.91 # Runner --> razorqt-runner 1.92 rm -f $fs/usr/bin/razor-runner 1.93 - rm -rf $fs/usr/share/razor/razor-runner 1.94 rm -f $fs/etc/xdg/autostart/razor-runner.desktop 1.95 1.96 - # Themes --> razorqt-themes 1.97 - rm -rf $fs/usr/share/razor/themes 1.98 - mkdir -p $fs/usr/share/razor/themes 1.99 - cp -a $install/usr/share/razor/themes/light \ 1.100 - $fs/usr/share/razor/themes 1.101 + # Themes (all but light) --> razorqt-themes 1.102 + find $fs/usr/share/razor/themes -maxdepth 1 -mindepth 1 -type d \ 1.103 + \( ! -name light \) -exec rm -rf \{\} \; 1.104 + rm -f $fs/usr/share/razor/themes/light/simple_blue_widescreen.png 1.105 + rm -f $fs/usr/share/razor/themes/light/96640-simple_blue_widescreen.svg 1.106 + sed 's|png|jpg|' -i $fs/usr/share/razor/themes/light/wallpaper.cfg 1.107 + 1.108 + # Remove confupdate (Port desktop.conf syntax from 0.4.x to 0.5.0 format) 1.109 + rm -f $fs/usr/bin/razor-confupdate 1.110 + rm -rf $fs/usr/lib/razor-confupdate_bin 1.111 + rm -rf $fs/usr/share/razor/razor-confupdate 1.112 + 1.113 + # Remove heavy graphics 1.114 + rm -f $fs/usr/share/razor/graphics/rqt* 1.115 + 1.116 + # Remove file - not use KDM 1.117 + rm -rf $fs/usr/share/apps 1.118 + 1.119 + # Remove empty folders 1.120 + for dir in $(find $fs/usr/share -type d); do 1.121 + rmdir --ignore-fail-on-non-empty $dir 1.122 + done 1.123 1.124 # Custom SliTaz integration 1.125 cp -a $stuff/*.conf $fs/etc/razor