# HG changeset patch # User Pascal Bellard # Date 1625854809 0 # Node ID 4bae0fb81a17a0b9a051746853faf5e6ecc61cbd # Parent e424d38736d60bb7940386d10803ee93aab141d6 Add some current_version diff -r e424d38736d6 -r 4bae0fb81a17 cinepaint/receipt --- a/cinepaint/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/cinepaint/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -17,6 +17,12 @@ ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \ python-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/cinepaint/files/CinePaint/ 2>/dev/null | \ + sed '/CinePaint-/!d;/in32/d;s|.*CinePaint-\(.*\).src.*".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 davmail/receipt --- a/davmail/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/davmail/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -13,6 +13,13 @@ DEPENDS="java-jre" BUILD_DEPENDS="apache-ant java-jdk" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-srconly/!d;s|.*$PACKAGE-srconly-\\(.*\\).tgz.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 e4rat/receipt --- a/e4rat/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/e4rat/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="cmake e2fsprogs-dev libboost-system-dev libboost-filesystem-dev \ libboost-regex-dev libboost-signals-dev libboost-serialization-dev audit-dev perl" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).src.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 gxine/receipt --- a/gxine/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/gxine/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -15,8 +15,14 @@ gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \ xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto" +current_version() +{ + wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. - compile_rules() { cd $src diff -r e424d38736d6 -r 4bae0fb81a17 ntop/receipt --- a/ntop/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/ntop/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -18,6 +18,12 @@ glibc-dev gdbm-dev rrdtool autoconf automake rrdtool-dev wget geoip-dev \ libwrap libtool" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 paulstretch/receipt --- a/paulstretch/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/paulstretch/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -14,6 +14,13 @@ BUILD_DEPENDS="fltk-dev libvorbis-dev audiofile-dev portaudio-dev libmad-dev \ fftw-dev xorg-dev mxml-dev zlib-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/hypermammut/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 pidgin/receipt --- a/pidgin/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/pidgin/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -18,6 +18,13 @@ libidn-dev libtasn1-dev intltool expat-dev nss-dev \ ncursesw-dev xcb-util-dev gmp-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/Pidgin 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 podofo/receipt --- a/podofo/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/podofo/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -16,6 +16,13 @@ BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \ libcrypto-dev libpng-dev tiff-dev zlib-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 qbittorrent/receipt --- a/qbittorrent/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/qbittorrent/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -17,6 +17,13 @@ geoip openssl-dev" GENERIC_PIXMAPS="no"; GENERIC_MENUS="no" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 remmina/receipt --- a/remmina/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/remmina/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -18,6 +18,12 @@ BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \ freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev" +current_version() +{ + wget -O - ${WGET_URL%/arch*} 2>/dev/null | \ + sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 ruby-gtk2/receipt --- a/ruby-gtk2/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/ruby-gtk2/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -23,6 +23,14 @@ TAGS="ruby programming gtk development" +current_version() +{ + local PKG=ruby-gnome2 + wget -O - https://sourceforge.net/projects/$PKG/files/$PKG 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 s3ql/receipt --- a/s3ql/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/s3ql/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -15,6 +15,12 @@ python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \ python-pytest python-py python-unittest2" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 splix/receipt --- a/splix/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/splix/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -14,8 +14,14 @@ DEPENDS="cups gcc gcc-lib-base" BUILD_DEPENDS="cups cups-dev jbigkit" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. - compile_rules() { cd $src sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp diff -r e424d38736d6 -r 4bae0fb81a17 tuxpaint/receipt --- a/tuxpaint/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/tuxpaint/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -17,6 +17,13 @@ libQtSvg librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev libsdl-pango-dev libsdl-ttf-dev python-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r e424d38736d6 -r 4bae0fb81a17 ufraw/receipt --- a/ufraw/receipt Fri Jul 09 16:30:40 2021 +0000 +++ b/ufraw/receipt Fri Jul 09 18:20:09 2021 +0000 @@ -15,6 +15,13 @@ BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \ libgtkimageview-dev bzip2-dev lcms2-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() {