Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package heroic-gogdl for openSUSE:Factory 
checked in at 2026-01-30 18:23:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/heroic-gogdl (Old)
 and      /work/SRC/openSUSE:Factory/.heroic-gogdl.new.1995 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "heroic-gogdl"

Fri Jan 30 18:23:12 2026 rev:3 rq:1329911 version:1.2.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/heroic-gogdl/heroic-gogdl.changes        
2026-01-29 17:49:17.216398842 +0100
+++ /work/SRC/openSUSE:Factory/.heroic-gogdl.new.1995/heroic-gogdl.changes      
2026-01-30 18:23:29.176549390 +0100
@@ -1,0 +2,6 @@
+Fri Jan 30 01:26:07 UTC 2026 - Jonatas Gonçalves <[email protected]>
+
+- Use system xdelta3 instead of bundled Python module
+  * Add use-system-xdelta3.patch
+
+-------------------------------------------------------------------

New:
----
  use-system-xdelta3.patch

----------(New B)----------
  New:- Use system xdelta3 instead of bundled Python module
  * Add use-system-xdelta3.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ heroic-gogdl.spec ++++++
--- /var/tmp/diff_new_pack.OLgZCe/_old  2026-01-30 18:23:30.024584979 +0100
+++ /var/tmp/diff_new_pack.OLgZCe/_new  2026-01-30 18:23:30.028585147 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package heroic-gogdl
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,10 +22,12 @@
 License:        GPL-3.0-only
 URL:            https://github.com/Heroic-Games-Launcher/heroic-gogdl
 Source0:        
https://github.com/Heroic-Games-Launcher/heroic-gogdl/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
+Patch0:         use-system-xdelta3.patch
 BuildRequires:  python313-PyInstaller
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module requests < 3.0}
+Requires:       xdelta3
 %ifarch aarch64
 ExclusiveArch: aarch64
 %endif
@@ -37,7 +39,7 @@
 GOG Downloading module for Heroic Games Launcher
 
 %prep
-%setup -q -n heroic-gogdl-%{version}
+%autosetup -p1
 
 %build
 pyinstaller --onefile --name gogdl gogdl/cli.py

++++++ use-system-xdelta3.patch ++++++
diff '--color=auto' -rub 
heroic-gogdl-1.2.0.orig/gogdl/dl/workers/task_executor.py 
heroic-gogdl-1.2.0/gogdl/dl/workers/task_executor.py
--- heroic-gogdl-1.2.0.orig/gogdl/dl/workers/task_executor.py   2026-01-21 
07:20:18.000000000 -0300
+++ heroic-gogdl-1.2.0/gogdl/dl/workers/task_executor.py        2026-01-29 
21:23:51.634296751 -0300
@@ -1,6 +1,7 @@
 from multiprocessing.shared_memory import SharedMemory
 import os
 from queue import Empty
+import subprocess
 import shutil
 import sys
 import stat
@@ -17,7 +18,6 @@
 from enum import Enum, auto
 from multiprocessing import Process, Queue
 from gogdl.dl.objects.generic import MemorySegment, TaskFlag, TerminateWorker
-import gogdl.xdelta3
 
 
 class FailReason(Enum):
@@ -357,7 +357,17 @@
                     patch = os.path.join(task.destination, task.patch_file)
                     patch = dl_utils.get_case_insensitive_name(patch)
                     target = task_path
-                    gogdl.xdelta3.patch(source, patch, target, 
self.speed_queue)
+                    xdelta = shutil.which("xdelta3")
+                    if not xdelta:
+                        raise RuntimeError("xdelta3 binary not found")
+
+                    cmd = [
+                        xdelta,
+                        "-d",        # decode
+                        "-s", source,
+                        patch,
+                        target
+                    ]
 
                 except Exception as e:
                     print("Patch failed", e)

Reply via email to