Skip to content

Commit 0bbaf55

Browse files
authored
ungoogled-chromium: 131.0.6778.69-1 -> 131.0.6778.85-1 (#357691)
2 parents 96ae446 + bd84f1c commit 0bbaf55

File tree

2 files changed

+32
-22
lines changed

2 files changed

+32
-22
lines changed

pkgs/applications/networking/browsers/chromium/info.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@
766766
}
767767
},
768768
"ungoogled-chromium": {
769-
"version": "131.0.6778.69",
769+
"version": "131.0.6778.85",
770770
"deps": {
771771
"depot_tools": {
772772
"rev": "20b9bdcace7ed561d6a75728c85373503473cb6b",
@@ -777,16 +777,16 @@
777777
"hash": "sha256-a8yCdBsl0nBMPS+pCLwrkAvQNP/THx/z/GySyOgx4Jk="
778778
},
779779
"ungoogled-patches": {
780-
"rev": "131.0.6778.69-1",
781-
"hash": "sha256-1XKlIO8aH3eHNiF4fPJGymo1MGUgHlqD98vWjHGMWHY="
780+
"rev": "131.0.6778.85-1",
781+
"hash": "sha256-mcSshjdfUEH4ur4z+0P0oWCjlV8EhFMc+7rdfIIPASI="
782782
},
783783
"npmHash": "sha256-b1l8SwjAfoColoa3zhTMPEF/rRuxzT3ATHE77rWU5EA="
784784
},
785785
"DEPS": {
786786
"src": {
787787
"url": "https://chromium.googlesource.com/chromium/src.git",
788-
"rev": "131.0.6778.69",
789-
"hash": "sha256-GbhiqLRC5Kilo84XwYHnosNUgtZNCwmuzSOkP6if/8s=",
788+
"rev": "131.0.6778.85",
789+
"hash": "sha256-fREToEHVbTD0IVGx/sn7csSju4BYajWZ+LDCiKWV4cI=",
790790
"recompress": true
791791
},
792792
"src/third_party/clang-format/script": {
@@ -886,8 +886,8 @@
886886
},
887887
"src/third_party/dawn": {
888888
"url": "https://dawn.googlesource.com/dawn.git",
889-
"rev": "cdc5b4dc1ee1482378b545b6c1efa1a234195ab5",
890-
"hash": "sha256-HtLdotDYA0fsUyFkk/nhJ+GPC+GkbwfmyPbJLKAyKdE="
889+
"rev": "7e742cac42c29a14ab7f54b134b2f17592711267",
890+
"hash": "sha256-K2gwKNwonzCIu4hnlYuOaYyKaRV11hwDzF4oykiKsl0="
891891
},
892892
"src/third_party/dawn/third_party/glfw": {
893893
"url": "https://chromium.googlesource.com/external/github.com/glfw/glfw",
@@ -1526,8 +1526,8 @@
15261526
},
15271527
"src/v8": {
15281528
"url": "https://chromium.googlesource.com/v8/v8.git",
1529-
"rev": "7075674f24f09d3b30913710a31e8793c131000a",
1530-
"hash": "sha256-N6FB/ocU1KIAGoYTnAl42qjrjatuD5fooRu93akPUjM="
1529+
"rev": "bd2671b973062afc614b852ec190524b80aaef8a",
1530+
"hash": "sha256-uq0CE7Chqzy2d+iifC3hV9RTnDVinpwjl1pOzyNGbSo="
15311531
}
15321532
}
15331533
}

pkgs/applications/networking/browsers/chromium/update.mjs

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ for (const attr_path of Object.keys(lockfile)) {
3838
}
3939

4040
const ungoogled = attr_path === 'ungoogled-chromium'
41-
const version_nixpkgs = !ungoogled ? lockfile[attr_path].version : lockfile[attr_path].deps["ungoogled-patches"].rev
41+
const version_nixpkgs = !ungoogled ? lockfile[attr_path].version : lockfile[attr_path].deps['ungoogled-patches'].rev
4242
const version_upstream = !ungoogled ? await get_latest_chromium_release() : await get_latest_ungoogled_release()
4343

4444
console.log(`[${attr_path}] ${chalk.red(version_nixpkgs)} (nixpkgs)`)
@@ -56,7 +56,7 @@ for (const attr_path of Object.keys(lockfile)) {
5656
deps: {
5757
depot_tools: {},
5858
gn: {},
59-
"ungoogled-patches": ungoogled ? await fetch_ungoogled(version_upstream) : undefined,
59+
'ungoogled-patches': ungoogled ? await fetch_ungoogled(version_upstream) : undefined,
6060
npmHash: dummy_hash,
6161
},
6262
DEPS: {},
@@ -84,18 +84,28 @@ for (const attr_path of Object.keys(lockfile)) {
8484
value.recompress = true
8585
}
8686

87-
const cache = lockfile_initial[attr_path].DEPS[path]
88-
const cache_hit =
89-
cache !== undefined &&
90-
value.url === cache.url &&
91-
value.rev === cache.rev &&
92-
value.recompress === cache.recompress &&
93-
cache.hash !== undefined &&
94-
cache.hash !== '' &&
95-
cache.hash !== dummy_hash
87+
const cache_hit = (() => {
88+
for (const attr_path in lockfile_initial) {
89+
const cache = lockfile_initial[attr_path].DEPS[path]
90+
const hits_cache =
91+
cache !== undefined &&
92+
value.url === cache.url &&
93+
value.rev === cache.rev &&
94+
value.recompress === cache.recompress &&
95+
cache.hash !== undefined &&
96+
cache.hash !== '' &&
97+
cache.hash !== dummy_hash
98+
99+
if (hits_cache) {
100+
cache.attr_path = attr_path
101+
return cache;
102+
}
103+
}
104+
})();
105+
96106
if (cache_hit) {
97-
console.log(`[${chalk.green(path)}] Reusing hash from previous info.json for ${cache.url}@${cache.rev}`)
98-
value.hash = cache.hash
107+
console.log(`[${chalk.green(path)}] Reusing hash from previous info.json for ${cache_hit.url}@${cache_hit.rev} from ${cache_hit.attr_path}`)
108+
value.hash = cache_hit.hash
99109
continue
100110
}
101111

0 commit comments

Comments
 (0)