Hello community,
here is the log from the commit of package extra-cmake-modules for openSUSE:Factory checked in at 2017-03-28 15:07:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/extra-cmake-modules (Old)
and /work/SRC/openSUSE:Factory/.extra-cmake-modules.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "extra-cmake-modules"
Tue Mar 28 15:07:36 2017 rev:39 rq:481484 version:5.32.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/extra-cmake-modules/extra-cmake-modules.changes 2017-03-03 14:48:51.364814554 +0100
+++ /work/SRC/openSUSE:Factory/.extra-cmake-modules.new/extra-cmake-modules.changes 2017-03-28 15:08:47.343733578 +0200
@@ -1,0 +2,12 @@
+Sun Mar 19 14:50:13 CET 2017 - lbeltrame@kde.org
+
+- Update to 5.32.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.32.0.php
+- Changes since 5.31.0:
+ * Detect inotify.
+ * Upgrade ECM version to 5.32.0.
+ * Revert "Automatically mark classes with pure virtual functions as /Abstract/."
+
+-------------------------------------------------------------------
Old:
----
extra-cmake-modules-5.31.0.tar.xz
New:
----
extra-cmake-modules-5.32.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ extra-cmake-modules.spec ++++++
--- /var/tmp/diff_new_pack.yxOFlv/_old 2017-03-28 15:08:47.903654252 +0200
+++ /var/tmp/diff_new_pack.yxOFlv/_new 2017-03-28 15:08:47.903654252 +0200
@@ -16,13 +16,13 @@
#
-%define _tar_path 5.31
+%define _tar_path 5.32
Name: extra-cmake-modules
Summary: CMake modules
License: BSD-3-Clause
Group: Development/Tools/Other
Url: https://projects.kde.org/projects/kdesupport/extra-cmake-modules
-Version: 5.31.0
+Version: 5.32.0
Release: 0
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
++++++ extra-cmake-modules-5.31.0.tar.xz -> extra-cmake-modules-5.32.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-cmake-modules-5.31.0/CMakeLists.txt new/extra-cmake-modules-5.32.0/CMakeLists.txt
--- old/extra-cmake-modules-5.31.0/CMakeLists.txt 2017-02-04 12:56:06.000000000 +0100
+++ new/extra-cmake-modules-5.32.0/CMakeLists.txt 2017-02-15 09:14:57.000000000 +0100
@@ -32,7 +32,7 @@
# Preliminary setup
#
-set(VERSION "5.31.0") # handled by release scripts
+set(VERSION "5.32.0") # handled by release scripts
if (POLICY CMP0048)
cmake_policy(SET CMP0048 NEW)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-cmake-modules-5.31.0/find-modules/FindInotify.cmake new/extra-cmake-modules-5.32.0/find-modules/FindInotify.cmake
--- old/extra-cmake-modules-5.31.0/find-modules/FindInotify.cmake 1970-01-01 01:00:00.000000000 +0100
+++ new/extra-cmake-modules-5.32.0/find-modules/FindInotify.cmake 2017-02-15 09:14:57.000000000 +0100
@@ -0,0 +1,79 @@
+#.rest:
+# FindInotify
+# --------------
+#
+# Try to find inotify on this system. This finds:
+# - libinotiy on Unix like systems, or
+# - the kernel's inotify on Linux systems.
+#
+# This will define the following variables:
+#
+# ``Inotify_FOUND``
+# True if inotify is available
+# ``Inotify_LIBRARIES``
+# This has to be passed to target_link_libraries()
+# ``Inotify_INCLUDE_DIRS``
+# This has to be passed to target_include_directories()
+#
+# On Linux, the libraries and include directories are empty,
+# even though Inotify_FOUND may be set to TRUE. This is because
+# no special includes or libraries are needed. On other systems
+# these may be needed to use inotify.
+
+#=============================================================================
+# Copyright 2016 Tobias C. Berner
+# Copyright 2017 Adriaan de Groot
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the copyright
+# notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the copyright
+# notice, this list of conditions and the following disclaimer in the
+# documentation and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#=============================================================================
+
+find_path(Inotify_INCLUDE_DIRS sys/inotify.h)
+
+if(Inotify_INCLUDE_DIRS)
+# On Linux there is no library to link against, on the BSDs there is.
+# On the BSD's, inotify is implemented through a library, libinotify.
+ if( CMAKE_SYSTEM_NAME MATCHES "Linux")
+ set(Inotify_FOUND TRUE)
+ set(Inotify_LIBRARIES "")
+ set(Inotify_INCLUDE_DIRS "")
+ else()
+ find_library(Inotify_LIBRARIES NAMES inotify)
+ include(FindPackageHandleStandardArgs)
+ find_package_handle_standard_args(Inotify
+ FOUND_VAR
+ Inotify_FOUND
+ REQUIRED_VARS
+ Inotify_LIBRARIES
+ Inotify_INCLUDE_DIRS
+ )
+ mark_as_advanced(Inotify_LIBRARIES Inotify_INCLUDE_DIRS)
+ include(FeatureSummary)
+ set_package_properties(Inotify PROPERTIES
+ URL "https://github.com/libinotify-kqueue/"
+ DESCRIPTION "inotify API on the *BSD family of operating systems."
+ )
+ endif()
+else()
+ set(Inotify_FOUND FALSE)
+endif()
+
+mark_as_advanced(Inotify_LIBRARIES Inotify_INCLUDE_DIRS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-cmake-modules-5.31.0/find-modules/sip_generator.py new/extra-cmake-modules-5.32.0/find-modules/sip_generator.py
--- old/extra-cmake-modules-5.31.0/find-modules/sip_generator.py 2017-02-04 12:56:06.000000000 +0100
+++ new/extra-cmake-modules-5.32.0/find-modules/sip_generator.py 2017-02-15 09:14:57.000000000 +0100
@@ -221,8 +221,6 @@
if member.kind in [CursorKind.CXX_METHOD, CursorKind.FUNCTION_DECL, CursorKind.FUNCTION_TEMPLATE,
CursorKind.CONSTRUCTOR, CursorKind.DESTRUCTOR, CursorKind.CONVERSION_FUNCTION]:
decl = self._fn_get(container, member, level + 1)
- if member.is_pure_virtual_method():
- sip["annotations"].add("Abstract")
elif member.kind == CursorKind.ENUM_DECL:
decl = self._enum_get(container, member, level + 1) + ";\n"
elif member.kind == CursorKind.CXX_ACCESS_SPEC_DECL:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-cmake-modules-5.31.0/tests/GenerateSipBindings/cpplib.cpp new/extra-cmake-modules-5.32.0/tests/GenerateSipBindings/cpplib.cpp
--- old/extra-cmake-modules-5.31.0/tests/GenerateSipBindings/cpplib.cpp 2017-02-04 12:56:06.000000000 +0100
+++ new/extra-cmake-modules-5.32.0/tests/GenerateSipBindings/cpplib.cpp 2017-02-15 09:14:57.000000000 +0100
@@ -239,23 +239,3 @@
{
}
-
-int Abstract::callableMultiply(int i, int j)
-{
- return i * j;
-}
-
-Abstract::~Abstract()
-{
-
-}
-
-int Concrete::callableAdd(int i, int j)
-{
- return i + j;
-}
-
-void Concrete::virtualInterface()
-{
-
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-cmake-modules-5.31.0/tests/GenerateSipBindings/cpplib.h new/extra-cmake-modules-5.32.0/tests/GenerateSipBindings/cpplib.h
--- old/extra-cmake-modules-5.31.0/tests/GenerateSipBindings/cpplib.h 2017-02-04 12:56:06.000000000 +0100
+++ new/extra-cmake-modules-5.32.0/tests/GenerateSipBindings/cpplib.h 2017-02-15 09:14:57.000000000 +0100
@@ -219,23 +219,3 @@
public:
int someApi() { return 1; }
};
-
-class Abstract
-{
-public:
- virtual ~Abstract();
-
- int callableMultiply(int i, int j);
-
-protected:
- virtual void virtualInterface() = 0;
-};
-
-class Concrete : public Abstract
-{
-public:
- int callableAdd(int i, int j);
-
-protected:
- void virtualInterface() override;
-};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/extra-cmake-modules-5.31.0/tests/GenerateSipBindings/testscript.py new/extra-cmake-modules-5.32.0/tests/GenerateSipBindings/testscript.py
--- old/extra-cmake-modules-5.31.0/tests/GenerateSipBindings/testscript.py 2017-02-04 12:56:06.000000000 +0100
+++ new/extra-cmake-modules-5.32.0/tests/GenerateSipBindings/testscript.py 2017-02-15 09:14:57.000000000 +0100
@@ -135,8 +135,3 @@
assert False
except AttributeError as e:
assert str(e) == "module 'PyTest.CppLib' has no attribute 'Invisible'"
-
-concrete = PyTest.CppLib.Concrete()
-
-assert(concrete.callableMultiply(2, 3) == 6)
-assert(concrete.callableAdd(2, 3) == 5)