wok rev 25747

thunar: replaced dependency libxfconf by xfconf
author Hans-G?nter Theisgen
date Sat Aug 31 09:37:15 2024 +0100 (2 weeks ago)
parents a753bd482ec9
children bafd960b0633
files libxfce4ui-dev/receipt thunar-dev/receipt thunar-lang/receipt thunar/receipt
line diff
     1.1 --- a/libxfce4ui-dev/receipt	Sat Aug 31 09:19:18 2024 +0100
     1.2 +++ b/libxfce4ui-dev/receipt	Sat Aug 31 09:37:15 2024 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  LICENSE="LGPL2"
     1.5  WEB_SITE="https://docs.xfce.org/xfce/libxfce4ui/start"
     1.6  
     1.7 +DEPENDS="libxfce4ui pkg-config"
     1.8  WANTED="libxfce4ui"
     1.9  
    1.10  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/thunar-dev/receipt	Sat Aug 31 09:19:18 2024 +0100
     2.2 +++ b/thunar-dev/receipt	Sat Aug 31 09:37:15 2024 +0100
     2.3 @@ -3,21 +3,18 @@
     2.4  PACKAGE="thunar-dev"
     2.5  VERSION="1.6.6"
     2.6  CATEGORY="development"
     2.7 -SHORT_DESC="Thunar File Manager dev files"
     2.8 +SHORT_DESC="Thunar File Manager - development files."
     2.9  MAINTAINER="erjo@slitaz.org"
    2.10  LICENSE="GPL2"
    2.11 -WANTED="thunar"
    2.12 -SOURCE="Thunar"
    2.13 -WEB_SITE="https://www.xfce.org"
    2.14 +WEB_SITE="https://docs.xfce.org/xfce/thunar/start"
    2.15  
    2.16  DEPENDS="thunar pkg-config"
    2.17 +WANTED="thunar"
    2.18  
    2.19  genpkg_rules()
    2.20  {
    2.21  	mkdir -p $fs/usr/lib/thunarx-2
    2.22  	
    2.23 -	cp -a $install/usr/include $fs/usr
    2.24 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.25 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    2.26 -	cp -a $install/usr/lib/thunarx-2/*.*a $fs/usr/lib/thunarx-2
    2.27 +	cp -a $install/usr/lib/thunarx-2/*.*a	$fs/usr/lib/thunarx-2
    2.28 +	get_dev_files
    2.29  }
     3.1 --- a/thunar-lang/receipt	Sat Aug 31 09:19:18 2024 +0100
     3.2 +++ b/thunar-lang/receipt	Sat Aug 31 09:37:15 2024 +0100
     3.3 @@ -2,11 +2,11 @@
     3.4  
     3.5  PACKAGE="thunar-lang"
     3.6  VERSION="1.6.6"
     3.7 -CATEGORY="x-window"
     3.8 +CATEGORY="localization"
     3.9  SHORT_DESC="Thunar File Manager - localised messages."
    3.10  MAINTAINER="maintainer@slitaz.org"
    3.11  LICENSE="GPL2"
    3.12 -WEB_SITE="https://www.xfce.org"
    3.13 +WEB_SITE="https://docs.xfce.org/xfce/thunar/start"
    3.14  
    3.15  WANTED="thunar"
    3.16  
     4.1 --- a/thunar/receipt	Sat Aug 31 09:19:18 2024 +0100
     4.2 +++ b/thunar/receipt	Sat Aug 31 09:37:15 2024 +0100
     4.3 @@ -3,64 +3,59 @@
     4.4  PACKAGE="thunar"
     4.5  VERSION="1.6.6"
     4.6  CATEGORY="x-window"
     4.7 -SHORT_DESC="Thunar File Manager"
     4.8 +TAGS="file-manager"
     4.9 +SHORT_DESC="Thunar File Manager."
    4.10  MAINTAINER="erjo@slitaz.org"
    4.11  LICENSE="GPL2"
    4.12 +WEB_SITE="https://docs.xfce.org/xfce/thunar/start"
    4.13 +
    4.14  SOURCE="Thunar"
    4.15  TARBALL="$SOURCE-$VERSION.tar.bz2"
    4.16 -WEB_SITE="https://www.xfce.org"
    4.17  WGET_URL="https://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
    4.18 -TAGS="file-manager"
    4.19  
    4.20 -DEPENDS="libpng jpeg gtk+ libxfce4util dbus-glib libexo pcre libexif libgudev \
    4.21 -gamin libxfce4ui startup-notification util-linux-uuid libnotify libxfconf"
    4.22 -BUILD_DEPENDS="libpng-dev jpeg-dev gtk+-dev libxml2-dev dbus-glib-dev \
    4.23 -libexo-dev zlib-dev intltool libgudev-dev libxfce4ui-dev libxfce4util-dev xcb-util-dev \
    4.24 -startup-notification-dev util-linux-uuid-dev libnotify-dev libxfconf-dev"
    4.25 +DEPENDS="dbus-glib gamin gtk+ jpeg libexif libexo libgudev libnotify libpng
    4.26 +	libxfce4ui libxfce4util pcre startup-notification util-linux-uuid xfconf"
    4.27 +BUILD_DEPENDS="dbus-glib-dev jpeg-dev gtk+-dev intltool	libexo-dev libgudev-dev
    4.28 +	libnotify-dev libpng-dev libxfce4ui-dev libxfce4util-dev libxml2-dev
    4.29 +	startup-notification-dev util-linux-uuid-dev xcb-util-dev
    4.30 +	xfconf-dev zlib-dev"
    4.31  
    4.32  # What is the latest version available today?
    4.33  current_version()
    4.34  {
    4.35 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    4.36 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    4.37 -	sed "/hunar-/!d;/tar/!d;s|.*hunar-||;s|.tar.*||" | sort -Vr | sed q
    4.38 +	wget -O - $WEB_SITE 2>/dev/null |
    4.39 +	sed '/released/!d;s| released.*||;s|.*thunar ||'
    4.40  }
    4.41  
    4.42  # Rules to configure and make the package.
    4.43  compile_rules()
    4.44  {
    4.45 -	./configure \
    4.46 -		--prefix=/usr \
    4.47 -		--sysconfdir=/etc \
    4.48 -		--enable-dbus \
    4.49 -		--enable-startup-notification \
    4.50 -		--enable-notifications \
    4.51 -		--enable-gio-unix \
    4.52 -		--enable-gudev \
    4.53 -		--libexecdir=/usr/lib \
    4.54 -		--enable-debug=no \
    4.55 +	./configure				\
    4.56 +		--prefix=/usr			\
    4.57 +		--sysconfdir=/etc		\
    4.58 +		--enable-dbus			\
    4.59 +		--enable-startup-notification	\
    4.60 +		--enable-notifications		\
    4.61 +		--enable-gio-unix		\
    4.62 +		--enable-gudev			\
    4.63 +		--libexecdir=/usr/lib		\
    4.64 +		--enable-debug=no		\
    4.65  		$CONFIGURE_ARGS &&
    4.66 -	make && make install
    4.67 +	make &&
    4.68 +	make install
    4.69  }
    4.70  
    4.71  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.72  genpkg_rules()
    4.73  {
    4.74 -	mkdir -p \
    4.75 -		$fs/usr/share \
    4.76 -		$fs/usr/lib/thunarx-2
    4.77 +	cook_copy_folders	etc
    4.78 +	cook_copy_folders	bin
    4.79  
    4.80 -	cp -a $install/etc $fs
    4.81 -	cp -a $install/usr/bin $fs/usr
    4.82 +	cook_copy_files		*.so*
    4.83 +	cp -a $install/usr/lib/Thunar	$fs/usr/lib
    4.84 +	cook_copy_folders	dbus-1
    4.85  
    4.86 -	cp -a $install/usr/lib/Thunar $fs/usr/lib
    4.87 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    4.88 -	cp -a $install/usr/lib/thunarx-2/*.so* $fs/usr/lib/thunarx-2
    4.89 -	cp -a $install/usr/share/dbus-1 $fs/usr/share
    4.90 -
    4.91 -	cp -a $install/usr/share/applications $fs/usr/share
    4.92 -	cp -a $install/usr/share/icons $fs/usr/share
    4.93 -	cp -a $install/usr/share/pixmaps $fs/usr/share
    4.94 +	cook_copy_folders	icons
    4.95  	cp -a $install/usr/share/Thunar $fs/usr/share
    4.96 +	cook_copy_folders	pixmaps
    4.97  }
    4.98 -