wok rev 25726

renamed xfce4-ristretto to ristretto
author Hans-G?nter Theisgen
date Sat Aug 17 17:30:48 2024 +0100 (2 months ago)
parents 0bdce5989de3
children 59ec0d609b58
files ristretto-lang/receipt ristretto/description.txt ristretto/receipt xfce4-ristretto-lang/receipt xfce4-ristretto/description.txt xfce4-ristretto/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ristretto-lang/receipt	Sat Aug 17 17:30:48 2024 +0100
     1.3 @@ -0,0 +1,17 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ristretto-lang"
     1.7 +VERSION="0.8.5"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Picture-viewer for Xfce - localised messages."
    1.10 +MAINTAINER="maintainer@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://docs.xfce.org/apps/ristretto/start"
    1.13 +
    1.14 +WANTED="ristretto"
    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/ristretto/description.txt	Sat Aug 17 17:30:48 2024 +0100
     2.3 @@ -0,0 +1,16 @@
     2.4 +The Ristretto Image Viewer is an application
     2.5 +that can be used to view, and scroll through images.
     2.6 +It can be used to run a slideshow of images,
     2.7 +open images with other applications like an image-editor
     2.8 +or configure an image as the desktop wallpaper.
     2.9 +
    2.10 +The image types supported by Ristretto are those
    2.11 +supported by the gdk-pixbuf library.
    2.12 +This library itself supports a number of basic image types
    2.13 +(JPEG, PNG, TIFF, etc.), but then relies on optional
    2.14 +libraries to extend the range of supported image types.
    2.15 +This means that you will have to install these libraries
    2.16 +yourself to extend the range of image types supported by
    2.17 +Ristretto.
    2.18 +Examples: libwmf, libopenraw, libavif, libheif, libjxl,
    2.19 +librsvg, webp-pixbuf-loader. 
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/ristretto/receipt	Sat Aug 17 17:30:48 2024 +0100
     3.3 @@ -0,0 +1,56 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="ristretto"
     3.7 +# According to repology.org, most linux distributions name that package
     3.8 +# ristretto, not xfce4-ristretto, albeit it is a xfce application
     3.9 +VERSION="0.8.5"
    3.10 +CATEGORY="x-window"
    3.11 +TAGS="image viewer"
    3.12 +SHORT_DESC="Picture-viewer for Xfce."
    3.13 +MAINTAINER="erjo@slitaz.org"
    3.14 +LICENSE="GPL2"
    3.15 +WEB_SITE="https://docs.xfce.org/apps/ristretto/start"
    3.16 +
    3.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    3.18 +WGET_URL="https://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
    3.19 +
    3.20 +SUGGESTED="ristretto-lang tumbler"	# to show previews in thumbnail bar
    3.21 +DEPENDS="dbus-glib libexif libxfce4ui libxfce4util xfconf"
    3.22 +BUILD_DEPENDS="dbus-glib-dev intltool libexif-dev libxfce4ui-dev
    3.23 +	libxfce4util-dev xfconf-dev"
    3.24 +
    3.25 +# What is the latest version available today?
    3.26 +current_version()
    3.27 +{
    3.28 +	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    3.29 +	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    3.30 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
    3.31 +}
    3.32 +
    3.33 +# Rules to configure and make the package.
    3.34 +compile_rules()
    3.35 +{
    3.36 +	./configure &&
    3.37 +	make &&
    3.38 +	make install
    3.39 +}
    3.40 +
    3.41 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.42 +genpkg_rules()
    3.43 +{
    3.44 +	mkdir -p $fs/usr/share/icons/hicolor
    3.45 +	mkdir -p $fs/usr/share/pixmaps 
    3.46 +		
    3.47 +	cook_copy_folders	bin
    3.48 +	cp -a $install/usr/share/icons/hicolor/16*	$fs/usr/share/icons/hicolor
    3.49 +	cp -a $install/usr/share/icons/hicolor/48*	$fs/usr/share/icons/hicolor
    3.50 +	ln -s /usr/share/icons/hicolor/48x48/apps/$SOURCE.png \
    3.51 +							$fs/usr/share/pixmaps/$SOURCE.png
    3.52 +}
    3.53 +
    3.54 +post_install()
    3.55 +{
    3.56 +	echo
    3.57 +	echo "Executing post-install command gtk-update-icon-cache"
    3.58 +	gtk-update-icon-cache -f -t -q "$1/usr/share/icons/hicolor"
    3.59 +}
     4.1 --- a/xfce4-ristretto-lang/receipt	Sat Aug 17 17:12:02 2024 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,17 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="xfce4-ristretto-lang"
     4.7 -VERSION="0.8.5"
     4.8 -CATEGORY="localization"
     4.9 -SHORT_DESC="Picture-viewer for Xfce - localised messages."
    4.10 -MAINTAINER="maintainer@slitaz.org"
    4.11 -LICENSE="GPL2"
    4.12 -WEB_SITE="https://docs.xfce.org/apps/ristretto/start"
    4.13 -
    4.14 -WANTED="xfce4-ristretto"
    4.15 -
    4.16 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.17 -genpkg_rules()
    4.18 -{
    4.19 -	cook_copy_folders	locale
    4.20 -}
     5.1 --- a/xfce4-ristretto/description.txt	Sat Aug 17 17:12:02 2024 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,16 +0,0 @@
     5.4 -The Ristretto Image Viewer is an application
     5.5 -that can be used to view, and scroll through images.
     5.6 -It can be used to run a slideshow of images,
     5.7 -open images with other applications like an image-editor
     5.8 -or configure an image as the desktop wallpaper.
     5.9 -
    5.10 -The image types supported by Ristretto are those
    5.11 -supported by the gdk-pixbuf library.
    5.12 -This library itself supports a number of basic image types
    5.13 -(JPEG, PNG, TIFF, etc.), but then relies on optional
    5.14 -libraries to extend the range of supported image types.
    5.15 -This means that you will have to install these libraries
    5.16 -yourself to extend the range of image types supported by
    5.17 -Ristretto.
    5.18 -Examples: libwmf, libopenraw, libavif, libheif, libjxl,
    5.19 -librsvg, webp-pixbuf-loader. 
     6.1 --- a/xfce4-ristretto/receipt	Sat Aug 17 17:12:02 2024 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,55 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="xfce4-ristretto"
     6.7 -VERSION="0.8.5"
     6.8 -CATEGORY="x-window"
     6.9 -TAGS="image viewer"
    6.10 -SHORT_DESC="Picture-viewer for Xfce."
    6.11 -MAINTAINER="erjo@slitaz.org"
    6.12 -LICENSE="GPL2"
    6.13 -WEB_SITE="https://docs.xfce.org/apps/ristretto/start"
    6.14 -
    6.15 -SOURCE="ristretto"
    6.16 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    6.17 -WGET_URL="https://archive.xfce.org/src/apps/$SOURCE/${VERSION%.*}/$TARBALL"
    6.18 -
    6.19 -SUGGESTED="tumbler"	# to show previews in thumbnail bar
    6.20 -DEPENDS="dbus-glib libexif libxfce4ui libxfce4util xfconf"
    6.21 -BUILD_DEPENDS="dbus-glib-dev intltool libexif-dev libxfce4ui-dev
    6.22 -	libxfce4util-dev xfconf-dev"
    6.23 -
    6.24 -# What is the latest version available today?
    6.25 -current_version()
    6.26 -{
    6.27 -	wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
    6.28 -	sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
    6.29 -	sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
    6.30 -}
    6.31 -
    6.32 -# Rules to configure and make the package.
    6.33 -compile_rules()
    6.34 -{
    6.35 -	./configure &&
    6.36 -	make &&
    6.37 -	make install
    6.38 -}
    6.39 -
    6.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.41 -genpkg_rules()
    6.42 -{
    6.43 -	mkdir -p $fs/usr/share/icons/hicolor
    6.44 -	mkdir -p $fs/usr/share/pixmaps 
    6.45 -		
    6.46 -	cp -a $install/usr/bin				$fs/usr
    6.47 -	cp -a $install/usr/share/icons/hicolor/16*	$fs/usr/share/icons/hicolor
    6.48 -	cp -a $install/usr/share/icons/hicolor/48*	$fs/usr/share/icons/hicolor
    6.49 -	ln -s /usr/share/icons/hicolor/48x48/apps/$SOURCE.png \
    6.50 -							$fs/usr/share/pixmaps/$SOURCE.png
    6.51 -}
    6.52 -
    6.53 -post_install()
    6.54 -{
    6.55 -	echo
    6.56 -	echo "Executing post-install command"
    6.57 -	gtk-update-icon-cache -f -t -q "$1/usr/share/icons/hicolor"
    6.58 -}