git: 64301771eefd - main - misc/opennn: Update 5.0.5 → 6.0.4

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 18 Jun 2023 06:52:19 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=64301771eefd6c2873365f7a2340252c8d647a0c

commit 64301771eefd6c2873365f7a2340252c8d647a0c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-06-18 06:32:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-06-18 06:52:14 +0000

    misc/opennn: Update 5.0.5 → 6.0.4
    
    Reported by:    portscout
---
 misc/opennn/Makefile                          |  4 ++--
 misc/opennn/distinfo                          |  6 +++---
 misc/opennn/files/patch-opennn_CMakeLists.txt | 11 -----------
 misc/opennn/files/patch-opennn_data__set.h    | 11 +++++++++++
 misc/opennn/pkg-plist                         | 14 +++++++++++++-
 5 files changed, 29 insertions(+), 17 deletions(-)

diff --git a/misc/opennn/Makefile b/misc/opennn/Makefile
index 90319fd8f739..ac7c2ef49f1e 100644
--- a/misc/opennn/Makefile
+++ b/misc/opennn/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	opennn
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.0.5
-PORTREVISION=	1
+DISTVERSION=	6.0.4
 CATEGORIES=	misc # machine-learning
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -19,6 +18,7 @@ GH_ACCOUNT=	Artelnics
 
 DOS2UNIX_FILES=	opennn/CMakeLists.txt
 
+CMAKE_ON=	BUILD_SHARED_LIBS
 CMAKE_OFF=	OpenNN_BUILD_EXAMPLES OpenNN_BUILD_TESTS
 CMAKE_TESTING_ON=	OpenNN_BUILD_TESTS # some tests fail, see https://github.com/Artelnics/opennn/issues/229
 CMAKE_TESTING_TARGET=	tests
diff --git a/misc/opennn/distinfo b/misc/opennn/distinfo
index 78998d5b496c..35a32c537960 100644
--- a/misc/opennn/distinfo
+++ b/misc/opennn/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666513494
-SHA256 (Artelnics-opennn-v5.0.5_GH0.tar.gz) = 8b8545049d085cb769f3a00e93f844061d59debab9ce514e4e91fe988e82b1ac
-SIZE (Artelnics-opennn-v5.0.5_GH0.tar.gz) = 46426854
+TIMESTAMP = 1687057825
+SHA256 (Artelnics-opennn-v6.0.4_GH0.tar.gz) = 3f3bcf491198444d58ea099acf69b3a4e3703b321f3fb08ad9b32e832b400c34
+SIZE (Artelnics-opennn-v6.0.4_GH0.tar.gz) = 20311311
diff --git a/misc/opennn/files/patch-opennn_CMakeLists.txt b/misc/opennn/files/patch-opennn_CMakeLists.txt
deleted file mode 100644
index 3727ab947e95..000000000000
--- a/misc/opennn/files/patch-opennn_CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
---- opennn/CMakeLists.txt.orig	2020-01-03 01:55:58 UTC
-+++ opennn/CMakeLists.txt
-@@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 2.8.10)
- 
- project(opennn)
- 
--add_library(opennn 
-+add_library(opennn SHARED
- adaptive_moment_estimation.cpp
- bounding_layer.cpp
- conjugate_gradient.cpp
diff --git a/misc/opennn/files/patch-opennn_data__set.h b/misc/opennn/files/patch-opennn_data__set.h
new file mode 100644
index 000000000000..a784d1fe923b
--- /dev/null
+++ b/misc/opennn/files/patch-opennn_data__set.h
@@ -0,0 +1,11 @@
+--- opennn/data_set.h.orig	2023-06-18 03:33:58 UTC
++++ opennn/data_set.h
+@@ -30,7 +30,7 @@
+ #include <limits.h>
+ #include <list>
+ #include <filesystem>
+-#include <experimental/filesystem>
++//#include <experimental/filesystem>
+ 
+ #include <regex>
+ #include <codecvt>
diff --git a/misc/opennn/pkg-plist b/misc/opennn/pkg-plist
index 4bf0692971eb..e18361a58466 100644
--- a/misc/opennn/pkg-plist
+++ b/misc/opennn/pkg-plist
@@ -1,16 +1,22 @@
 include/opennn/adaptive_moment_estimation.h
+include/opennn/batch_normalization_layer.h
+include/opennn/bounding_box_regressor_layer.h
 include/opennn/bounding_layer.h
+include/opennn/codification.h
 include/opennn/config.h
 include/opennn/conjugate_gradient.h
 include/opennn/convolutional_layer.h
 include/opennn/correlations.h
 include/opennn/cross_entropy_error.h
 include/opennn/data_set.h
+include/opennn/filesystem.h
+include/opennn/flatten_layer.h
 include/opennn/genetic_algorithm.h
 include/opennn/gradient_descent.h
 include/opennn/growing_inputs.h
 include/opennn/growing_neurons.h
 include/opennn/inputs_selection.h
+include/opennn/json_to_xml.h
 include/opennn/layer.h
 include/opennn/learning_rate_algorithm.h
 include/opennn/levenberg_marquardt_algorithm.h
@@ -21,24 +27,30 @@ include/opennn/minkowski_error.h
 include/opennn/model_selection.h
 include/opennn/neural_network.h
 include/opennn/neurons_selection.h
+include/opennn/non_max_suppression_layer.h
 include/opennn/normalized_squared_error.h
 include/opennn/numerical_differentiation.h
 include/opennn/opennn.h
+include/opennn/opennn_images.h
 include/opennn/opennn_strings.h
 include/opennn/optimization_algorithm.h
 include/opennn/perceptron_layer.h
 include/opennn/pooling_layer.h
-include/opennn/principal_components_layer.h
 include/opennn/probabilistic_layer.h
 include/opennn/pruning_inputs.h
 include/opennn/quasi_newton_method.h
 include/opennn/recurrent_layer.h
+include/opennn/region_based_object_detector.h
+include/opennn/region_proposal_layer.h
 include/opennn/response_optimization.h
+include/opennn/scaling.h
 include/opennn/scaling_layer.h
 include/opennn/statistics.h
 include/opennn/stochastic_gradient_descent.h
 include/opennn/sum_squared_error.h
+include/opennn/tensor_utilities.h
 include/opennn/testing_analysis.h
+include/opennn/text_analytics.h
 include/opennn/tinyxml2.h
 include/opennn/training_strategy.h
 include/opennn/unit_testing.h