wok rev 25797

created recipe for garcon-lang
author Hans-G?nter Theisgen
date Wed Oct 23 17:04:51 2024 +0100 (4 weeks ago)
parents d953db83781d
children 48bf73567ea4
files garcon-dev/receipt garcon-lang/receipt garcon/description.txt garcon/receipt thunar-archive-plugin-lang/receipt thunar-archive-plugin/receipt thunar-dev/receipt thunar-lang/receipt thunar-volman-lang/receipt thunar-volman/receipt thunar/description.txt thunar/receipt
line diff
     1.1 --- a/garcon-dev/receipt	Wed Oct 23 16:42:25 2024 +0100
     1.2 +++ b/garcon-dev/receipt	Wed Oct 23 17:04:51 2024 +0100
     1.3 @@ -3,21 +3,16 @@
     1.4  PACKAGE="garcon-dev"
     1.5  VERSION="0.4.0"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Xfce menu devel files"
     1.8 +SHORT_DESC="Xfce menu - development files."
     1.9  MAINTAINER="erjo@slitaz.org"
    1.10  LICENSE="LGPL2"
    1.11 -WANTED="garcon"
    1.12  WEB_SITE="https://www.xfce.org"
    1.13  
    1.14  DEPENDS="garcon pkg-config"
    1.15 +WANTED="garcon"
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20 -	mkdir -p $fs/usr/lib
    1.21 -	
    1.22 -	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 +	get_dev_files
    1.26  }
    1.27 -
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/garcon-lang/receipt	Wed Oct 23 17:04:51 2024 +0100
     2.3 @@ -0,0 +1,17 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="garcon-lang"
     2.7 +VERSION="0.4.0"
     2.8 +CATEGORY="localization"
     2.9 +SHORT_DESC="Xfce menu - localised messages."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="LGPL2"
    2.12 +WEB_SITE="https://www.xfce.org"
    2.13 +
    2.14 +WANTED="garcon"
    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 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/garcon/description.txt	Wed Oct 23 17:04:51 2024 +0100
     3.3 @@ -0,0 +1,8 @@
     3.4 +Garcon is an implementation of the freedesktop.org compliant
     3.5 +menu specification.
     3.6 +It is based on GLib/GIO and aims at covering the entire
     3.7 +specification except for legacy menus.
     3.8 +It was started as a complete rewrite of the former Xfce
     3.9 +menu library called libxfce4menu, which, in contrast to garcon,
    3.10 +was lacking menu merging features essential for loading menus
    3.11 +modified with menu editors.
     4.1 --- a/garcon/receipt	Wed Oct 23 16:42:25 2024 +0100
     4.2 +++ b/garcon/receipt	Wed Oct 23 17:04:51 2024 +0100
     4.3 @@ -6,13 +6,16 @@
     4.4  SHORT_DESC="Xfce menu library"
     4.5  MAINTAINER="erjo@slitaz.org"
     4.6  LICENSE="LGPL2"
     4.7 +WEB_SITE="https://www.xfce.org"
     4.8 +
     4.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    4.10 -WEB_SITE="https://www.xfce.org"
    4.11  WGET_URL="https://archive.xfce.org/src/xfce/garcon/${VERSION%.*}/$TARBALL"
    4.12  
    4.13 -DEPENDS="libgio glib gtk+ libxfce4ui libxfce4util util-linux-uuid startup-notification"
    4.14 -BUILD_DEPENDS="intltool libgio libgio-dev glib-dev libxfce4ui-dev libxfce4util-dev \
    4.15 -		util-linux-uuid-dev gtk+-dev startup-notification-dev xcb-util-dev"
    4.16 +DEPENDS="glib gtk+ libgio libxfce4ui libxfce4util startup-notification
    4.17 +	util-linux-uuid"
    4.18 +BUILD_DEPENDS="glib-dev gtk+-dev intltool libgio-dev libxfce4ui-dev
    4.19 +		libxfce4util-dev startup-notification-dev
    4.20 +		util-linux-uuid-dev xcb-util-dev"
    4.21  
    4.22  # What is the latest version available today?
    4.23  current_version()
    4.24 @@ -25,26 +28,20 @@
    4.25  # Rules to configure and make the package.
    4.26  compile_rules()
    4.27  {
    4.28 -	cd $src
    4.29 -	./configure \
    4.30 -		--prefix=/usr \
    4.31 -		--infodir=/usr/share/info \
    4.32 -		--sysconfdir=/etc \
    4.33 -		--disable-login \
    4.34 -		--mandir=/usr/share/man \
    4.35 +	./configure				\
    4.36 +		--prefix=/usr			\
    4.37 +		--infodir=/usr/share/info	\
    4.38 +		--sysconfdir=/etc		\
    4.39 +		--disable-login			\
    4.40 +		--mandir=/usr/share/man		\
    4.41  		$CONFIGURE_ARGS &&
    4.42 -	make && make DESTDIR=$DESTDIR install
    4.43 +	make &&
    4.44 +	make install
    4.45  }
    4.46  
    4.47  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.48  genpkg_rules()
    4.49  {
    4.50 -	mkdir -p $fs/usr \
    4.51 -		$fs/usr/share \
    4.52 -		$fs/usr/lib
    4.53 -	
    4.54 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.55 -	cp -a $install/etc $fs/
    4.56 -	cp -a $install/usr/share/desktop* $fs/usr/share
    4.57 +	cook_copy_folders	etc
    4.58 +	cook_copy_files		*.so*
    4.59  }
    4.60 -
     5.1 --- a/thunar-archive-plugin-lang/receipt	Wed Oct 23 16:42:25 2024 +0100
     5.2 +++ b/thunar-archive-plugin-lang/receipt	Wed Oct 23 17:04:51 2024 +0100
     5.3 @@ -15,3 +15,4 @@
     5.4  {
     5.5  	cook_copy_folders	locale
     5.6  }
     5.7 +
     6.1 --- a/thunar-archive-plugin/receipt	Wed Oct 23 16:42:25 2024 +0100
     6.2 +++ b/thunar-archive-plugin/receipt	Wed Oct 23 17:04:51 2024 +0100
     6.3 @@ -3,49 +3,41 @@
     6.4  PACKAGE="thunar-archive-plugin"
     6.5  VERSION="0.3.0"
     6.6  CATEGORY="x-window"
     6.7 -SHORT_DESC="Thunar Archive Manager plugin"
     6.8 +TAGS="archive"
     6.9 +SHORT_DESC="Thunar Archive Manager plugin."
    6.10  MAINTAINER="erjo@slitaz.org"
    6.11  LICENSE="GPL2"
    6.12 +WEB_SITE="https://docs.xfce.org/xfce/thunar/archive"
    6.13 +
    6.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    6.15 -WEB_SITE="https://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
    6.16  WGET_URL="https://archive.xfce.org/src/thunar-plugins/$PACKAGE/${VERSION%.*}/$TARBALL"
    6.17  
    6.18 +SUGGESTED="thunar-archive-plugin-lang"
    6.19  DEPENDS="thunar"
    6.20 -BUILD_DEPENDS="intltool thunar-dev libexo-dev libxfce4ui-dev \
    6.21 - xfconf-dev startup-notification-dev"
    6.22 +BUILD_DEPENDS="intltool libexo-dev libxfce4ui-dev startup-notification-dev
    6.23 +	thunar-dev xfconf-dev"
    6.24  
    6.25  # What is the latest version available today?
    6.26  current_version()
    6.27  {
    6.28 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    6.29 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    6.30 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    6.31 +	wget -O - $WEB_SITE 2>/dev/null |
    6.32 +	sed '/released/!d;s| released.*||;s|.*plugin ||'
    6.33  }
    6.34  
    6.35  # Rules to configure and make the package.
    6.36  compile_rules()
    6.37  {
    6.38 -	cd $src
    6.39 -	./configure --libexecdir=/usr/lib \
    6.40 -		$CONFIGURE_ARGS && \
    6.41 -	make && make install
    6.42 +	./configure			\
    6.43 +		--libexecdir=/usr/lib	\
    6.44 +		$CONFIGURE_ARGS &&
    6.45 +	make &&
    6.46 +	make install
    6.47  }
    6.48  
    6.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.50  genpkg_rules()
    6.51  {
    6.52 -	mkdir -p $fs/usr/share/locale \
    6.53 -		$fs/usr/lib/thunarx-2
    6.54 -	
    6.55 -	cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
    6.56 -	cp -a $install/usr/share/icons $fs/usr/share
    6.57 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    6.58 -	cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
    6.59 -	
    6.60 -	# Fix perms
    6.61 -	chmod 755 $fs/usr/lib/thunar-archive-plugin/*
    6.62 -	
    6.63 -	# Cleanup
    6.64 -	rm -f $fs/usr/lib/thunarx-2/*.*a
    6.65 +	cook_copy_files		*.so*
    6.66 +	cook_copy_folders	icons
    6.67 +	cook_copy_folders	$PACKAGE
    6.68  }
    6.69 -
     7.1 --- a/thunar-dev/receipt	Wed Oct 23 16:42:25 2024 +0100
     7.2 +++ b/thunar-dev/receipt	Wed Oct 23 17:04:51 2024 +0100
     7.3 @@ -18,3 +18,4 @@
     7.4  	cp -a $install/usr/lib/thunarx-2/*.*a	$fs/usr/lib/thunarx-2
     7.5  	get_dev_files
     7.6  }
     7.7 +
     8.1 --- a/thunar-lang/receipt	Wed Oct 23 16:42:25 2024 +0100
     8.2 +++ b/thunar-lang/receipt	Wed Oct 23 17:04:51 2024 +0100
     8.3 @@ -14,3 +14,4 @@
     8.4  {
     8.5  	cook_copy_folders	locale
     8.6  }
     8.7 +
     9.1 --- a/thunar-volman-lang/receipt	Wed Oct 23 16:42:25 2024 +0100
     9.2 +++ b/thunar-volman-lang/receipt	Wed Oct 23 17:04:51 2024 +0100
     9.3 @@ -15,3 +15,4 @@
     9.4  {
     9.5  	cook_copy_folders	locale
     9.6  }
     9.7 +
    10.1 --- a/thunar-volman/receipt	Wed Oct 23 16:42:25 2024 +0100
    10.2 +++ b/thunar-volman/receipt	Wed Oct 23 17:04:51 2024 +0100
    10.3 @@ -3,49 +3,45 @@
    10.4  PACKAGE="thunar-volman"
    10.5  VERSION="0.8.1"
    10.6  CATEGORY="x-window"
    10.7 -SHORT_DESC="Thunar Volume Manager plugin"
    10.8 +SHORT_DESC="Thunar Volume Manager plugin."
    10.9  MAINTAINER="erjo@slitaz.org"
   10.10  LICENSE="GPL2"
   10.11 +WEB_SITE="https://docs.xfce.org/xfce/thunar/thunar-volman"
   10.12 +
   10.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
   10.14 -WEB_SITE="https://www.xfce.org/"
   10.15 -WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION:0:3}/$TARBALL"
   10.16 +WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
   10.17  
   10.18 -DEPENDS="thunar libxfce4ui startup-notification"
   10.19 -BUILD_DEPENDS="thunar-dev glibc-locale intltool libexo-dev libgudev-dev libxfce4ui-dev \
   10.20 - xfconf-dev startup-notification-dev util-linux-uuid-dev libxml2-dev libnotify-dev
   10.21 - libxfce4util-dev xcb-util-dev"
   10.22 +SUGGESTED="thunar-volman-lang"
   10.23 +DEPENDS="libxfce4ui startup-notification thunar"
   10.24 +BUILD_DEPENDS="glibc-locale intltool libexo-dev libgudev-dev libnotify-dev
   10.25 +	libxfce4ui-dev libxfce4util-dev libxml2-dev startup-notification-dev
   10.26 +	thunar-dev util-linux-uuid-dev xcb-util-dev xfconf-dev"
   10.27  
   10.28  # What is the latest version available today?
   10.29  current_version()
   10.30  {
   10.31 -	wget -O - https://archive.xfce.org/src/xfce/thunar-volman/$( \
   10.32 -	wget -O - https://archive.xfce.org/src/xfce/thunar-volman/ 2>/dev/null | \
   10.33 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
   10.34 -	sed "/hunar-/!d;/tar/!d;s|.*volman-||;s|.tar.*||" | sort -Vr | sed q
   10.35 +	wget -O - $WEB_SITE 2>/dev/null |
   10.36 +	sed '/released/!d;s| released.*||;s|.*volman ||'
   10.37  }
   10.38  
   10.39  # Rules to configure and make the package.
   10.40  compile_rules()
   10.41  {
   10.42 -	cd $src
   10.43 -	./configure \
   10.44 -		--prefix=/usr \
   10.45 -		--disable-debug \
   10.46 -		--enable-notifications \
   10.47 -		--libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
   10.48 -	make && make install
   10.49 +	./configure				\
   10.50 +		--prefix=/usr			\
   10.51 +		--libexecdir=/usr/lib/$PACKAGE	\
   10.52 +		--disable-debug			\
   10.53 +		 --enable-notifications		\
   10.54 +		$CONFIGURE_ARGS &&
   10.55 +	make &&
   10.56 +	make install
   10.57  }
   10.58  
   10.59  # Rules to gen a SliTaz package suitable for Tazpkg.
   10.60  genpkg_rules()
   10.61  {
   10.62 -	mkdir -p $fs/usr/share/locale $fs/usr/lib
   10.63 -	
   10.64 -	cp -a $install/usr/bin $fs/usr
   10.65 -	cp -a $install/usr/share/applications $fs/usr/share
   10.66 -	cp -a $install/usr/share/icons $fs/usr/share
   10.67 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
   10.68 +	cook_copy_folders	bin
   10.69 +	cook_copy_folders	icons
   10.70  	
   10.71  	#gtk-update-icon-cache -f -t $fs/usr/share/icons/hicolor
   10.72  }
   10.73 -
    11.1 --- a/thunar/description.txt	Wed Oct 23 16:42:25 2024 +0100
    11.2 +++ b/thunar/description.txt	Wed Oct 23 17:04:51 2024 +0100
    11.3 @@ -1,6 +1,8 @@
    11.4 -Thunar is a new modern file manager for the Xfce Desktop Environment. Thunar has
    11.5 -been designed from the ground up to be fast and easy-to-use. Its user interface 
    11.6 -is clean and intuitive, and does not include any confusing or useless options. 
    11.7 -Thunar is fast and responsive with a good start up time and directory load time.
    11.8 +Thunar is a new modern file manager for the Xfce Desktop Environment.
    11.9 +Thunar has been designed from the ground up to be fast and easy-to-use.
   11.10 +Its user interface is clean and intuitive, and does not include any
   11.11 +confusing or useless options. 
   11.12 +Thunar is fast and responsive with a good start up time and directory
   11.13 +load time.
   11.14  Thunar is accessible using Assistive Technologies and is fully standards 
   11.15  compliant. 
    12.1 --- a/thunar/receipt	Wed Oct 23 16:42:25 2024 +0100
    12.2 +++ b/thunar/receipt	Wed Oct 23 17:04:51 2024 +0100
    12.3 @@ -59,3 +59,4 @@
    12.4  	cp -a $install/usr/share/Thunar $fs/usr/share
    12.5  	cook_copy_folders	pixmaps
    12.6  }
    12.7 +