From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] update_check: update GNOME pattern for GNOME 40
Date: Wed, 27 Jan 2021 02:23:10 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28256@inbox.vuxu.org> (raw)
[-- 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]*"
next reply other threads:[~2021-01-27 1:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-27 1:23 sgn [this message]
2021-01-28 0:19 ` [PR PATCH] [Merged]: " sgn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-28256@inbox.vuxu.org \
--to=sgn@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).