wok rev 25744

mousepad: replaced dependency libxfconf by xfconf
author Hans-G?nter Theisgen
date Fri Aug 30 15:50:35 2024 +0100 (6 months ago)
parents 86cc1fef29ef
children 7e291e856d7e
files mousepad-lang/receipt mousepad/description.txt mousepad/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mousepad-lang/receipt	Fri Aug 30 15:50:35 2024 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mousepad-lang"
     1.7 +VERSION="0.4.2"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Xfce Text Editor - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://docs.xfce.org/apps/mousepad/start"
    1.13 +
    1.14 +WANTED="mousepad"
    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 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mousepad/description.txt	Fri Aug 30 15:50:35 2024 +0100
     2.3 @@ -0,0 +1,9 @@
     2.4 +Mousepad aims to be an easy-to-use and fast editor.
     2.5 +Our target is an editor for quickly editing text files,
     2.6 +not a development environment or an editor with a huge
     2.7 +bunch of plugins.
     2.8 +On the other hand we try to use the latest GTK features
     2.9 +available, which means that if GTK adds something new in
    2.10 +a major release that is useful for the editor, we will
    2.11 +likely bump the GTK dependency and integrate this new
    2.12 +feature in Mousepad.
     3.1 --- a/mousepad/receipt	Fri Aug 30 13:51:38 2024 +0100
     3.2 +++ b/mousepad/receipt	Fri Aug 30 15:50:35 2024 +0100
     3.3 @@ -7,21 +7,21 @@
     3.4  SHORT_DESC="Xfce Text Editor."
     3.5  MAINTAINER="erjo@slitaz.org"
     3.6  LICENSE="GPL2"
     3.7 -WEB_SITE="https://git.xfce.org/apps/mousepad/about/"
     3.8 +WEB_SITE="https://docs.xfce.org/apps/mousepad/start"
     3.9  
    3.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.11  WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.12  
    3.13 -DEPENDS="dbus-glib gtk+ gtksourceview libgio libxfconf xorg-libXdamage"
    3.14 +SUGGESTED="mousepad-lang"
    3.15 +DEPENDS="dbus-glib gtk+ gtksourceview libgio xfconf xorg-libXdamage"
    3.16  BUILD_DEPENDS="dbus-glib-dev gtk+-dev gtksourceview-dev intltool 
    3.17 -	libgio-dev libxfconf-dev"
    3.18 +	libgio-dev xfconf-dev"
    3.19  
    3.20  # What is the latest version available today?
    3.21  current_version()
    3.22  {
    3.23 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    3.24 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    3.25 -	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    3.26 +	wget -O - $WEB_SITE 2>/dev/null |
    3.27 +	sed '/ released /!d;s| released.*||;s|.*mousepad ||'
    3.28  }
    3.29  
    3.30  # Rules to configure and make the package.
    3.31 @@ -32,23 +32,14 @@
    3.32  	./configure			\
    3.33  		--prefix=/usr		\
    3.34  		--enable-debug=no	\
    3.35 -		--mandir=/usr/share/man	\
    3.36  		$CONFIGURE_ARGS &&
    3.37  	make &&
    3.38 -	make DESTDIR=$DESTDIR install
    3.39 +	make install
    3.40  }
    3.41  
    3.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.43  genpkg_rules()
    3.44  {
    3.45 -	mkdir -p $fs/usr/share/locale
    3.46 -	mkdir -p $fs/usr/share/glib-2.0
    3.47 -
    3.48 -	cp -a $install/usr/bin				$fs/usr
    3.49 -	cp -a $install/usr/share/locale/de		$fs/usr/share/locale
    3.50 -	cp -a $install/usr/share/locale/fr		$fs/usr/share/locale
    3.51 -	cp -a $install/usr/share/locale/ru		$fs/usr/share/locale
    3.52 -	cp -a $install/usr/share/applications		$fs/usr/share
    3.53 -	cp -a $install/usr/share/glib-2.0/schemas	$fs/usr/share/glib-2.0
    3.54 +	cook_copy_folders	bin
    3.55 +	cook_copy_folders	schemas
    3.56  }
    3.57 -