From 3f26ceab7af157483992ce169d95f889c4ef6181ac9b1ded5141c5834cbdef81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Mon, 2 Oct 2023 07:40:00 +0000 Subject: [PATCH] Accepting request 1114597 from GNOME:Next - 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. - 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: OBS-URL: https://build.opensuse.org/request/show/1114597 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libsigc++3?expand=0&rev=42 --- libsigc++-3.2.0.tar.xz | 3 --- libsigc++-3.6.0.tar.xz | 3 +++ libsigc++3.changes | 47 ++++++++++++++++++++++++++++++++++++++++++ libsigc++3.spec | 15 +++++++------- 4 files changed, 57 insertions(+), 11 deletions(-) delete mode 100644 libsigc++-3.2.0.tar.xz create mode 100644 libsigc++-3.6.0.tar.xz diff --git a/libsigc++-3.2.0.tar.xz b/libsigc++-3.2.0.tar.xz deleted file mode 100644 index 5e43bab..0000000 --- a/libsigc++-3.2.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8cdcb986e3f0a7c5b4474aa3c833d676e62469509f4899110ddf118f04082651 -size 785900 diff --git a/libsigc++-3.6.0.tar.xz b/libsigc++-3.6.0.tar.xz new file mode 100644 index 0000000..7d003fa --- /dev/null +++ b/libsigc++-3.6.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c3d23b37dfd6e39f2e09f091b77b1541fbfa17c4f0b6bf5c89baef7229080e17 +size 991392 diff --git a/libsigc++3.changes b/libsigc++3.changes index 16b1a5e..4584886 100644 --- a/libsigc++3.changes +++ b/libsigc++3.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Sun Oct 1 09:21:53 UTC 2023 - Bjørn Lie + +- 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 + +- 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 diff --git a/libsigc++3.spec b/libsigc++3.spec index 70e90fa..3d252d8 100644 --- a/libsigc++3.spec +++ b/libsigc++3.spec @@ -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