Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package onboard for openSUSE:Factory checked in at 2026-09-09 16:22:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/onboard (Old) and /work/SRC/openSUSE:Factory/.onboard.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "onboard" Wed Sep 9 16:22:39 2026 rev:18 rq:1376607 version:1.4.4.5 Changes: -------- --- /work/SRC/openSUSE:Factory/onboard/onboard.changes 2026-08-21 17:00:04.487373347 +0200 +++ /work/SRC/openSUSE:Factory/.onboard.new.1265/onboard.changes 2026-09-09 16:24:09.971576781 +0200 @@ -1,0 +2,6 @@ +Wed Aug 26 06:36:02 UTC 2026 - Dominique Leuenberger <[email protected]> + +- Add 1ced23c0.patch: Fix build against GNOME alpha/beta/rc + versions; the pattern to detect versions was too strict. + +------------------------------------------------------------------- New: ---- 1ced23c0.patch ----------(New B)---------- New: - Add 1ced23c0.patch: Fix build against GNOME alpha/beta/rc versions; the pattern to detect versions was too strict. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ onboard.spec ++++++ --- /var/tmp/diff_new_pack.DWFtVY/_old 2026-09-09 16:24:10.822612348 +0200 +++ /var/tmp/diff_new_pack.DWFtVY/_new 2026-09-09 16:24:10.825612474 +0200 @@ -28,6 +28,7 @@ URL: https://github.com/onboard-osk/onboard Source: %{url}/archive/refs/tags/v%{srcver}.tar.gz#/onboard-%{srcver}.tar.gz Source1: onboard-defaults.conf +Patch0: https://github.com/onboard-osk/onboard/commit/1ced23c0.patch BuildRequires: fdupes BuildRequires: gcc-c++ ++++++ 1ced23c0.patch ++++++ >From 1ced23c051650357774646460bd03135dfdfcf08 Mon Sep 17 00:00:00 2001 From: Uwe Niethammer <[email protected]> Date: Wed, 26 Aug 2026 02:08:41 +0200 Subject: [PATCH] setup.py: fix get_pkg_version for versions like '51.beta' (fixes #77) --- setup.py | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 683499be..8fb32462 100755 --- a/setup.py +++ b/setup.py @@ -146,10 +146,16 @@ def get_pkg_version(package): .format(repr(package), status), file=sys.stderr) sys.exit(2) - version = re.search(r'(?:(?:\d+)\.)+\d+', output).group() - components = version.split(".") - major, minor = int(components[0]), int(components[1]) - revision = int(components[2]) if len(components) >= 3 else 0 + match = re.match(r'(\d+)(?:\.(\d+))?(?:\.(\d+))?', output.strip()) + if not match: + print("setup.py: get_pkg_version({}): " + "unable to parse version from pkg-config output {!r}" \ + .format(repr(package), output), file=sys.stderr) + sys.exit(2) + + major = int(match.group(1)) + minor = int(match.group(2)) if match.group(2) else 0 + revision = int(match.group(3)) if match.group(3) else 0 return major, minor, revision def clean_before_build(command): ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.DWFtVY/_old 2026-09-09 16:24:10.943617405 +0200 +++ /var/tmp/diff_new_pack.DWFtVY/_new 2026-09-09 16:24:10.950617698 +0200 @@ -1,6 +1,7 @@ -mtime: 1786104872 -commit: 55b3199e54fe0a23e056d80435fc6ef9ff71df6c3b9ac624514f319eae8a980d +mtime: 1787726224 +commit: fafaffccece3a75a4679c71d9c4532d256d08d24853a832f5cd734762e8db7ee url: https://src.opensuse.org/GNOME/onboard -revision: 55b3199e54fe0a23e056d80435fc6ef9ff71df6c3b9ac624514f319eae8a980d +revision: fafaffccece3a75a4679c71d9c4532d256d08d24853a832f5cd734762e8db7ee +trackingbranch: factory projectscmsync: https://src.opensuse.org/GNOME/_ObsPrj ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-08-26 08:37:04.000000000 +0200 @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild
