wok rev 25799

recooked xfce4
author Hans-G?nter Theisgen
date Wed Oct 23 17:54:37 2024 +0100 (2 months ago)
parents 48bf73567ea4
children 0600a43cc716
files xfce4/receipt xfdesktop/description.txt xfprint-dev/receipt xfprint/receipt xfwm4/receipt
line diff
     1.1 --- a/xfce4/receipt	Wed Oct 23 17:32:01 2024 +0100
     1.2 +++ b/xfce4/receipt	Wed Oct 23 17:54:37 2024 +0100
     1.3 @@ -6,13 +6,13 @@
     1.4  SHORT_DESC="Xfce Desktop Environment"
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="https://www.xfce.org"
     1.8 +
     1.9 +PROVIDE="xfce"
    1.10  SUGGESTED="xfce4-slitaz-config"
    1.11 -WEB_SITE="https://www.xfce.org"
    1.12 -PROVIDE="xfce"
    1.13 -
    1.14 -DEPENDS="libxfce4util xfconf libxfce4ui garcon libexo xorg-xdpyinfo \
    1.15 -xfce4-panel thunar xfce4-settings xfce4-session xfwm4 xfdesktop thunar-volman \
    1.16 -thunar-archive-plugin xfce-utils"
    1.17 +DEPENDS="garcon libexo libxfce4ui libxfce4util thunar thunar-archive-plugin
    1.18 +	thunar-volman xfce-utils xfce4-panel xfce4-session xfce4-settings
    1.19 +	xfconf xfdesktop xfwm4 xorg-xdpyinfo"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xfdesktop/description.txt	Wed Oct 23 17:54:37 2024 +0100
     2.3 @@ -0,0 +1,11 @@
     2.4 +Xfdesktop is a desktop manager for the Xfce Desktop Environment.
     2.5 +It handles the following tasks:
     2.6 +- background image and color
     2.7 +- root menu, window list
     2.8 +- minimized application icons
     2.9 +- file icons on the desktop (using Thunar libs)
    2.10 +
    2.11 +It can bring up an applications menu and a list of all running
    2.12 +applications when clicked on the desktop with the right or middle
    2.13 +mouse button respectively.
    2.14 +Settings are available via the Settings Manager.
     3.1 --- a/xfprint-dev/receipt	Wed Oct 23 17:32:01 2024 +0100
     3.2 +++ b/xfprint-dev/receipt	Wed Oct 23 17:54:37 2024 +0100
     3.3 @@ -3,20 +3,19 @@
     3.4  PACKAGE="xfprint-dev"
     3.5  VERSION="4.6.1"
     3.6  CATEGORY="development"
     3.7 -SHORT_DESC="Xfce Printer manager dev files"
     3.8 +SHORT_DESC="Xfce Printer manager - development files."
     3.9  MAINTAINER="erjo@slitaz.org"
    3.10  LICENSE="GPL2"
    3.11 -WANTED="xfprint"
    3.12  WEB_SITE="https://www.xfce.org"
    3.13  
    3.14  DEPENDS="xfprint"
    3.15 +WANTED="xfprint"
    3.16  
    3.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.18  genpkg_rules()
    3.19  {
    3.20  	mkdir -p $fs/usr/lib/xfce4/xfprint-plugins
    3.21  	
    3.22 -	cp -a $install/usr/include $fs/usr
    3.23  	cp -a $install/usr/lib/xfce4/xfprint-plugins/*.*a $fs/usr/lib/xfce4/xfprint-plugins
    3.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    3.25 +	get_dev_files
    3.26  }
     4.1 --- a/xfprint/receipt	Wed Oct 23 17:32:01 2024 +0100
     4.2 +++ b/xfprint/receipt	Wed Oct 23 17:54:37 2024 +0100
     4.3 @@ -3,18 +3,20 @@
     4.4  PACKAGE="xfprint"
     4.5  VERSION="4.6.1"
     4.6  CATEGORY="x-window"
     4.7 -SHORT_DESC="Xfce Printer manager"
     4.8 +SHORT_DESC="Xfce Printer manager."
     4.9  MAINTAINER="erjo@slitaz.org"
    4.10  LICENSE="GPL2"
    4.11 +WEB_SITE="https://www.xfce.org"
    4.12 +
    4.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.14 -WEB_SITE="https://www.xfce.org"
    4.15 -WGET_URL="https://archive.xfce.org/xfce/$VERSION/src/$TARBALL"
    4.16 +WGET_URL="http://archive.xfce.org/xfce/$VERSION/src/$TARBALL"
    4.17  
    4.18 -DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \
    4.19 -libcomerr3 util-linux-uuid"
    4.20 -BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
    4.21 -dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \
    4.22 -xcb-util-dev"
    4.23 +SUGGESTED="xfprint-lang"
    4.24 +DEPENDS="cups dbus-glib libcomerr3 libxfce4util libxfcegui4
    4.25 +	startup-notification util-linux-uuid"
    4.26 +BUILD_DEPENDS="cups-dev dbus-glib-dev gtk+-dev intltool libxfce4util-dev
    4.27 +	libxfcegui4-dev startup-notification-dev util-linux-uuid-dev
    4.28 +	xcb-util-dev xfconf-dev"
    4.29  
    4.30  # What is the latest version available today?
    4.31  current_version()
    4.32 @@ -26,26 +28,22 @@
    4.33  # Rules to configure and make the package.
    4.34  compile_rules()
    4.35  {
    4.36 -	cd $src
    4.37  	patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
    4.38 -	./configure --prefix=/usr $CONFIGURE_ARGS && \
    4.39 -	make && make DESTDIR=$DESTDIR install
    4.40 +
    4.41 +	./configure		\
    4.42 +		--prefix=/usr	\
    4.43 +		$CONFIGURE_ARGS &&
    4.44 +	make &&
    4.45 +	make install
    4.46  }
    4.47  
    4.48  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.49  genpkg_rules()
    4.50  {
    4.51 -	mkdir -p $fs/usr
    4.52 -	
    4.53 -	cp -a $install/usr/bin $fs/usr
    4.54 -	cp -a $install/usr/lib $fs/usr
    4.55 -	
    4.56 -	# Remove unecessary files
    4.57 -	find $fs/ -name "*.*a" -exec rm -f {} \;
    4.58 -	rm -rf $fs/usr/lib/pkgconfig
    4.59 +	cook_copy_folders	bin
    4.60 +	cook_copy_folders	icons
    4.61 +	cook_copy_files		*.so*
    4.62 +
    4.63  	# Remove SVG icons
    4.64  	rm -rf $fs/usr/share/icons/hicolor/scalable
    4.65 -		
    4.66 -		
    4.67  }
    4.68 -
     5.1 --- a/xfwm4/receipt	Wed Oct 23 17:32:01 2024 +0100
     5.2 +++ b/xfwm4/receipt	Wed Oct 23 17:54:37 2024 +0100
     5.3 @@ -3,52 +3,51 @@
     5.4  PACKAGE="xfwm4"
     5.5  VERSION="4.12.0"
     5.6  CATEGORY="x-window"
     5.7 -SHORT_DESC="Xfce Window Manager"
     5.8 +TAGS="window-manager"
     5.9 +SHORT_DESC="Xfce Window Manager."
    5.10  MAINTAINER="erjo@slitaz.org"
    5.11  LICENSE="GPL2"
    5.12 +WEB_SITE="https://docs.xfce.org/xfce/xfwm4/start"
    5.13 +
    5.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    5.15 -WEB_SITE="https://www.xfce.org/"
    5.16  WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    5.17 -TAGS="window-manager"
    5.18  
    5.19 -DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
    5.20 -BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
    5.21 -libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev xcb-util-dev"
    5.22 +DEPENDS="dbus-glib libglade libwnck libxfce4ui libxfce4util xfconf"
    5.23 +BUILD_DEPENDS="dbus-glib-dev intltool libwnck-dev libxfce4ui-dev libxfce4util-dev
    5.24 +	libxml2-dev util-linux-uuid-dev xcb-util-dev xfconf-dev xorg-compositeproto"
    5.25  
    5.26  # What is the latest version available today?
    5.27  current_version()
    5.28  {
    5.29 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    5.30 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    5.31 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    5.32 +	wget -O - $WEB_SITE 2>/dev/null |
    5.33 +	sed '/released/!d;s| released.*||;s|.*xfwm4 ||'
    5.34  }
    5.35  
    5.36  # Rules to configure and make the package.
    5.37  compile_rules()
    5.38  {
    5.39 -	./configure --prefix=/usr \
    5.40 -		--enable-render \
    5.41 -		--enable-startup-notification \
    5.42 -		--enable-randr \
    5.43 -		--disable-debug \
    5.44 -		--disable-static \
    5.45 -		--mandir=/usr/share/man $CONFIGURE_ARGS && \
    5.46 -	make && make  install
    5.47 +	./configure				\
    5.48 +		--prefix=/usr			\
    5.49 +		--mandir=/usr/share/man		\
    5.50 +		--disable-debug			\
    5.51 +		 --enable-randr			\
    5.52 +		 --enable-render		\
    5.53 +		 --enable-startup-notification	\
    5.54 +		--disable-static		\
    5.55 +		$CONFIGURE_ARGS &&
    5.56 +	make &&
    5.57 +	make  install
    5.58  }
    5.59  
    5.60  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.61  genpkg_rules()
    5.62  {
    5.63 -	mkdir -p $fs/usr \
    5.64 -		$fs/usr/share/locale
    5.65 -
    5.66 -	cp -a $install/usr/bin $fs/usr
    5.67 -	cp -a $install/usr/share/applications $fs/usr/share
    5.68 -	cp -a $install/usr/share/icons $fs/usr/share
    5.69 -	cp -a $install/usr/share/themes $fs/usr/share
    5.70 -	cp -a $install/usr/share/xfwm4 $fs/usr/share
    5.71 +	cook_copy_folders	bin
    5.72 +	cook_copy_folders	icons
    5.73 +	cook_copy_folders	themes
    5.74 +	cook_copy_folders	xfwm4
    5.75  
    5.76  	# Remove SVG icons
    5.77 -	test -d $fs/usr/share/icons/hicolor/scalable \
    5.78 -		&& rm -rf $fs/usr/share/icons/hicolor/scalable
    5.79 +	test -d	$fs/usr/share/icons/hicolor/scalable &&
    5.80 +	rm -rf	$fs/usr/share/icons/hicolor/scalable
    5.81  }