# HG changeset patch # User Pascal Bellard # Date 1632850003 0 # Node ID 6831608a1b2ad64fd989e131974dce8aea1e6912 # Parent 211f545ad84b212ccad1c3e75ef78a30ba45f502 Add some current_version diff -r 211f545ad84b -r 6831608a1b2a adwaita-icon-theme/receipt --- a/adwaita-icon-theme/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/adwaita-icon-theme/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="adwaita-icon-theme" VERSION="3.34.3" -SERIES="3.34" # first two numbers from version +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="customization" SHORT_DESC="A collection of icons used at the basis for GNOME themes." MAINTAINER="al.bobylev@gmail.com" @@ -15,6 +15,12 @@ DEPENDS="" BUILD_DEPENDS="" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a at-spi2-atk/receipt --- a/at-spi2-atk/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/at-spi2-atk/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="atk dbus util-linux-uuid at-spi2" BUILD_DEPENDS="at-spi2 atk-dev dbus-dev util-linux-uuid-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a at-spi2/receipt --- a/at-spi2/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/at-spi2/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="dbus glib gobject-introspection util-linux-uuid" BUILD_DEPENDS="dbus-dev glib-dev gobject-introspection-dev util-linux-uuid-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a brasero/receipt --- a/brasero/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/brasero/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -18,6 +18,12 @@ gnome-doc-utils libxml2-python libvorbis-dev libogg-dev util-linux-uuid-dev \ intltool libtool file" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a cantarell-fonts/receipt --- a/cantarell-fonts/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/cantarell-fonts/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="fontconfig" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;/>ca/d" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a d-feet/receipt --- a/d-feet/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/d-feet/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,11 +8,17 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://live.gnome.org/DFeet/" -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION:0:3}/$TARBALL" +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="dbus dbus-python pygtk python" BUILD_DEPENDS="dbus-dev dbus-python-dev pygtk-dev python-dev python-setuptools" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a dia/receipt --- a/dia/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/dia/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -18,6 +18,12 @@ libart_lgpl-dev libart_lgpl pygtk file libxslt-dev expat-dev python-dev \ docbook-xsl docbook-xml cairo-dev pango-dev librsvg-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a easytag/receipt --- a/easytag/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/easytag/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="flac gcc-lib-base gtk+3 id3lib libid3tag libvorbis xorg-libXdamage" BUILD_DEPENDS="expat-dev gtk+3-dev id3lib id3lib-dev itstool libid3tag-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a ekiga/receipt --- a/ekiga/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/ekiga/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -17,6 +17,12 @@ dbus-glib expat gtk+ libsigc++ libxml2 xorg-libXdamage" TAGS="telephony" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a evince/receipt --- a/evince/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/evince/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://projects.gnome.org/evince/" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" TAGS="viewer pdf tiff ps postscript dvi" DEPENDS="lcms poppler tiff dbus-glib glib util-linux-uuid" @@ -16,6 +16,12 @@ gnome-icon-theme gtk+-dev intltool lcms-dev util-linux-uuid-dev \ poppler-dev tiff-dev dbus-glib-dev xorg-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a evolution-data-server/receipt --- a/evolution-data-server/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/evolution-data-server/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ GConf-dev libical-dev firefox-dev db-dev libxcb-dev popt-dev bison flex \ glib-dev sqlite-dev dbus-glib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a glade3/receipt --- a/glade3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/glade3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="expat-dev gtk+-dev intltool itstool libgnome libxml2-dev python" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gmime/receipt --- a/gmime/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gmime/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="glib gpgme zlib" BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnet/receipt --- a/gnet/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnet/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="glib" BUILD_DEPENDS="glib-dev util-linux-uuid-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-calculator/receipt --- a/gnome-calculator/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-calculator/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -19,6 +19,12 @@ 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 \ xh zh_CN zh_HK zh_TW" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-desktop/receipt --- a/gnome-desktop/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-desktop/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="python-dev libxml2-python GConf-dev gnome-doc-utils-dev \ dbus-glib-dev intltool gtk+-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-doc-utils/receipt --- a/gnome-doc-utils/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-doc-utils/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \ intltool" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-games/receipt --- a/gnome-games/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-games/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -17,6 +17,12 @@ libvorbis-dev libogg-dev util-linux-uuid-dev seed-dev libtool guile-dev \ libffi-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-icon-theme/receipt --- a/gnome-icon-theme/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-icon-theme/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -12,6 +12,12 @@ BUILD_DEPENDS="icon-naming-utils intltool pkg-config gtk+" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-js-common/receipt --- a/gnome-js-common/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-js-common/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="" BUILD_DEPENDS="intltool" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-keyring/receipt --- a/gnome-keyring/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-keyring/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="libgcrypt-dev libtasn1-dev python-dev dbus-dev intltool file \ gtk+-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-menus/receipt --- a/gnome-menus/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-menus/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="intltool python-dev python glib-dev libgio-dev" SUGGESTED="python gamin" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-mime-data/receipt --- a/gnome-mime-data/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-mime-data/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="perl-xml-parser" BUILD_DEPENDS="perl-xml-parser gettext" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-python-desktop/receipt --- a/gnome-python-desktop/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-python-desktop/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="python-dev GConf-dev gnome-python libgnome-keyring-dev \ gnome-keyring-dev librsvg-dev libwnck-dev pygtk-dev gnome-python-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-python/receipt --- a/gnome-python/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-python/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="python-dev pygobject-dev pygtk-dev libgnome-dev audiofile \ esound libxml2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-vfs-monikers/receipt --- a/gnome-vfs-monikers/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-vfs-monikers/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="gnome-vfs libbonobo" BUILD_DEPENDS="gnome-vfs-dev libbonobo-dev glib-dev ORBit2-dev dbus-glib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnome-vfs/receipt --- a/gnome-vfs/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnome-vfs/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \ libxml2-dev zlib-dev intltool pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gnumeric/receipt --- a/gnumeric/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gnumeric/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -18,6 +18,12 @@ xorg-libXinerama xorg-libXrandr xorg-libXrender zlib dconf" BUILD_DEPENDS="gtk-doc bison goffice-dev gtk+3-dev libcroco-dev rarian" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gob2/receipt --- a/gob2/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gob2/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,8 +15,13 @@ BUILD_DEPENDS="flex glib-dev" HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. - compile_rules() { ./configure $CONFIGURE_ARGS && diff -r 211f545ad84b -r 6831608a1b2a gobject-introspection/receipt --- a/gobject-introspection/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gobject-introspection/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -24,6 +24,12 @@ BUILD_DEPENDS="glib-dev libgio-dev libffi-dev cairo-dev dbus-dev" ;; esac +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a goffice-gtk2/receipt --- a/goffice-gtk2/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/goffice-gtk2/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="gtk+-dev libxml2-dev libgsf libgsf-dev libglade-dev intltool \ expat-dev bzip2-dev librsvg-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a goffice/receipt --- a/goffice/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/goffice/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -21,6 +21,12 @@ BUILD_DEPENDS="cairo-dev gtk-doc gtk+3-dev libcroco-dev libgsf-dev librsvg-dev libxslt-dev perl-io-compress" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a goocanvas/receipt --- a/goocanvas/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/goocanvas/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="gtk+3" BUILD_DEPENDS="gtk+3-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gsettings-desktop-schemas/receipt --- a/gsettings-desktop-schemas/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gsettings-desktop-schemas/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="" BUILD_DEPENDS="glib-dev gobject-introspection-dev libgio-dev meson ninja" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gssdp/receipt --- a/gssdp/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gssdp/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="libsoup" BUILD_DEPENDS="wget pkg-config libsoup-dev sqlite-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gst-ffmpeg-small/receipt --- a/gst-ffmpeg-small/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-ffmpeg-small/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -3,7 +3,7 @@ PACKAGE="gst-ffmpeg-small" SOURCE="gst-ffmpeg" VERSION="0.10.13" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer FFmpeg Plugins" MAINTAINER="psychomaniak@xakep.ru" diff -r 211f545ad84b -r 6831608a1b2a gst-ffmpeg/receipt --- a/gst-ffmpeg/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-ffmpeg/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-ffmpeg" VERSION="0.10.13" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer FFmpeg Plugins" MAINTAINER="jozee@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gst-libav/receipt --- a/gst-libav/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-libav/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-libav" VERSION="1.16.2" -SERIES="1.0" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer 1.x libav/ffmpeg Plugin." MAINTAINER="psychomaniak@xakep.ru" diff -r 211f545ad84b -r 6831608a1b2a gst-plugins-bad/receipt --- a/gst-plugins-bad/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-plugins-bad/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-plugins-bad" VERSION="0.10.23" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Bad Plugins" MAINTAINER="jozee@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gst-plugins-base-1.0/receipt --- a/gst-plugins-base-1.0/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-plugins-base-1.0/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-plugins-base-1.0" VERSION="1.16.2" -SERIES="1.0" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Base Plugins." MAINTAINER="pankso@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gst-plugins-base/receipt --- a/gst-plugins-base/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-plugins-base/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-plugins-base" VERSION="0.10.36" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Base Plugins" MAINTAINER="jozee@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gst-plugins-good/receipt --- a/gst-plugins-good/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-plugins-good/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-plugins-good" VERSION="0.10.31" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Good Plugins" MAINTAINER="jozee@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gst-plugins-ugly/receipt --- a/gst-plugins-ugly/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gst-plugins-ugly/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gst-plugins-ugly" VERSION="0.10.19" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Ugly Plugins" MAINTAINER="jozee@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gstreamer/receipt --- a/gstreamer/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gstreamer/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="gstreamer" VERSION="0.10.36" -SERIES="0.10" +SERIES="${VERSION%.*}" # first two numbers from version CATEGORY="multimedia" SHORT_DESC="GStreamer Multimedia Framework" MAINTAINER="jozee@slitaz.org" diff -r 211f545ad84b -r 6831608a1b2a gtk+/receipt --- a/gtk+/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtk+/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -9,7 +9,7 @@ WEB_SITE="https://www.gtk.org/" TARBALL="$PACKAGE-$VERSION.tar.xz" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" SUGGESTED="cups gnutls libgcrypt libgpg-error" DEPENDS="atk cairo expat fontconfig freetype gdk-pixbuf glib glibc-base diff -r 211f545ad84b -r 6831608a1b2a gtk+3/receipt --- a/gtk+3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtk+3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -37,6 +37,12 @@ export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include" ;; esac +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gtk-doc/receipt --- a/gtk-doc/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtk-doc/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="py3k" BUILD_DEPENDS="docbook-xml docbook-xsl itstool libxslt perl py3k" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gtk-engines/receipt --- a/gtk-engines/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtk-engines/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,11 +8,17 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://linuxfromscratch.org/blfs/view/svn/x/gtk-engines.html" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config file gtk+-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gtk-vnc/receipt --- a/gtk-vnc/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtk-vnc/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -20,6 +20,12 @@ pulseaudio-dev util-linux-uuid-dev libjson-c-dev libsndfile-dev flac-dev \ libvorbis-dev dbus-dev libgnutls" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gtk2-engine-murrine/receipt --- a/gtk2-engine-murrine/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtk2-engine-murrine/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="gtk+" BUILD_DEPENDS="gtk+-dev libxml2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed '/murrine-[0-9]/!d;/tar/!d;s|.*murrine-\(.*\).tar.*".*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gtksourceview/receipt --- a/gtksourceview/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gtksourceview/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ xorg-libXrandr xorg-libXrender xorg-libXdamage" BUILD_DEPENDS="intltool pkg-config gtk+-dev libxml2-dev expat-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gucharmap/receipt --- a/gucharmap/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gucharmap/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="itstool libxml2-tools glib-dev libgio-dev gtk+-dev" SPLIT="gucharmap-i18n" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gucharmap3/receipt --- a/gucharmap3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gucharmap3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ libgio-dev gtk+3-dev desktop-file-utils-extra gobject-introspection-dev vala" SPLIT="gucharmap3-i18n" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed '/gucharmap-[0-9]/!d;/tar/!d;s|.*gucharmap-\(.*\).tar.*".*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gupnp/receipt --- a/gupnp/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gupnp/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="libsoup util-linux-uuid gssdp" BUILD_DEPENDS="wget libsoup-dev util-linux-uuid-dev gssdp-dev sqlite-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a gyrus/receipt --- a/gyrus/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/gyrus/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="dbus GConf gnet gtk+ libglade ORBit2" BUILD_DEPENDS="dbus-dev GConf-dev gnet-dev gtk+ intltool libglade-dev ORBit2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a imlib/receipt --- a/imlib/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/imlib/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,11 +8,17 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://freshmeat.net/projects/imlib/" -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="glibc-base xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext giflib jpeg libpng tiff zlib util-linux-uuid" 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" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a json-glib/receipt --- a/json-glib/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/json-glib/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,12 +8,18 @@ LICENSE="LGPL2.1" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://live.gnome.org/JsonGlib" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" TAGS="javascript" DEPENDS="libgio glib" BUILD_DEPENDS="pkg-config gobject-introspection-dev libgio-dev glib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libIDL/receipt --- a/libIDL/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libIDL/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="glib" BUILD_DEPENDS="bison flex glib-dev pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libart_lgpl/receipt --- a/libart_lgpl/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libart_lgpl/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -12,6 +12,12 @@ DEPENDS="glibc-base" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libbonobo/receipt --- a/libbonobo/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libbonobo/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,11 +8,17 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://developer.gnome.org/libbonobo/" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" DEPENDS="glib ORBit2 libxml2 libglade" BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libbonoboui/receipt --- a/libbonoboui/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libbonoboui/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -18,6 +18,12 @@ libffi libglade-dev libgnome-dev libgnomecanvas-dev \ popt-dev util-linux-uuid-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libcroco/receipt --- a/libcroco/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libcroco/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgee/receipt --- a/libgee/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgee/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="glib libffi" BUILD_DEPENDS="bash glib-dev gobject-introspection-dev libffi-dev vala" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libglademm/receipt --- a/libglademm/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libglademm/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="gtkmm libglade glibmm" BUILD_DEPENDS="gtkmm-dev libglade-dev cairomm-dev libxml2-dev glibmm-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnome-keyring/receipt --- a/libgnome-keyring/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnome-keyring/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnome/receipt --- a/libgnome/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnome/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \ GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnomecanvas/receipt --- a/libgnomecanvas/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnomecanvas/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="gtk+-dev libglade-dev libart_lgpl-dev xorg-libXcursor-dev \ intltool" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnomecanvasmm/receipt --- a/libgnomecanvasmm/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnomecanvasmm/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="gtkmm libgnomecanvas" BUILD_DEPENDS="gtkmm-dev libgnomecanvas-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnomeprint/receipt --- a/libgnomeprint/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnomeprint/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="pkg-config glib-dev pango-dev intltool flex libart_lgpl-dev \ libxml2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnomeprintui/receipt --- a/libgnomeprintui/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnomeprintui/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="pkg-config gnome-icon-theme flex libgnomeprint-dev \ libgnomecanvas-dev libart_lgpl-dev intltool" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgnomeui/receipt --- a/libgnomeui/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgnomeui/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ dbus-glib-dev esound-dev audiofile-dev libglade-dev intltool" WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgsf/receipt --- a/libgsf/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgsf/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ pcre zlib" BUILD_DEPENDS="gdk-pixbuf-dev glib-dev libgio-dev libxml2-dev zlib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgtkhtml/receipt --- a/libgtkhtml/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgtkhtml/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,7 +8,7 @@ LICENSE="LGPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://freshmeat.net/projects/libgtkhtml/" -WGET_URL="ftp://ftp.gnome.org/pub/GNOME/sources/$PACKAGE/${VERSION%.*}/$TARBALL" +WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="glibc-base glib libgio expat libxml2 zlib \ gtk+ cairo atk fontconfig freetype pango pixman libpng \ @@ -16,6 +16,12 @@ xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" BUILD_DEPENDS="pkg-config libxml2-dev gtk+-dev xorg-libXdamage-dev expat-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libgtop/receipt --- a/libgtop/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libgtop/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="glib" BUILD_DEPENDS="glib-dev intltool" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libnotify-gtk3/receipt --- a/libnotify-gtk3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libnotify-gtk3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -17,6 +17,12 @@ BUILD_DEPENDS="gtk+3-dev gobject-introspection-dev glib-dev libxml2-dev \ dbus-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a liboobs/receipt --- a/liboobs/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/liboobs/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="dbus dbus-glib glib glibc-base libffi pcre system-tools-backends" BUILD_DEPENDS="dbus-glib-dev glib-dev system-tools-backends" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a librsvg/receipt --- a/librsvg/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/librsvg/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://wiki.gnome.org/LibRsvg" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="bzlib cairo fontconfig freetype gdk-pixbuf glib glibc-base harfbuzz \ @@ -23,6 +23,12 @@ gobject-introspection-dev gtk+3-dev" ;; esac +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libsecret/receipt --- a/libsecret/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libsecret/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -2,7 +2,7 @@ PACKAGE="libsecret" VERSION="0.18.5" -SERIES="0.18" +SERIES="${VERSION%.*}" # first two numbers from version SHORT_DESC="GObject based library for accessing the Secret Service API" MAINTAINER="devl547@gmail.com" LICENSE="LGPL2.1" @@ -15,6 +15,12 @@ DEPENDS="libgio libgpg-error" BUILD_DEPENDS="libgcrypt-dev gobject-introspection-dev vala" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libunique-gtk3/receipt --- a/libunique-gtk3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libunique-gtk3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="glib-dev gtk+3-dev dbus-glib-dev gobject-introspection-dev \ libxml2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libwnck3/receipt --- a/libwnck3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libwnck3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="startup-notification-dev gtk+3-dev gobject-introspection-dev \ xcb-util-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed '/libwnck-[0-9]/!d;/tar/!d;s|.*libwnck-\(.*\).tar.*".*|\1|' | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a libxml++/receipt --- a/libxml++/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/libxml++/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="glibmm libsigc++ libxml2 zlib gcc-lib-base" BUILD_DEPENDS="glibmm-dev libsigc++-dev libxml2-dev zlib-dev mm-common pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a meld/receipt --- a/meld/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/meld/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,12 +8,18 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://meldmerge.org/" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" DEPENDS="pygtk rarian" BUILD_DEPENDS="pygtk-dev rarian-dev gnome-doc-utils intltool pkg-config \ util-linux-getopt" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a midori/receipt --- a/midori/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/midori/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -10,7 +10,7 @@ #TARBALL="${PACKAGE}_${VERSION}_all_.tar.bz2" WEB_SITE="http://twotoasts.de/index.php/midori/" #WGET_URL="http://midori-browser.org/downloads/$TARBALL" -WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION:0:3}/$TARBALL" +WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION.*}/$TARBALL" TAGS="web-browser" #HOST_ARCH="i486 arm" diff -r 211f545ad84b -r 6831608a1b2a mm-common/receipt --- a/mm-common/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/mm-common/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="autoconf automake wget" # busybox wget is not sufficient +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a mobile-broadband-provider-info/receipt --- a/mobile-broadband-provider-info/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/mobile-broadband-provider-info/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="" BUILD_DEPENDS="libxslt" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a moserial/receipt --- a/moserial/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/moserial/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,11 @@ BUILD_DEPENDS="GConf-dev gnome-doc-utils-dev intltool pkg-config vala \ gtk+-dev dbus-glib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} # Rules to configure and make the package. compile_rules() diff -r 211f545ad84b -r 6831608a1b2a network-manager/receipt --- a/network-manager/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/network-manager/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="dbus-dev dbus-glib-dev gtk+-dev wireless_tools-dev libgudev-dev \ libnl-dev nss-dev ppp-dev iptables-dev util-linux-uuid-dev dhcp-client" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a notification-daemon/receipt --- a/notification-daemon/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/notification-daemon/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="dbus-dev libnotify-dev libcanberra-dev GConf-dev \ libwnck-dev libogg-dev libvorbis-dev intltool libtool" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a opal/receipt --- a/opal/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/opal/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ openssl ptlib tiff zlib" BUILD_DEPENDS="ptlib ptlib-dev openssl-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a pango/receipt --- a/pango/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pango/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -8,7 +8,7 @@ LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="https://www.pango.org/" -WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL" +WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION.*}/$TARBALL" CONFIG_FILES="/etc/pango/pango.modules" HOST_ARCH="i486 arm" diff -r 211f545ad84b -r 6831608a1b2a pangox-compat/receipt --- a/pangox-compat/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pangox-compat/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="glib glibc-base libffi pango pcre xorg-libX11" BUILD_DEPENDS="pango-dev glib-dev xorg-libX11-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a pygobject/receipt --- a/pygobject/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pygobject/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ BUILD_DEPENDS="cairo-dev glib-dev libffi-dev libgio-dev pkg-config pycairo-dev python python-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a pygobject3/receipt --- a/pygobject3/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pygobject3/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="$DEPENDS python python-dev pkg-config glib-dev libgio-dev \ pycairo-dev cairo-dev libffi-dev gobject-introspection-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a pygtk/receipt --- a/pygtk/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pygtk/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -17,6 +17,12 @@ BUILD_DEPENDS="python-dev pycairo-dev pygobject-dev expat-dev gtk+-dev \ libglade-dev libxml2-dev libffi-dev python-numpy" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a pygtksourceview/receipt --- a/pygtksourceview/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pygtksourceview/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="python-dev pygtk-dev gtksourceview-dev pygobject-dev pkg-config \ libxml2-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a pyorbit/receipt --- a/pyorbit/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/pyorbit/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="python ORBit2" BUILD_DEPENDS="python-dev ORBit2-dev pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a python-gazpacho/receipt --- a/python-gazpacho/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/python-gazpacho/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -10,11 +10,17 @@ SUGGESTED="twisted" TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="https://web.archive.org/web/20090425115052/http://gazpacho.sicem.biz/" -WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$SOURCE/${VERSION%.*}/$TARBALL" +WGET_URL="https://download.gnome.org/sources/$SOURCE/${VERSION%.*}/$TARBALL" DEPENDS="python pygtk python-kiwi" BUILD_DEPENDS="python python-dev pygtk python-kiwi" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a python-kiwi/receipt --- a/python-kiwi/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/python-kiwi/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="python gtk+ pygobject pygtk" BUILD_DEPENDS="python-dev gtk+-dev pygobject-dev pygtk-dev wget" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a rarian/receipt --- a/rarian/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/rarian/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="libxslt" BUILD_DEPENDS="libxslt-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a seed/receipt --- a/seed/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/seed/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -17,6 +17,12 @@ gobject-introspection-dev gtk+-dev intltool libffi-dev \ libwebkit-dev libxslt-dev mpfr-dev readline-dev util-linux-uuid-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a system-tools-backends/receipt --- a/system-tools-backends/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/system-tools-backends/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="dbus dbus-glib glib glibc-base libffi libgio pcre polkit zlib" BUILD_DEPENDS="dbus-dev polkit-dev dbus-glib-dev glib-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a ttf-bitstream-vera/receipt --- a/ttf-bitstream-vera/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/ttf-bitstream-vera/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -12,6 +12,12 @@ TAGS="font" HOST_ARCH="i486 arm" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { diff -r 211f545ad84b -r 6831608a1b2a vala/receipt --- a/vala/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/vala/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -15,6 +15,12 @@ DEPENDS="glib" BUILD_DEPENDS="flex bison glib-dev pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a yelp-tools/receipt --- a/yelp-tools/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/yelp-tools/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="" BUILD_DEPENDS="bash yelp-xsl" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a yelp-xsl/receipt --- a/yelp-xsl/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/yelp-xsl/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -14,6 +14,12 @@ DEPENDS="intltool itstool libxslt" BUILD_DEPENDS="bash itstool libxslt-dev" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() { diff -r 211f545ad84b -r 6831608a1b2a zenity/receipt --- a/zenity/receipt Tue Sep 28 10:48:56 2021 +0000 +++ b/zenity/receipt Tue Sep 28 17:26:43 2021 +0000 @@ -16,6 +16,12 @@ BUILD_DEPENDS="docbook-xsl gcc83 gnome-doc-utils-dev gtk+3-dev intltool itstool libglade-dev pkg-config" +current_version() +{ + wget -O - $(dirname $WGET_URL) 2>/dev/null | \ + sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q +} + # Rules to configure and make the package. compile_rules() {