* [PR PATCH] update_check: update GNOME pattern for GNOME 40
@ 2021-01-27 1:23 sgn
2021-01-28 0:19 ` [PR PATCH] [Merged]: " sgn
0 siblings, 1 reply; 2+ messages in thread
From: sgn @ 2021-01-27 1:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
There is a new pull request by sgn against master on the void-packages repository
https://github.com/sgn/void-packages gnome-40-update-check
https://github.com/void-linux/void-packages/pull/28256
update_check: update GNOME pattern for GNOME 40
A patch file from https://github.com/void-linux/void-packages/pull/28256.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gnome-40-update-check-28256.patch --]
[-- Type: text/x-diff, Size: 6010 bytes --]
From b1e240e84c960307672c041eda7d0a840599258c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
<congdanhqx@gmail.com>
Date: Wed, 27 Jan 2021 07:12:47 +0700
Subject: [PATCH] update_check: update GNOME pattern for GNOME 40
---
common/xbps-src/shutils/update_check.sh | 9 +++++++--
srcpkgs/NetworkManager/update | 1 -
srcpkgs/adwaita-icon-theme/update | 1 -
srcpkgs/clutter/update | 2 --
srcpkgs/glib-networking/update | 1 -
srcpkgs/gnome-control-center/update | 1 -
srcpkgs/gnome-desktop/update | 1 -
srcpkgs/gnome-online-accounts/update | 2 --
srcpkgs/gobject-introspection/update | 2 --
srcpkgs/gsettings-desktop-schemas/update | 1 -
srcpkgs/gsound/update | 2 --
srcpkgs/libgweather/update | 2 --
srcpkgs/mutter/update | 2 --
srcpkgs/simple-scan/update | 1 -
14 files changed, 7 insertions(+), 21 deletions(-)
delete mode 100644 srcpkgs/NetworkManager/update
delete mode 100644 srcpkgs/adwaita-icon-theme/update
delete mode 100644 srcpkgs/clutter/update
delete mode 100644 srcpkgs/glib-networking/update
delete mode 100644 srcpkgs/gnome-control-center/update
delete mode 100644 srcpkgs/gnome-desktop/update
delete mode 100644 srcpkgs/gnome-online-accounts/update
delete mode 100644 srcpkgs/gobject-introspection/update
delete mode 100644 srcpkgs/gsettings-desktop-schemas/update
delete mode 100644 srcpkgs/gsound/update
delete mode 100644 srcpkgs/mutter/update
delete mode 100644 srcpkgs/simple-scan/update
diff --git a/common/xbps-src/shutils/update_check.sh b/common/xbps-src/shutils/update_check.sh
index d88fb12e253..4ce6129a511 100644
--- a/common/xbps-src/shutils/update_check.sh
+++ b/common/xbps-src/shutils/update_check.sh
@@ -22,7 +22,12 @@ update_check() {
export LC_ALL=C
if [ -z "$site" ]; then
- printf '%s\n' "$homepage"
+ case "$distfiles" in
+ # only consider versions those exist in ftp.gnome.org
+ *ftp.gnome.org*) ;;
+ *)
+ printf '%s\n' "$homepage" ;;
+ esac
for i in $distfiles; do
printf '%s\n' "${i%/*}/"
done
@@ -126,7 +131,7 @@ update_check() {
url="https://bitbucket.org/$pkgurlname/downloads"
rx='/(get|downloads)/(v?|\Q'"$pkgname"'\E-)?\K[\d\.]+(?=\.tar)';;
*ftp.gnome.org*)
- : ${pattern="\Q$pkgname\E-\K[0-9]+\.[0-9]*[02468]\.[0-9.]*[0-9](?=)"}
+ : ${pattern="\Q$pkgname\E-\K([13]\.[0-9]*[02468]|[4-9][0-9]+)\.[0-9.]*[0-9](?=)"}
url="http://ftp.gnome.org/pub/GNOME/sources/$pkgname/cache.json";;
*kernel.org/pub/linux/kernel/*)
rx=linux-'\K'${version%.*}'[\d.]+(?=\.tar\.xz)';;
diff --git a/srcpkgs/NetworkManager/update b/srcpkgs/NetworkManager/update
deleted file mode 100644
index a73db8805ed..00000000000
--- a/srcpkgs/NetworkManager/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*.[0-9]*[13579].*"
diff --git a/srcpkgs/adwaita-icon-theme/update b/srcpkgs/adwaita-icon-theme/update
deleted file mode 100644
index a73db8805ed..00000000000
--- a/srcpkgs/adwaita-icon-theme/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*.[0-9]*[13579].*"
diff --git a/srcpkgs/clutter/update b/srcpkgs/clutter/update
deleted file mode 100644
index 0980963f6df..00000000000
--- a/srcpkgs/clutter/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="${GNOME_SITE}/$pkgname/cache.json"
-ignore="1.*[13579].*"
diff --git a/srcpkgs/glib-networking/update b/srcpkgs/glib-networking/update
deleted file mode 100644
index a73db8805ed..00000000000
--- a/srcpkgs/glib-networking/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*.[0-9]*[13579].*"
diff --git a/srcpkgs/gnome-control-center/update b/srcpkgs/gnome-control-center/update
deleted file mode 100644
index a73db8805ed..00000000000
--- a/srcpkgs/gnome-control-center/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*.[0-9]*[13579].*"
diff --git a/srcpkgs/gnome-desktop/update b/srcpkgs/gnome-desktop/update
deleted file mode 100644
index a73db8805ed..00000000000
--- a/srcpkgs/gnome-desktop/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*.[0-9]*[13579].*"
diff --git a/srcpkgs/gnome-online-accounts/update b/srcpkgs/gnome-online-accounts/update
deleted file mode 100644
index a84fbbad8b1..00000000000
--- a/srcpkgs/gnome-online-accounts/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="${GNOME_SITE}/$pkgname/cache.json"
-ignore="3.*[13579].*"
diff --git a/srcpkgs/gobject-introspection/update b/srcpkgs/gobject-introspection/update
deleted file mode 100644
index 0980963f6df..00000000000
--- a/srcpkgs/gobject-introspection/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="${GNOME_SITE}/$pkgname/cache.json"
-ignore="1.*[13579].*"
diff --git a/srcpkgs/gsettings-desktop-schemas/update b/srcpkgs/gsettings-desktop-schemas/update
deleted file mode 100644
index a73db8805ed..00000000000
--- a/srcpkgs/gsettings-desktop-schemas/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="*.[0-9]*[13579].*"
diff --git a/srcpkgs/gsound/update b/srcpkgs/gsound/update
deleted file mode 100644
index a84fbbad8b1..00000000000
--- a/srcpkgs/gsound/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="${GNOME_SITE}/$pkgname/cache.json"
-ignore="3.*[13579].*"
diff --git a/srcpkgs/libgweather/update b/srcpkgs/libgweather/update
index a84fbbad8b1..e69de29bb2d 100644
--- a/srcpkgs/libgweather/update
+++ b/srcpkgs/libgweather/update
@@ -1,2 +0,0 @@
-site="${GNOME_SITE}/$pkgname/cache.json"
-ignore="3.*[13579].*"
diff --git a/srcpkgs/mutter/update b/srcpkgs/mutter/update
deleted file mode 100644
index a84fbbad8b1..00000000000
--- a/srcpkgs/mutter/update
+++ /dev/null
@@ -1,2 +0,0 @@
-site="${GNOME_SITE}/$pkgname/cache.json"
-ignore="3.*[13579].*"
diff --git a/srcpkgs/simple-scan/update b/srcpkgs/simple-scan/update
deleted file mode 100644
index 92dea937506..00000000000
--- a/srcpkgs/simple-scan/update
+++ /dev/null
@@ -1 +0,0 @@
-ignore="[0-9].[0-9][13579]*"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: update_check: update GNOME pattern for GNOME 40
2021-01-27 1:23 [PR PATCH] update_check: update GNOME pattern for GNOME 40 sgn
@ 2021-01-28 0:19 ` sgn
0 siblings, 0 replies; 2+ messages in thread
From: sgn @ 2021-01-28 0:19 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 181 bytes --]
There's a merged pull request on the void-packages repository
update_check: update GNOME pattern for GNOME 40
https://github.com/void-linux/void-packages/pull/28256
Description:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-28 0:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-27 1:23 [PR PATCH] update_check: update GNOME pattern for GNOME 40 sgn
2021-01-28 0:19 ` [PR PATCH] [Merged]: " sgn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).