wok rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents f5a28b7501e1
children ddf8fdd181da
files exo-lang/receipt exo-tools/receipt exo/description.txt exo/receipt libexo-dev/receipt libexo/receipt libxfce4ui-dev/receipt libxfce4ui-lang/receipt libxfce4ui/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/exo-lang/receipt	Wed Oct 23 16:19:52 2024 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="exo-lang"
     1.7 +VERSION="0.10.3"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Xfce extension library - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.xfce.org"
    1.13 +
    1.14 +WANTED="exo"
    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 --- a/exo-tools/receipt	Wed Oct 23 15:16:12 2024 +0100
     2.2 +++ b/exo-tools/receipt	Wed Oct 23 16:19:52 2024 +0100
     2.3 @@ -6,27 +6,20 @@
     2.4  SHORT_DESC="Xfce extension tools"
     2.5  MAINTAINER="erjo@slitaz.org"
     2.6  LICENSE="GPL2"
     2.7 -WANTED="exo"
     2.8 -SUGGESTED="perl-uri"
     2.9  WEB_SITE="https://www.xfce.org"
    2.10  
    2.11 +SUGGESTED="exo-lang perl-uri"
    2.12  DEPENDS="libexo libxfce4ui"
    2.13 +WANTED="exo"
    2.14  
    2.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.16  genpkg_rules()
    2.17  {
    2.18 -	mkdir -p $fs/usr/share/locale \
    2.19 -		$fs/usr/share/xfce4 \
    2.20 -		$fs/etc/xdg/xfce4
    2.21 +	cook_copy_folders	etc
    2.22 +	cook_copy_folders	bin
    2.23 +	cook_copy_folders	applications
    2.24 +	cook_copy_icons		24 48
    2.25 +	cook_copy_folders	pixmaps
    2.26 +	cook_copy_folders	helpers
    2.27  
    2.28 -	cp -a $install/etc $fs/
    2.29 -	cp -a $install/usr/bin $fs/usr
    2.30 -	cp -a $install/usr/share/locale/fr $fs/usr/share/locale
    2.31 -	cp -a $install/usr/share/applications $fs/usr/share
    2.32 -	cp -a $install/usr/share/icons $fs/usr/share
    2.33 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    2.34 -	cp -a $install/usr/share/xfce4/helpers $fs/usr/share/xfce4
    2.35 -
    2.36 -	# Fix perms & helpers
    2.37 -	chmod +x $fs/usr/bin/exo-preferred-applications
    2.38  }
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/exo/description.txt	Wed Oct 23 16:19:52 2024 +0100
     3.3 @@ -0,0 +1,7 @@
     3.4 +Exo is an Xfce library targeted at application development,
     3.5 +originally developed by os-cillation.
     3.6 +It contains various custom widgets and APIs extending the
     3.7 +functionality of GLib and GTK.
     3.8 +It also has some helper applications that are used throughout
     3.9 +the entire Xfce desktop to manage preferred applications and
    3.10 +edit .desktop files.
     4.1 --- a/exo/receipt	Wed Oct 23 15:16:12 2024 +0100
     4.2 +++ b/exo/receipt	Wed Oct 23 16:19:52 2024 +0100
     4.3 @@ -11,10 +11,10 @@
     4.4  WGET_URL="https://archive.xfce.org/src/xfce/exo/${VERSION%.*}/$TARBALL"
     4.5  COOK_OPT="!fs"
     4.6  
     4.7 -DEPENDS="exo-tools libexo util-linux-uuid libgio"
     4.8 -BUILD_DEPENDS="libxfce4util-dev perl-uri startup-notification-dev intltool \
     4.9 -util-linux-uuid-dev libgio-dev glib-dev gtk+-dev libxfce4ui-dev libxml2-dev \
    4.10 -xcb-util-dev"
    4.11 +DEPENDS="exo-tools libexo libgio util-linux-uuid"
    4.12 +BUILD_DEPENDS="glib-dev gtk+-dev intltool libgio-dev libxfce4ui-dev
    4.13 +	libxfce4util-dev libxml2-dev perl-uri startup-notification-dev
    4.14 +	util-linux-uuid-dev xcb-util-dev"
    4.15  
    4.16  # What is the latest version available today?
    4.17  current_version()
    4.18 @@ -30,15 +30,18 @@
    4.19  {
    4.20  	patch -p1 -i $stuff/helpers.rc.u
    4.21  	export LDFLAGS="$LDFLAGS -lxcb-util"
    4.22 -	./configure \
    4.23 -		--prefix=/usr \
    4.24 -		--sysconfdir=/etc \
    4.25 -		--libexecdir=/usr/lib/libexo \
    4.26 -		--disable-debug \
    4.27 -		--mandir=/usr/share/man \
    4.28 -		--disable-python \
    4.29 -		$CONFIGURE_ARGS && \
    4.30 -	make && make install
    4.31 +
    4.32 +	# 0.10.3 unrecognised:
    4.33 +	#	--disable-python
    4.34 +	./configure				\
    4.35 +		--prefix=/usr			\
    4.36 +		--sysconfdir=/etc		\
    4.37 +		--libexecdir=/usr/lib/libexo	\
    4.38 +		--disable-debug			\
    4.39 +		--mandir=/usr/share/man		\
    4.40 +		$CONFIGURE_ARGS &&
    4.41 +	make &&
    4.42 +	make install
    4.43  }
    4.44  
    4.45  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/libexo-dev/receipt	Wed Oct 23 15:16:12 2024 +0100
     5.2 +++ b/libexo-dev/receipt	Wed Oct 23 16:19:52 2024 +0100
     5.3 @@ -3,21 +3,16 @@
     5.4  PACKAGE="libexo-dev"
     5.5  VERSION="0.10.3"
     5.6  CATEGORY="development"
     5.7 -SHORT_DESC="Xfce extension library dev files"
     5.8 +SHORT_DESC="Xfce extension library - development files."
     5.9  MAINTAINER="erjo@slitaz.org"
    5.10  LICENSE="GPL2"
    5.11 -WANTED="exo"
    5.12  WEB_SITE="https://www.xfce.org"
    5.13  
    5.14  DEPENDS="libexo gtk+-dev libxfce4util-dev hal-dev pkg-config"
    5.15 +WANTED="exo"
    5.16  
    5.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.18  genpkg_rules()
    5.19  {
    5.20 -	mkdir -p $fs/usr/lib
    5.21 -		
    5.22 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    5.23 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    5.24 -	cp -a $install/usr/include $fs/usr
    5.25 +	get_dev_files
    5.26  }
    5.27 -
     6.1 --- a/libexo/receipt	Wed Oct 23 15:16:12 2024 +0100
     6.2 +++ b/libexo/receipt	Wed Oct 23 16:19:52 2024 +0100
     6.3 @@ -6,21 +6,19 @@
     6.4  SHORT_DESC="Xfce extension library"
     6.5  MAINTAINER="erjo@slitaz.org"
     6.6  LICENSE="GPL2"
     6.7 -WANTED="exo"
     6.8 -SUGGESTED="exo-tools"
     6.9  WEB_SITE="https://www.xfce.org"
    6.10  
    6.11 +SUGGESTED="exo-tools"
    6.12  DEPENDS="libxfce4util startup-notification libnotify"
    6.13 +WANTED="exo"
    6.14  
    6.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.16  genpkg_rules()
    6.17  {
    6.18 -	mkdir -p $fs/usr/lib 
    6.19 -
    6.20 -	cp -a $install/etc $fs/
    6.21 -	cp -a $install/usr/bin $fs/usr
    6.22 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    6.23 -	cp -a $install/usr/lib/xfce4 $fs/usr/lib
    6.24 +	cook_copy_folders	etc
    6.25 +	cook_copy_folders	bin
    6.26 +	cook_copy_files		*.so*
    6.27 +	cp -a $install/usr/lib/xfce4	$fs/usr/lib
    6.28  
    6.29  	# Strip files
    6.30  	#strip -s $fs/usr/lib/libexo/* 2> /dev/null
     7.1 --- a/libxfce4ui-dev/receipt	Wed Oct 23 15:16:12 2024 +0100
     7.2 +++ b/libxfce4ui-dev/receipt	Wed Oct 23 16:19:52 2024 +0100
     7.3 @@ -16,3 +16,4 @@
     7.4  {
     7.5  	get_dev_files
     7.6  }
     7.7 +
     8.1 --- a/libxfce4ui-lang/receipt	Wed Oct 23 15:16:12 2024 +0100
     8.2 +++ b/libxfce4ui-lang/receipt	Wed Oct 23 16:19:52 2024 +0100
     8.3 @@ -15,3 +15,4 @@
     8.4  {
     8.5  	cook_copy_folders	locale
     8.6  }
     8.7 +
     9.1 --- a/libxfce4ui/receipt	Wed Oct 23 15:16:12 2024 +0100
     9.2 +++ b/libxfce4ui/receipt	Wed Oct 23 16:19:52 2024 +0100
     9.3 @@ -11,6 +11,7 @@
     9.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     9.5  WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
     9.6  
     9.7 +SUGGESTED="libxfce4ui-lang"
     9.8  DEPENDS="dbus-glib gtk+ libglade libxfce4util startup-notification
     9.9  	util-linux-uuid xfconf"
    9.10  BUILD_DEPENDS="gtk+-dev intltool libglade-dev libxfce4util-dev