Accepting request 373893 from GNOME:Factory
Update to 2.8.0 - STABLE (forwarded request 373704 from dimstar) OBS-URL: https://build.opensuse.org/request/show/373893 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsigc++2?expand=0&rev=37
This commit is contained in:
commit
4f4d5a7299
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:540443492a68e77e30db8d425f3c0b1299c825bf974d9bfc31ae7efafedc19ec
|
|
||||||
size 3620928
|
|
3
libsigc++-2.8.0.tar.xz
Normal file
3
libsigc++-2.8.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:774980d027c52947cb9ee4fac6ffe2ca60cc2f753068a89dfd281c83dbff9651
|
||||||
|
size 3464220
|
10
libsigc++-std-c11.patch
Normal file
10
libsigc++-std-c11.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Index: libsigc++-2.6.2/sigc++.pc.in
|
||||||
|
===================================================================
|
||||||
|
--- libsigc++-2.6.2.orig/sigc++.pc.in
|
||||||
|
+++ libsigc++-2.6.2/sigc++.pc.in
|
||||||
|
@@ -15,4 +15,4 @@ Description: Typesafe signal and callbac
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
URL: http://libsigc.sourceforge.net/
|
||||||
|
Libs: -L${libdir} -lsigc-@SIGCXX_API_VERSION@
|
||||||
|
-Cflags: -I${includedir}/sigc++-@SIGCXX_API_VERSION@ -I${libdir}/sigc++-@SIGCXX_API_VERSION@/include
|
||||||
|
+Cflags: -I${includedir}/sigc++-@SIGCXX_API_VERSION@ -I${libdir}/sigc++-@SIGCXX_API_VERSION@/include -std=c++11
|
@ -1,3 +1,140 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 16 12:59:06 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.8.0:
|
||||||
|
+ Documentation: Mention use with CMake.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 12 12:02:59 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.7.2:
|
||||||
|
+ Deprecate sigc::ref() and sigc::reference_wrapper(), adding
|
||||||
|
support instead for std::ref(), std::cref(), and
|
||||||
|
std::reference_wrapper().
|
||||||
|
+ mem_fun(): Deprecate mem_fun(pointer, func). Leaving just
|
||||||
|
mem_fun(reference, func) (bgo#763215).
|
||||||
|
+ Make all operator bool() explicit. (A C++11 feature).
|
||||||
|
+ Build:
|
||||||
|
- Remove some now-unnecessary configure checks (bgo#762065).
|
||||||
|
- Update MSVC project.
|
||||||
|
+ Documentation: Improve the documentation of mem_fun(), making
|
||||||
|
it clear that mem_fun() does not return a slot.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 1 12:36:55 UTC 2016 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.7.1:
|
||||||
|
+ signal: Add a moving connect() method, taking an rvalue
|
||||||
|
reference to a slot (bgo#756484).
|
||||||
|
+ can_deduce_result_type_with_decltype: Rename the check()
|
||||||
|
methods to checksize(). check() is a preprocessor macro in Mac
|
||||||
|
OS X (bgo#759315).
|
||||||
|
+ Temporarily undefine the nil macro, if it's defined. nil is a
|
||||||
|
preprocessor macro in Objective-C++ and Mac OS X (bgo#695235).
|
||||||
|
+ Correct the mem_functor<> declarations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 4 23:11:56 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Add libsigc++-std-c11.patch: Add -std=c11 to CFLAGS in the .pc
|
||||||
|
file. This allows other packages building against libsigc++ to
|
||||||
|
be aware of the C11 requirement we bring. libsigc++ itself checks
|
||||||
|
for the availability during configure, so it is safe to pass this
|
||||||
|
requirement on.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 22 15:17:41 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.6.2:
|
||||||
|
+ slot: Handle auto-disconnection when a slot contains a slot
|
||||||
|
(bgo#755003).
|
||||||
|
+ slot and signal: Correct move constructors and move
|
||||||
|
assignments (bgo#756484).
|
||||||
|
+ trackable, slot_base, signal_base, connection: Add some
|
||||||
|
noexcept specs (bgo#756484).
|
||||||
|
+ trackable, slot, signal: Remove noexcept from move operations
|
||||||
|
(bgo#756484).
|
||||||
|
+ slot and signal: Add missing move constructors and move
|
||||||
|
assignments (bgo#756484).
|
||||||
|
+ signal_impl: =delete copy and move operations (bgo#756484).
|
||||||
|
+ typed_slot_rep: =delete unimplemented copy and move operations
|
||||||
|
(bgo#756484).
|
||||||
|
+ slot_rep: =delete copy and move operations (bgo#756484).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 30 10:15:35 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.6.1:
|
||||||
|
+ Add back deprecated adaptors/lambda API to avoid an unintented
|
||||||
|
ABI break (bgo#755550).
|
||||||
|
+ sigc::trackable: Move operations: Don't move the callback list
|
||||||
|
(bgo#755393).
|
||||||
|
- Changes from version 2.6.0:
|
||||||
|
+ C++11: deduce_result_type: Simplify with C++11 variadic
|
||||||
|
template (bgo#753612).
|
||||||
|
+ Fix the build with MSVC (bgo#754082).
|
||||||
|
+ Update the website.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 4 19:34:47 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.5.4:
|
||||||
|
+ slot_base::operator=(const &): Copy the blocked too, so the
|
||||||
|
destionation is blocked if the source is blocked, regardless of
|
||||||
|
whether the destionation was previously blocked, because this
|
||||||
|
seems to be what we should expect.
|
||||||
|
+ C++11: slot_base, slot*, signal_base, signal*, trackable: Add
|
||||||
|
move operations.
|
||||||
|
+ Update MSVC Projects, requiring at least MSVC++ .Net 2013 for
|
||||||
|
C++11 support.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 29 22:11:18 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.5.3:
|
||||||
|
+ Use C++11 "using" aliases to simplify code that uses type
|
||||||
|
traits (bgo#753580).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 20:07:47 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.5.2:
|
||||||
|
+ Remove useless headers:
|
||||||
|
- sigc++/class_slot.h
|
||||||
|
- sigc++/hide.h
|
||||||
|
- sigc++/method_slot.h
|
||||||
|
- sigc++/object.h
|
||||||
|
- sigc++/object_slot.h
|
||||||
|
- sigc++/retype.h
|
||||||
|
Some of these still have equivalents in sigc++/adaptors/
|
||||||
|
(bgo#752560).
|
||||||
|
+ C++11:
|
||||||
|
- Replace deprecated std::auto_ptr by std::unique_ptr.
|
||||||
|
- Use std::is_base_of<> instead of our
|
||||||
|
sigc::is_base_and_derived<>, removing
|
||||||
|
sigc::is_base_and_derived<>. (bgo#752560).
|
||||||
|
- Use of range-based for loops.
|
||||||
|
- Use of the auto keyword.
|
||||||
|
- Use of nullptr instead of 0.
|
||||||
|
+ sigc++/slot.h: Use a regular .h file instead of generating it
|
||||||
|
from an .m4 file (bgo#752560).
|
||||||
|
+ Visual Studio Builds: Move 2010 Projects to 2012 to support
|
||||||
|
C++11.
|
||||||
|
+ Use -Wformat-security and -Wshadow with
|
||||||
|
--enable-warnings=fatal.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jul 19 19:51:14 UTC 2015 - zaitor@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.5.1:
|
||||||
|
+ Use (and require) C++11.
|
||||||
|
+ Using C++11 lambda functions to create sigc::slots: Avoid the
|
||||||
|
need for SIGC_FUNCTORS_DEDUCE_RESULT_TYPE_WITH_DECLTYPE.
|
||||||
|
+ Remove the already-deprecated sigc::lambda (and sigc::group)
|
||||||
|
API. This is an API change but should not be an ABI change, so
|
||||||
|
it should only affect you when rebuilding applications, if you
|
||||||
|
use this API.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Mar 1 13:14:41 UTC 2015 - badshah400@gmail.com
|
Sun Mar 1 13:14:41 UTC 2015 - badshah400@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libsigc++2
|
# spec file for package libsigc++2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,14 +18,16 @@
|
|||||||
|
|
||||||
Name: libsigc++2
|
Name: libsigc++2
|
||||||
%define _name libsigc++
|
%define _name libsigc++
|
||||||
Version: 2.4.1
|
Version: 2.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Typesafe Signal Framework for C++
|
Summary: Typesafe Signal Framework for C++
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Url: http://libsigc.sourceforge.net/
|
Url: http://libsigc.sourceforge.net/
|
||||||
Source: http://download.gnome.org/sources/libsigc++/2.4/%{_name}-%{version}.tar.xz
|
Source: http://download.gnome.org/sources/libsigc++/2.8/%{_name}-%{version}.tar.xz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
|
# PATCH-FIX-OPENSUSE libsigc++-std-c11.patch dimstar@opensuse.org -- Add -std=c11 to CFLAGS when using libsigc++ to build. This is not upstreamable in this form as the used CXX macro should handle that, so needs more work (and entry points in mm-common)
|
||||||
|
Patch0: libsigc++-std-c11.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
@ -68,6 +70,7 @@ of use unmatched by other C++ callback libraries.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# FIXME: Cannot autoreconf, bad templates:
|
# FIXME: Cannot autoreconf, bad templates:
|
||||||
@ -90,7 +93,7 @@ unset MALLOC_CHECK_ MALLOC_PERTURB_
|
|||||||
|
|
||||||
%files -n libsigc-2_0-0
|
%files -n libsigc-2_0-0
|
||||||
%defattr (-, root, root)
|
%defattr (-, root, root)
|
||||||
%doc AUTHORS COPYING ChangeLog NEWS README TODO
|
%doc AUTHORS COPYING ChangeLog NEWS README
|
||||||
%{_libdir}/libsigc-2.0.so.*
|
%{_libdir}/libsigc-2.0.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
Loading…
Reference in New Issue
Block a user