wok-current rev 24693

updated jwm (2.3.7 -> 2.4.1)
author Hans-G?nter Theisgen
date Sun Mar 13 07:13:46 2022 +0100 (2022-03-13)
parents 0f28e2050421
children 52649f27a0da
files jwm-lang/receipt jwm/description.txt jwm/receipt jwm/stuff/xsessions/jwm.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jwm-lang/receipt	Sun Mar 13 07:13:46 2022 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="jwm-lang"
     1.7 +VERSION="2.4.1"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="A light Window Manager for the X window system - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://joewing.net/projects/jwm/"
    1.13 +
    1.14 +WANTED="jwm"
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	cook_copy_folders	locale
    1.20 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/jwm/description.txt	Sun Mar 13 07:13:46 2022 +0100
     2.3 @@ -0,0 +1,6 @@
     2.4 +JWM is a light-weight window manager for the X11 Window System.
     2.5 +JWM is written in C and uses only Xlib at a minimum.
     2.6 +Because of its small footprint, JWM makes a good window manager
     2.7 +for older computers and less powerful systems, such as the
     2.8 +Raspberry Pi, though it is perfectly capable of running on modern
     2.9 +systems.
     3.1 --- a/jwm/receipt	Sat Mar 12 15:46:33 2022 +0100
     3.2 +++ b/jwm/receipt	Sun Mar 13 07:13:46 2022 +0100
     3.3 @@ -1,22 +1,25 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="jwm"
     3.7 -VERSION="2.3.7"
     3.8 +VERSION="2.4.1"
     3.9  CATEGORY="x-window"
    3.10  TAGS="window-manager"
    3.11  SHORT_DESC="A light Window Manager for the X window system."
    3.12  MAINTAINER="pankso@slitaz.org"
    3.13  LICENSE="GPL2"
    3.14 -WEB_SITE="http://joewing.net/projects/jwm/"
    3.15 +WEB_SITE="https://joewing.net/projects/jwm/"
    3.16  
    3.17  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.18  WGET_URL="${WEB_SITE}releases/$TARBALL"
    3.19  
    3.20 -DEPENDS="hsetroot imlib2 libjpeg libpng slitaz-configs-base \
    3.21 -	xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft \
    3.22 -	xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXrender \
    3.23 +SUGGESTED="jwm-lang"
    3.24 +DEPENDS="hsetroot imlib2 libjpeg libpng librsvg libxml2 slitaz-configs-base
    3.25 +	xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXft
    3.26 +	xorg-libXinerama xorg-libXmu xorg-libXpm xorg-libXrender
    3.27  	xorg-libXt xorg-xclock xorg-xload"
    3.28 -BUILD_DEPENDS="jpeg-dev libpng-dev xorg-libX11-dev xorg-libXft-dev"
    3.29 +BUILD_DEPENDS="cairo-dev freetype-dev jpeg-dev libpng-dev librsvg-dev 
    3.30 +	libxml2-dev xorg-libX11-dev xorg-libXft-dev"
    3.31 +
    3.32  HOST_ARCH="i486 arm"
    3.33  
    3.34  # Handle cross compilation
    3.35 @@ -40,16 +43,23 @@
    3.36  {
    3.37  	#[ -f done.resize-backgound.u ] || patch -p1 < $stuff/resize-backgound.u
    3.38  	#touch done.resize-backgound.u
    3.39 +
    3.40  	./configure				\
    3.41  		--prefix=/usr			\
    3.42  		--mandir=/usr/share/man		\
    3.43 +		--datadir=/usr/share		\
    3.44  		--sysconfdir=/etc/xdg/jwm	\
    3.45 -		--disable-fribidi		\
    3.46 -		--disable-rpath			\
    3.47 -		--disable-rsvg			\
    3.48 -		--disable-confirm		\
    3.49 -		$CONFIGURE_ARGS $ARCH_ARGS 2>/dev/null &&
    3.50 -	make -j 1 &&
    3.51 +		--enable-cairo=yes		\
    3.52 +		--enable-confirm=no		\
    3.53 +		--enable-nls=yes		\
    3.54 +		--enable-rpath=no		\
    3.55 +		--enable-rsvg=yes		\
    3.56 +		--enable-xft=yes		\
    3.57 +		$CONFIGURE_ARGS			\
    3.58 +		$ARCH_ARGS &&
    3.59 +	sed -i 's|mkdir_p = @mkdir_p@|mkdir_p = /bin/mkdir -p|' \
    3.60 +		po/Makefile &&
    3.61 +	make &&
    3.62  	make install
    3.63  }
    3.64  
    3.65 @@ -64,27 +74,30 @@
    3.66  	mkdir -p $fs/etc/xdg/jwm
    3.67  	mkdir -p $fs/usr/share
    3.68  
    3.69 -	cp -a $install/usr/bin $fs/usr/bin
    3.70 +	cook_copy_folders	bin
    3.71  
    3.72 -	# Simple and default config file.
    3.73 -	cp $stuff/simple.jwmrc $fs/etc/xdg/jwm/simple.jwmrc
    3.74 -	cp $stuff/slitaz.jwmrc $fs/etc/xdg/jwm/system.jwmrc
    3.75 +	# Simple and default configuration file.
    3.76 +	cp $stuff/simple.jwmrc	$fs/etc/xdg/jwm/simple.jwmrc
    3.77 +	cp $stuff/slitaz.jwmrc	$fs/etc/xdg/jwm/system.jwmrc
    3.78  
    3.79 -	cp -r $stuff/xsessions $fs/usr/share
    3.80 +	cp -r $stuff/xsessions	$fs/usr/share
    3.81  }
    3.82  
    3.83  post_install()
    3.84  {
    3.85 -	if [ -d "$1/etc/jwm" ]; then
    3.86 -		echo "Removing old system wide configs: /etc/jwm"
    3.87 -		rm -rf "$1/etc/jwm"
    3.88 +	if [ -d "$1/etc/jwm" ]
    3.89 +	  then
    3.90 +		echo "Removing old system wide configuration files: /etc/jwm"
    3.91 +		rm -rf	"$1/etc/jwm"
    3.92  	fi
    3.93  
    3.94  	# Adding WM to SLIM available sessions.
    3.95  	res=$(cat "$1/etc/slim.conf" | grep ^session | sed s/"sessions. *"//)
    3.96 -	if ! echo "$res" | grep -q $PACKAGE; then
    3.97 +	if ! echo "$res" | grep -q $PACKAGE
    3.98 +	  then
    3.99  		echo -n "Adding $PACKAGE to /etc/slim.conf..."
   3.100 -		sed -i "s/^sessions.*/sessions            ${res},$PACKAGE/" "$1/etc/slim.conf"
   3.101 +		sed -i "s/^sessions.*/sessions            ${res},$PACKAGE/" \
   3.102 +			"$1/etc/slim.conf"
   3.103  		status
   3.104  	fi
   3.105  	true
   3.106 @@ -93,7 +106,8 @@
   3.107  post_remove()
   3.108  {
   3.109  	# Remove WM from SLIM available sessions.
   3.110 -	if grep -q $PACKAGE "$1/etc/slim.conf"; then
   3.111 -		sed -i s/,$PACKAGE// "$1/etc/slim.conf"
   3.112 +	if grep -q $PACKAGE "$1/etc/slim.conf"
   3.113 +	  then
   3.114 +		sed -i s/,$PACKAGE//	"$1/etc/slim.conf"
   3.115  	fi
   3.116  }
     4.1 --- a/jwm/stuff/xsessions/jwm.desktop	Sat Mar 12 15:46:33 2022 +0100
     4.2 +++ b/jwm/stuff/xsessions/jwm.desktop	Sun Mar 13 07:13:46 2022 +0100
     4.3 @@ -2,6 +2,7 @@
     4.4  Encoding=UTF-8
     4.5  Type=XSession
     4.6  Name=JWM Desktop
     4.7 +Name[de]=Fensterverwaltung JWM
     4.8  Name[fr]=Bureau JWM
     4.9  Exec=jwm
    4.10