Accepting request 1114708 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/1114708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsigc++3?expand=0&rev=20
This commit is contained in:
Ana Guerrero 2023-10-03 18:15:02 +00:00 committed by Git OBS Bridge
commit 2f9cdf7313
4 changed files with 57 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8cdcb986e3f0a7c5b4474aa3c833d676e62469509f4899110ddf118f04082651
size 785900

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

Binary file not shown.

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Sun Oct 1 09:21:53 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.6.0:
+ sigc++config.h.*: Update and clean up a bit for Visual Studio
+ scoped_connection: New wrapper to auto-disconnect a slot
+ signal: Add connect_first()
+ Documentation:
- connection: Improve the class documentation
- Improve Visual Studio build documentation
- Remove AUTHORS and add general information to README.md
- manual: Add paragraph about new scoped_connection
+ Tests: Add test_scoped_connection
+ Build:
- Meson:
. Don't copy files with configure_file()
. Fix the evaluation of is_git_build on Windows
. Don't require the 'dot' command to build the documentation
- CMake: Prevent multiple target declaration for uninstall
- Visual Studio: Support static builds
- Use autosetup macro.
-------------------------------------------------------------------
Sun Oct 1 08:25:14 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 3.4.0:
+ Add track_object(), deprecate track_obj()
+ Add trackable_signal_with_accumulator and trackable_signal
+ Examples, tests:
- examples/member_method: Make on_print() non-virtual
- test_accumulated.cc: clang++ requires another 'template'
- test_limit_reference.cc: Don't use auto where a slot is
required
+ Documentation: signal::make_slot(): Note that signal does not
derive from trackable
+ Build:
- Meson, MSVC: Compensate for the lack of
msvc_recommended_pragmas.h
- Fix build with -Dbuild-deprecated-api=false
- Meson:
. Avoid configuration warnings
. Detect if we build from a git subtree
. Simplify lookup of python command
. Add build_tests option
- Use ldconfig_scriptlets macro for post(un) handling.
- Update URL to new home.
-------------------------------------------------------------------
Fri Feb 11 17:14:39 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libsigc++3
#
# Copyright (c) 2022 SUSE LLC
# 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
@ -18,13 +18,13 @@
%define _name libsigc++
Name: libsigc++3
Version: 3.2.0
Version: 3.6.0
Release: 0
Summary: Typesafe Signal Framework for C++
License: LGPL-3.0-or-later
Group: Development/Libraries/C and C++
URL: http://libsigc.sourceforge.net/
Source0: https://download.gnome.org/sources/libsigc++/3.2/%{_name}-%{version}.tar.xz
URL: https://libsigcplusplus.github.io/libsigcplusplus/
Source0: https://download.gnome.org/sources/libsigc++/3.6/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: gcc-c++
@ -68,7 +68,7 @@ adaptor classes for connection of dissimilar callbacks and has an ease
of use unmatched by other C++ callback libraries.
%prep
%setup -q -n %{_name}-%{version}
%autosetup -p1 -n %{_name}-%{version}
# Remove executable bit in NEWS...
chmod -x NEWS
@ -85,8 +85,7 @@ export MALLOC_CHECK_=2 MALLOC_PERTURB_=$((${RANDOM:-256} % 256))
%meson_test
unset MALLOC_CHECK_ MALLOC_PERTURB_
%post -n libsigc-3_0-0 -p /sbin/ldconfig
%postun -n libsigc-3_0-0 -p /sbin/ldconfig
%ldconfig_scriptlets -n libsigc-3_0-0
%files -n libsigc-3_0-0
%license COPYING
@ -94,7 +93,7 @@ unset MALLOC_CHECK_ MALLOC_PERTURB_
%{_libdir}/libsigc-3.0.so.*
%files devel
%doc AUTHORS ChangeLog
%doc ChangeLog
%{_libdir}/libsigc-3.0.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/sigc++-3.0