wok-6.x diff lxpanel/receipt @ rev 14260
lxpanel*: up 0.5.12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 30 18:45:07 2013 +0000 (2013-03-30) |
parents | 0b73c72d760b |
children | 68d68791ced5 |
line diff
1.1 --- a/lxpanel/receipt Wed Jul 25 09:15:48 2012 +0000 1.2 +++ b/lxpanel/receipt Sat Mar 30 18:45:07 2013 +0000 1.3 @@ -1,69 +1,64 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lxpanel" 1.7 -VERSION="0.5.10" 1.8 +VERSION="0.5.12" 1.9 CATEGORY="x-window" 1.10 -SHORT_DESC="Standard compliant desktop panel." 1.11 +SHORT_DESC="Lightweight X11 desktop panel" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 -TARBALL="${PACKAGE}_${VERSION}.orig.tar.xz" 1.14 WEB_SITE="http://www.lxde.org/" 1.15 -#WGET_URL="$SF_MIRROR/lxde/$TARBALL" 1.16 -WGET_URL="http://ftp.de.debian.org/debian/pool/main/l/$PACKAGE/$TARBALL" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 +WGET_URL="$SF_MIRROR/lxde/LXPanel%20%28desktop%20panel%29/LXPanel%20$VERSION/$TARBALL" 1.19 CONFIG_FILES="/etc/lxpanel/default" 1.20 1.21 -DEPENDS="glibc-base glib libgio expat zlib menu-cache slitaz-icon \ 1.22 -gtk+ alsa-lib wireless_tools libwnck lxsession" 1.23 -BUILD_DEPENDS="gtk+-dev gettext expat-dev intltool menu-cache-dev \ 1.24 -lxmenu-data alsa-lib-dev wireless_tools-dev libwnck-dev" 1.25 +# drop: slitaz-icon lxsession 1.26 +DEPENDS="alsa-lib gtk+ libwnck menu-cache wireless_tools" 1.27 +BUILD_DEPENDS="gtk+-dev menu-cache-dev libwnck-dev alsa-lib-dev \ 1.28 +wireless_tools-dev libxml2-dev lxmenu-data" 1.29 +TAGS="gtk2 panel" 1.30 1.31 # Rules to configure and make the package. 1.32 compile_rules() 1.33 { 1.34 - cd $src 1.35 - patch -p0 -i $stuff/cpu-size-color.patch || exit 1 1.36 - ./configure --with-plugins=all $CONFIGURE_ARGS && 1.37 - make && make install 1.38 + ./configure \ 1.39 + --sysconfdir=/etc \ 1.40 + --localstatedir=/var \ 1.41 + --with-plugins=all \ 1.42 + $CONFIGURE_ARGS && 1.43 + make && 1.44 + make install 1.45 } 1.46 1.47 # Rules to gen a SliTaz package suitable for Tazpkg. 1.48 genpkg_rules() 1.49 { 1.50 - mkdir -p $fs/usr/share $fs/usr/lib $fs/etc/xdg 1.51 + mkdir -p \ 1.52 + $fs/usr/lib \ 1.53 + $fs/usr/share/lxpanel/images \ 1.54 + $fs/etc/lxpanel \ 1.55 + $fs/etc/xdg 1.56 1.57 cp -a $install/usr/bin $fs/usr 1.58 + 1.59 + # Plugins (kbled -> lxpanel-extra) 1.60 cp -a $install/usr/lib/lxpanel $fs/usr/lib 1.61 - cp -a $install/usr/share/lxpanel $fs/usr/share 1.62 + find $fs -name kbled.so -delete 1.63 1.64 - # Remove a few "heavy" and unuseful images (ns* goes in extra) 1.65 - for i in file-manager* *volume* mute.png gnome-[a-m]*.png \ 1.66 - gnome-netstatus-*.png my-* ns-*.png *lock-*.png \ 1.67 - background.png window-manager.png 1.68 - do 1.69 - rm $fs/usr/share/lxpanel/images/$i 1.70 + # Images 1.71 + imgs=usr/share/lxpanel/images 1.72 + for i in clock cpufreq-icon my-computer; do 1.73 + cp -a $install/$imgs/$i.png $fs/$imgs 1.74 done 1.75 1.76 - # Remove plugins --> lxpanel-extra 1.77 - rm $fs/usr/lib/lxpanel/plugins/kbled.so 1.78 - rm -rf $fs/usr/share/lxpanel/images/xkb-flags 1.79 - 1.80 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config 1.81 - mkdir $fs/etc 1.82 - mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel 1.83 + cp -a $install/usr/share/lxpanel/profile/* $fs/etc/lxpanel 1.84 ln -sf /etc/lxpanel $fs/usr/share/lxpanel/profile 1.85 mv -f $fs/etc/lxpanel/default $fs/etc/lxpanel/original 1.86 cp -a $stuff/default $fs/etc/lxpanel 1.87 - 1.88 rm -rf $fs/etc/lxpanel/two_panels 1.89 1.90 # XDG autostart desktop file (lxsession will use it automaticaly) 1.91 cp -a $stuff/autostart $fs/etc/xdg 1.92 1.93 - # Make images symlinks so it feet SliTaz theme 1.94 - cd $fs/usr/share/lxpanel/images 1.95 - ln -s /usr/share/icons/SliTaz/status/32/network-idle.png ns-connected.png 1.96 - ln -s /usr/share/icons/SliTaz/status/32/network-offline.png ns-disconnect.png 1.97 - ln -s /usr/share/icons/SliTaz/status/32/network-receive.png ns-recvdata.png 1.98 - ln -s /usr/share/icons/SliTaz/status/32/network-receive.png ns-senddata.png 1.99 - ln -s /usr/share/icons/SliTaz/status/32/nm-adhoc.png ns-bothrs.png 1.100 - ln -s /usr/share/icons/SliTaz/status/32/network-error.png ns-problem.png 1.101 + cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel 1.102 + cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel 1.103 }