Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package heroic-games-launcher for
openSUSE:Factory checked in at 2026-06-01 18:01:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/heroic-games-launcher (Old)
and /work/SRC/openSUSE:Factory/.heroic-games-launcher.new.1937 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "heroic-games-launcher"
Mon Jun 1 18:01:44 2026 rev:14 rq:1356229 version:2.22.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/heroic-games-launcher/heroic-games-launcher.changes
2026-05-24 19:37:18.487344079 +0200
+++
/work/SRC/openSUSE:Factory/.heroic-games-launcher.new.1937/heroic-games-launcher.changes
2026-06-01 18:02:40.378998558 +0200
@@ -1,0 +2,23 @@
+Sun May 31 19:03:47 UTC 2026 - Jonatas Gonçalves <[email protected]>
+
+- Fix Cannot find module 'locate-path' (boo#1266288)
+ - Fix runtime crashes caused by missing modules inside the ASAR archive:
+ * Force injection of ajv, ajv-formats, and builder-util-runtime
+ into production dependencies during offline tarball generation.
+ * Fix build failure with electron-builder >= 26.12 by removing
+ deprecated 'shrinkwrapIgnoreDev' schema property.
+ - Refactor get-sources.sh:
+ * Preserve upstream dependency tree structure.
+ * Restore optional dependencies for esbuild, swc, and rollup to
+ properly support multi-arch (aarch64) builds.
+ * Simplify pnpm overrides and lockfile generation.
+ - Clean up spec file:
+ * Move architecture-specific binary cleanup to the %install phase.
+ * Remove unused build dependencies (@esbuild, @swc, @rollup)
+ from the final package to reduce RPM size.
+ * Optimize stripping of native .node binaries.
+ * Fix rpmlint duplicated files warnings by applying %fdupes -s
+ across the entire Heroic installation directory.
+ * Removing release_tags that are no longer needed.
+
+-------------------------------------------------------------------
Old:
----
release_tags
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ heroic-games-launcher.spec ++++++
--- /var/tmp/diff_new_pack.Wd1xN4/_old 2026-06-01 18:03:04.007976417 +0200
+++ /var/tmp/diff_new_pack.Wd1xN4/_new 2026-06-01 18:03:04.015976748 +0200
@@ -36,7 +36,6 @@
Source1: pnpm-offline-store.tar.gz
Source2: heroic-games-launcher.rpmlintrc
Source3: get-sources.sh
-Source4: release_tags
BuildRequires: comet
BuildRequires: c++_compiler
BuildRequires: esbuild
@@ -82,7 +81,6 @@
%setup -T -D -a1 # pnpm-offline-store
sed -i -e "s/Exec=heroic-run /Exec=heroic /"
flatpak/com.heroicgameslauncher.hgl.desktop
-cp %{_sourcedir}/release_tags public/bin/.release_tags
%build
# Remove precompiled binaries to build from source
@@ -111,7 +109,7 @@
#pnpm config set store-dir .pnpm-store
export PNPM_STORE_DIR=.pnpm-store
-pnpm install --store-dir .pnpm-store --frozen-lockfile --ignore-scripts
--strict-peer-dependencies=false --offline
+pnpm install --offline --store-dir .pnpm-store --frozen-lockfile
--ignore-scripts --strict-peer-dependencies=false
pnpm dist:linux %{arch_flag} --dir
%ifarch aarch64
@@ -120,9 +118,6 @@
mkdir -p dist/linux-unpacked/resources/app.asar.unpacked/build
cp
build/{icon.icns,icon.png,icon-light.png,icon-dark.png,mac-icon.icns,win_icon.ico}
dist/linux-unpacked/resources/app.asar.unpacked/build
-rm -rf
dist/linux-unpacked/resources/app.asar.unpacked/build/bin/%{bin_subdir_opposite}/
-rm -rf
dist/linux-unpacked/resources/app.asar.unpacked/node_modules/{register-scheme/src,@parcel,@rollup,@swc,term-size,unimported,@unrs}
-
%install
install -d %{buildroot}%{_libdir}/Heroic %{buildroot}%{_bindir}
%{buildroot}%{_datadir}/{applications,pixmaps,metainfo}
install -d
%{buildroot}%{_libdir}/Heroic/resources/app.asar.unpacked/build/bin/%{bin_subdir}/linux
@@ -143,16 +138,12 @@
install -m 644
flatpak/templates/com.heroicgameslauncher.hgl.metainfo.xml.template \
%{buildroot}%{_datadir}/metainfo/com.heroicgameslauncher.hgl.metainfo.xml
+rm -rf
%{buildroot}%{_libdir}/Heroic/resources/app/build/bin/%{bin_subdir_opposite}/
rm -rf
%{buildroot}%{_libdir}/Heroic/resources/app.asar.unpacked/build/bin/%{bin_subdir_opposite}/
-rm -rf
%{buildroot}%{_libdir}/Heroic/resources/app.asar.unpacked/node_modules/{register-scheme/src,@parcel,@rollup,@swc,term-size,unimported,@unrs}
-rm -rf
%{buildroot}%{_libdir}/Heroic/resources/app.asar.unpacked/node_modules/@esbuild/
-
-find %{buildroot}%{_libdir}/Heroic -type f -path "*/node_modules/*" -name
"*.js" \
- -exec sed -i '1s|^#!.*||' {} \;
-find %{buildroot}%{_libdir}/Heroic -type f -path "*/node_modules/*" -name
"*.js" -exec sed -i '1s|^#!.*||' {} \;
-find %{buildroot}%{_libdir}/Heroic -type f \( -name "*.node" -o -perm /111 \)
-exec %{__strip} --strip-unneeded {} \; || true
+rm -rf %{buildroot}%{_libdir}/Heroic/resources/app.asar.unpacked/node_modules
+find %{buildroot}%{_libdir}/Heroic -type f -name "*.node" -exec %{__strip}
--strip-unneeded {} \; || true
-%fdupes %{buildroot}%{_libdir}/Heroic
+%fdupes -s %{buildroot}%{_libdir}/Heroic
%check
test -x dist/linux-unpacked/heroic
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.Wd1xN4/_old 2026-06-01 18:03:04.075979231 +0200
+++ /var/tmp/diff_new_pack.Wd1xN4/_new 2026-06-01 18:03:04.083979562 +0200
@@ -1,5 +1,5 @@
-mtime: 1779603928
-commit: dccb97b7edb4abaa6d37e5c17eb9b2a34306a2b903353bcaba4cfffb1980515c
+mtime: 1780254743
+commit: e701d62eda76ba9169f143c235f3a273aa625bfbdd64752d7c67a909a1fad3d8
url: https://src.opensuse.org/MaxxedSUSE/heroic-games-launcher
revision: master
++++++ get-sources.sh ++++++
--- /var/tmp/diff_new_pack.Wd1xN4/_old 2026-06-01 18:03:04.123981218 +0200
+++ /var/tmp/diff_new_pack.Wd1xN4/_new 2026-06-01 18:03:04.127981383 +0200
@@ -28,82 +28,81 @@
# Forcing the download of required npm dependencies
ESBUILD_VERSION="0.25.12"
-ROLLUP_VERSION="4.52.5"
SWC_VERSION="1.11.24"
-UNDICI_V7_FIXED="7.18.0"
jq --indent 2 \
- --arg rollup_ver "$ROLLUP_VERSION" \
--arg swc_ver "$SWC_VERSION" \
- --arg undici_v7 "$UNDICI_V7_FIXED" \
'
- .
- | .dependencies += (
- .devDependencies
- | with_entries(select(.key != "electron" and .key != "electron-builder"))
- )
-
- | del(.packageManager)
-
- | .devDependencies = {
- "electron": .devDependencies["electron"],
- "electron-builder": "^26.8.2"
- }
-
- | .scripts.build = "electron-vite build"
- | .scripts["dist:linux"] =
- "pnpm run build && electron-builder --linux --dir
-c.electronDist=/usr/lib64/electron/ -c.electronVersion=$(cat
/usr/lib64/electron/version)"
-
- | .build.executableName = "heroic"
- | .build.files = [
- "build/**/*",
- "dist/**/*",
- "node_modules/**/*",
- "!**/*.map"
- ]
-
- | .devDependencies |= with_entries(
- select(.key != "electron" and .key != "react-devtools")
- )
-
- | .peerDependencies.electron = "^25.9.3"
-
- # ===================================================
- # REMOVE DEPENDENCIES FROM EBUILD (USE THE SYSTEM ONE)
- # ===================================================
- | del(.dependencies["esbuild"], .devDependencies["esbuild"],
.optionalDependencies["esbuild"])
- | del(
- .dependencies["@esbuild/linux-x64"],
- .dependencies["@esbuild/linux-arm64"],
- .devDependencies["@esbuild/linux-x64"],
- .devDependencies["@esbuild/linux-arm64"],
- .optionalDependencies["@esbuild/linux-x64"],
- .optionalDependencies["@esbuild/linux-arm64"]
- )
-
- # =========================
- # Native binaries for Rollup and SWC
- # =========================
- | .dependencies["@rollup/rollup-linux-arm64-gnu"] = $rollup_ver
- | .dependencies["@swc/core-linux-arm64-gnu"] = $swc_ver
-
- # =========================
- # === Previous CVE fixes ===
- # =========================
- | .pnpm.overrides = (
+.
+| del(.packageManager)
+| del(.build.shrinkwrapIgnoreDev)
+
+| .dependencies["ajv"] = "^8.17.1"
+| .dependencies["ajv-formats"] = "^2.1.1"
+| .dependencies["builder-util-runtime"] = "^9.2.4"
+
+| .dependencies = (.dependencies // {})
+| .devDependencies = (.devDependencies // {})
+| .optionalDependencies = (.optionalDependencies // {})
+
+| .scripts.build = "electron-vite build"
+
+| .scripts["dist:linux"] = "pnpm run build && electron-builder --linux --dir
-c.electronDist=/usr/lib64/electron/ -c.electronVersion=$(cat
/usr/lib64/electron/version)"
+
+| .build.executableName = "heroic"
+
+| .build.npmRebuild = false
+| .build.nodeGypRebuild = false
+| .build.asarUnpack = ["build/bin/**/*"]
+
+| .build.files = [
+ "build/**/*",
+ "dist/**/*",
+ "node_modules/**/*",
+ "!**/*.map"
+ ]
+
+# ==========================================================
+# Use system electron only
+# Keep upstream ecosystem intact
+# ==========================================================
+| .devDependencies.electron = "^41.1.1"
+
+| .devDependencies["electron-builder"] = "^26.8.2"
+
+# ==========================================================
+# Multi-arch esbuild support
+# DO NOT REMOVE esbuild
+# This is what fixes aarch64
+# ==========================================================
+| .optionalDependencies["@esbuild/linux-x64"] = "0.25.12"
+| .optionalDependencies["@esbuild/linux-arm64"] = "0.25.12"
+
+# ==========================================================
+# Multi-arch rollup native binaries
+# ==========================================================
+| .optionalDependencies["@rollup/rollup-linux-x64-gnu"] = "4.52.5"
+| .optionalDependencies["@rollup/rollup-linux-arm64-gnu"] = "4.52.5"
+
+# ==========================================================
+# Multi-arch swc native binaries
+# ==========================================================
+| .optionalDependencies["@swc/core-linux-x64-gnu"] = "1.11.24"
+| .optionalDependencies["@swc/core-linux-arm64-gnu"] = "1.11.24"
+
+# ==========================================================
+# Security / compatibility overrides
+# ==========================================================
+| .pnpm.overrides = (
(.pnpm.overrides // {})
+ {
- "undici": $undici_v7,
- "undici-types": "6.21.0",
- "@remix-run/router": "^1.23.2",
- "react-router": "^7.12.0",
- "react-router-dom": "^7.12.0",
- "fast-xml-parser": "5.3.6",
- "rollup": "4.59.0",
+ "undici": "7.24.7",
+ "undici-types": "7.24.7",
"@tootallnate/once": "3.0.1",
- "simple-git": "^3.32.3",
- "fast-xml-parser": "5.5.6",
- "@xmldom/xmldom": "^0.9.9"
+ "simple-git": "3.32.3",
+ "fast-xml-parser": "5.5.7",
+ "@xmldom/xmldom": "0.8.12",
+ "find-up": "5.0.0",
}
)
' package.json > temp.json && mv temp.json package.json
@@ -120,8 +119,6 @@
echo "++++++++++++++++++++++++++++++++++++++++++++++"
pnpm config set store-dir .pnpm-store
-pnpm install --lockfile-only --force --ignore-scripts
-
pnpm install --ignore-scripts
tar cJf ../pnpm-offline-store.tar.gz .pnpm-store node_modules package.json
pnpm-lock.yaml
++++++ heroic-games-launcher-2.22.0.obscpio ++++++
/work/SRC/openSUSE:Factory/heroic-games-launcher/heroic-games-launcher-2.22.0.obscpio
/work/SRC/openSUSE:Factory/.heroic-games-launcher.new.1937/heroic-games-launcher-2.22.0.obscpio
differ: char 46235, line 1001
++++++ pnpm-offline-store.tar.gz ++++++
/work/SRC/openSUSE:Factory/heroic-games-launcher/pnpm-offline-store.tar.gz
/work/SRC/openSUSE:Factory/.heroic-games-launcher.new.1937/pnpm-offline-store.tar.gz
differ: char 15, line 1