wok-current annotate lxpanel/receipt @ rev 6419
Up: lxpanel to 0.5.6. I committed out my patch since it doesn't patch now. I also took battary montor out so lxpanel will build. All other plugins are there.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Sep 26 17:02:23 2010 +0000 (2010-09-26) |
parents | 32cde9ab5311 |
children | 556f2271529a |
rev | line source |
---|---|
pankso@341 | 1 # SliTaz package receipt. |
pankso@341 | 2 |
pankso@341 | 3 PACKAGE="lxpanel" |
slaxemulator@6419 | 4 VERSION="0.5.6" |
pankso@341 | 5 CATEGORY="x-window" |
pankso@341 | 6 SHORT_DESC="Standard compliant desktop panel." |
pankso@341 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@3960 | 8 DEPENDS="glibc-base glib libgio expat zlib menu-cache slitaz-icon \ |
rcx@3799 | 9 gtk+ atk cairo fontconfig freetype pango pixman libpng alsa-lib \ |
rcx@3799 | 10 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender" |
slaxemulator@6419 | 11 BUILD_DEPENDS="$DEPENDS gtk+-dev gettext expat-dev intltool menu-cache-dev menu-cache \ |
slaxemulator@6419 | 12 alsa-lib-dev wireless_tools-dev wireless_tools zlib-dev" |
pankso@341 | 13 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3799 | 14 WEB_SITE="http://www.lxde.org/" |
pankso@341 | 15 WGET_URL="$SF_MIRROR/lxde/$TARBALL" |
pascal@2563 | 16 CONFIG_FILES="/etc/lxpanel/default" |
pankso@341 | 17 |
pankso@341 | 18 # Rules to configure and make the package. |
pankso@341 | 19 compile_rules() |
pankso@341 | 20 { |
pankso@341 | 21 cd $src |
slaxemulator@6419 | 22 #patch -p1 -i ../stuff/Fix-failure-to-react-to-keyboard-map-changes-initiat.patch |
pankso@341 | 23 ./configure \ |
pankso@341 | 24 --prefix=/usr \ |
rcx@3799 | 25 --sysconfdir=/etc \ |
slaxemulator@6419 | 26 --with-plugins=cpu,cpufreq,deskno,kbled,netstatus,thermal,volume,volumealsa,xkb \ |
pascal@1469 | 27 $CONFIGURE_ARGS && |
pascal@1469 | 28 make && |
pankso@341 | 29 make DESTDIR=$PWD/_pkg install |
pankso@341 | 30 } |
pankso@341 | 31 |
pankso@341 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@341 | 33 genpkg_rules() |
pankso@341 | 34 { |
pankso@3960 | 35 mkdir -p $fs/usr/share $fs/usr/lib |
pankso@671 | 36 cp -a $_pkg/usr/bin $fs/usr |
pankso@3960 | 37 cp -a $_pkg/usr/lib/lxpanel $fs/usr/lib |
pankso@671 | 38 cp -a $_pkg/usr/share/lxpanel $fs/usr/share |
pankso@3808 | 39 |
rcx@3799 | 40 # Remove a few "heavy" and unuseful images (ns* goes in extra) |
rcx@3799 | 41 for i in file-manager* stock_volume* gnome-[a-m]*.png \ |
pankso@3960 | 42 gnome-netstatus-[d-t]*.png my-* ns-*.png *lock-*.png |
pankso@3093 | 43 do |
pankso@3093 | 44 rm $fs/usr/share/lxpanel/images/$i |
pankso@3093 | 45 done |
pankso@3808 | 46 |
pankso@3093 | 47 # Custom images to match SliTaz theme. |
pankso@3093 | 48 cp -a stuff/images/* $fs/usr/share/lxpanel/images |
pankso@3808 | 49 |
pankso@799 | 50 # Remove plugins --> lxpanel-extra |
pankso@799 | 51 rm $fs/usr/lib/lxpanel/plugins/kbled.so |
pankso@3808 | 52 |
pankso@3093 | 53 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config |
pankso@671 | 54 mkdir $fs/etc |
pankso@671 | 55 mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel |
pankso@671 | 56 ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile |
pankso@671 | 57 mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original |
pankso@671 | 58 cp -a stuff/default $fs/etc/lxpanel |
pankso@3808 | 59 |
pankso@3093 | 60 # lxsession-logout fake |
pankso@3093 | 61 cat > $fs/usr/bin/lxsession-logout << "EOT" |
pankso@610 | 62 #!/bin/sh |
pankso@610 | 63 # lxsession-logout fake. |
pankso@610 | 64 # |
pankso@771 | 65 desktopbox logout & |
pankso@771 | 66 exit 0 |
pankso@610 | 67 EOT |
pascal@2088 | 68 chmod +x $fs/usr/bin/lxsession-logout |
pankso@610 | 69 } |