Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ade for openSUSE:Factory checked in 
at 2022-09-18 18:48:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ade (Old)
 and      /work/SRC/openSUSE:Factory/.ade.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ade"

Sun Sep 18 18:48:51 2022 rev:4 rq:1004393 version:0.1.2a

Changes:
--------
--- /work/SRC/openSUSE:Factory/ade/ade.changes  2022-01-20 00:13:24.502631184 
+0100
+++ /work/SRC/openSUSE:Factory/.ade.new.2083/ade.changes        2022-09-18 
18:48:51.506520984 +0200
@@ -1,0 +2,10 @@
+Sat Sep 17 02:50:46 UTC 2022 - Stefan Br??ns <[email protected]>
+
+- Update to version 0.1.2a
+  * A minor version bump to fix OpenCV warnings on Windows
+- Update to version 0.1.2
+  * This release incorporates the community PRs for the past three
+    years & mainly serves for OpenCV new compilers support as
+    requested.
+
+-------------------------------------------------------------------

Old:
----
  ade-0.1.1f.tar.gz

New:
----
  ade-0.1.2a.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ade.spec ++++++
--- /var/tmp/diff_new_pack.tKJJms/_old  2022-09-18 18:48:52.062522535 +0200
+++ /var/tmp/diff_new_pack.tKJJms/_new  2022-09-18 18:48:52.070522558 +0200
@@ -23,7 +23,7 @@
 %bcond_with tutorials
 
 Name:           ade
-Version:        0.1.1f
+Version:        0.1.2a
 Release:        0
 Summary:        Graph construction, manipulation, and processing framework
 License:        Apache-2.0

++++++ ade-0.1.1f.tar.gz -> ade-0.1.2a.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1f/.github/workflows/workflow.yaml 
new/ade-0.1.2a/.github/workflows/workflow.yaml
--- old/ade-0.1.1f/.github/workflows/workflow.yaml      1970-01-01 
01:00:00.000000000 +0100
+++ new/ade-0.1.2a/.github/workflows/workflow.yaml      2022-08-26 
15:02:34.000000000 +0200
@@ -0,0 +1,33 @@
+name: CI
+
+on: [push, pull_request, workflow_dispatch]
+
+env:
+  repo_name: ${{ github.repository }}
+  sha_git: ${{ github.sha }}
+
+jobs:
+  Basic_Workflow:
+    strategy:
+      matrix:
+        version: [11, 14, 17, 20, 23]
+        os: [
+            ubuntu-20.04,
+            ubuntu-22.04,
+          ]
+  
+    runs-on: ${{ matrix.os }}
+    steps:
+      - uses: actions/checkout@v3
+
+      - name: Build Stage
+        run: |
+          mkdir build && cd build
+          cmake -DENABLE_ADE_TESTING=ON -DCMAKE_BUILD_TYPE=Release 
-DCMAKE_CXX_STANDARD=${{ matrix.version }} ..
+          make -j
+
+      - name: ADE-Test Stage
+        run: ./build/bin/ade-tests 
+
+      - name: CMN-Test Stage
+        run: ./build/bin/common-tests
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1f/CMakeLists.txt 
new/ade-0.1.2a/CMakeLists.txt
--- old/ade-0.1.1f/CMakeLists.txt       2019-08-07 10:55:16.000000000 +0200
+++ new/ade-0.1.2a/CMakeLists.txt       2022-08-26 15:02:34.000000000 +0200
@@ -8,10 +8,17 @@
 
 project(ade)
 
+if(POLICY CMP0063)
+    cmake_policy(SET CMP0063 NEW)
+endif()
+
 option(ENABLE_ADE_TESTING      "Build tests, require google test" OFF)
 option(BUILD_ADE_TUTORIAL      "Build tutorial samples"           OFF)
 option(FORCE_ADE_ASSERTS       "Always enable ADE_ASSERT"         OFF)
 option(BUILD_ADE_DOCUMENTATION "Build doxygen documentation"      OFF)
+option(BUILD_WITH_STATIC_CRT   "Build with static multi-threaded C Runtime (MS 
Windows/Visual Studio only)" OFF)
+
+set(CMAKE_CXX_STANDARD 11 CACHE STRING "C++ standard")
 
 # TODO: this is horrible hack, we must follow cmake
 # build/install policy
@@ -33,6 +40,9 @@
         endif()
     elseif(WIN32)
         target_compile_options( ${target} PRIVATE /GS /DynamicBase)
+        if(BUILD_WITH_STATIC_CRT)
+            target_compile_options( ${target} PRIVATE "/MT")
+        endif()
         if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "4")
             # These options for 32 bit builds only
             target_compile_options( ${target} PRIVATE /SAFESEH /NXCOMPAT )
@@ -40,8 +50,6 @@
     endif()
 endfunction()
 
-set(CMAKE_CXX_STANDARD 11)
-
 if (MSVC)
     add_definitions(-D_SCL_SECURE_NO_WARNINGS)
 endif(MSVC)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1f/README.md new/ade-0.1.2a/README.md
--- old/ade-0.1.1f/README.md    2019-08-07 10:55:16.000000000 +0200
+++ new/ade-0.1.2a/README.md    2022-08-26 15:02:34.000000000 +0200
@@ -1,6 +1,6 @@
 # ADE Framework
 
-[![Build 
Status](https://travis-ci.org/opencv/ade.svg?branch=master)](https://travis-ci.org/opencv/ade)
+[![Build 
Status](https://github.com/opencv/ade/actions/workflows/workflow.yaml/badge.svg)](https://github.com/opencv/ade/actions/workflows/workflow.yaml)
 
 ## Intro
 
@@ -55,7 +55,7 @@
 `-DFORCE_ADE_ASSERTS=ON` option, forcing `ADE_ASSERT` to be present
 even in release builds.
 
-This library only do error checking in debug or `FORCE_ADE_ASSERTS=ON`
+This library only does error checking in debug or `FORCE_ADE_ASSERTS=ON`
 builds due to performance reasons.  Library doesn't process any user
 input directly and doesn't read any files or sockets.  If you want to
 use this library to process any input from external source you must
@@ -67,7 +67,7 @@
 ## Support
 
 Current ADE Framework support model is:
-* ADE Framework is mainly used a building block for other projects.
+* ADE Framework is mainly used as a building block for other projects.
 * ADE Framework major version are synchronized with that other
   projects releases.
 * ADE Framework accepts pull requests but is stabilized prior to a
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1f/sources/ade/CMakeLists.txt 
new/ade-0.1.2a/sources/ade/CMakeLists.txt
--- old/ade-0.1.1f/sources/ade/CMakeLists.txt   2019-08-07 10:55:16.000000000 
+0200
+++ new/ade-0.1.2a/sources/ade/CMakeLists.txt   2022-08-26 15:02:34.000000000 
+0200
@@ -47,17 +47,21 @@
                       VERBATIM)
 endif()
 
+include(GNUInstallDirs)
+
 install(TARGETS ade COMPONENT dev
         EXPORT adeTargets
-        ARCHIVE DESTINATION lib
-        LIBRARY DESTINATION lib
-        RUNTIME DESTINATION lib
-        INCLUDES DESTINATION include)
-
-install(EXPORT adeTargets DESTINATION share/ade COMPONENT dev)
+        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}
+        INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+install(EXPORT adeTargets
+        DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ade"
+        COMPONENT dev)
 
 install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/include/"
-        DESTINATION include COMPONENT dev
+        DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT dev
         FILES_MATCHING PATTERN "*.hpp")
 
 include(CMakePackageConfigHelpers)
@@ -70,10 +74,10 @@
 configure_package_config_file(
         "${CMAKE_CURRENT_LIST_DIR}/cmake/adeConfig.cmake.in"
         "${CMAKE_BINARY_DIR}/adeConfig.cmake"
-        INSTALL_DESTINATION "share/ade"
+        INSTALL_DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ade"
         NO_SET_AND_CHECK_MACRO
         NO_CHECK_REQUIRED_COMPONENTS_MACRO)
 
 install(FILES "${CMAKE_BINARY_DIR}/adeConfig.cmake"
         "${CMAKE_BINARY_DIR}/adeConfigVersion.cmake"
-        DESTINATION "share/ade" COMPONENT dev)
+        DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/ade" COMPONENT dev)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp 
new/ade-0.1.2a/sources/ade/include/ade/typed_graph.hpp
--- old/ade-0.1.1f/sources/ade/include/ade/typed_graph.hpp      2019-08-07 
10:55:16.000000000 +0200
+++ new/ade-0.1.2a/sources/ade/include/ade/typed_graph.hpp      2022-08-26 
15:02:34.000000000 +0200
@@ -9,6 +9,7 @@
 #ifndef ADE_TYPED_GRAPH_HPP
 #define ADE_TYPED_GRAPH_HPP
 
+#include <cstdint>
 #include <unordered_set>
 #include <string>
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1f/sources/ade/include/ade/util/func_ref.hpp 
new/ade-0.1.2a/sources/ade/include/ade/util/func_ref.hpp
--- old/ade-0.1.1f/sources/ade/include/ade/util/func_ref.hpp    2019-08-07 
10:55:16.000000000 +0200
+++ new/ade-0.1.2a/sources/ade/include/ade/util/func_ref.hpp    2022-08-26 
15:02:34.000000000 +0200
@@ -43,7 +43,7 @@
         m_context(reinterpret_cast<uintptr_t>(&callable)),
         m_func(&thunk<util::remove_reference_t<Callable>>)
     {
-        using actual_result_type = util::result_of_t<Callable(Args...)>;
+        using actual_result_type = util::result_of_t<Callable, Args...>;
 
         // If this condition doesn't hold, then thunk will return a reference
         // to the temporary returned by callable.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ade-0.1.1f/sources/ade/include/ade/util/memory_range.hpp 
new/ade-0.1.2a/sources/ade/include/ade/util/memory_range.hpp
--- old/ade-0.1.1f/sources/ade/include/ade/util/memory_range.hpp        
2019-08-07 10:55:16.000000000 +0200
+++ new/ade-0.1.2a/sources/ade/include/ade/util/memory_range.hpp        
2022-08-26 15:02:34.000000000 +0200
@@ -234,7 +234,7 @@
 {
     static_assert(std::is_same< util::decay_t<decltype(*data(src))>,
                                 util::decay_t<decltype(*data(dst))> >::value, 
"Types must be same");
-    static_assert(std::is_pod< util::decay_t<decltype(*data(src))> >::value, 
"Types must be pod");
+    static_assert(is_pod< util::decay_t<decltype(*data(src))> >::value, "Types 
must be pod");
     static_assert(sizeof(src[std::size_t{}]) == sizeof(dst[std::size_t{}]), 
"Size mismatch");
     const auto src_size = size(src);
     const auto dst_size = size(dst);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/ade-0.1.1f/sources/ade/include/ade/util/type_traits.hpp 
new/ade-0.1.2a/sources/ade/include/ade/util/type_traits.hpp
--- old/ade-0.1.1f/sources/ade/include/ade/util/type_traits.hpp 2019-08-07 
10:55:16.000000000 +0200
+++ new/ade-0.1.2a/sources/ade/include/ade/util/type_traits.hpp 2022-08-26 
15:02:34.000000000 +0200
@@ -11,6 +11,13 @@
 
 #include <type_traits>
 
+// NB: Had to write it like this due to MSVC warning C4067
+#if defined(__has_include)
+#if __has_include(<version>)
+#  include <version>
+#endif
+#endif
+
 namespace ade
 {
 namespace util
@@ -56,6 +63,13 @@
 template<typename T, typename ...Ts>
 struct is_one_of : or_< std::is_same<T,Ts>... > {};
 
+template <typename T>
+struct is_pod : std::integral_constant
+<
+    bool,
+    std::is_trivial<T>::value && std::is_standard_layout<T>::value
+> {};
+
 template<bool v>
 using enable_b_t = typename std::enable_if< v, bool >::type;
 
@@ -83,9 +97,13 @@
 template<typename... Types>
 using common_type_t = typename std::common_type<Types...>::type;
 
-template<class T>
-using result_of_t = typename std::result_of<T>::type;
-
+#ifdef __cpp_lib_is_invocable
+    template<class T, typename ...Args>
+    using result_of_t = std::invoke_result_t<T, Args...>;
+#else
+    template<class T, typename ...Args>
+    using result_of_t = typename std::result_of<T(Args...)>::type;
+#endif
 } // namespace util
 } // namespace ade
 

Reply via email to