commit 398167b594d96eec9332b68fb16b3166954677e156e26cc3745a373bcdaec7f0 Author: Adrian Schröter Date: Fri May 3 14:21:51 2024 +0200 Sync from SUSE:SLFO:Main libSM revision 48bdd3bc7235a6e278956f5ca05dc18b diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..0b8e7a4 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,8 @@ +libSM6 + provides "xorg-x11-libSM- = 7.6_" + obsoletes "xorg-x11-libSM- < 7.6_" +libSM-devel + requires -libSM- + requires "libSM6- = " + provides "xorg-x11-libSM- = 7.6_" + obsoletes "xorg-x11-libSM- < 7.6_" diff --git a/libSM-1.2.4.tar.xz b/libSM-1.2.4.tar.xz new file mode 100644 index 0000000..e95c9a3 --- /dev/null +++ b/libSM-1.2.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdcbe51e4d1276b1183da77a8a4e74a137ca203e0bcfb20972dd5f3347e97b84 +size 306944 diff --git a/libSM.changes b/libSM.changes new file mode 100644 index 0000000..54cb47d --- /dev/null +++ b/libSM.changes @@ -0,0 +1,170 @@ +------------------------------------------------------------------- +Fri Dec 23 08:18:44 UTC 2022 - Dirk Müller + +- update to 1.2.4: + * Handle arrays too large to fit in iceConn buffers + * v2: Raise required libICE version to 1.1.0 to get the updated + IceGetHeaderExtra macro definition needed for this to work correctly. + * Fix some potential memory leaks in SmcCloseConnection(). + * Add uuid as private dependency to sm.pc for static linking + * Fix spelling/wording issues + +------------------------------------------------------------------- +Wed Oct 10 16:19:40 UTC 2018 - sndirsch@suse.com + +- Update to version 1.2.3 + * autogen: add default patch prefix + * autogen.sh: use quoted string variables + * autogen.sh: use exec instead of waiting for configure to finish + * Stop compiling empty sm_auth.c stub + * Fix callbacks signatures in libSM documentation + * Include unistd.h for getpid() + * Fix uuid_to_string(3) type + * Get rid of strcpy() in the HAVE_UUID_CREATE case + * Fixed out ouf boundary accesses. + +------------------------------------------------------------------- +Thu Sep 12 17:35:18 UTC 2013 - zaitor@opensuse.org + +- Update to version 1.2.2: + + Fix some clang warnings about integer size/sign conversions. + + Constify previous_id argument to SmcOpenConnection. + + autogen.sh: Implement GNOME Build API. + + configure: Remove AM_MAINTAINER_MODE. + + Remove unused TLI ("STREAMSCONN") code from libSM. + +------------------------------------------------------------------- +Sun Feb 17 17:21:53 UTC 2013 - jengelh@inai.de + +- Use more robust make install call + +------------------------------------------------------------------- +Wed Apr 11 15:06:46 UTC 2012 - vuntz@opensuse.org + +- Update to version 1.2.1: + + Fixes for issues found by static analysis & compiler warnings + + Documentation cleanups & improvements, + + Build configuration improvements + +------------------------------------------------------------------- +Sun Feb 12 03:35:24 UTC 2012 - jengelh@medozas.de + +- Rename xorg-x11-libSM to libSM and utilize shlib policy + +------------------------------------------------------------------- +Sun Nov 20 06:48:24 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Tue Dec 21 02:42:05 UTC 2010 - sndirsch@novell.com + +- bumped version number to 7.6 + +------------------------------------------------------------------- +Wed Dec 1 14:03:15 UTC 2010 - sndirsch@novell.com + +- revert 'export only public API symbols' for consistency reasons; + now all these 'export only public API symbols' changes have been + reverted + +------------------------------------------------------------------- +Tue Nov 30 14:19:32 UTC 2010 - cristian.rodriguez@opensuse.org + +- export only public API symbols +- disable silent rules, defeat the purpose of post build checks + +------------------------------------------------------------------- +Thu Oct 28 13:48:28 UTC 2010 - sndirsch@novell.com + +- libSM 1.2.0 + * This release fixes a couple of bugs and includes a lot of work + from multiple people on the documentation to convert the + ancient troff scrolls to DocBook/XML. It also includes the + usual recent rounds of build configuration improvements and + janitorial cleanups. + +------------------------------------------------------------------- +Fri Apr 2 17:53:14 CEST 2010 - sndirsch@suse.de + +- bumped version number to 7.5 + +------------------------------------------------------------------- +Sat Aug 8 12:31:35 CEST 2009 - sndirsch@suse.de + +- libSM 1.1.1 + * new release of libSM with quite a bit of code churn but no real + new feature. + +------------------------------------------------------------------- +Sat May 2 14:42:17 CEST 2009 - eich@suse.de + +- revert static library and .la file removal + for SUSE versions <= 11.1. + +------------------------------------------------------------------- +Tue Apr 21 21:05:37 CEST 2009 - crrodriguez@suse.de + +- remove static libraries and "la" files + +------------------------------------------------------------------- +Thu Sep 11 14:20:49 CEST 2008 - sndirsch@suse.de + +- bumped release number to 7.4 + +------------------------------------------------------------------- +Fri Jul 4 04:53:37 CEST 2008 - sndirsch@suse.de + +- libSM 1.1.0 + * bfo #14949: Don't use gethostbyname() for client IDs. + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Wed Jan 2 02:48:58 CET 2008 - crrodriguez@suse.de + +- fix library-without-ldconfig-* error +- add missing PreReq coreutils + +------------------------------------------------------------------- +Sat Sep 29 12:22:34 CEST 2007 - sndirsch@suse.de + +- bumped version to 7.3 + +------------------------------------------------------------------- +Sun May 13 22:14:54 CEST 2007 - sndirsch@suse.de + +- update libSM to release 1.0.3 + * This release just contains some code cleanups that decrease the + library size by a few KB. + +------------------------------------------------------------------- +Sat Oct 14 06:05:47 CEST 2006 - sndirsch@suse.de + +- update to X.Org 7.2RC1 + +------------------------------------------------------------------- +Wed Aug 2 16:11:59 CEST 2006 - sndirsch@suse.de + +- fix setup line + +------------------------------------------------------------------- +Fri Jul 28 14:44:14 CEST 2006 - sndirsch@suse.de + +- use "-fno-strict-aliasing" + +------------------------------------------------------------------- +Thu Jul 27 11:40:55 CEST 2006 - sndirsch@suse.de + +- use $RPM_OPT_FLAGS +- remove existing /usr/include/X11 symlink in %pre + +------------------------------------------------------------------- +Thu Jun 22 21:28:26 CEST 2006 - sndirsch@suse.de + +- created package + diff --git a/libSM.spec b/libSM.spec new file mode 100644 index 0000000..a24e9e2 --- /dev/null +++ b/libSM.spec @@ -0,0 +1,115 @@ +# +# spec file for package libSM +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define lname libSM6 +Name: libSM +Version: 1.2.4 +Release: 0 +Summary: X Session Management library +License: MIT +Group: Development/Libraries/C and C++ +URL: https://xorg.freedesktop.org/ +#Git-Clone: git://anongit.freedesktop.org/xorg/lib/libSM +#Git-Web: http://cgit.freedesktop.org/xorg/lib/libSM/ +Source: https://xorg.freedesktop.org/releases/individual/lib/%{name}-%{version}.tar.xz +Source1: baselibs.conf +#git#BuildRequires: autoconf >= 2.60, automake, libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(ice) >= 1.0.5 +BuildRequires: pkgconfig(uuid) +BuildRequires: pkgconfig(xorg-macros) >= 1.12 +BuildRequires: pkgconfig(xproto) +BuildRequires: pkgconfig(xtrans) + +%description +The X Session Management Protocol provides a uniform mechanism for +users to save and restore their sessions. A session is a group of X +clients (programs), each of which has a particular state. The session +is controlled by a network service called the session manager, which +issues commands to its clients on behalf of the user. These commands +may cause clients to save their state or to terminate. It is expected +that the client will save its state in such a way that the client can +be restarted at a later time and resume its operation as if it had +never been terminated. + +%package -n %{lname} +Summary: X Session Management library +# O/P added for 12.2 +Group: System/Libraries +Provides: xorg-x11-libSM = 7.6_%{version}-%{release} +Obsoletes: xorg-x11-libSM < 7.6_%{version}-%{release} + +%description -n %{lname} +The X Session Management Protocol provides a uniform mechanism for +users to save and restore their sessions. A session is a group of X +clients (programs), each of which has a particular state. The session +is controlled by a network service called the session manager, which +issues commands to its clients on behalf of the user. These commands +may cause clients to save their state or to terminate. It is expected +that the client will save its state in such a way that the client can +be restarted at a later time and resume its operation as if it had +never been terminated. + +%package devel +Summary: Development files for the X Session Management library +Group: Development/Libraries/C and C++ +Requires: %{lname} = %{version} +# O/P added for 12.2 +Provides: xorg-x11-libSM-devel = 7.6_%{version}-%{release} +Obsoletes: xorg-x11-libSM-devel < 7.6_%{version}-%{release} + +%description devel +The X Session Management Protocol provides a uniform mechanism for +users to save and restore their sessions. A session is a group of X +clients (programs), each of which has a particular state. The session +is controlled by a network service called the session manager, which +issues commands to its clients on behalf of the user. These commands +may cause clients to save their state or to terminate. It is expected +that the client will save its state in such a way that the client can +be restarted at a later time and resume its operation as if it had +never been terminated. + +This package contains the development headers for the library found +in %{lname}. + +%prep +%setup -q + +%build +%configure --docdir=%{_docdir}/%{name} --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print + +%post -n %{lname} -p /sbin/ldconfig +%postun -n %{lname} -p /sbin/ldconfig + +%files -n %{lname} +%{_libdir}/libSM.so.6* + +%files devel +%license COPYING +%doc README.md +%{_includedir}/X11/* +%{_libdir}/libSM.so +%{_libdir}/pkgconfig/sm.pc +%{_docdir}/%{name} + +%changelog