wok rev 24870

updated lxpanel, lxpanel-dev and lxpanel-extra (0.10.0 -> 0.10.1)
author Hans-G?nter Theisgen
date Thu Mar 31 07:03:25 2022 +0100 (2022-03-31)
parents 71ea22396e62
children d8d2e9c83bae
files lxpanel-dev/receipt lxpanel-extra/receipt lxpanel-lang/receipt lxpanel/receipt
line diff
     1.1 --- a/lxpanel-dev/receipt	Wed Mar 30 20:15:06 2022 +0000
     1.2 +++ b/lxpanel-dev/receipt	Thu Mar 31 07:03:25 2022 +0100
     1.3 @@ -1,27 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lxpanel-dev"
     1.7 -VERSION="0.10.0"
     1.8 +VERSION="0.10.1"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="LXDE panel (development)"
    1.11 -MAINTAINER="devel@slitaz.org"
    1.12 +TAGS="LXDE"
    1.13 +SHORT_DESC="LXDE panel - development files."
    1.14 +MAINTAINER="maintainer@slitaz.org"
    1.15  LICENSE="GPL2"
    1.16 -WEB_SITE="https://wiki.lxde.org/en/LXPanel"
    1.17 -TAGS="LXDE"
    1.18 +WEB_SITE="https://www.lxde.org/"
    1.19 +
    1.20 +DEPENDS="libfm-dev lxpanel pkg-config"
    1.21 +WANTED="lxpanel"
    1.22 +
    1.23  HOST_ARCH="i486 arm"
    1.24  
    1.25 -WANTED="lxpanel"
    1.26 -DEPENDS="pkg-config libfm-dev lxpanel"
    1.27 -
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29  genpkg_rules()
    1.30  {
    1.31 -	mkdir -p $fs/usr/lib
    1.32 -	cp -a $install/usr/include       $fs/usr
    1.33 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.34 +	cook_copy_folders	include
    1.35 +	cook_copy_folders	pkgconfig
    1.36 +	cook_copy_files		*.*a
    1.37  
    1.38  	# add some private files to build waterline-plugin-multiload
    1.39 -	cp $src/src/private.h $fs/usr/include/lxpanel/
    1.40 -	cp $src/src/lxpanelctl.h $fs/usr/include/lxpanel/
    1.41 -	cp $src/src/ev.h $fs/usr/include/lxpanel/
    1.42 +	cp $src/src/private.h		$fs/usr/include/lxpanel
    1.43 +	cp $src/src/lxpanelctl.h	$fs/usr/include/lxpanel
    1.44 +	cp $src/src/ev.h		$fs/usr/include/lxpanel
    1.45  }
     2.1 --- a/lxpanel-extra/receipt	Wed Mar 30 20:15:06 2022 +0000
     2.2 +++ b/lxpanel-extra/receipt	Thu Mar 31 07:03:25 2022 +0100
     2.3 @@ -1,29 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lxpanel-extra"
     2.7 -VERSION="0.10.0"
     2.8 +VERSION="0.10.1"
     2.9  CATEGORY="x-window"
    2.10 -SHORT_DESC="LXDE panel (extra files and plugins)"
    2.11 -MAINTAINER="devel@slitaz.org"
    2.12 +TAGS="LXDE"
    2.13 +SHORT_DESC="LXDE panel (extra files and plugins)."
    2.14 +MAINTAINER="maintainer@slitaz.org"
    2.15  LICENSE="GPL2"
    2.16  WEB_SITE="https://wiki.lxde.org/en/LXPanel"
    2.17 -TAGS="LXDE"
    2.18  
    2.19 +DEPENDS="lxpanel" #libwnck
    2.20  WANTED="lxpanel"
    2.21 -DEPENDS="lxpanel" #libwnck
    2.22  
    2.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.24  genpkg_rules()
    2.25  {
    2.26 -	mkdir -p \
    2.27 -		$fs/usr/lib/lxpanel/plugins \
    2.28 -		$fs/usr/share/lxpanel/images
    2.29 +	mkdir -p $fs/usr/lib/lxpanel/plugins
    2.30 +	mkdir -p $fs/usr/share/lxpanel/images
    2.31 +
    2.32  	# Plugins
    2.33  	for p in kbled.so #wnckpager.so
    2.34 -	do
    2.35 +	  do
    2.36  		cp $install/usr/lib/lxpanel/plugins/$p \
    2.37  			$fs/usr/lib/lxpanel/plugins
    2.38 -	done
    2.39 +	  done
    2.40 +
    2.41  	# Images
    2.42  	imgs=usr/share/lxpanel/images
    2.43  	cp -a $install/$imgs/ns-*.png    $fs/$imgs
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/lxpanel-lang/receipt	Thu Mar 31 07:03:25 2022 +0100
     3.3 @@ -0,0 +1,17 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="lxpanel-lang"
     3.7 +VERSION="0.10.1"
     3.8 +CATEGORY="localization"
     3.9 +SHORT_DESC="LXDE panel - localised messages."
    3.10 +MAINTAINER="maintainer@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +WEB_SITE="https://www.lxde.org/"
    3.13 +
    3.14 +WANTED="lxpanel"
    3.15 +
    3.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.17 +genpkg_rules()
    3.18 +{
    3.19 +	cook_copy_folders	locale
    3.20 +}
     4.1 --- a/lxpanel/receipt	Wed Mar 30 20:15:06 2022 +0000
     4.2 +++ b/lxpanel/receipt	Thu Mar 31 07:03:25 2022 +0100
     4.3 @@ -1,22 +1,26 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="lxpanel"
     4.7 -VERSION="0.10.0"
     4.8 +VERSION="0.10.1"
     4.9  CATEGORY="x-window"
    4.10 -SHORT_DESC="LXDE panel"
    4.11 -MAINTAINER="devel@slitaz.org"
    4.12 +TAGS="LXDE gtk2 panel"
    4.13 +SHORT_DESC="LXDE panel."
    4.14 +MAINTAINER="maintainer@slitaz.org"
    4.15  LICENSE="GPL2"
    4.16  WEB_SITE="https://wiki.lxde.org/en/LXPanel"
    4.17 +
    4.18  TARBALL="$PACKAGE-$VERSION.tar.xz"
    4.19  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    4.20 -CONFIG_FILES="/etc/lxpanel/default"
    4.21 -TAGS="LXDE gtk2 panel"
    4.22 -HOST_ARCH="i486 arm"
    4.23  
    4.24  SUGGESTED="lxde lxsession slitaz-icon"
    4.25 -DEPENDS="alsa-lib gtk+ menu-cache wireless_tools libxml2 slitaz-menus libkeybinder libwnck"
    4.26 -BUILD_DEPENDS="intltool libfm-dev libkeybinder-dev curl-dev \
    4.27 -gtk+-dev menu-cache-dev alsa-lib-dev wireless_tools-dev libxml2-dev lxmenu-data"
    4.28 +DEPENDS="alsa-lib gtk+ libkeybinder libwnck libxml2 menu-cache
    4.29 +	slitaz-menus wireless_tools"
    4.30 +BUILD_DEPENDS="alsa-lib-dev curl-dev gtk+-dev intltool libfm-dev libkeybinder-dev
    4.31 +	libxml2-dev lxmenu-data menu-cache-dev wireless_tools-dev"
    4.32 +
    4.33 +CONFIG_FILES="/etc/lxpanel/default"
    4.34 +
    4.35 +HOST_ARCH="i486 arm"
    4.36  
    4.37  # Handle cross compilation
    4.38  case "$ARCH" in
    4.39 @@ -40,48 +44,50 @@
    4.40  	# Match default desktop colors
    4.41  	sed -i s'/gdk_color_parse("green"/gdk_color_parse("#cfcfcf"/' \
    4.42  		$src/plugins/cpu/cpu.c || return 1
    4.43 -	./configure \
    4.44 -		--sysconfdir=/etc \
    4.45 -		--localstatedir=/var \
    4.46 -		--with-plugins="$pluglist" \
    4.47 +
    4.48 +	./configure				\
    4.49 +		--sysconfdir=/etc		\
    4.50 +		--localstatedir=/var		\
    4.51 +		--with-plugins="$pluglist"	\
    4.52  		$CONFIGURE_ARGS &&
    4.53 -	make && make install
    4.54 +	make &&
    4.55 +	make install
    4.56  }
    4.57  
    4.58  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.59  genpkg_rules()
    4.60  {
    4.61 -	mkdir -p \
    4.62 -		$fs/usr/lib/lxpanel \
    4.63 -		$fs/usr/share/lxpanel/images \
    4.64 -		$fs/etc/lxpanel \
    4.65 -		$fs/etc/xdg
    4.66 +	mkdir -p $fs/etc/lxpanel
    4.67 +	mkdir -p $fs/etc/xdg
    4.68 +	mkdir -p $fs/usr/lib/lxpanel
    4.69 +	mkdir -p $fs/usr/share/lxpanel/images
    4.70  
    4.71 -	cp -a $install/usr/bin $fs/usr
    4.72 +	cp -a $install/usr/bin			$fs/usr
    4.73  
    4.74  	# Plugins (kbled -> lxpanel-extra)
    4.75 -	cp -a $install/usr/lib/lxpanel/*.so*   $fs/usr/lib/lxpanel/
    4.76 -	cp -a $install/usr/lib/lxpanel/plugins $fs/usr/lib/lxpanel/
    4.77 +	cp -a $install/usr/lib/lxpanel/*.so*	$fs/usr/lib/lxpanel
    4.78 +	cp -a $install/usr/lib/lxpanel/plugins	$fs/usr/lib/lxpanel
    4.79  	find $fs -name kbled.so -delete
    4.80  	find $fs -name wnckpager.so -delete
    4.81  
    4.82  	# Images
    4.83  	imgs=usr/share/lxpanel/images
    4.84 -	for i in clock cpufreq-icon my-computer; do
    4.85 -		cp -a $install/$imgs/$i.png $fs/$imgs
    4.86 -	done
    4.87 +	for i in clock cpufreq-icon my-computer
    4.88 +	  do
    4.89 +		cp -a $install/$imgs/$i.png	$fs/$imgs
    4.90 +	  done
    4.91  
    4.92  	# Move profile to /etc/lxpanel (/usr maybe read-only) and default config
    4.93 -	cp -a $install/etc $fs/
    4.94 -	mv -f $fs/etc/xdg/lxpanel/default $fs/etc/xdg/lxpanel/original
    4.95 -	cp -a $stuff/default $fs/etc/xdg/lxpanel
    4.96 -	rm -rf $fs/etc/xdg/lxpanel/two_panels
    4.97 +	cp -a $install/etc			$fs
    4.98 +	mv -f $fs/etc/xdg/lxpanel/default	$fs/etc/xdg/lxpanel/original
    4.99 +	cp -a $stuff/default			$fs/etc/xdg/lxpanel
   4.100 +	rm -rf					$fs/etc/xdg/lxpanel/two_panels
   4.101  
   4.102  	# XDG autostart desktop file (lxsession will use it automaticaly)
   4.103 -	cp -a $stuff/autostart $fs/etc/xdg
   4.104 +	cp -a $stuff/autostart			$fs/etc/xdg
   4.105  
   4.106 -	cp -a $install/usr/share/lxpanel/ui $fs/usr/share/lxpanel
   4.107 -	cp -a $install/usr/share/lxpanel/x* $fs/usr/share/lxpanel
   4.108 +	cp -a $install/usr/share/lxpanel/ui	$fs/usr/share/lxpanel
   4.109 +	cp -a $install/usr/share/lxpanel/x*	$fs/usr/share/lxpanel
   4.110  }
   4.111  
   4.112  post_install()