wok rev 24111

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 28 17:26:43 2021 +0000 (2021-09-28)
parents 211f545ad84b
children b77195a00671
files adwaita-icon-theme/receipt at-spi2-atk/receipt at-spi2/receipt brasero/receipt cantarell-fonts/receipt d-feet/receipt dia/receipt easytag/receipt ekiga/receipt evince/receipt evolution-data-server/receipt glade3/receipt gmime/receipt gnet/receipt gnome-calculator/receipt gnome-desktop/receipt gnome-doc-utils/receipt gnome-games/receipt gnome-icon-theme/receipt gnome-js-common/receipt gnome-keyring/receipt gnome-menus/receipt gnome-mime-data/receipt gnome-python-desktop/receipt gnome-python/receipt gnome-vfs-monikers/receipt gnome-vfs/receipt gnumeric/receipt gob2/receipt gobject-introspection/receipt goffice-gtk2/receipt goffice/receipt goocanvas/receipt gsettings-desktop-schemas/receipt gssdp/receipt gst-ffmpeg-small/receipt gst-ffmpeg/receipt gst-libav/receipt gst-plugins-bad/receipt gst-plugins-base-1.0/receipt gst-plugins-base/receipt gst-plugins-good/receipt gst-plugins-ugly/receipt gstreamer/receipt gtk+/receipt gtk+3/receipt gtk-doc/receipt gtk-engines/receipt gtk-vnc/receipt gtk2-engine-murrine/receipt gtksourceview/receipt gucharmap/receipt gucharmap3/receipt gupnp/receipt gyrus/receipt imlib/receipt json-glib/receipt libIDL/receipt libart_lgpl/receipt libbonobo/receipt libbonoboui/receipt libcroco/receipt libgee/receipt libglademm/receipt libgnome-keyring/receipt libgnome/receipt libgnomecanvas/receipt libgnomecanvasmm/receipt libgnomeprint/receipt libgnomeprintui/receipt libgnomeui/receipt libgsf/receipt libgtkhtml/receipt libgtop/receipt libnotify-gtk3/receipt liboobs/receipt librsvg/receipt libsecret/receipt libunique-gtk3/receipt libwnck3/receipt libxml++/receipt meld/receipt midori/receipt mm-common/receipt mobile-broadband-provider-info/receipt moserial/receipt network-manager/receipt notification-daemon/receipt opal/receipt pango/receipt pangox-compat/receipt pygobject/receipt pygobject3/receipt pygtk/receipt pygtksourceview/receipt pyorbit/receipt python-gazpacho/receipt python-kiwi/receipt rarian/receipt seed/receipt system-tools-backends/receipt ttf-bitstream-vera/receipt vala/receipt yelp-tools/receipt yelp-xsl/receipt zenity/receipt
line diff
     1.1 --- a/adwaita-icon-theme/receipt	Tue Sep 28 10:48:56 2021 +0000
     1.2 +++ b/adwaita-icon-theme/receipt	Tue Sep 28 17:26:43 2021 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  
     1.5  PACKAGE="adwaita-icon-theme"
     1.6  VERSION="3.34.3"
     1.7 -SERIES="3.34"	# first two numbers from version
     1.8 +SERIES="${VERSION%.*}"	# first two numbers from version
     1.9  CATEGORY="customization"
    1.10  SHORT_DESC="A collection of icons used at the basis for GNOME themes."
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12 @@ -15,6 +15,12 @@
    1.13  DEPENDS=""
    1.14  BUILD_DEPENDS=""
    1.15  
    1.16 +current_version()
    1.17 +{
    1.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    1.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    1.20 +}
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
     2.1 --- a/at-spi2-atk/receipt	Tue Sep 28 10:48:56 2021 +0000
     2.2 +++ b/at-spi2-atk/receipt	Tue Sep 28 17:26:43 2021 +0000
     2.3 @@ -13,6 +13,12 @@
     2.4  DEPENDS="atk dbus util-linux-uuid at-spi2"
     2.5  BUILD_DEPENDS="at-spi2 atk-dev dbus-dev util-linux-uuid-dev"
     2.6  
     2.7 +current_version()
     2.8 +{
     2.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    2.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    2.11 +}
    2.12 +
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
     3.1 --- a/at-spi2/receipt	Tue Sep 28 10:48:56 2021 +0000
     3.2 +++ b/at-spi2/receipt	Tue Sep 28 17:26:43 2021 +0000
     3.3 @@ -14,6 +14,12 @@
     3.4  DEPENDS="dbus glib gobject-introspection util-linux-uuid"
     3.5  BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev util-linux-uuid-dev"
     3.6  
     3.7 +current_version()
     3.8 +{
     3.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    3.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    3.11 +}
    3.12 +
    3.13  # Rules to configure and make the package.
    3.14  compile_rules()
    3.15  {
     4.1 --- a/brasero/receipt	Tue Sep 28 10:48:56 2021 +0000
     4.2 +++ b/brasero/receipt	Tue Sep 28 17:26:43 2021 +0000
     4.3 @@ -18,6 +18,12 @@
     4.4  gnome-doc-utils libxml2-python libvorbis-dev libogg-dev util-linux-uuid-dev \
     4.5  intltool libtool file"
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    4.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    4.11 +}
    4.12 +
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
     5.1 --- a/cantarell-fonts/receipt	Tue Sep 28 10:48:56 2021 +0000
     5.2 +++ b/cantarell-fonts/receipt	Tue Sep 28 17:26:43 2021 +0000
     5.3 @@ -14,6 +14,12 @@
     5.4  
     5.5  DEPENDS="fontconfig"
     5.6  
     5.7 +current_version()
     5.8 +{
     5.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    5.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;/>ca/d" | sort -Vr | sed q
    5.11 +}
    5.12 +
    5.13  # Rules to configure and make the package.
    5.14  compile_rules()
    5.15  {
     6.1 --- a/d-feet/receipt	Tue Sep 28 10:48:56 2021 +0000
     6.2 +++ b/d-feet/receipt	Tue Sep 28 17:26:43 2021 +0000
     6.3 @@ -8,11 +8,17 @@
     6.4  LICENSE="GPL2"
     6.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
     6.6  WEB_SITE="https://live.gnome.org/DFeet/"
     6.7 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION:0:3}/$TARBALL"
     6.8 +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
     6.9  
    6.10  DEPENDS="dbus dbus-python pygtk python"
    6.11  BUILD_DEPENDS="dbus-dev dbus-python-dev pygtk-dev python-dev python-setuptools"
    6.12  
    6.13 +current_version()
    6.14 +{
    6.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    6.16 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    6.17 +}
    6.18 +
    6.19  # Rules to configure and make the package.
    6.20  compile_rules()
    6.21  {
     7.1 --- a/dia/receipt	Tue Sep 28 10:48:56 2021 +0000
     7.2 +++ b/dia/receipt	Tue Sep 28 17:26:43 2021 +0000
     7.3 @@ -18,6 +18,12 @@
     7.4  libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev \
     7.5  docbook-xsl docbook-xml cairo-dev pango-dev librsvg-dev"
     7.6  
     7.7 +current_version()
     7.8 +{
     7.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    7.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    7.11 +}
    7.12 +
    7.13  # Rules to configure and make the package.
    7.14  compile_rules()
    7.15  {
     8.1 --- a/easytag/receipt	Tue Sep 28 10:48:56 2021 +0000
     8.2 +++ b/easytag/receipt	Tue Sep 28 17:26:43 2021 +0000
     8.3 @@ -15,6 +15,12 @@
     8.4  DEPENDS="flac gcc-lib-base gtk+3 id3lib libid3tag libvorbis xorg-libXdamage"
     8.5  BUILD_DEPENDS="expat-dev gtk+3-dev id3lib id3lib-dev itstool libid3tag-dev"
     8.6  
     8.7 +current_version()
     8.8 +{
     8.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    8.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    8.11 +}
    8.12 +
    8.13  # Rules to configure and make the package.
    8.14  compile_rules()
    8.15  {
     9.1 --- a/ekiga/receipt	Tue Sep 28 10:48:56 2021 +0000
     9.2 +++ b/ekiga/receipt	Tue Sep 28 17:26:43 2021 +0000
     9.3 @@ -17,6 +17,12 @@
     9.4  dbus-glib expat gtk+ libsigc++ libxml2 xorg-libXdamage"
     9.5  TAGS="telephony"
     9.6  
     9.7 +current_version()
     9.8 +{
     9.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
    9.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
    9.11 +}
    9.12 +
    9.13  # Rules to configure and make the package.
    9.14  compile_rules()
    9.15  {
    10.1 --- a/evince/receipt	Tue Sep 28 10:48:56 2021 +0000
    10.2 +++ b/evince/receipt	Tue Sep 28 17:26:43 2021 +0000
    10.3 @@ -8,7 +8,7 @@
    10.4  LICENSE="GPL2"
    10.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    10.6  WEB_SITE="http://projects.gnome.org/evince/"
    10.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    10.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    10.9  TAGS="viewer pdf tiff ps postscript dvi"
   10.10  
   10.11  DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid"
   10.12 @@ -16,6 +16,12 @@
   10.13  gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \
   10.14  poppler-dev tiff-dev dbus-glib-dev xorg-dev"
   10.15  
   10.16 +current_version()
   10.17 +{
   10.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   10.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   10.20 +}
   10.21 +
   10.22  # Rules to configure and make the package.
   10.23  compile_rules()
   10.24  {
    11.1 --- a/evolution-data-server/receipt	Tue Sep 28 10:48:56 2021 +0000
    11.2 +++ b/evolution-data-server/receipt	Tue Sep 28 17:26:43 2021 +0000
    11.3 @@ -15,6 +15,12 @@
    11.4  GConf-dev libical-dev firefox-dev db-dev libxcb-dev popt-dev bison flex \
    11.5  glib-dev sqlite-dev dbus-glib-dev"
    11.6  
    11.7 +current_version()
    11.8 +{
    11.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   11.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   11.11 +}
   11.12 +
   11.13  # Rules to configure and make the package.
   11.14  compile_rules()
   11.15  {
    12.1 --- a/glade3/receipt	Tue Sep 28 10:48:56 2021 +0000
    12.2 +++ b/glade3/receipt	Tue Sep 28 17:26:43 2021 +0000
    12.3 @@ -16,6 +16,12 @@
    12.4  BUILD_DEPENDS="expat-dev gtk+-dev intltool itstool libgnome 
    12.5  	libxml2-dev python"
    12.6  
    12.7 +current_version()
    12.8 +{
    12.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   12.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   12.11 +}
   12.12 +
   12.13  # Rules to configure and make the package.
   12.14  compile_rules()
   12.15  {
    13.1 --- a/gmime/receipt	Tue Sep 28 10:48:56 2021 +0000
    13.2 +++ b/gmime/receipt	Tue Sep 28 17:26:43 2021 +0000
    13.3 @@ -14,6 +14,12 @@
    13.4  DEPENDS="glib gpgme zlib"
    13.5  BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev"
    13.6  
    13.7 +current_version()
    13.8 +{
    13.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   13.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   13.11 +}
   13.12 +
   13.13  # Rules to configure and make the package.
   13.14  compile_rules()
   13.15  {
    14.1 --- a/gnet/receipt	Tue Sep 28 10:48:56 2021 +0000
    14.2 +++ b/gnet/receipt	Tue Sep 28 17:26:43 2021 +0000
    14.3 @@ -13,6 +13,12 @@
    14.4  DEPENDS="glib"
    14.5  BUILD_DEPENDS="glib-dev util-linux-uuid-dev" 
    14.6  
    14.7 +current_version()
    14.8 +{
    14.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   14.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   14.11 +}
   14.12 +
   14.13  # Rules to configure and make the package.
   14.14  compile_rules()
   14.15  {
    15.1 --- a/gnome-calculator/receipt	Tue Sep 28 10:48:56 2021 +0000
    15.2 +++ b/gnome-calculator/receipt	Tue Sep 28 17:26:43 2021 +0000
    15.3 @@ -19,6 +19,12 @@
    15.4  pa pl pt_BR pt ro ru rw si sk sl sq sr@latin sr sv ta te tg th tk tr ug uk vi \
    15.5  xh zh_CN zh_HK zh_TW"
    15.6  
    15.7 +current_version()
    15.8 +{
    15.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   15.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   15.11 +}
   15.12 +
   15.13  # Rules to configure and make the package.
   15.14  compile_rules()
   15.15  {
    16.1 --- a/gnome-desktop/receipt	Tue Sep 28 10:48:56 2021 +0000
    16.2 +++ b/gnome-desktop/receipt	Tue Sep 28 17:26:43 2021 +0000
    16.3 @@ -14,6 +14,12 @@
    16.4  BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev \
    16.5  dbus-glib-dev intltool gtk+-dev"
    16.6  
    16.7 +current_version()
    16.8 +{
    16.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   16.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   16.11 +}
   16.12 +
   16.13  # Rules to configure and make the package.
   16.14  compile_rules()
   16.15  {
    17.1 --- a/gnome-doc-utils/receipt	Tue Sep 28 10:48:56 2021 +0000
    17.2 +++ b/gnome-doc-utils/receipt	Tue Sep 28 17:26:43 2021 +0000
    17.3 @@ -14,6 +14,12 @@
    17.4  BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \
    17.5  intltool"
    17.6  
    17.7 +current_version()
    17.8 +{
    17.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   17.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   17.11 +}
   17.12 +
   17.13  # Rules to configure and make the package.
   17.14  compile_rules()
   17.15  {
    18.1 --- a/gnome-games/receipt	Tue Sep 28 10:48:56 2021 +0000
    18.2 +++ b/gnome-games/receipt	Tue Sep 28 17:26:43 2021 +0000
    18.3 @@ -17,6 +17,12 @@
    18.4  libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \
    18.5  libffi-dev"
    18.6  
    18.7 +current_version()
    18.8 +{
    18.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   18.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   18.11 +}
   18.12 +
   18.13  # Rules to configure and make the package.
   18.14  compile_rules()
   18.15  {
    19.1 --- a/gnome-icon-theme/receipt	Tue Sep 28 10:48:56 2021 +0000
    19.2 +++ b/gnome-icon-theme/receipt	Tue Sep 28 17:26:43 2021 +0000
    19.3 @@ -12,6 +12,12 @@
    19.4  
    19.5  BUILD_DEPENDS="icon-naming-utils intltool pkg-config gtk+"
    19.6  
    19.7 +current_version()
    19.8 +{
    19.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   19.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   19.11 +}
   19.12 +
   19.13  # Rules to configure and make the package.
   19.14  compile_rules()
   19.15  {
    20.1 --- a/gnome-js-common/receipt	Tue Sep 28 10:48:56 2021 +0000
    20.2 +++ b/gnome-js-common/receipt	Tue Sep 28 17:26:43 2021 +0000
    20.3 @@ -13,6 +13,12 @@
    20.4  DEPENDS=""
    20.5  BUILD_DEPENDS="intltool"
    20.6  
    20.7 +current_version()
    20.8 +{
    20.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   20.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   20.11 +}
   20.12 +
   20.13  # Rules to configure and make the package.
   20.14  compile_rules()
   20.15  {
    21.1 --- a/gnome-keyring/receipt	Tue Sep 28 10:48:56 2021 +0000
    21.2 +++ b/gnome-keyring/receipt	Tue Sep 28 17:26:43 2021 +0000
    21.3 @@ -14,6 +14,12 @@
    21.4  BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool file \
    21.5  gtk+-dev"
    21.6  
    21.7 +current_version()
    21.8 +{
    21.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   21.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   21.11 +}
   21.12 +
   21.13  # Rules to configure and make the package.
   21.14  compile_rules()
   21.15  {
    22.1 --- a/gnome-menus/receipt	Tue Sep 28 10:48:56 2021 +0000
    22.2 +++ b/gnome-menus/receipt	Tue Sep 28 17:26:43 2021 +0000
    22.3 @@ -14,6 +14,12 @@
    22.4  BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev"
    22.5  SUGGESTED="python gamin"
    22.6  
    22.7 +current_version()
    22.8 +{
    22.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   22.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   22.11 +}
   22.12 +
   22.13  # Rules to configure and make the package.
   22.14  compile_rules()
   22.15  {
    23.1 --- a/gnome-mime-data/receipt	Tue Sep 28 10:48:56 2021 +0000
    23.2 +++ b/gnome-mime-data/receipt	Tue Sep 28 17:26:43 2021 +0000
    23.3 @@ -13,6 +13,12 @@
    23.4  DEPENDS="perl-xml-parser"
    23.5  BUILD_DEPENDS="perl-xml-parser gettext"
    23.6  
    23.7 +current_version()
    23.8 +{
    23.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   23.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   23.11 +}
   23.12 +
   23.13  # Rules to configure and make the package.
   23.14  compile_rules()
   23.15  {
    24.1 --- a/gnome-python-desktop/receipt	Tue Sep 28 10:48:56 2021 +0000
    24.2 +++ b/gnome-python-desktop/receipt	Tue Sep 28 17:26:43 2021 +0000
    24.3 @@ -14,6 +14,12 @@
    24.4  BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \
    24.5  gnome-keyring-dev librsvg-dev libwnck-dev pygtk-dev gnome-python-dev"
    24.6  
    24.7 +current_version()
    24.8 +{
    24.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   24.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   24.11 +}
   24.12 +
   24.13  # Rules to configure and make the package.
   24.14  compile_rules()
   24.15  {
    25.1 --- a/gnome-python/receipt	Tue Sep 28 10:48:56 2021 +0000
    25.2 +++ b/gnome-python/receipt	Tue Sep 28 17:26:43 2021 +0000
    25.3 @@ -14,6 +14,12 @@
    25.4  BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \
    25.5  esound libxml2-dev"
    25.6  
    25.7 +current_version()
    25.8 +{
    25.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   25.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   25.11 +}
   25.12 +
   25.13  # Rules to configure and make the package.
   25.14  compile_rules()
   25.15  {
    26.1 --- a/gnome-vfs-monikers/receipt	Tue Sep 28 10:48:56 2021 +0000
    26.2 +++ b/gnome-vfs-monikers/receipt	Tue Sep 28 17:26:43 2021 +0000
    26.3 @@ -13,6 +13,12 @@
    26.4  DEPENDS="gnome-vfs libbonobo"
    26.5  BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev dbus-glib-dev"
    26.6  
    26.7 +current_version()
    26.8 +{
    26.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   26.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   26.11 +}
   26.12 +
   26.13  # Rules to configure and make the package.
   26.14  compile_rules()
   26.15  {
    27.1 --- a/gnome-vfs/receipt	Tue Sep 28 10:48:56 2021 +0000
    27.2 +++ b/gnome-vfs/receipt	Tue Sep 28 17:26:43 2021 +0000
    27.3 @@ -15,6 +15,12 @@
    27.4  BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
    27.5  libxml2-dev zlib-dev intltool pkg-config"
    27.6  
    27.7 +current_version()
    27.8 +{
    27.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   27.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   27.11 +}
   27.12 +
   27.13  # Rules to configure and make the package.
   27.14  compile_rules()
   27.15  {
    28.1 --- a/gnumeric/receipt	Tue Sep 28 10:48:56 2021 +0000
    28.2 +++ b/gnumeric/receipt	Tue Sep 28 17:26:43 2021 +0000
    28.3 @@ -18,6 +18,12 @@
    28.4  xorg-libXinerama xorg-libXrandr xorg-libXrender zlib dconf"
    28.5  BUILD_DEPENDS="gtk-doc bison goffice-dev gtk+3-dev libcroco-dev rarian"
    28.6  
    28.7 +current_version()
    28.8 +{
    28.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   28.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   28.11 +}
   28.12 +
   28.13  # Rules to configure and make the package.
   28.14  compile_rules()
   28.15  {
    29.1 --- a/gob2/receipt	Tue Sep 28 10:48:56 2021 +0000
    29.2 +++ b/gob2/receipt	Tue Sep 28 17:26:43 2021 +0000
    29.3 @@ -15,8 +15,13 @@
    29.4  BUILD_DEPENDS="flex glib-dev"
    29.5  HOST_ARCH="i486 arm"
    29.6  
    29.7 +current_version()
    29.8 +{
    29.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   29.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   29.11 +}
   29.12 +
   29.13  # Rules to configure and make the package.
   29.14 -
   29.15  compile_rules()
   29.16  {
   29.17  	./configure $CONFIGURE_ARGS &&
    30.1 --- a/gobject-introspection/receipt	Tue Sep 28 10:48:56 2021 +0000
    30.2 +++ b/gobject-introspection/receipt	Tue Sep 28 17:26:43 2021 +0000
    30.3 @@ -24,6 +24,12 @@
    30.4  		BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;;
    30.5  esac
    30.6  
    30.7 +current_version()
    30.8 +{
    30.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   30.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   30.11 +}
   30.12 +
   30.13  # Rules to configure and make the package.
   30.14  compile_rules()
   30.15  {
    31.1 --- a/goffice-gtk2/receipt	Tue Sep 28 10:48:56 2021 +0000
    31.2 +++ b/goffice-gtk2/receipt	Tue Sep 28 17:26:43 2021 +0000
    31.3 @@ -15,6 +15,12 @@
    31.4  BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \
    31.5  expat-dev bzip2-dev librsvg-dev"
    31.6  
    31.7 +current_version()
    31.8 +{
    31.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   31.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   31.11 +}
   31.12 +
   31.13  # Rules to configure and make the package.
   31.14  compile_rules()
   31.15  {
    32.1 --- a/goffice/receipt	Tue Sep 28 10:48:56 2021 +0000
    32.2 +++ b/goffice/receipt	Tue Sep 28 17:26:43 2021 +0000
    32.3 @@ -21,6 +21,12 @@
    32.4  BUILD_DEPENDS="cairo-dev gtk-doc gtk+3-dev libcroco-dev libgsf-dev 
    32.5  	librsvg-dev libxslt-dev perl-io-compress"
    32.6  
    32.7 +current_version()
    32.8 +{
    32.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   32.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   32.11 +}
   32.12 +
   32.13  # Rules to configure and make the package.
   32.14  compile_rules()
   32.15  {
    33.1 --- a/goocanvas/receipt	Tue Sep 28 10:48:56 2021 +0000
    33.2 +++ b/goocanvas/receipt	Tue Sep 28 17:26:43 2021 +0000
    33.3 @@ -14,6 +14,12 @@
    33.4  DEPENDS="gtk+3"
    33.5  BUILD_DEPENDS="gtk+3-dev"
    33.6  
    33.7 +current_version()
    33.8 +{
    33.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   33.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   33.11 +}
   33.12 +
   33.13  # Rules to configure and make the package.
   33.14  compile_rules()
   33.15  {
    34.1 --- a/gsettings-desktop-schemas/receipt	Tue Sep 28 10:48:56 2021 +0000
    34.2 +++ b/gsettings-desktop-schemas/receipt	Tue Sep 28 17:26:43 2021 +0000
    34.3 @@ -14,6 +14,12 @@
    34.4  DEPENDS=""
    34.5  BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja"
    34.6  
    34.7 +current_version()
    34.8 +{
    34.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   34.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   34.11 +}
   34.12 +
   34.13  # Rules to configure and make the package.
   34.14  compile_rules()
   34.15  {
    35.1 --- a/gssdp/receipt	Tue Sep 28 10:48:56 2021 +0000
    35.2 +++ b/gssdp/receipt	Tue Sep 28 17:26:43 2021 +0000
    35.3 @@ -13,6 +13,12 @@
    35.4  DEPENDS="libsoup"
    35.5  BUILD_DEPENDS="wget pkg-config libsoup-dev sqlite-dev"
    35.6  
    35.7 +current_version()
    35.8 +{
    35.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   35.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   35.11 +}
   35.12 +
   35.13  # Rules to configure and make the package.
   35.14  compile_rules()
   35.15  {
    36.1 --- a/gst-ffmpeg-small/receipt	Tue Sep 28 10:48:56 2021 +0000
    36.2 +++ b/gst-ffmpeg-small/receipt	Tue Sep 28 17:26:43 2021 +0000
    36.3 @@ -3,7 +3,7 @@
    36.4  PACKAGE="gst-ffmpeg-small"
    36.5  SOURCE="gst-ffmpeg"
    36.6  VERSION="0.10.13"
    36.7 -SERIES="0.10"
    36.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    36.9  CATEGORY="multimedia"
   36.10  SHORT_DESC="GStreamer FFmpeg Plugins"
   36.11  MAINTAINER="psychomaniak@xakep.ru"
    37.1 --- a/gst-ffmpeg/receipt	Tue Sep 28 10:48:56 2021 +0000
    37.2 +++ b/gst-ffmpeg/receipt	Tue Sep 28 17:26:43 2021 +0000
    37.3 @@ -2,7 +2,7 @@
    37.4  
    37.5  PACKAGE="gst-ffmpeg"
    37.6  VERSION="0.10.13"
    37.7 -SERIES="0.10"
    37.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    37.9  CATEGORY="multimedia"
   37.10  SHORT_DESC="GStreamer FFmpeg Plugins"
   37.11  MAINTAINER="jozee@slitaz.org"
    38.1 --- a/gst-libav/receipt	Tue Sep 28 10:48:56 2021 +0000
    38.2 +++ b/gst-libav/receipt	Tue Sep 28 17:26:43 2021 +0000
    38.3 @@ -2,7 +2,7 @@
    38.4  
    38.5  PACKAGE="gst-libav"
    38.6  VERSION="1.16.2"
    38.7 -SERIES="1.0"
    38.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    38.9  CATEGORY="multimedia"
   38.10  SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin."
   38.11  MAINTAINER="psychomaniak@xakep.ru"
    39.1 --- a/gst-plugins-bad/receipt	Tue Sep 28 10:48:56 2021 +0000
    39.2 +++ b/gst-plugins-bad/receipt	Tue Sep 28 17:26:43 2021 +0000
    39.3 @@ -2,7 +2,7 @@
    39.4  
    39.5  PACKAGE="gst-plugins-bad"
    39.6  VERSION="0.10.23"
    39.7 -SERIES="0.10"
    39.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    39.9  CATEGORY="multimedia"
   39.10  SHORT_DESC="GStreamer Bad Plugins"
   39.11  MAINTAINER="jozee@slitaz.org"
    40.1 --- a/gst-plugins-base-1.0/receipt	Tue Sep 28 10:48:56 2021 +0000
    40.2 +++ b/gst-plugins-base-1.0/receipt	Tue Sep 28 17:26:43 2021 +0000
    40.3 @@ -2,7 +2,7 @@
    40.4  
    40.5  PACKAGE="gst-plugins-base-1.0"
    40.6  VERSION="1.16.2"
    40.7 -SERIES="1.0"
    40.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    40.9  CATEGORY="multimedia"
   40.10  SHORT_DESC="GStreamer Base Plugins."
   40.11  MAINTAINER="pankso@slitaz.org"
    41.1 --- a/gst-plugins-base/receipt	Tue Sep 28 10:48:56 2021 +0000
    41.2 +++ b/gst-plugins-base/receipt	Tue Sep 28 17:26:43 2021 +0000
    41.3 @@ -2,7 +2,7 @@
    41.4  
    41.5  PACKAGE="gst-plugins-base"
    41.6  VERSION="0.10.36"
    41.7 -SERIES="0.10"
    41.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    41.9  CATEGORY="multimedia"
   41.10  SHORT_DESC="GStreamer Base Plugins"
   41.11  MAINTAINER="jozee@slitaz.org"
    42.1 --- a/gst-plugins-good/receipt	Tue Sep 28 10:48:56 2021 +0000
    42.2 +++ b/gst-plugins-good/receipt	Tue Sep 28 17:26:43 2021 +0000
    42.3 @@ -2,7 +2,7 @@
    42.4  
    42.5  PACKAGE="gst-plugins-good"
    42.6  VERSION="0.10.31"
    42.7 -SERIES="0.10"
    42.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    42.9  CATEGORY="multimedia"
   42.10  SHORT_DESC="GStreamer Good Plugins"
   42.11  MAINTAINER="jozee@slitaz.org"
    43.1 --- a/gst-plugins-ugly/receipt	Tue Sep 28 10:48:56 2021 +0000
    43.2 +++ b/gst-plugins-ugly/receipt	Tue Sep 28 17:26:43 2021 +0000
    43.3 @@ -2,7 +2,7 @@
    43.4  
    43.5  PACKAGE="gst-plugins-ugly"
    43.6  VERSION="0.10.19"
    43.7 -SERIES="0.10"
    43.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    43.9  CATEGORY="multimedia"
   43.10  SHORT_DESC="GStreamer Ugly Plugins"
   43.11  MAINTAINER="jozee@slitaz.org"
    44.1 --- a/gstreamer/receipt	Tue Sep 28 10:48:56 2021 +0000
    44.2 +++ b/gstreamer/receipt	Tue Sep 28 17:26:43 2021 +0000
    44.3 @@ -2,7 +2,7 @@
    44.4  
    44.5  PACKAGE="gstreamer"
    44.6  VERSION="0.10.36"
    44.7 -SERIES="0.10"
    44.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    44.9  CATEGORY="multimedia"
   44.10  SHORT_DESC="GStreamer Multimedia Framework"
   44.11  MAINTAINER="jozee@slitaz.org"
    45.1 --- a/gtk+/receipt	Tue Sep 28 10:48:56 2021 +0000
    45.2 +++ b/gtk+/receipt	Tue Sep 28 17:26:43 2021 +0000
    45.3 @@ -9,7 +9,7 @@
    45.4  WEB_SITE="https://www.gtk.org/"
    45.5  
    45.6  TARBALL="$PACKAGE-$VERSION.tar.xz"
    45.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    45.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    45.9  
   45.10  SUGGESTED="cups gnutls libgcrypt libgpg-error"
   45.11  DEPENDS="atk cairo expat fontconfig freetype gdk-pixbuf glib glibc-base 
    46.1 --- a/gtk+3/receipt	Tue Sep 28 10:48:56 2021 +0000
    46.2 +++ b/gtk+3/receipt	Tue Sep 28 17:26:43 2021 +0000
    46.3 @@ -37,6 +37,12 @@
    46.4  		export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;;
    46.5  esac
    46.6  
    46.7 +current_version()
    46.8 +{
    46.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   46.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   46.11 +}
   46.12 +
   46.13  # Rules to configure and make the package.
   46.14  compile_rules()
   46.15  {
    47.1 --- a/gtk-doc/receipt	Tue Sep 28 10:48:56 2021 +0000
    47.2 +++ b/gtk-doc/receipt	Tue Sep 28 17:26:43 2021 +0000
    47.3 @@ -14,6 +14,12 @@
    47.4  DEPENDS="py3k"
    47.5  BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl py3k"
    47.6  
    47.7 +current_version()
    47.8 +{
    47.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   47.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   47.11 +}
   47.12 +
   47.13  # Rules to configure and make the package.
   47.14  compile_rules()
   47.15  {
    48.1 --- a/gtk-engines/receipt	Tue Sep 28 10:48:56 2021 +0000
    48.2 +++ b/gtk-engines/receipt	Tue Sep 28 17:26:43 2021 +0000
    48.3 @@ -8,11 +8,17 @@
    48.4  LICENSE="GPL2"
    48.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    48.6  WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html"
    48.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    48.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    48.9  
   48.10  DEPENDS="gtk+ xorg-libXdamage"
   48.11  BUILD_DEPENDS="pkg-config file gtk+-dev"
   48.12  
   48.13 +current_version()
   48.14 +{
   48.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   48.16 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   48.17 +}
   48.18 +
   48.19  # Rules to configure and make the package.
   48.20  compile_rules()
   48.21  {
    49.1 --- a/gtk-vnc/receipt	Tue Sep 28 10:48:56 2021 +0000
    49.2 +++ b/gtk-vnc/receipt	Tue Sep 28 17:26:43 2021 +0000
    49.3 @@ -20,6 +20,12 @@
    49.4  pulseaudio-dev util-linux-uuid-dev libjson-c-dev libsndfile-dev flac-dev \
    49.5  libvorbis-dev dbus-dev libgnutls"
    49.6  
    49.7 +current_version()
    49.8 +{
    49.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   49.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   49.11 +}
   49.12 +
   49.13  # Rules to configure and make the package.
   49.14  compile_rules()
   49.15  {
    50.1 --- a/gtk2-engine-murrine/receipt	Tue Sep 28 10:48:56 2021 +0000
    50.2 +++ b/gtk2-engine-murrine/receipt	Tue Sep 28 17:26:43 2021 +0000
    50.3 @@ -15,6 +15,12 @@
    50.4  DEPENDS="gtk+"
    50.5  BUILD_DEPENDS="gtk+-dev libxml2-dev"
    50.6  
    50.7 +current_version()
    50.8 +{
    50.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   50.10 +	sed '/murrine-[0-9]/!d;/tar/!d;s|.*murrine-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
   50.11 +}
   50.12 +
   50.13  # Rules to configure and make the package.
   50.14  compile_rules()
   50.15  {
    51.1 --- a/gtksourceview/receipt	Tue Sep 28 10:48:56 2021 +0000
    51.2 +++ b/gtksourceview/receipt	Tue Sep 28 17:26:43 2021 +0000
    51.3 @@ -15,6 +15,12 @@
    51.4  xorg-libXrandr xorg-libXrender xorg-libXdamage"
    51.5  BUILD_DEPENDS="intltool pkg-config gtk+-dev libxml2-dev expat-dev"
    51.6  
    51.7 +current_version()
    51.8 +{
    51.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   51.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   51.11 +}
   51.12 +
   51.13  # Rules to configure and make the package.
   51.14  compile_rules()
   51.15  {
    52.1 --- a/gucharmap/receipt	Tue Sep 28 10:48:56 2021 +0000
    52.2 +++ b/gucharmap/receipt	Tue Sep 28 17:26:43 2021 +0000
    52.3 @@ -14,6 +14,12 @@
    52.4  BUILD_DEPENDS="itstool libxml2-tools glib-dev libgio-dev gtk+-dev"
    52.5  SPLIT="gucharmap-i18n"
    52.6  
    52.7 +current_version()
    52.8 +{
    52.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   52.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   52.11 +}
   52.12 +
   52.13  # Rules to configure and make the package.
   52.14  compile_rules()
   52.15  {
    53.1 --- a/gucharmap3/receipt	Tue Sep 28 10:48:56 2021 +0000
    53.2 +++ b/gucharmap3/receipt	Tue Sep 28 17:26:43 2021 +0000
    53.3 @@ -15,6 +15,12 @@
    53.4  libgio-dev gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala"
    53.5  SPLIT="gucharmap3-i18n"
    53.6  
    53.7 +current_version()
    53.8 +{
    53.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   53.10 +	sed '/gucharmap-[0-9]/!d;/tar/!d;s|.*gucharmap-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
   53.11 +}
   53.12 +
   53.13  # Rules to configure and make the package.
   53.14  compile_rules()
   53.15  {
    54.1 --- a/gupnp/receipt	Tue Sep 28 10:48:56 2021 +0000
    54.2 +++ b/gupnp/receipt	Tue Sep 28 17:26:43 2021 +0000
    54.3 @@ -13,6 +13,12 @@
    54.4  DEPENDS="libsoup util-linux-uuid gssdp"
    54.5  BUILD_DEPENDS="wget libsoup-dev util-linux-uuid-dev gssdp-dev sqlite-dev"
    54.6  
    54.7 +current_version()
    54.8 +{
    54.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   54.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   54.11 +}
   54.12 +
   54.13  # Rules to configure and make the package.
   54.14  compile_rules()
   54.15  {
    55.1 --- a/gyrus/receipt	Tue Sep 28 10:48:56 2021 +0000
    55.2 +++ b/gyrus/receipt	Tue Sep 28 17:26:43 2021 +0000
    55.3 @@ -14,6 +14,12 @@
    55.4  DEPENDS="dbus GConf gnet gtk+ libglade ORBit2"
    55.5  BUILD_DEPENDS="dbus-dev GConf-dev gnet-dev gtk+ intltool libglade-dev ORBit2-dev"
    55.6  
    55.7 +current_version()
    55.8 +{
    55.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   55.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   55.11 +}
   55.12 +
   55.13  # Rules to configure and make the package.
   55.14  compile_rules()
   55.15  {
    56.1 --- a/imlib/receipt	Tue Sep 28 10:48:56 2021 +0000
    56.2 +++ b/imlib/receipt	Tue Sep 28 17:26:43 2021 +0000
    56.3 @@ -8,11 +8,17 @@
    56.4  LICENSE="GPL2"
    56.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    56.6  WEB_SITE="http://freshmeat.net/projects/imlib/"
    56.7 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    56.8 +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    56.9  
   56.10  DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib jpeg libpng tiff zlib util-linux-uuid"
   56.11  BUILD_DEPENDS="slitaz-toolchain xorg-dev xorg-xextproto giflib giflib-dev jpeg jpeg-dev libpng libpng-dev tiff tiff-dev zlib zlib-dev util-linux-uuid-dev"
   56.12  
   56.13 +current_version()
   56.14 +{
   56.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   56.16 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   56.17 +}
   56.18 +
   56.19  # Rules to configure and make the package.
   56.20  compile_rules()
   56.21  {
    57.1 --- a/json-glib/receipt	Tue Sep 28 10:48:56 2021 +0000
    57.2 +++ b/json-glib/receipt	Tue Sep 28 17:26:43 2021 +0000
    57.3 @@ -8,12 +8,18 @@
    57.4  LICENSE="LGPL2.1"
    57.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    57.6  WEB_SITE="http://live.gnome.org/JsonGlib"
    57.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    57.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    57.9  TAGS="javascript"
   57.10  
   57.11  DEPENDS="libgio glib"
   57.12  BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev"
   57.13  
   57.14 +current_version()
   57.15 +{
   57.16 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   57.17 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   57.18 +}
   57.19 +
   57.20  # Rules to configure and make the package.
   57.21  compile_rules()
   57.22  {
    58.1 --- a/libIDL/receipt	Tue Sep 28 10:48:56 2021 +0000
    58.2 +++ b/libIDL/receipt	Tue Sep 28 17:26:43 2021 +0000
    58.3 @@ -14,6 +14,12 @@
    58.4  DEPENDS="glib"
    58.5  BUILD_DEPENDS="bison flex glib-dev pkg-config"
    58.6  
    58.7 +current_version()
    58.8 +{
    58.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   58.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   58.11 +}
   58.12 +
   58.13  # Rules to configure and make the package.
   58.14  compile_rules()
   58.15  {
    59.1 --- a/libart_lgpl/receipt	Tue Sep 28 10:48:56 2021 +0000
    59.2 +++ b/libart_lgpl/receipt	Tue Sep 28 17:26:43 2021 +0000
    59.3 @@ -12,6 +12,12 @@
    59.4  
    59.5  DEPENDS="glibc-base"
    59.6  
    59.7 +current_version()
    59.8 +{
    59.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   59.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   59.11 +}
   59.12 +
   59.13  # Rules to configure and make the package.
   59.14  compile_rules()
   59.15  {
    60.1 --- a/libbonobo/receipt	Tue Sep 28 10:48:56 2021 +0000
    60.2 +++ b/libbonobo/receipt	Tue Sep 28 17:26:43 2021 +0000
    60.3 @@ -8,11 +8,17 @@
    60.4  LICENSE="GPL2"
    60.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
    60.6  WEB_SITE="https://developer.gnome.org/libbonobo/"
    60.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    60.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    60.9  
   60.10  DEPENDS="glib ORBit2 libxml2 libglade"
   60.11  BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
   60.12  
   60.13 +current_version()
   60.14 +{
   60.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   60.16 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   60.17 +}
   60.18 +
   60.19  # Rules to configure and make the package.
   60.20  compile_rules()
   60.21  {
    61.1 --- a/libbonoboui/receipt	Tue Sep 28 10:48:56 2021 +0000
    61.2 +++ b/libbonoboui/receipt	Tue Sep 28 17:26:43 2021 +0000
    61.3 @@ -18,6 +18,12 @@
    61.4  	libffi libglade-dev libgnome-dev libgnomecanvas-dev \
    61.5  	popt-dev util-linux-uuid-dev"
    61.6  
    61.7 +current_version()
    61.8 +{
    61.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   61.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   61.11 +}
   61.12 +
   61.13  # Rules to configure and make the package.
   61.14  compile_rules()
   61.15  {
    62.1 --- a/libcroco/receipt	Tue Sep 28 10:48:56 2021 +0000
    62.2 +++ b/libcroco/receipt	Tue Sep 28 17:26:43 2021 +0000
    62.3 @@ -16,6 +16,12 @@
    62.4  
    62.5  HOST_ARCH="i486 arm"
    62.6  
    62.7 +current_version()
    62.8 +{
    62.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   62.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   62.11 +}
   62.12 +
   62.13  # Rules to configure and make the package.
   62.14  compile_rules()
   62.15  {
    63.1 --- a/libgee/receipt	Tue Sep 28 10:48:56 2021 +0000
    63.2 +++ b/libgee/receipt	Tue Sep 28 17:26:43 2021 +0000
    63.3 @@ -14,6 +14,12 @@
    63.4  DEPENDS="glib libffi"
    63.5  BUILD_DEPENDS="bash glib-dev gobject-introspection-dev libffi-dev vala"
    63.6  
    63.7 +current_version()
    63.8 +{
    63.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   63.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   63.11 +}
   63.12 +
   63.13  # Rules to configure and make the package.
   63.14  compile_rules() 
   63.15  {
    64.1 --- a/libglademm/receipt	Tue Sep 28 10:48:56 2021 +0000
    64.2 +++ b/libglademm/receipt	Tue Sep 28 17:26:43 2021 +0000
    64.3 @@ -13,6 +13,12 @@
    64.4  DEPENDS="gtkmm libglade glibmm"
    64.5  BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev"
    64.6  
    64.7 +current_version()
    64.8 +{
    64.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   64.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   64.11 +}
   64.12 +
   64.13  # Rules to configure and make the package.
   64.14  compile_rules()
   64.15  {
    65.1 --- a/libgnome-keyring/receipt	Tue Sep 28 10:48:56 2021 +0000
    65.2 +++ b/libgnome-keyring/receipt	Tue Sep 28 17:26:43 2021 +0000
    65.3 @@ -16,6 +16,12 @@
    65.4  
    65.5  HOST_ARCH="i486 arm"
    65.6  
    65.7 +current_version()
    65.8 +{
    65.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   65.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   65.11 +}
   65.12 +
   65.13  # Rules to configure and make the package.
   65.14  compile_rules()
   65.15  {
    66.1 --- a/libgnome/receipt	Tue Sep 28 10:48:56 2021 +0000
    66.2 +++ b/libgnome/receipt	Tue Sep 28 17:26:43 2021 +0000
    66.3 @@ -16,6 +16,12 @@
    66.4  BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
    66.5  GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev"
    66.6  
    66.7 +current_version()
    66.8 +{
    66.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   66.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   66.11 +}
   66.12 +
   66.13  # Rules to configure and make the package.
   66.14  compile_rules()
   66.15  {
    67.1 --- a/libgnomecanvas/receipt	Tue Sep 28 10:48:56 2021 +0000
    67.2 +++ b/libgnomecanvas/receipt	Tue Sep 28 17:26:43 2021 +0000
    67.3 @@ -14,6 +14,12 @@
    67.4  BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \
    67.5  intltool"
    67.6  
    67.7 +current_version()
    67.8 +{
    67.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   67.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   67.11 +}
   67.12 +
   67.13  # Rules to configure and make the package.
   67.14  compile_rules()
   67.15  {
    68.1 --- a/libgnomecanvasmm/receipt	Tue Sep 28 10:48:56 2021 +0000
    68.2 +++ b/libgnomecanvasmm/receipt	Tue Sep 28 17:26:43 2021 +0000
    68.3 @@ -13,6 +13,12 @@
    68.4  DEPENDS="gtkmm libgnomecanvas"
    68.5  BUILD_DEPENDS="gtkmm-dev libgnomecanvas-dev"
    68.6  
    68.7 +current_version()
    68.8 +{
    68.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   68.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   68.11 +}
   68.12 +
   68.13  # Rules to configure and make the package.
   68.14  compile_rules()
   68.15  {
    69.1 --- a/libgnomeprint/receipt	Tue Sep 28 10:48:56 2021 +0000
    69.2 +++ b/libgnomeprint/receipt	Tue Sep 28 17:26:43 2021 +0000
    69.3 @@ -14,6 +14,12 @@
    69.4  BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \
    69.5  libxml2-dev"
    69.6  
    69.7 +current_version()
    69.8 +{
    69.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   69.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   69.11 +}
   69.12 +
   69.13  # Rules to configure and make the package.
   69.14  compile_rules()
   69.15  {
    70.1 --- a/libgnomeprintui/receipt	Tue Sep 28 10:48:56 2021 +0000
    70.2 +++ b/libgnomeprintui/receipt	Tue Sep 28 17:26:43 2021 +0000
    70.3 @@ -14,6 +14,12 @@
    70.4  BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \
    70.5  libgnomecanvas-dev libart_lgpl-dev intltool"
    70.6  
    70.7 +current_version()
    70.8 +{
    70.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   70.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   70.11 +}
   70.12 +
   70.13  # Rules to configure and make the package.
   70.14  compile_rules()
   70.15  {
    71.1 --- a/libgnomeui/receipt	Tue Sep 28 10:48:56 2021 +0000
    71.2 +++ b/libgnomeui/receipt	Tue Sep 28 17:26:43 2021 +0000
    71.3 @@ -15,6 +15,12 @@
    71.4  dbus-glib-dev esound-dev audiofile-dev libglade-dev intltool"
    71.5  WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    71.6  
    71.7 +current_version()
    71.8 +{
    71.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   71.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   71.11 +}
   71.12 +
   71.13  # Rules to configure and make the package.
   71.14  compile_rules()
   71.15  {
    72.1 --- a/libgsf/receipt	Tue Sep 28 10:48:56 2021 +0000
    72.2 +++ b/libgsf/receipt	Tue Sep 28 17:26:43 2021 +0000
    72.3 @@ -15,6 +15,12 @@
    72.4  	pcre zlib"
    72.5  BUILD_DEPENDS="gdk-pixbuf-dev glib-dev libgio-dev libxml2-dev zlib-dev"
    72.6  
    72.7 +current_version()
    72.8 +{
    72.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   72.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   72.11 +}
   72.12 +
   72.13  # Rules to configure and make the package.
   72.14  compile_rules()
   72.15  {
    73.1 --- a/libgtkhtml/receipt	Tue Sep 28 10:48:56 2021 +0000
    73.2 +++ b/libgtkhtml/receipt	Tue Sep 28 17:26:43 2021 +0000
    73.3 @@ -8,7 +8,7 @@
    73.4  LICENSE="LGPL2"
    73.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    73.6  WEB_SITE="http://freshmeat.net/projects/libgtkhtml/"
    73.7 -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    73.8 +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
    73.9  
   73.10  DEPENDS="glibc-base glib libgio expat libxml2 zlib \
   73.11  gtk+ cairo atk fontconfig freetype pango pixman libpng \
   73.12 @@ -16,6 +16,12 @@
   73.13  xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
   73.14  BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev"
   73.15  
   73.16 +current_version()
   73.17 +{
   73.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   73.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   73.20 +}
   73.21 +
   73.22  # Rules to configure and make the package.
   73.23  compile_rules()
   73.24  {
    74.1 --- a/libgtop/receipt	Tue Sep 28 10:48:56 2021 +0000
    74.2 +++ b/libgtop/receipt	Tue Sep 28 17:26:43 2021 +0000
    74.3 @@ -13,6 +13,12 @@
    74.4  DEPENDS="glib"
    74.5  BUILD_DEPENDS="glib-dev intltool"
    74.6  
    74.7 +current_version()
    74.8 +{
    74.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   74.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   74.11 +}
   74.12 +
   74.13  # Rules to configure and make the package.
   74.14  compile_rules()
   74.15  {
    75.1 --- a/libnotify-gtk3/receipt	Tue Sep 28 10:48:56 2021 +0000
    75.2 +++ b/libnotify-gtk3/receipt	Tue Sep 28 17:26:43 2021 +0000
    75.3 @@ -17,6 +17,12 @@
    75.4  BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \
    75.5  dbus-dev"
    75.6  
    75.7 +current_version()
    75.8 +{
    75.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   75.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   75.11 +}
   75.12 +
   75.13  # Rules to configure and make the package.
   75.14  compile_rules()
   75.15  {
    76.1 --- a/liboobs/receipt	Tue Sep 28 10:48:56 2021 +0000
    76.2 +++ b/liboobs/receipt	Tue Sep 28 17:26:43 2021 +0000
    76.3 @@ -14,6 +14,12 @@
    76.4  DEPENDS="dbus dbus-glib glib glibc-base libffi pcre system-tools-backends"
    76.5  BUILD_DEPENDS="dbus-glib-dev glib-dev system-tools-backends"
    76.6  
    76.7 +current_version()
    76.8 +{
    76.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   76.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   76.11 +}
   76.12 +
   76.13  # Rules to configure and make the package.
   76.14  compile_rules()
   76.15  {
    77.1 --- a/librsvg/receipt	Tue Sep 28 10:48:56 2021 +0000
    77.2 +++ b/librsvg/receipt	Tue Sep 28 17:26:43 2021 +0000
    77.3 @@ -8,7 +8,7 @@
    77.4  LICENSE="GPL2"
    77.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
    77.6  WEB_SITE="https://wiki.gnome.org/LibRsvg"
    77.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    77.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    77.9  HOST_ARCH="i486 arm"
   77.10  
   77.11  DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \
   77.12 @@ -23,6 +23,12 @@
   77.13  	gobject-introspection-dev gtk+3-dev" ;;
   77.14  esac
   77.15  
   77.16 +current_version()
   77.17 +{
   77.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   77.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   77.20 +}
   77.21 +
   77.22  # Rules to configure and make the package.
   77.23  compile_rules()
   77.24  {
    78.1 --- a/libsecret/receipt	Tue Sep 28 10:48:56 2021 +0000
    78.2 +++ b/libsecret/receipt	Tue Sep 28 17:26:43 2021 +0000
    78.3 @@ -2,7 +2,7 @@
    78.4  
    78.5  PACKAGE="libsecret"
    78.6  VERSION="0.18.5"
    78.7 -SERIES="0.18"
    78.8 +SERIES="${VERSION%.*}"	# first two numbers from version
    78.9  SHORT_DESC="GObject based library for accessing the Secret Service API"
   78.10  MAINTAINER="devl547@gmail.com"
   78.11  LICENSE="LGPL2.1"
   78.12 @@ -15,6 +15,12 @@
   78.13  DEPENDS="libgio libgpg-error"
   78.14  BUILD_DEPENDS="libgcrypt-dev gobject-introspection-dev vala"
   78.15  
   78.16 +current_version()
   78.17 +{
   78.18 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   78.19 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   78.20 +}
   78.21 +
   78.22  # Rules to configure and make the package.
   78.23  compile_rules()
   78.24  {
    79.1 --- a/libunique-gtk3/receipt	Tue Sep 28 10:48:56 2021 +0000
    79.2 +++ b/libunique-gtk3/receipt	Tue Sep 28 17:26:43 2021 +0000
    79.3 @@ -16,6 +16,12 @@
    79.4  BUILD_DEPENDS="glib-dev gtk+3-dev dbus-glib-dev gobject-introspection-dev \
    79.5  libxml2-dev"
    79.6  
    79.7 +current_version()
    79.8 +{
    79.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   79.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   79.11 +}
   79.12 +
   79.13  # Rules to configure and make the package.
   79.14  compile_rules()
   79.15  {
    80.1 --- a/libwnck3/receipt	Tue Sep 28 10:48:56 2021 +0000
    80.2 +++ b/libwnck3/receipt	Tue Sep 28 17:26:43 2021 +0000
    80.3 @@ -16,6 +16,12 @@
    80.4  BUILD_DEPENDS="startup-notification-dev gtk+3-dev gobject-introspection-dev \
    80.5  xcb-util-dev"
    80.6  
    80.7 +current_version()
    80.8 +{
    80.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   80.10 +	sed '/libwnck-[0-9]/!d;/tar/!d;s|.*libwnck-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
   80.11 +}
   80.12 +
   80.13  # Rules to configure and make the package.
   80.14  compile_rules()
   80.15  {
    81.1 --- a/libxml++/receipt	Tue Sep 28 10:48:56 2021 +0000
    81.2 +++ b/libxml++/receipt	Tue Sep 28 17:26:43 2021 +0000
    81.3 @@ -13,6 +13,12 @@
    81.4  DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base"
    81.5  BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config"
    81.6  
    81.7 +current_version()
    81.8 +{
    81.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   81.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   81.11 +}
   81.12 +
   81.13  # Rules to configure and make the package.
   81.14  compile_rules()
   81.15  {
    82.1 --- a/meld/receipt	Tue Sep 28 10:48:56 2021 +0000
    82.2 +++ b/meld/receipt	Tue Sep 28 17:26:43 2021 +0000
    82.3 @@ -8,12 +8,18 @@
    82.4  LICENSE="GPL2"
    82.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
    82.6  WEB_SITE="http://meldmerge.org/"
    82.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
    82.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    82.9  
   82.10  DEPENDS="pygtk rarian"
   82.11  BUILD_DEPENDS="pygtk-dev rarian-dev gnome-doc-utils intltool pkg-config \
   82.12  util-linux-getopt"
   82.13  
   82.14 +current_version()
   82.15 +{
   82.16 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   82.17 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   82.18 +}
   82.19 +
   82.20  # Rules to configure and make the package.
   82.21  compile_rules()
   82.22  {
    83.1 --- a/midori/receipt	Tue Sep 28 10:48:56 2021 +0000
    83.2 +++ b/midori/receipt	Tue Sep 28 17:26:43 2021 +0000
    83.3 @@ -10,7 +10,7 @@
    83.4  #TARBALL="${PACKAGE}_${VERSION}_all_.tar.bz2"
    83.5  WEB_SITE="http://twotoasts.de/index.php/midori/"
    83.6  #WGET_URL="http://midori-browser.org/downloads/$TARBALL"
    83.7 -WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL"
    83.8 +WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION.*}/$TARBALL"
    83.9  TAGS="web-browser"
   83.10  #HOST_ARCH="i486 arm"
   83.11  
    84.1 --- a/mm-common/receipt	Tue Sep 28 10:48:56 2021 +0000
    84.2 +++ b/mm-common/receipt	Tue Sep 28 17:26:43 2021 +0000
    84.3 @@ -14,6 +14,12 @@
    84.4  BUILD_DEPENDS="autoconf automake wget"
    84.5  #			busybox wget is not sufficient
    84.6  
    84.7 +current_version()
    84.8 +{
    84.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   84.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   84.11 +}
   84.12 +
   84.13  # Rules to configure and make the package.
   84.14  compile_rules()
   84.15  {
    85.1 --- a/mobile-broadband-provider-info/receipt	Tue Sep 28 10:48:56 2021 +0000
    85.2 +++ b/mobile-broadband-provider-info/receipt	Tue Sep 28 17:26:43 2021 +0000
    85.3 @@ -14,6 +14,12 @@
    85.4  DEPENDS=""
    85.5  BUILD_DEPENDS="libxslt"
    85.6  
    85.7 +current_version()
    85.8 +{
    85.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   85.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   85.11 +}
   85.12 +
   85.13  # Rules to configure and make the package.
   85.14  compile_rules()
   85.15  {
    86.1 --- a/moserial/receipt	Tue Sep 28 10:48:56 2021 +0000
    86.2 +++ b/moserial/receipt	Tue Sep 28 17:26:43 2021 +0000
    86.3 @@ -16,6 +16,11 @@
    86.4  BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkg-config vala \
    86.5  gtk+-dev dbus-glib-dev"
    86.6  
    86.7 +current_version()
    86.8 +{
    86.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   86.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   86.11 +}
   86.12  
   86.13  # Rules to configure and make the package.
   86.14  compile_rules()
    87.1 --- a/network-manager/receipt	Tue Sep 28 10:48:56 2021 +0000
    87.2 +++ b/network-manager/receipt	Tue Sep 28 17:26:43 2021 +0000
    87.3 @@ -15,6 +15,12 @@
    87.4  BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \
    87.5  libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client"
    87.6  
    87.7 +current_version()
    87.8 +{
    87.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   87.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   87.11 +}
   87.12 +
   87.13  # Rules to configure and make the package.
   87.14  compile_rules()
   87.15  {
    88.1 --- a/notification-daemon/receipt	Tue Sep 28 10:48:56 2021 +0000
    88.2 +++ b/notification-daemon/receipt	Tue Sep 28 17:26:43 2021 +0000
    88.3 @@ -14,6 +14,12 @@
    88.4  BUILD_DEPENDS="dbus-dev libnotify-dev libcanberra-dev GConf-dev \
    88.5  libwnck-dev libogg-dev libvorbis-dev intltool libtool"
    88.6  
    88.7 +current_version()
    88.8 +{
    88.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   88.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   88.11 +}
   88.12 +
   88.13  # Rules to configure and make the package.
   88.14  compile_rules()
   88.15  {
    89.1 --- a/opal/receipt	Tue Sep 28 10:48:56 2021 +0000
    89.2 +++ b/opal/receipt	Tue Sep 28 17:26:43 2021 +0000
    89.3 @@ -15,6 +15,12 @@
    89.4  openssl ptlib tiff zlib"
    89.5  BUILD_DEPENDS="ptlib ptlib-dev openssl-dev"
    89.6  
    89.7 +current_version()
    89.8 +{
    89.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   89.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   89.11 +}
   89.12 +
   89.13  # Rules to configure and make the package.
   89.14  compile_rules()
   89.15  {
    90.1 --- a/pango/receipt	Tue Sep 28 10:48:56 2021 +0000
    90.2 +++ b/pango/receipt	Tue Sep 28 17:26:43 2021 +0000
    90.3 @@ -8,7 +8,7 @@
    90.4  LICENSE="GPL2"
    90.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
    90.6  WEB_SITE="https://www.pango.org/"
    90.7 -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
    90.8 +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL"
    90.9  CONFIG_FILES="/etc/pango/pango.modules"
   90.10  HOST_ARCH="i486 arm"
   90.11  
    91.1 --- a/pangox-compat/receipt	Tue Sep 28 10:48:56 2021 +0000
    91.2 +++ b/pangox-compat/receipt	Tue Sep 28 17:26:43 2021 +0000
    91.3 @@ -13,6 +13,12 @@
    91.4  DEPENDS="glib glibc-base libffi pango pcre xorg-libX11"
    91.5  BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev"
    91.6  
    91.7 +current_version()
    91.8 +{
    91.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   91.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   91.11 +}
   91.12 +
   91.13  # Rules to configure and make the package.
   91.14  compile_rules()
   91.15  {
    92.1 --- a/pygobject/receipt	Tue Sep 28 10:48:56 2021 +0000
    92.2 +++ b/pygobject/receipt	Tue Sep 28 17:26:43 2021 +0000
    92.3 @@ -15,6 +15,12 @@
    92.4  BUILD_DEPENDS="cairo-dev glib-dev libffi-dev libgio-dev pkg-config pycairo-dev 
    92.5  	python python-dev"
    92.6  
    92.7 +current_version()
    92.8 +{
    92.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   92.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   92.11 +}
   92.12 +
   92.13  # Rules to configure and make the package.
   92.14  compile_rules()
   92.15  {
    93.1 --- a/pygobject3/receipt	Tue Sep 28 10:48:56 2021 +0000
    93.2 +++ b/pygobject3/receipt	Tue Sep 28 17:26:43 2021 +0000
    93.3 @@ -16,6 +16,12 @@
    93.4  BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev libgio-dev \
    93.5  pycairo-dev cairo-dev libffi-dev gobject-introspection-dev"
    93.6  
    93.7 +current_version()
    93.8 +{
    93.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   93.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   93.11 +}
   93.12 +
   93.13  # Rules to configure and make the package.
   93.14  compile_rules()
   93.15  {
    94.1 --- a/pygtk/receipt	Tue Sep 28 10:48:56 2021 +0000
    94.2 +++ b/pygtk/receipt	Tue Sep 28 17:26:43 2021 +0000
    94.3 @@ -17,6 +17,12 @@
    94.4  BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \
    94.5  libglade-dev libxml2-dev libffi-dev python-numpy"
    94.6  
    94.7 +current_version()
    94.8 +{
    94.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   94.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   94.11 +}
   94.12 +
   94.13  # Rules to configure and make the package.
   94.14  compile_rules()
   94.15  {
    95.1 --- a/pygtksourceview/receipt	Tue Sep 28 10:48:56 2021 +0000
    95.2 +++ b/pygtksourceview/receipt	Tue Sep 28 17:26:43 2021 +0000
    95.3 @@ -14,6 +14,12 @@
    95.4  BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \
    95.5  libxml2-dev"
    95.6  
    95.7 +current_version()
    95.8 +{
    95.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   95.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   95.11 +}
   95.12 +
   95.13  # Rules to configure and make the package.
   95.14  compile_rules()
   95.15  {
    96.1 --- a/pyorbit/receipt	Tue Sep 28 10:48:56 2021 +0000
    96.2 +++ b/pyorbit/receipt	Tue Sep 28 17:26:43 2021 +0000
    96.3 @@ -13,6 +13,12 @@
    96.4  DEPENDS="python ORBit2"
    96.5  BUILD_DEPENDS="python-dev ORBit2-dev pkg-config"
    96.6  
    96.7 +current_version()
    96.8 +{
    96.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   96.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   96.11 +}
   96.12 +
   96.13  # Rules to configure and make the package.
   96.14  compile_rules()
   96.15  {
    97.1 --- a/python-gazpacho/receipt	Tue Sep 28 10:48:56 2021 +0000
    97.2 +++ b/python-gazpacho/receipt	Tue Sep 28 17:26:43 2021 +0000
    97.3 @@ -10,11 +10,17 @@
    97.4  SUGGESTED="twisted"
    97.5  TARBALL="$SOURCE-$VERSION.tar.gz"
    97.6  WEB_SITE="https://web.archive.org/web/20090425115052/http://gazpacho.sicem.biz/"
    97.7 -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL"
    97.8 +WGET_URL="https://download.gnome.org/sources/$SOURCE/${VERSION%.*}/$TARBALL"
    97.9  
   97.10  DEPENDS="python pygtk python-kiwi"
   97.11  BUILD_DEPENDS="python python-dev pygtk python-kiwi"
   97.12  
   97.13 +current_version()
   97.14 +{
   97.15 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   97.16 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   97.17 +}
   97.18 +
   97.19  # Rules to configure and make the package.
   97.20  compile_rules()
   97.21  {
    98.1 --- a/python-kiwi/receipt	Tue Sep 28 10:48:56 2021 +0000
    98.2 +++ b/python-kiwi/receipt	Tue Sep 28 17:26:43 2021 +0000
    98.3 @@ -15,6 +15,12 @@
    98.4  DEPENDS="python gtk+ pygobject pygtk"
    98.5  BUILD_DEPENDS="python-dev gtk+-dev pygobject-dev pygtk-dev wget"
    98.6  
    98.7 +current_version()
    98.8 +{
    98.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   98.10 +	sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   98.11 +}
   98.12 +
   98.13  # Rules to configure and make the package.
   98.14  compile_rules()
   98.15  {
    99.1 --- a/rarian/receipt	Tue Sep 28 10:48:56 2021 +0000
    99.2 +++ b/rarian/receipt	Tue Sep 28 17:26:43 2021 +0000
    99.3 @@ -13,6 +13,12 @@
    99.4  DEPENDS="libxslt"
    99.5  BUILD_DEPENDS="libxslt-dev"
    99.6  
    99.7 +current_version()
    99.8 +{
    99.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
   99.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
   99.11 +}
   99.12 +
   99.13  # Rules to configure and make the package.
   99.14  compile_rules()
   99.15  {
   100.1 --- a/seed/receipt	Tue Sep 28 10:48:56 2021 +0000
   100.2 +++ b/seed/receipt	Tue Sep 28 17:26:43 2021 +0000
   100.3 @@ -17,6 +17,12 @@
   100.4  	gobject-introspection-dev gtk+-dev intltool libffi-dev \
   100.5  	libwebkit-dev libxslt-dev mpfr-dev readline-dev util-linux-uuid-dev"
   100.6  
   100.7 +current_version()
   100.8 +{
   100.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  100.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  100.11 +}
  100.12 +
  100.13  # Rules to configure and make the package.
  100.14  compile_rules()
  100.15  {
   101.1 --- a/system-tools-backends/receipt	Tue Sep 28 10:48:56 2021 +0000
   101.2 +++ b/system-tools-backends/receipt	Tue Sep 28 17:26:43 2021 +0000
   101.3 @@ -13,6 +13,12 @@
   101.4  DEPENDS="dbus dbus-glib glib glibc-base libffi libgio pcre polkit zlib"
   101.5  BUILD_DEPENDS="dbus-dev polkit-dev dbus-glib-dev glib-dev"
   101.6  
   101.7 +current_version()
   101.8 +{
   101.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  101.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  101.11 +}
  101.12 +
  101.13  # Rules to configure and make the package.
  101.14  compile_rules()
  101.15  {
   102.1 --- a/ttf-bitstream-vera/receipt	Tue Sep 28 10:48:56 2021 +0000
   102.2 +++ b/ttf-bitstream-vera/receipt	Tue Sep 28 17:26:43 2021 +0000
   102.3 @@ -12,6 +12,12 @@
   102.4  TAGS="font"
   102.5  HOST_ARCH="i486 arm"
   102.6  
   102.7 +current_version()
   102.8 +{
   102.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  102.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  102.11 +}
  102.12 +
  102.13  # Rules to gen a SliTaz package suitable for Tazpkg.
  102.14  genpkg_rules()
  102.15  {
   103.1 --- a/vala/receipt	Tue Sep 28 10:48:56 2021 +0000
   103.2 +++ b/vala/receipt	Tue Sep 28 17:26:43 2021 +0000
   103.3 @@ -15,6 +15,12 @@
   103.4  DEPENDS="glib"
   103.5  BUILD_DEPENDS="flex bison glib-dev pkg-config"
   103.6  
   103.7 +current_version()
   103.8 +{
   103.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  103.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  103.11 +}
  103.12 +
  103.13  # Rules to configure and make the package.
  103.14  compile_rules()
  103.15  {
   104.1 --- a/yelp-tools/receipt	Tue Sep 28 10:48:56 2021 +0000
   104.2 +++ b/yelp-tools/receipt	Tue Sep 28 17:26:43 2021 +0000
   104.3 @@ -14,6 +14,12 @@
   104.4  DEPENDS=""
   104.5  BUILD_DEPENDS="bash yelp-xsl"
   104.6  
   104.7 +current_version()
   104.8 +{
   104.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  104.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  104.11 +}
  104.12 +
  104.13  # Rules to configure and make the package.
  104.14  compile_rules()
  104.15  {
   105.1 --- a/yelp-xsl/receipt	Tue Sep 28 10:48:56 2021 +0000
   105.2 +++ b/yelp-xsl/receipt	Tue Sep 28 17:26:43 2021 +0000
   105.3 @@ -14,6 +14,12 @@
   105.4  DEPENDS="intltool itstool libxslt"
   105.5  BUILD_DEPENDS="bash itstool libxslt-dev"
   105.6  
   105.7 +current_version()
   105.8 +{
   105.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  105.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  105.11 +}
  105.12 +
  105.13  # Rules to configure and make the package.
  105.14  compile_rules()
  105.15  {
   106.1 --- a/zenity/receipt	Tue Sep 28 10:48:56 2021 +0000
   106.2 +++ b/zenity/receipt	Tue Sep 28 17:26:43 2021 +0000
   106.3 @@ -16,6 +16,12 @@
   106.4  BUILD_DEPENDS="docbook-xsl gcc83 gnome-doc-utils-dev gtk+3-dev
   106.5  	intltool itstool libglade-dev pkg-config"
   106.6  
   106.7 +current_version()
   106.8 +{
   106.9 +	wget -O - $(dirname $WGET_URL) 2>/dev/null | \
  106.10 +	sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
  106.11 +}
  106.12 +
  106.13  # Rules to configure and make the package.
  106.14  compile_rules()
  106.15  {