Accepting request 1247049 from X11:XOrg

- u_pkgconfig-file-move-sm-from-private-to-public-Requir.patch 
  * pkgconfig file: move 'sm' from private to public Requires
    Since <X11/Shell.h> includes <X11/SM/SMlib.h> 'sm' should be a
    public Requires in xt.pc. (boo#1237276)

OBS-URL: https://build.opensuse.org/request/show/1247049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libXt?expand=0&rev=15
This commit is contained in:
2025-02-20 15:27:19 +00:00
committed by Git OBS Bridge
3 changed files with 39 additions and 2 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Feb 19 11:41:45 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
- u_pkgconfig-file-move-sm-from-private-to-public-Requir.patch
* pkgconfig file: move 'sm' from private to public Requires
Since <X11/Shell.h> includes <X11/SM/SMlib.h> 'sm' should be a
public Requires in xt.pc. (boo#1237276)
-------------------------------------------------------------------
Tue Nov 19 12:43:42 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libXt
#
# 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
@@ -29,6 +29,7 @@ URL: http://xorg.freedesktop.org/
#Git-Web: http://cgit.freedesktop.org/xorg/lib/libXt/
Source: http://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz
Source1: baselibs.conf
Patch0: u_pkgconfig-file-move-sm-from-private-to-public-Requir.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#git#BuildRequires: autoconf >= 2.60, automake, libtool
@@ -84,7 +85,7 @@ This package contains the development headers for the library found
in %lname.
%prep
%setup -q
%autosetup -p1
%build
%configure --docdir=%_docdir/%name --disable-static

View File

@@ -0,0 +1,28 @@
From 04de31e49032aed32839065ec11d9a291850b7a9 Mon Sep 17 00:00:00 2001
From: Stefan Dirsch <sndirsch@suse.de>
Date: Wed, 19 Feb 2025 12:34:38 +0100
Subject: [PATCH] pkgconfig file: move 'sm' from private to public Requires
Since <X11/Shell.h> includes <X11/SM/SMlib.h> 'sm' should be a public
Requires in xt.pc.
---
xt.pc.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xt.pc.in b/xt.pc.in
index 1950523..4af66a5 100644
--- a/xt.pc.in
+++ b/xt.pc.in
@@ -10,7 +10,7 @@ xfilesearchpath=@XFILESEARCHPATHDEFAULT@
Name: Xt
Description: X Toolkit Library
Version: @VERSION@
-Requires: xproto x11
-Requires.private: ice sm
+Requires: sm xproto x11
+Requires.private: ice
Cflags: -I${includedir}
Libs: -L${libdir} -lXt
--
2.43.0