wok-4.x view lxpanel/receipt @ rev 6394

Bumped some packages by adding a empty line. Added a patch to lxpanel to fix failure to react to keyboard map changes. Added DEPENDS to BUILD_DEPENDS of gnome-mplayer.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Sep 24 04:32:19 2010 +0000 (2010-09-24)
parents 827a9b65573d
children 5e7bfce7a7ed
line source
1 # SliTaz package receipt.
3 PACKAGE="lxpanel"
4 VERSION="0.5.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Standard compliant desktop panel."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base glib libgio expat zlib menu-cache slitaz-icon \
9 gtk+ atk cairo fontconfig freetype pango pixman libpng alsa-lib \
10 xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender"
11 BUILD_DEPENDS="gtk+-dev gettext expat-dev intltool menu-cache-dev menu-cache \
12 alsa-lib-dev wireless_tools-dev wireless_tools"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://www.lxde.org/"
15 WGET_URL="$SF_MIRROR/lxde/$TARBALL"
16 CONFIG_FILES="/etc/lxpanel/default"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -p1 -i ../stuff/Fix-failure-to-react-to-keyboard-map-changes-initiat.patch
23 ./configure \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --with-plugins=all \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/lxpanel $fs/usr/lib
38 cp -a $_pkg/usr/share/lxpanel $fs/usr/share
40 # Remove a few "heavy" and unuseful images (ns* goes in extra)
41 for i in file-manager* stock_volume* gnome-[a-m]*.png \
42 gnome-netstatus-[d-t]*.png my-* ns-*.png *lock-*.png
43 do
44 rm $fs/usr/share/lxpanel/images/$i
45 done
47 # Custom images to match SliTaz theme.
48 cp -a stuff/images/* $fs/usr/share/lxpanel/images
50 # Remove plugins --> lxpanel-extra
51 rm $fs/usr/lib/lxpanel/plugins/kbled.so
53 # Move profile to /etc/lxpanel (/usr maybe read-only) and default config
54 mkdir $fs/etc
55 mv -f $fs/usr/share/lxpanel/profile $fs/etc/lxpanel
56 ln -s /etc/lxpanel $fs/usr/share/lxpanel/profile
57 mv $fs/etc/lxpanel/default $fs/etc/lxpanel/original
58 cp -a stuff/default $fs/etc/lxpanel
60 # lxsession-logout fake
61 cat > $fs/usr/bin/lxsession-logout << "EOT"
62 #!/bin/sh
63 # lxsession-logout fake.
64 #
65 desktopbox logout &
66 exit 0
67 EOT
68 chmod +x $fs/usr/bin/lxsession-logout
69 }