Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] google-chrome: update to 120.0.6099.129.
@ 2023-12-28 18:22 heindsight
  2023-12-28 19:35 ` [PR PATCH] [Merged]: " Duncaen
  0 siblings, 1 reply; 2+ messages in thread
From: heindsight @ 2023-12-28 18:22 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 927 bytes --]

There is a new pull request by heindsight against master on the void-packages repository

https://github.com/heindsight/void-packages google-chrome
https://github.com/void-linux/void-packages/pull/47951

google-chrome: update to 120.0.6099.129.
Update `google-chrome` to latest stable version.

This also updates the site and pattern used to check for new releases as omahaproxy.appspot.com has been shut down. There is no replacement for the CSV release history, instead the recommendation [here](https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ) is to use Google's version history API to get the released version data in JSON form.

#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64

A patch file from https://github.com/void-linux/void-packages/pull/47951.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-google-chrome-47951.patch --]
[-- Type: text/x-diff, Size: 2236 bytes --]

From f81c9af9951920dd2dab55f2411e025b3e272293 Mon Sep 17 00:00:00 2001
From: Heinrich Kruger <heindsight@kruger.dev>
Date: Thu, 28 Dec 2023 18:10:51 +0000
Subject: [PATCH] google-chrome: update to 120.0.6099.129.

---
 srcpkgs/google-chrome/template |  4 ++--
 srcpkgs/google-chrome/update   | 12 +++++-------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/google-chrome/template b/srcpkgs/google-chrome/template
index f05dfa5632d2d..046741acaf7ef 100644
--- a/srcpkgs/google-chrome/template
+++ b/srcpkgs/google-chrome/template
@@ -1,6 +1,6 @@
 # Template file for 'google-chrome'
 pkgname=google-chrome
-version=119.0.6045.159
+version=120.0.6099.129
 revision=1
 _channel=stable
 archs="x86_64"
@@ -11,7 +11,7 @@ maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="custom:chrome"
 homepage="https://www.google.com/chrome/"
 distfiles="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-${_channel}_${version}-1_amd64.deb"
-checksum=c409bb6cfb279c90fb516353b4728cbf97a71e8deb33dc3433cd503ea65594fe
+checksum=d050758136ec8ea151cb4a1c134c39002b43f64489e40327c60faa071a82ba57
 
 skiprdeps="/opt/google/chrome/libqt5_shim.so /opt/google/chrome/libqt6_shim.so"
 repository=nonfree
diff --git a/srcpkgs/google-chrome/update b/srcpkgs/google-chrome/update
index 5b8da60773491..9790f05fbd95a 100644
--- a/srcpkgs/google-chrome/update
+++ b/srcpkgs/google-chrome/update
@@ -1,7 +1,5 @@
-# This site is an official source of version numbers, but it is not
-# obviously associated as such.  We save bytes here and request the
-# CSV, and then only the row containing the stable version number for
-# the Linux desktop build.  As a result the regex can be pretty simple
-# to just grab the version number out of the correct column.
-site="https://omahaproxy.appspot.com/all?os=linux&channel=stable"
-pattern="stable,\K[\d.]+(?=,)"
+# Call Google's version history API to get stable linux desktop releases
+# that are still being served (endtime=none). Look for the 'version' in
+# the JSON response.
+site="https://versionhistory.googleapis.com/v1/chrome/platforms/linux/channels/stable/versions/all/releases?filter=endtime=none"
+pattern="\"version\": *\"\K[\d.]+(?=\")"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: google-chrome: update to 120.0.6099.129.
  2023-12-28 18:22 [PR PATCH] google-chrome: update to 120.0.6099.129 heindsight
@ 2023-12-28 19:35 ` Duncaen
  0 siblings, 0 replies; 2+ messages in thread
From: Duncaen @ 2023-12-28 19:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 764 bytes --]

There's a merged pull request on the void-packages repository

google-chrome: update to 120.0.6099.129.
https://github.com/void-linux/void-packages/pull/47951

Description:
Update `google-chrome` to latest stable version.

This also updates the site and pattern used to check for new releases as omahaproxy.appspot.com has been shut down. There is no replacement for the CSV release history, instead the recommendation [here](https://groups.google.com/a/chromium.org/g/chromium-dev/c/uH-nFrOLWtE/m/PhUj_inyAQAJ) is to use Google's version history API to get the released version data in JSON form.

#### Testing the changes
- I tested the changes in this PR: **YES**


#### Local build testing
- I built this PR locally for my native architecture, x86_64

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-28 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28 18:22 [PR PATCH] google-chrome: update to 120.0.6099.129 heindsight
2023-12-28 19:35 ` [PR PATCH] [Merged]: " Duncaen

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).