wok rev 25714

added xsessions in xfce4-session and added recipe for xfce4-session-lang
author Hans-G?nter Theisgen
date Wed Aug 14 13:31:00 2024 +0100 (6 months ago)
parents 69d9f8a3fcd6
children 54dde79566ca
files xfce4-session-dev/receipt xfce4-session-lang/receipt xfce4-session/receipt
line diff
     1.1 --- a/xfce4-session-dev/receipt	Tue Aug 13 16:09:48 2024 +0100
     1.2 +++ b/xfce4-session-dev/receipt	Wed Aug 14 13:31:00 2024 +0100
     1.3 @@ -2,25 +2,19 @@
     1.4  
     1.5  PACKAGE="xfce4-session-dev"
     1.6  VERSION="4.12.0"
     1.7 -CATEGORY="x-window"
     1.8 -SHORT_DESC="Xfce session manager dev files"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Xfce session manager - development files."
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WANTED="xfce4-session"
    1.14  WEB_SITE="https://www.xfce.org/"
    1.15  
    1.16  DEPENDS="xfce4-session pkg-config"
    1.17 +WANTED="xfce4-session"
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22 -	mkdir -p $fs/usr 
    1.23 -	
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -	cp -a $install/usr/lib $fs/usr
    1.26 -	
    1.27 -	# Remove unecessary files
    1.28 -	find $fs/ -name "*.so*" -exec rm -f {} \;
    1.29 -
    1.30 +	cook_copy_folders	include
    1.31 +	cook_copy_folders	pkgconfig
    1.32 +	cook_copy_files		*.*a
    1.33  }
    1.34 -
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xfce4-session-lang/receipt	Wed Aug 14 13:31:00 2024 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xfce4-session-lang"
     2.7 +VERSION="4.12.0"
     2.8 +CATEGORY="localization"
     2.9 +SHORT_DESC="Xfce session manager - localised messages."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="https://www.xfce.org/"
    2.13 +
    2.14 +WANTED="xfce4-session"
    2.15 +
    2.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.17 +genpkg_rules()
    2.18 +{
    2.19 +	cook_copy_folders	locale
    2.20 +}
     3.1 --- a/xfce4-session/receipt	Tue Aug 13 16:09:48 2024 +0100
     3.2 +++ b/xfce4-session/receipt	Wed Aug 14 13:31:00 2024 +0100
     3.3 @@ -6,15 +6,16 @@
     3.4  SHORT_DESC="Xfce session manager"
     3.5  MAINTAINER="erjo@slitaz.org"
     3.6  LICENSE="GPL2"
     3.7 +WEB_SITE="https://www.xfce.org/"
     3.8 +
     3.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.10 -WEB_SITE="https://www.xfce.org/"
    3.11  WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.12 -SUGGESTED="perl-xml-parser"
    3.13  
    3.14 -DEPENDS="libxfce4util libxfce4ui libwnck dbus-glib libglade xorg-iceauth"
    3.15 -BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev xfconf-dev libglade-dev dbus-dev \
    3.16 -dbus-glib-dev xorg-iceauth libwnck-dev pkg-config intltool util-linux-uuid-dev \
    3.17 -xcb-util-dev"
    3.18 +SUGGESTED="perl-xml-parser xfce-session-lang"
    3.19 +DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xorg-iceauth"
    3.20 +BUILD_DEPENDS="dbus-dev dbus-glib-dev intltool libglade-dev libwnck-dev
    3.21 +	libxfce4ui-dev libxfce4util-dev pkg-config util-linux-uuid-dev
    3.22 +	xcb-util-dev xfconf-dev xorg-iceauth"
    3.23  
    3.24  # What is the latest version available today?
    3.25  current_version()
    3.26 @@ -27,47 +28,41 @@
    3.27  # Rules to configure and make the package.
    3.28  compile_rules()
    3.29  {
    3.30 -	cd $src
    3.31 -	./configure --prefix=/usr \
    3.32 -		--sysconfdir=/etc \
    3.33 -		--enable-panel-plugin \
    3.34 -		--disable-gnome \
    3.35 -		--disable-debug \
    3.36 -		--libexecdir=/usr/lib/$PACKAGE \
    3.37 -		--mandir=/usr/share/man $CONFIGURE_ARGS  2>&1 | grep -v libtoolT &&
    3.38 +	# 4.12.0	--enable-panel-plugin	removed as unrecognised
    3.39 +	# 4.12.0	--disable-gnome		removed as unrecognised
    3.40 +	./configure				\
    3.41 +		--prefix=/usr			\
    3.42 +		--mandir=/usr/share/man		\
    3.43 +		--sysconfdir=/etc		\
    3.44 +		--libexecdir=/usr/lib/$PACKAGE	\
    3.45 +		--disable-debug			\
    3.46 +		--enable-nls			\
    3.47 +		$CONFIGURE_ARGS &&
    3.48  	make &&
    3.49 -	make DESTDIR=$DESTDIR install
    3.50 +	make install DESTDIR=$DESTDIR
    3.51  }
    3.52  
    3.53  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.54  genpkg_rules()
    3.55  {
    3.56 -	mkdir -p $fs/usr/lib \
    3.57 -		$fs/usr/share/locale \
    3.58 -		$fs/sbin
    3.59 -			
    3.60 -	cp -a $install/etc $fs/	
    3.61 -	cp -a $install/usr/bin $fs/usr
    3.62 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.63 -	cp -a $install/usr/lib/xfce4 $fs/usr/lib
    3.64 -	cp -a $install/usr/share/applications $fs/usr/share
    3.65 -	cp -a $install/usr/share/icons $fs/usr/share
    3.66 -	cp -a $install/usr/share/themes $fs/usr/share
    3.67 -	#cp -a $install/usr/share/xfce4 $fs/usr/share
    3.68 -	
    3.69 +	cook_copy_folders	bin
    3.70 +	cook_copy_folders	etc
    3.71 +	cook_copy_files		*.so*
    3.72 +	cp -a $install/usr/lib/xfce4	$fs/usr/lib
    3.73 +	cook_copy_folders	applications
    3.74 +	cook_copy_folders	icons
    3.75 +	cook_copy_folders	themes
    3.76 +	cook_copy_folders	xsessions
    3.77 +
    3.78  	# xfce4-session-logout workarround
    3.79 -	cp stuff/shutdown $fs/sbin
    3.80 +	cp stuff/shutdown	$fs/sbin
    3.81  
    3.82  	# strip all files
    3.83  	#strip -s $fs/usr/lib/$PACKAGE/xf*
    3.84 -	
    3.85 +
    3.86  	# remove autostartfile
    3.87 -	rm -f $fs/etc/xdg/autostart/*
    3.88 -	
    3.89 -	# Remove unecessary files
    3.90 -	find $fs/ -name "*.*a" -exec rm -f {} \;
    3.91 +	rm -f	$fs/etc/xdg/autostart/*
    3.92  
    3.93  	# Remove SVG icons
    3.94 -	rm -rf $fs/usr/share/icons/hicolor/scalable
    3.95 +	rm -rf	$fs/usr/share/icons/hicolor/scalable
    3.96  }
    3.97 -