Hello community,

here is the log from the commit of package ade for openSUSE:Factory checked in 
at 2019-09-11 10:41:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ade (Old)
 and      /work/SRC/openSUSE:Factory/.ade.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ade"

Wed Sep 11 10:41:05 2019 rev:2 rq:729952 version:0.1.1f

Changes:
--------
--- /work/SRC/openSUSE:Factory/ade/ade.changes  2019-07-13 14:00:28.178896676 
+0200
+++ /work/SRC/openSUSE:Factory/.ade.new.7948/ade.changes        2019-09-11 
10:41:46.607205270 +0200
@@ -1,0 +2,13 @@
+Tue Sep 10 18:55:12 UTC 2019 - Stefan BrĂ¼ns <stefan.bru...@rwth-aachen.de>
+
+- Update to version 0.1.1f
+- Drop upstream Silence_redundant-move_warning.patch
+- Use -ffat-lto-objects to provide a proper static library.
+- Run tests by default
+
+-------------------------------------------------------------------
+Mon Aug 26 09:24:28 UTC 2019 - Jan Engelhardt <jeng...@inai.de>
+
+- Remove pointless empty scriptlets
+
+-------------------------------------------------------------------

Old:
----
  Silence_redundant-move_warning.patch
  ade-0.1.1d.tar.gz

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

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

Other differences:
------------------
++++++ ade.spec ++++++
--- /var/tmp/diff_new_pack.b6FOGe/_old  2019-09-11 10:41:49.047204835 +0200
+++ /var/tmp/diff_new_pack.b6FOGe/_new  2019-09-11 10:41:49.051204835 +0200
@@ -12,25 +12,26 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%bcond_with tests
+
+%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
+
+%bcond_without tests
 %bcond_with docs
-%bcond_without tutorials
+%bcond_with tutorials
 
 Name:           ade
-Version:        0.1.1d
+Version:        0.1.1f
 Release:        0
 Summary:        Graph construction, manipulation, and processing framework
 License:        Apache-2.0
 Group:          Development/Libraries/C and C++
 Url:            http://opencv.org/
 Source0:        
https://github.com/opencv/ade/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM https://github.com/opencv/ade/pull/15.patch
-Patch0:         Silence_redundant-move_warning.patch
-BuildRequires:  cmake > 3.2
 BuildRequires:  c++_compiler
+BuildRequires:  cmake > 3.2
 %if %{with tests}
 BuildRequires:  gtest
 %endif
@@ -52,22 +53,28 @@
 
 %prep
 %setup -q
-%patch0 -p1
 # fixup library install directory (i.e. use CMake default)
 sed -i -e 's@ DESTINATION lib@ DESTINATION ${CMAKE_INSTALL_LIBDIR}@' 
sources/ade/CMakeLists.txt
 
 %build
 %cmake \
-  %{?with tutorials:-DBUILD_ADE_TUTORIAL=ON} \
-  %{?with docs:-DBUILD_ADE_DOCUMENTATION=ON} \
+  %{?with_tutorials:-DBUILD_ADE_TUTORIAL=ON} \
+  %{?with_docs:-DBUILD_ADE_DOCUMENTATION=ON} \
+  %{?with_tests:-DGTEST_ROOT:PATH=%{_prefix} -DENABLE_ADE_TESTING=ON} \
+
 
 %cmake_build
 
 %install
 %cmake_install
+%if %{with tests}
+rm %{buildroot}%{_bindir}/ade-tests
+%endif
 
-%post
-%postun
+%check
+%if %{with tests}
+%ctest
+%endif
 
 %files devel
 %license LICENSE

++++++ ade-0.1.1d.tar.gz -> ade-0.1.1f.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1d/.travis.yml new/ade-0.1.1f/.travis.yml
--- old/ade-0.1.1d/.travis.yml  1970-01-01 01:00:00.000000000 +0100
+++ new/ade-0.1.1f/.travis.yml  2019-08-07 10:55:16.000000000 +0200
@@ -0,0 +1,29 @@
+dist: trusty
+language: cpp
+
+compiler:
+  - gcc
+
+addons:
+  apt:
+    sources:
+    - ubuntu-toolchain-r-test
+    packages:
+    - gcc-5
+    - g++-5
+    - ninja-build
+
+install:
+  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then export CC="gcc-5"; export 
CXX="g++-5"; fi
+  - cmake --version
+  - ninja --version
+
+script:
+  - mkdir build
+  - cd build
+# TODO: fix ninja build
+#  - cmake -G Ninja -DENABLE_ADE_TESTING=ON -DBUILD_ADE_TUTORIAL=ON 
-DCMAKE_BUILD_TYPE=Release ..
+#  - ninja
+  - cmake -DENABLE_ADE_TESTING=ON -DBUILD_ADE_TUTORIAL=ON 
-DCMAKE_BUILD_TYPE=Release ..
+  - make
+  - ctest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1d/README.md new/ade-0.1.1f/README.md
--- old/ade-0.1.1d/README.md    2018-10-18 14:38:11.000000000 +0200
+++ new/ade-0.1.1f/README.md    2019-08-07 10:55:16.000000000 +0200
@@ -1,5 +1,7 @@
 # ADE Framework
 
+[![Build 
Status](https://travis-ci.org/opencv/ade.svg?branch=master)](https://travis-ci.org/opencv/ade)
+
 ## Intro
 
 ADE Framework is a graph construction, manipulation, and processing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1d/sources/ade/include/ade/util/range.hpp 
new/ade-0.1.1f/sources/ade/include/ade/util/range.hpp
--- old/ade-0.1.1d/sources/ade/include/ade/util/range.hpp       2018-10-18 
14:38:11.000000000 +0200
+++ new/ade-0.1.1f/sources/ade/include/ade/util/range.hpp       2019-08-07 
10:55:16.000000000 +0200
@@ -132,10 +132,11 @@
 
     template<typename I1 = BeginT, typename I2 = EndT,
              util::enable_b_t<(sizeof(std::declval<I2>() - std::declval<I1>()) 
> 0)> = true> //SFINAE
-    auto size() const
-    ->decltype(std::declval<I2>() - std::declval<I1>())
+    std::size_t size() const
     {
-        return endIter - beginIter;
+        auto diff = endIter - beginIter;
+        ADE_ASSERT(diff >= 0);
+        return static_cast<std::size_t>(diff);
     }
 
     // TODO: bidirectional and random access ranges
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1d/sources/ade/source/execution_engine.cpp 
new/ade-0.1.1f/sources/ade/source/execution_engine.cpp
--- old/ade-0.1.1d/sources/ade/source/execution_engine.cpp      2018-10-18 
14:38:11.000000000 +0200
+++ new/ade-0.1.1f/sources/ade/source/execution_engine.cpp      2019-08-07 
10:55:16.000000000 +0200
@@ -138,7 +138,8 @@
         }
     }
 
-    return std::move(ret);
+    // NB: the below code style is important for different compiler 
compatibility
+    return std::unique_ptr<ExecutableImpl>(std::move(ret));
 }
 
 void ExecutionEngine::addExecutableDependency(const std::string& lazyPassName)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ade-0.1.1d/sources/tests/CMakeLists.txt 
new/ade-0.1.1f/sources/tests/CMakeLists.txt
--- old/ade-0.1.1d/sources/tests/CMakeLists.txt 2018-10-18 14:38:11.000000000 
+0200
+++ new/ade-0.1.1f/sources/tests/CMakeLists.txt 2019-08-07 10:55:16.000000000 
+0200
@@ -15,7 +15,7 @@
 
     ExternalProject_Add(
         GTest
-        URL https://github.com/google/googletest/archive/release-1.8.0.zip
+        URL https://github.com/google/googletest/archive/release-1.8.1.zip
         CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} 
-DCMAKE_INSTALL_PREFIX:PATH=${GTEST_INSTALL_DIR} -Dgtest_force_shared_crt=ON
         LOG_DOWNLOAD ON
         LOG_CONFIGURE ON


Reply via email to