From 5f90985624eb16524d96f6659b1b56c562e74441 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 25 Mar 2021 21:55:44 +0100 Subject: gdl: update source url and lastVersion.sh regex --- manualPorts/gdl/.footprint | 34 ---------------------------------- manualPorts/gdl/.md5sum | 2 +- manualPorts/gdl/.signature | 8 ++++---- manualPorts/gdl/Pkgfile | 7 ++++--- manualPorts/gdl/lastVersion.sh | 26 +++++++++----------------- 5 files changed, 18 insertions(+), 59 deletions(-) (limited to 'manualPorts/gdl') diff --git a/manualPorts/gdl/.footprint b/manualPorts/gdl/.footprint index 5505729..bf78c07 100644 --- a/manualPorts/gdl/.footprint +++ b/manualPorts/gdl/.footprint @@ -24,37 +24,3 @@ drwxr-xr-x root/root usr/lib/pkgconfig/ drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/gir-1.0/ -rw-r--r-- root/root usr/share/gir-1.0/Gdl-3.gir -drwxr-xr-x root/root usr/share/gtk-doc/ -drwxr-xr-x root/root usr/share/gtk-doc/html/ -drwxr-xr-x root/root usr/share/gtk-doc/html/gdl-3.0/ --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDock.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockBar.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockItem.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockItemButtonImage.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockItemGrip.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockLayout.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockMaster.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockNotebook.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockObject.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockPaned.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockPlaceholder.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlDockTablabel.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlPreviewWindow.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/GdlSwitcher.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/annotation-glossary.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/api-index-full.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/api.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/core.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/deprecated.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/gdl-3.0.devhelp2 --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/home.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/index.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/left-insensitive.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/left.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/private.html --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/right-insensitive.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/right.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/style.css --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/up-insensitive.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/up.png --rw-r--r-- root/root usr/share/gtk-doc/html/gdl-3.0/widget.html diff --git a/manualPorts/gdl/.md5sum b/manualPorts/gdl/.md5sum index a7b9e95..5433a47 100644 --- a/manualPorts/gdl/.md5sum +++ b/manualPorts/gdl/.md5sum @@ -1 +1 @@ -d624f2ca85555402828d5c4a98912b82 gdl-3.34.0.tar.xz +be0cfa4d3c2a3c87d99bfa6eedac4300 gdl-GDL_3_34_0.tar.gz diff --git a/manualPorts/gdl/.signature b/manualPorts/gdl/.signature index c7731a5..0a41ece 100644 --- a/manualPorts/gdl/.signature +++ b/manualPorts/gdl/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/deepthought.pub -RWQxCptPusLGGslbMQHypWTQ48spJMTP5Z/1XTdnSfTqiIH3Xxa9GTbtXsEqzQxq/ZWaBD/iRIFeHlnywHO39d/jG+BsiOxvdQ8= -SHA256 (Pkgfile) = 7976579206070a4ff37545611b7953144d87806d486136c19e9368441ff613be -SHA256 (.footprint) = 125a7a49b762b71161876b3e2ffe946d430cc063dbcf36ba26638b2b3ce504ba -SHA256 (gdl-3.34.0.tar.xz) = 858b30f0cdce4c4cb3e8365a7d54ce57c388beff38ea583be5449bc78dda8d02 +RWQxCptPusLGGigO2J7z2pTO1BN3+r+yffpXxMEoikCh5nUWfZBJyQcZ5zFibTbkqb8M6o3q2LfdPxl4CIm8ZIKYp/Ecb7OGAAQ= +SHA256 (Pkgfile) = 1c5eef2932e0bd78fda80a17dbf89888683dd6a9c62ffd8e3cdaf36114616907 +SHA256 (.footprint) = a305c822d09bd141075eed720ae853e508cf4e21f8f087945d000ac5481e3509 +SHA256 (gdl-GDL_3_34_0.tar.gz) = 486255bdd848cea1657e41f48b26391b2c2a801b5e46c31e4512f47462c2ee24 diff --git a/manualPorts/gdl/Pkgfile b/manualPorts/gdl/Pkgfile index 60a6f41..9a087e4 100644 --- a/manualPorts/gdl/Pkgfile +++ b/manualPorts/gdl/Pkgfile @@ -1,16 +1,17 @@ # Description: GNOME Docking Library # URL: https://developer.gnome.org/gdl/ # Maintainer: Erich Eckner, crux at eckner dot net -# Depends on: gtk3 +# Depends on: gtk3 gnome-common name=gdl version=3.34.0 release=1 -source=("http://ftp.gnome.org/pub/GNOME/sources/${name}/${version%.*}/${name}-${version}.tar.xz") +source=("https://gitlab.gnome.org/GNOME/gdl/-/archive/GDL_${version//./_}/gdl-GDL_${version//./_}.tar.gz") build() { - cd ${name}-${version} + cd gdl-GDL_${version//./_} + ./autogen.sh ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --disable-static --disable-nls make diff --git a/manualPorts/gdl/lastVersion.sh b/manualPorts/gdl/lastVersion.sh index 8bbafcc..bfca7fc 100755 --- a/manualPorts/gdl/lastVersion.sh +++ b/manualPorts/gdl/lastVersion.sh @@ -1,19 +1,11 @@ #!/bin/bash -mainUrl='ftp://ftp.gnome.org/pub/GNOME/sources/gdl/' - -mainVer="$( \ - curl "${mainUrl}" 2> /dev/null | \ - grep '^d' | \ - awk '{print $9}' | \ - grep '^[0-9.]\+$' | \ - sort -V | \ - tail -n1 -)" - -curl "${mainUrl}${mainVer}/" 2> /dev/null | \ - awk '{print $9}' | \ - grep '^gdl-[0-9.]\+\.tar\.xz$' | \ - sed 's|^gdl-\([0-9.]\+\)\.tar\.xz$|\1|' | \ - sort -V | \ - tail -n1 +curl -Ss 'https://gitlab.gnome.org/GNOME/gdl/-/tags' \ +| sed ' + s@^.* href="/GNOME/gdl/-/tags/GDL_\([0-9_]\+\)">GDL_\1.*$@\1@ + y/_/./ + t + d +' \ +| sort -V \ +| tail -n1 -- cgit v1.2.3-70-g09d2