commit verdict for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package verdict for openSUSE:Factory checked in at 2023-11-10 12:33:23 Comparing /work/SRC/openSUSE:Factory/verdict (Old) and /work/SRC/openSUSE:Factory/.verdict.new.17445 (New) Package is "verdict" Fri Nov 10 12:33:23 2023 rev:3 rq:1124784 version:1.4.2 Changes: --- /work/SRC/openSUSE:Factory/verdict/verdict.changes 2022-12-07 17:36:19.256984599 +0100 +++ /work/SRC/openSUSE:Factory/.verdict.new.17445/verdict.changes 2023-11-10 12:37:18.369333620 +0100 @@ -1,0 +2,11 @@ +Tue Oct 10 08:30:58 UTC 2023 - Dirk Müller + +- update to 1.4.2: + * Add interfaces to some verdict calculations that take double ** + * Implementing length/area calculations and include higher order +nodes + * add verdict double ** interface for normalized in-radius + * More changes to tri normalized inradius to work for dimension 2 + * fix tri normalized inradius to not return nan for collapsd tri + +--- Old: verdict-1.4.1.tar.gz New: verdict-1.4.2.tar.gz Other differences: -- ++ verdict.spec ++ --- /var/tmp/diff_new_pack.ocDN5h/_old 2023-11-10 12:37:19.069359528 +0100 +++ /var/tmp/diff_new_pack.ocDN5h/_new 2023-11-10 12:37:19.069359528 +0100 @@ -1,7 +1,7 @@ # # spec file for package verdict # -# 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 @@ -19,7 +19,7 @@ %define libname libverdict1_4 Name: verdict -Version:1.4.1 +Version:1.4.2 Release:0 Summary:Compute quality functions of 2 and 3-dimensional regions License:BSD-3-Clause ++ verdict-1.4.1.tar.gz -> verdict-1.4.2.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/verdict-1.4.1/CMakeLists.txt new/verdict-1.4.2/CMakeLists.txt --- old/verdict-1.4.1/CMakeLists.txt2022-10-04 18:52:36.0 +0200 +++ new/verdict-1.4.2/CMakeLists.txt2023-07-19 18:21:57.0 +0200 @@ -7,7 +7,7 @@ set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED 1) -project(verdict VERSION 1.4.1) +project(verdict VERSION 1.4.2) # Includes include(GNUInstallDirs) @@ -17,8 +17,7 @@ cmake_policy(SET CMP0063 NEW) endif () -set(verdict_VERSION_FLAT "${CMAKE_PROJECT_VERSION_MAJOR}${CMAKE_PROJECT_VERSION_MINOR}${CMAKE_PROJECT_VERSION_PATCH}") -set(verdict_VERSION "${CMAKE_PROJECT_VERSION}") +set(verdict_VERSION_FLAT "${verdict_VERSION_MAJOR}${verdict_VERSION_MINOR}${verdict_VERSION_PATCH}") option(VERDICT_BUILD_DOC "Build the 2007 Verdict User Manual" OFF) option(VERDICT_MANGLE "Mangle verdict names for inclusion in a larger library?" OFF) @@ -53,7 +52,7 @@ ${CMAKE_CURRENT_BINARY_DIR}/verdict_config.h @ONLY) -add_library(verdict ${verdict_SOURCES}) +add_library(verdict ${verdict_SOURCES} ${verdict_HEADERS} ${CMAKE_CURRENT_BINARY_DIR}/verdict_config.h) target_include_directories(verdict PUBLIC $ $) if(UNIX) @@ -68,7 +67,7 @@ if (NOT VERDICT_NO_LIBRARY_VERSION) set_target_properties(verdict PROPERTIES VERSION "${verdict_VERSION}" -SOVERSION "${CMAKE_PROJECT_VERSION_MAJOR}.${CMAKE_PROJECT_VERSION_MINOR}") +SOVERSION "${verdict_VERSION_MAJOR}.${verdict_VERSION_MINOR}") endif () if (NOT VERDICT_EXPORT_GROUP) set(VERDICT_EXPORT_GROUP VerdictExport) @@ -139,7 +138,7 @@ # Export Targets file export(EXPORT ${VERDICT_EXPORT_GROUP} - FILE "${CMAKE_CURRENT_BINARY_DIR}/cmake/VerdictTargets.cmake" + FILE "${CMAKE_CURRENT_BINARY_DIR}/VerdictTargets.cmake" NAMESPACE Verdict::) # Install Targets file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/verdict-1.4.1/V_EdgeMetric.cpp new/verdict-1.4.2/V_EdgeMetric.cpp --- old/verdict-1.4.1/V_EdgeMetric.cpp 2022-10-04 18:52:36.0 +0200 +++ new/verdict-1.4.2/V_EdgeMetric.cpp 2023-07-19 18:21:57.0 +0200 @@ -27,12 +27,30 @@ /*!\brief Length of and edge. * Length is calculated by taking the distance between the end nodes. */ -double edge_length(int /*num_nodes*/, const double coordinates[][3]) +double edge_length(int num_nodes, const double coordinates[][3]) { + double edge_length = 0.0; - double x = coordinates[1][0] - coordinates[0][0]; - double y = coordinates[1][1] - coordinates[0][1]; - double z = coordinates[1][2] - coordinates[0][2]; - return (double)(std::sqrt(x * x + y * y + z * z)); + if (2 == num_nodes) + { +double x = coordinates[1][0] - coordinates[0][0]; +double y = coordinates[1][1]
commit verdict for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package verdict for openSUSE:Factory checked in at 2022-12-07 17:35:00 Comparing /work/SRC/openSUSE:Factory/verdict (Old) and /work/SRC/openSUSE:Factory/.verdict.new.1835 (New) Package is "verdict" Wed Dec 7 17:35:00 2022 rev:2 rq:1040756 version:1.4.1 Changes: --- /work/SRC/openSUSE:Factory/verdict/verdict.changes 2022-10-20 11:11:53.388041338 +0200 +++ /work/SRC/openSUSE:Factory/.verdict.new.1835/verdict.changes 2022-12-07 17:36:19.256984599 +0100 @@ -1,0 +2,12 @@ +Tue Dec 6 13:03:53 UTC 2022 - Dirk Müller + +- update to 1.4.1: + * VerdictVector: Use c++ headers, re-enable length function + * Use c++ version of math functions + * Fix install dir for verdict on Linux. + * ome fixes for building with the Intel compiler. + * Fix quad_aspect_ratio for concave quads. + * Remove unnecessary link to gtest_main + * improved README + +--- Old: verdict-1.4.0.tar.gz New: verdict-1.4.1.tar.gz Other differences: -- ++ verdict.spec ++ --- /var/tmp/diff_new_pack.7BiqkX/_old 2022-12-07 17:36:19.860987907 +0100 +++ /var/tmp/diff_new_pack.7BiqkX/_new 2022-12-07 17:36:19.864987929 +0100 @@ -19,7 +19,7 @@ %define libname libverdict1_4 Name: verdict -Version:1.4.0 +Version:1.4.1 Release:0 Summary:Compute quality functions of 2 and 3-dimensional regions License:BSD-3-Clause @@ -61,8 +61,7 @@ %install %cmake_install -# README does not contain much useful info -rm %{buildroot}%{_docdir}/verdict/%{version}/README.md +rm -vrf %{buildroot}/%{_docdir} %check %ifarch %{ix86} @@ -79,6 +78,7 @@ %{_libdir}/lib*so.* %files devel +%doc README.md %{_includedir}/verdict*.h %{_libdir}/lib*so %{_libdir}/cmake/verdict ++ verdict-1.4.0.tar.gz -> verdict-1.4.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/verdict-1.4.0/CMakeLists.txt new/verdict-1.4.1/CMakeLists.txt --- old/verdict-1.4.0/CMakeLists.txt2022-03-02 18:46:29.0 +0100 +++ new/verdict-1.4.1/CMakeLists.txt2022-10-04 18:52:36.0 +0200 @@ -4,7 +4,10 @@ cmake_minimum_required(VERSION 3.16) -project(verdict VERSION 1.4.0) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED 1) + +project(verdict VERSION 1.4.1) # Includes include(GNUInstallDirs) @@ -53,6 +56,9 @@ add_library(verdict ${verdict_SOURCES}) target_include_directories(verdict PUBLIC $ $) +if(UNIX) + target_link_libraries(verdict PRIVATE m) +endif() # Setting the VERSION and SOVERSION of a library will include @@ -94,23 +100,42 @@ # # Installation commands # # +if (NOT verdict_INSTALL_DOC_DIR) + set(verdict_INSTALL_DOC_DIR ${CMAKE_INSTALL_DOCDIR}) +endif () +if (NOT verdict_INSTALL_INCLUDE_DIR) + set(verdict_INSTALL_INCLUDE_DIR ${CMAKE_INSTALL_INCLUDEDIR}) +endif () +if (NOT verdict_INSTALL_INCLUDE_SUBDIR) + set(verdict_INSTALL_INCLUDE_SUBDIR verdict) +endif () +if (NOT verdict_INSTALL_BIN_DIR) + set(verdict_INSTALL_BIN_DIR ${CMAKE_INSTALL_BINDIR}) +endif () +if (NOT verdict_INSTALL_LIB_DIR) + set(verdict_INSTALL_LIB_DIR ${CMAKE_INSTALL_LIBDIR}) +endif () +if (NOT verdict_INSTALL_CMAKE_DIR) + set(verdict_INSTALL_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/cmake/verdict) +endif () # Install documentation install(FILES README.md - DESTINATION ${CMAKE_INSTALL_DOCDIR}/verdict/${verdict_VERSION}/ COMPONENT VerdictDevelopment) + DESTINATION ${verdict_INSTALL_DOC_DIR}/verdict/${verdict_VERSION}/ COMPONENT VerdictDevelopment) # Install required header files install(FILES ${CMAKE_CURRENT_BINARY_DIR}/verdict_config.h verdict.h - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} COMPONENT VerdictDevelopment) + DESTINATION ${verdict_INSTALL_INCLUDE_DIR} COMPONENT VerdictDevelopment) +target_include_directories(verdict PUBLIC $) # Install library install(TARGETS verdict EXPORT ${VERDICT_EXPORT_GROUP} - RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime # .exe, .dll - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime # .so, .dll - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT VerdictDevelopment #[[.a, .lib]]) + RUNTIME DESTINATION ${verdict_INSTALL_BIN_DIR} COMPONENT Runtime # .exe, .dll + LIBRARY DESTINATION ${verdict_INSTALL_LIB_DIR} COMPONENT Runtime # .so, .dll + ARCHIVE DESTINATION ${verdict_INSTALL_LIB_DIR} COMPONENT VerdictDevelopment #[[.a, .lib]]) # Export Targets file export(EXPORT ${VERDICT_EXPORT_GROUP} @@ -121,12 +146,12 @@ install(EXPORT ${VERDICT_EXPORT_GROUP} FILE "VerdictTargets