head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.22 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.20 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.18 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.16 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.14 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.12 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.10 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.8 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.6 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.4 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.2 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.3.0.16 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.14 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.12 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.10 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.8 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.16 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.14 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.12 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.10 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.8 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.4 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.6 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.2 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.1.0.28 pkgsrc-2019Q2-base:1.1 pkgsrc-2019Q1:1.1.0.26 pkgsrc-2019Q1-base:1.1 pkgsrc-2018Q4:1.1.0.24 pkgsrc-2018Q4-base:1.1 pkgsrc-2018Q3:1.1.0.22 pkgsrc-2018Q3-base:1.1 pkgsrc-2018Q2:1.1.0.20 pkgsrc-2018Q2-base:1.1 pkgsrc-2018Q1:1.1.0.18 pkgsrc-2018Q1-base:1.1 pkgsrc-2017Q4:1.1.0.16 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.14 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.10 pkgsrc-2017Q2-base:1.1 pkgsrc-2017Q1:1.1.0.8 pkgsrc-2017Q1-base:1.1 pkgsrc-2016Q4:1.1.0.6 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.4 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.2 pkgsrc-2016Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2023.08.11.08.41.09; author mef; state Exp; branches; next 1.3; commitid sUl9zN4mPhaKvlAE; 1.3 date 2021.09.20.01.16.44; author mef; state Exp; branches; next 1.2; commitid Xfb27TWkNOlWdD9D; 1.2 date 2019.07.31.20.01.42; author brook; state Exp; branches; next 1.1; commitid lIY0piRyHNgIAexB; 1.1 date 2016.04.17.04.09.44; author wen; state Exp; branches; next ; commitid DszCSeSf9SusTV2z; desc @@ 1.4 log @(math/R-nloptr) Updated 1.2.2.2 to 2.0.3 # nloptr 2.0.3 * Improved compatibility on RHEL/CentOS by first searching for a `cmake3` binary on the `PATH` (#104). * Improved backward compatibility with older versions of `cmake` (#119). # nloptr 2.0.2 This is a patch version in which: * I link to the `nlopt` library via `nlopt/lib/libnlopt.a` instead of `-Lnlopt/lib -lnlopt` when building `nlopt` from included sources to avoid potential mess where `-lnlopt` could look for the `nlopt` library in other places and possibly link with an existing too old system build of `nlopt`. Additionally, we contacted Simon Urbanek for updating the `nlopt` recipe for macOS users so that it does now match the latest `v2.7.1`, which should avoid `nlopt` to be built on the fly on CRAN machines. # nloptr 2.0.1 This is a release mainly for increasing direct compatibility with most user cases. In details, here is the list of changes that have been made: * Update `SystemRequirements` description to make it clearer which minimal versions of `cmake` (`>= 3.15.0`) and `nlopt` (`>= 2.7.0`) are required (#100, @@HenrikBengtsson). * End configuration sooner and louder if `cmake` is missing when needed with clearer message (#103, @@eddelbuettel). * Ensure system-wide installation of `cmake` in the list of suggestions to install it when missing. * Update GHA scripts to latest versions. * Configure git to always use LF line endings for configure.ac file. * Add CI for R-devel on Windows with Rtools42. * Fix for compatibility with versions of R anterior to `4.0` (#111). * Look for a `cmake3` binary in the current path before `cmake` for increasing compatibility with most RHEL/CentOS users (#104, @@bhogan-mitre @@HenrikBengtsson). # nloptr 2.0.0 ## Major changes * Use [CMake](https://cmake.org) to build `nlopt` from included sources on macOS and on Linux if no system build of NLopt (>= 2.7.0) is found. * Update included sources of NLopt to latest version (2.7.1). * Put back the ability on Linux platforms to re-use an existing external build of NLopt instead of building from the included sources (contributed by Dirk Eddelbuettel, #88). * Now builds using NLopt from `rwinlib` on Windows current release (contributed by Jeroen Ooms, #92), or NLopt from `Rtools42` on Windows devel (contributed by Tomas Kalibera). ## Minor changes * Added a `NEWS.md` file to track changes to the package. * Use markdown in Roxygen documentation. * Added a logo and a proper [**nloptr** website](https://astamm.github.io/nloptr/). * Added coverage. * Switch from Travis to Github Actions for CI. * Use Catch for unit testing C/C++ code. * Now tracking code coverage. * Update NLopt-related URLs following migration of [NLopt website](https://nlopt.readthedocs.io/en/latest/). * Fixed bug to avoid linking issues when using the C API via `#include ` in several source files. * Fix precision issue in test example `hs071` (jyypma/nloptr#81, @@Tom-python0121). * Made NLopt algorithm `NLOPT_GN_ESCH` available from R interface (contributed by Xiongtao Dai). @ text @$NetBSD$ ERROR: [check-portability.awk] => Found test ... == ...: --- configure.orig 2022-05-26 23:40:24.000000000 +0900 +++ configure 2023-08-11 16:48:17.053659088 +0900 @@@@ -3320,7 +3320,7 @@@@ printf "%s\n" "no" >&6; } fi - if test x"${have_cmake}" == x"no"; then + if test x"${have_cmake}" = x"no"; then . src/scripts/cmake_config.sh if test -z "${CMAKE_BIN}"; then ## also error to end configure here @ 1.3 log @(math/R-nloptr) updated 1.2.1 to 1.2.2.2 29 February 2020: * Replaced deprecated functions from testhat framework in unit tests (contributed by Avraham Adler). 26 February 2020: * Fixed warnings (as requested by CRAN): R CMD config variables 'CPP' and 'CXXCPP' are deprecated. 20 October 2018: * Exposed CCSAQ algorithm in R interface (contributed by Julien Chiquet). 03 October 2018: * Build process was changed to solve issues on several OS (many thanks to the CRAN maintainers). @ text @a2 1 => Checking for portability problems in extracted files a3 3 ERROR: [check-portability.awk] configure:2974: if test x"${nlopt_libs}" == x""; then ERROR: [check-portability.awk] configure:2975: if test x"${PKGCONFIG}" == x"yes"; then ERROR: [check-portability.awk] configure:3272: if test x"${PKGCONFIG}" == x"yes"; then d5 4 a8 3 --- configure.orig 2020-07-03 02:30:38.000000000 +0900 +++ configure 2021-09-18 13:38:30.459037943 +0900 @@@@ -2971,8 +2971,8 @@@@ nlopt_libs="" d10 6 a15 18 ## also use pkg-config to check for NLopt ## -if test x"${nlopt_libs}" == x""; then - if test x"${PKGCONFIG}" == x"yes"; then +if test x"${nlopt_libs}" = x""; then + if test x"${PKGCONFIG}" = x"yes"; then ## check via pkg-config for nlopt if pkg-config --exists nlopt; then ## obtain cflags and obtain libs @@@@ -3269,7 +3269,7 @@@@ fi if test x"${nlopt_good}" = x"yes"; then { $as_echo "$as_me:${as_lineno-$LINENO}: Now testing for NLopt version 2.4.0 or greater." >&5 $as_echo "$as_me: Now testing for NLopt version 2.4.0 or greater." >&6;} - if test x"${PKGCONFIG}" == x"yes"; then + if test x"${PKGCONFIG}" = x"yes"; then ## check via pkg-config for version number of nlopt if pkg-config --exists nlopt; then ## obtain version number @ 1.2 log @R-nloptr: update to version 1.2.1. Update to the canonical form of an R package. @ text @d1 11 a11 5 $NetBSD: patch-configure,v 1.1 2016/04/17 04:09:44 wen Exp $ Fix usage of conditionals in configure --- configure.orig 2018-10-03 07:37:01.000000000 +0000 +++ configure @@@@ -2982,8 +2982,8 @@@@ nlopt_libs="" d22 1 a22 1 @@@@ -3280,7 +3280,7 @@@@ fi d24 2 a25 2 { $as_echo "$as_me:${as_lineno-$LINENO}: Now testing for NLopt versison number." >&5 $as_echo "$as_me: Now testing for NLopt versison number." >&6;} @ 1.1 log @Import nloptr-1.0.4 as math/R-nloptr. nloptr is an R interface to NLopt. NLopt is a free/open-source library for nonlinear optimization, providing a common interface for a number of different free optimization routines available online as well as original implementations of various other algorithms. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2015-11-28 07:01:04.000000000 +0000 d5 1 a5 1 @@@@ -2953,8 +2953,8 @@@@ fi d13 1 a13 1 ## check via pkg-config for hiredis d16 9 @