Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libXau for openSUSE:Factory checked 
in at 2025-03-31 11:37:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libXau (Old)
 and      /work/SRC/openSUSE:Factory/.libXau.new.2696 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libXau"

Mon Mar 31 11:37:21 2025 rev:14 rq:1265205 version:1.0.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/libXau/libXau.changes    2024-12-16 
19:09:01.558271471 +0100
+++ /work/SRC/openSUSE:Factory/.libXau.new.2696/libXau.changes  2025-03-31 
11:37:38.842401193 +0200
@@ -1,0 +2,13 @@
+Fri Mar 28 12:26:06 UTC 2025 - Stefan Dirsch <sndir...@suse.com>
+
+- replaced fix-sed-for-manpages.patch with upstream patch
+  U_meson-fix-generation-of-shadow-man-pages.patch
+
+-------------------------------------------------------------------
+Wed Mar 26 12:57:19 UTC 2025 - Thorsten Kukuk <ku...@suse.com>
+
+- fix-sed-for-manpages.patch: sed need to replace all occurences
+  of the string, not only the first one. Else e.g. .so references
+  are broken (.so man3/Xau.__libmansuffix__)
+
+-------------------------------------------------------------------

New:
----
  U_meson-fix-generation-of-shadow-man-pages.patch

BETA DEBUG BEGIN:
  New:- replaced fix-sed-for-manpages.patch with upstream patch
  U_meson-fix-generation-of-shadow-man-pages.patch
BETA DEBUG END:

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

Other differences:
------------------
++++++ libXau.spec ++++++
--- /var/tmp/diff_new_pack.CfBACs/_old  2025-03-31 11:37:39.466427076 +0200
+++ /var/tmp/diff_new_pack.CfBACs/_new  2025-03-31 11:37:39.466427076 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libXau
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 #Git-Web:       http://cgit.freedesktop.org/xorg/lib/libXau/
 Source:         
http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
 Source1:        baselibs.conf
+Patch:          U_meson-fix-generation-of-shadow-man-pages.patch
 #git#BuildRequires:    autoconf >= 2.60, automake
 BuildRequires:  fdupes
 BuildRequires:  libtool
@@ -76,7 +77,7 @@
 in %{lname}.
 
 %prep
-%setup -q
+%autosetup -p1
 
 %build
 %meson

++++++ U_meson-fix-generation-of-shadow-man-pages.patch ++++++
>From fb63768b72437e647fe85b4cfa2f211e986cc564 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersm...@oracle.com>
Date: Sun, 9 Feb 2025 10:31:27 -0800
Subject: [PATCH] meson: fix generation of shadow man pages

Since the shadow man pages have 'man__libmansuffix__/Xau.__libmansuffix__'
the /g modifier needs to be applied to the sed substitution to make it
apply to all instances in the line, not just the first.

Fixes: 68e74d3 ("add Meson build system")
Signed-off-by: Alan Coopersmith <alan.coopersm...@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/lib/libxau/-/merge_requests/20>
---
 man/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/meson.build b/man/meson.build
index 4732cbc..64babf5 100644
--- a/man/meson.build
+++ b/man/meson.build
@@ -13,7 +13,7 @@ foreach man : ['Xau', 'XauDisposeAuth', 'XauFileName', 
'XauGetAuthByAddr',
     command : [
       prog_sed,
       '-e', 's/__xorgversion__/"libXau @0@" "X Version 
11"/'.format(meson.project_version()),
-      '-e', 's/__libmansuffix__/3/',
+      '-e', 's/__libmansuffix__/3/g',
       '@INPUT@',
     ],
     capture : true,
-- 
2.43.0

Reply via email to