Sync from SUSE:SLFO:Main libsigc++2 revision 78080a02252df471382b345a289f6397

This commit is contained in:
Adrian Schröter 2025-02-20 09:46:01 +01:00
parent aa86417128
commit 01569ddcf7
5 changed files with 37 additions and 8 deletions

BIN
libsigc++-2.12.0.tar.xz (Stored with Git LFS)

Binary file not shown.

BIN
libsigc++-2.12.1.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,3 @@
diff --git a/NEWS b/NEWS
old mode 100755
new mode 100644

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Sun Oct 1 08:15:12 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.12.1:
+ Documentation:
- slot, signal: Describe the slot<void(int)> syntax more
- connection: Improve the class documentation
- Improve Visual Studio build documentation
- Remove AUTHORS and add general information to README.md
+ Build:
- Meson:
. Don't copy files with configure_file()
. Fix the evaluation of is_git_build on Windows
- Visual Studio: Support static builds
- Use ldconfig_scriptlets macro for post(un) handling.
- Update URL to new home.
-------------------------------------------------------------------
Mon Apr 17 14:23:34 UTC 2023 - qzhao@suse.com
- Add libsigc++2-remove-unnecessary-executable-flag-from-file.patch:
cancel executable permission for file
/usr/share/doc/packages/libsigc-2_0-0/NEWS(bsc#1209094,bsc#1209140).
-------------------------------------------------------------------
Mon Feb 27 18:07:38 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -18,14 +18,16 @@
%define _name libsigc++
Name: libsigc++2
Version: 2.12.0
Version: 2.12.1
Release: 0
Summary: Typesafe Signal Framework for C++
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: http://libsigc.sourceforge.net/
URL: https://libsigcplusplus.github.io/libsigcplusplus/
Source0: https://download.gnome.org/sources/libsigc++/2.12/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE libsigc++2-remove-unnecessary-executable-flag-from-file.patch bsc#1209094 bsc#1209140 qzhao@suse.com -- cancel executable permission for file /usr/share/doc/packages/libsigc-2_0-0/NEWS
Patch0: libsigc++2-remove-unnecessary-executable-flag-from-file.patch
BuildRequires: gcc-c++
BuildRequires: meson >= 0.54.0
@ -69,6 +71,7 @@ of use unmatched by other C++ callback libraries.
%prep
%setup -q -n %{_name}-%{version}
%patch -P 0 -p1
# Remove executable bit in NEWS...
chmod -x NEWS
@ -85,12 +88,11 @@ export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
%meson_test
unset MALLOC_CHECK_ MALLOC_PERTURB_
%post -n libsigc-2_0-0 -p /sbin/ldconfig
%postun -n libsigc-2_0-0 -p /sbin/ldconfig
%ldconfig_scriptlets -n libsigc-2_0-0
%files -n libsigc-2_0-0
%license COPYING
%doc AUTHORS ChangeLog NEWS
%doc ChangeLog NEWS README.md
%{_libdir}/libsigc-2.0.so.*
%files devel