pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/R-Rcpp
Module Name: pkgsrc
Committed By: mef
Date: Thu May 21 09:11:08 UTC 2026
Modified Files:
pkgsrc/devel/R-Rcpp: Makefile distinfo
pkgsrc/devel/R-Rcpp/patches: patch-inst_include_Rcpp_utils_tinyformat.h
Added Files:
pkgsrc/devel/R-Rcpp/patches: patch-src_Makevars
Removed Files:
pkgsrc/devel/R-Rcpp/patches: patch-inst_include_Rcpp_exceptions.h
patch-inst_include_Rcpp_exceptions_cpp11_exceptions.h
patch-inst_include_Rcpp_exceptions_cpp98_exceptions.h
Log Message:
(devel/R-Rcpp) Updated 1.0.14 to 1.1.1.1.1
(pkgsrc)
- Three patches dropped
- Added patch for src/Makevars (by looking at devel/R-fs)
to take care the issue of not finding the function backtrace_symbol
(Atsushi Toyokura helped me a lot on this modification)
- Tested only on NetBSD (9.4), Linux and SunOS are not tested, sorry
(upstream)
Changes in Rcpp non-release version 1.1.1-1.1 (2026-04-19):
* Please see pr #1466 addressing #1465 for context (plus change
from #1460, and R_getRegisteredNamespace from #1469)
* This is an unplanned, unscheduled and uncalled for
non-release made solely to unplug CRAN from late-breaking
changes in R 4.6.0
* Version 1.1.1-1.1 is identical to 1.1.1-1 apart from
DESCRIPTION, ChangeLog and NEWS and exist solely to increment
the version counter.
Changes in Rcpp release version 1.1.1 (2026-01-08):
* Changes in Rcpp API:
* An unused old R function for a compiler version check has
been removed after checking no known package uses it
(Dirk in #1395)
* A narrowing warning is avoided via a cast (Dirk in #1398)
* Demangling checks have been simplified (I<c3><b1>aki in
#1401 addressing #1400)
* The treatment of signed zeros is now improved in the
Sugar code (I<c3><b1>aki in #1404)
* Preparations for phasing out use of 'Rf_error' have been
made (I<c3><b1>aki in #1407)
* The long-deprecated function 'loadRcppModules()' has been
removed (Dirk in #1416 closing #1415)
* Some non-API includes from R were refactored to
accommodate R-devel changes (I<c3><b1>aki in #1418
addressing #1417)
* An accessor to 'Rf_rnbeta' has been removed (Dirk in
#1419 also addressing #1420)
* Code accessing non-API 'Rf_findVarInFrame' now uses
'R_getVarEx' (Dirk in #1423 fixing #1421)
* Code conditional on the R version now expects at least R
3.5.0; older code has been removed (Dirk in #1426 fixing
#1425)
* The non-API 'ATTRIB' entry point to the R API is no
longer used (Dirk in #1430 addressing #1429)
* The unwind-protect mechanism is now used unconditionally
(Dirk in #1437 closing #1436)
* Changes in Rcpp Attributes:
* The OpenMP plugin has been generalized for different
macOS compiler installations (Kevin in #1414)
* Changes in Rcpp Documentation:
* Vignettes are now processed via a new "asis" processor
adopted from 'R.rsp' (Dirk in #1394 fixing #1393)
* R is now cited via its DOI (Dirk)
* A (very) stale help page has been removed (Dirk in #1428
fixing #1427)
* The main README.md was updated emphasizing r-universe in
favor of the local drat repos (Dirk in #1431)
* Changes in Rcpp Deployment:
* A temporary change in R-devel concerning NA part in
complex variables was accommodated, and then reverted
(Dirk in #1399 fixing #1397)
* The macOS CI runners now use macos-14 (Dirk in #1405)
* A message is shown if 'R.h' is included before Rcpp
headers as this can lead to errors (Dirk in #1411 closing
#1410)
* Old helper functions use 'message()' to signal they are
not used, deprecation and removal to follow (Dirk in
#1413 closing #1412)
* Three tests were being silenced following #1413 (Dirk in
#1422)
* The heuristic whether to run all available tests was
refined (Dirk in #1434 addressing #1433)
* Coverage has been tweaked via additional '#nocov' tags
(Dirk in #1435)
* Non-release Changes:
* Two interim non-releases 1.1.0.8.1 and .2 were made in
order to unblock CRAN due to changes in R-devel rather
than Rcpp
Changes in Rcpp release version 1.1.0 (2025-07-01):
* Changes in Rcpp API:
* C++11 is now the required minimal C++ standard
* The 'std::string_view' type is now covered by 'wrap()'
(Lev Kandel in #1356 as discussed in #1357)
* A last remaining 'DATAPTR' use has been converted to
'DATAPTR_RO' (Dirk in #1359)
* Under R 4.5.0 or later, 'R_ClosureEnv' is used instead of
'CLOENV' (Dirk in #1361 fixing #1360)
* Use of 'lsInternal' switched to 'lsInternal3' (Dirk in
#1362)
* Removed compiler detection macro in a header cleanup
setting C++11 as the minunum (Dirk in #1364 closing
#1363)
* Variadic templates are now used onconditionally given
C++11 (Dirk in #1367 closing #1366)
* Remove 'RCPP_USING_CXX11' as a '#define' as C++11 is now
a given (Dirk in #1369)
* Additional cleanup for '__cplusplus' checks (I<c3><b1>aki
in #1371 fixing #1370)
* Unordered set construction no longer needs a macro for
the pre-C++11 case (I<c3><b1>aki in #1372)
* Lambdas are supported in a Rcpp Sugar functions
(I<c3><b1>aki in #1373)
* The Date(time)Vector classes now have default ctor (Dirk
in #1385 closing #1384)
* Fixed an issue where Rcpp::Language would duplicate its
arguments (Kevin in #1388, fixing #1386)
* Changes in Rcpp Attributes:
* The C++26 standard now has plugin support (Dirk in #1381
closing #1380)
* Changes in Rcpp Documentation:
* Several typos were correct in the NEWS file (Ben Bolker
in #1354)
* The Rcpp Libraries vignette mentions 'PACKAGE_types.h' to
declare types used in 'RcppExports.cpp' (Dirk in #1355)
* The vignettes bibliography file was updated to current
package versions, and now uses doi references (Dirk in
#1389)
* Changes in Rcpp Deployment:
* 'Rcpp.package.skeleton()' creates 'URL' and 'BugReports'
if given a GitHub username (Dirk in #1358)
* R 4.4.* has been added to the CI matrix (Dirk in #1376)
* Tests involving NA propagation are skipped under
linux-arm64 as they are under macos-arm (Dirk in #1379
closing #1378)
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/R-Rcpp/Makefile
cvs rdiff -u -r1.29 -r1.30 pkgsrc/devel/R-Rcpp/distinfo
cvs rdiff -u -r1.1 -r0 \
pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_exceptions.h \
pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_exceptions_cpp11_exceptions.h \
pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_exceptions_cpp98_exceptions.h
cvs rdiff -u -r1.1 -r1.2 \
pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_utils_tinyformat.h
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/R-Rcpp/patches/patch-src_Makevars
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/R-Rcpp/Makefile
diff -u pkgsrc/devel/R-Rcpp/Makefile:1.35 pkgsrc/devel/R-Rcpp/Makefile:1.36
--- pkgsrc/devel/R-Rcpp/Makefile:1.35 Mon Feb 3 13:24:24 2025
+++ pkgsrc/devel/R-Rcpp/Makefile Thu May 21 09:11:08 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2025/02/03 13:24:24 mef Exp $
+# $NetBSD: Makefile,v 1.36 2026/05/21 09:11:08 mef Exp $
R_PKGNAME= Rcpp
-R_PKGVER= 1.0.14
+R_PKGVER= 1.1.1-1.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/devel/R-Rcpp/distinfo
diff -u pkgsrc/devel/R-Rcpp/distinfo:1.29 pkgsrc/devel/R-Rcpp/distinfo:1.30
--- pkgsrc/devel/R-Rcpp/distinfo:1.29 Mon Feb 3 13:24:24 2025
+++ pkgsrc/devel/R-Rcpp/distinfo Thu May 21 09:11:08 2026
@@ -1,9 +1,7 @@
-$NetBSD: distinfo,v 1.29 2025/02/03 13:24:24 mef Exp $
+$NetBSD: distinfo,v 1.30 2026/05/21 09:11:08 mef Exp $
-BLAKE2s (R/Rcpp_1.0.14.tar.gz) = c2e70382bdf746ee3dd5dfb9fdec9d750927a9b3cb94ffdeab76a05ac253188c
-SHA512 (R/Rcpp_1.0.14.tar.gz) = fa59b5c2446c1cea7cb9ba432c31060a6c54092ac9a9fac76fb45dc8805aabba8fdca019ba4c020f40d5e794c7550afb36313c4a477ffc6d81d53d30aee6333d
-Size (R/Rcpp_1.0.14.tar.gz) = 3013288 bytes
-SHA1 (patch-inst_include_Rcpp_exceptions.h) = 15bf2b84e1fcb0828b8231632b0178880fcfa331
-SHA1 (patch-inst_include_Rcpp_exceptions_cpp11_exceptions.h) = 37aeaa6907ec9b576f2655caddd98e45f991e198
-SHA1 (patch-inst_include_Rcpp_exceptions_cpp98_exceptions.h) = f507c1982b0dc3de7ab6884fd6c903cbf4926efc
-SHA1 (patch-inst_include_Rcpp_utils_tinyformat.h) = a9dc28bfa8e12298c03901fa89527b24d634f917
+BLAKE2s (R/Rcpp_1.1.1-1.1.tar.gz) = 76ad2a8553456a12d7e05f77d8b258c983699bea68bf6ba39f0ad46159c3f125
+SHA512 (R/Rcpp_1.1.1-1.1.tar.gz) = 11f3d6936d7a1fdd053e0820bf4973b560450b49f74d4f9c9257e0298bf7eb9bfb02c886816a24877fe292b34f5fd1016d50e9582d5205d4ea4b1876a5d71cd4
+Size (R/Rcpp_1.1.1-1.1.tar.gz) = 1883279 bytes
+SHA1 (patch-inst_include_Rcpp_utils_tinyformat.h) = 8927fe1ff226ceae6732c115c6e4c6a5cedd26ef
+SHA1 (patch-src_Makevars) = 224e06a25fa845779a42b99affb2e400dc5b9510
Index: pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_utils_tinyformat.h
diff -u pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_utils_tinyformat.h:1.1 pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_utils_tinyformat.h:1.2
--- pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_utils_tinyformat.h:1.1 Thu Nov 28 15:12:01 2024
+++ pkgsrc/devel/R-Rcpp/patches/patch-inst_include_Rcpp_utils_tinyformat.h Thu May 21 09:11:08 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-inst_include_Rcpp_utils_tinyformat.h,v 1.1 2024/11/28 15:12:01 bacon Exp $
+$NetBSD: patch-inst_include_Rcpp_utils_tinyformat.h,v 1.2 2026/05/21 09:11:08 mef Exp $
# Unbreak build on macOS 15.0 aarch64
---- inst/include/Rcpp/utils/tinyformat.h.orig 2024-11-28 14:40:26.847508847 +0000
-+++ inst/include/Rcpp/utils/tinyformat.h
+--- inst/include/Rcpp/utils/tinyformat.h.orig 2025-03-27 00:52:25.000000000 +0900
++++ inst/include/Rcpp/utils/tinyformat.h 2026-05-20 21:38:09.662841895 +0900
@@ -24,7 +24,7 @@
#define Rcpp_tinyformat_h
@@ -12,4 +12,4 @@ $NetBSD: patch-inst_include_Rcpp_utils_t
+NORET void stop(const std::string& message);
}
#define TINYFORMAT_ERROR(REASON) ::Rcpp::stop(REASON)
-
+ #define TINYFORMAT_USE_VARIADIC_TEMPLATES
Added files:
Index: pkgsrc/devel/R-Rcpp/patches/patch-src_Makevars
diff -u /dev/null pkgsrc/devel/R-Rcpp/patches/patch-src_Makevars:1.1
--- /dev/null Thu May 21 09:11:08 2026
+++ pkgsrc/devel/R-Rcpp/patches/patch-src_Makevars Thu May 21 09:11:08 2026
@@ -0,0 +1,27 @@
+$NetBSD: patch-src_Makevars,v 1.1 2026/05/21 09:11:08 mef Exp $
+
+Rcpp needs the function backtrace_symbols which may be found at
+/usr/lib/libexecinfo.* ( in *BSD OS, I assume) as shown below,
+
+---------------------------------------
+** testing if installed package can be loaded from temporary location
+Error: package or namespace load failed for 'Rcpp' in dyn.load(file, DLLpath = DLLpath, ...):
+ unable to load shared object '/tmp/devel/R-Rcpp/work/.destdir/usr/pkg/lib/R/library/00LOCK-Rcpp/00new/Rcpp/libs/Rcpp.so':
+ /tmp/devel/R-Rcpp/work/.destdir/usr/pkg/lib/R/library/00LOCK-Rcpp/00new/Rcpp/libs/Rcpp.so: Undefined PLT symbol "backtrace_symbols" (symnum = 376)
+Error: loading failed
+Execution halted
+ERROR: loading failed
+---------------------------------------
+But because of R building system, LIBS+= -lexecinfo does not work,
+so the patch
+
+--- src/Makevars.orig 2023-02-07 11:10:15.000000000 +0900
++++ src/Makevars 2026-05-21 17:17:44.950656859 +0900
+@@ -1,2 +1,7 @@
++UNAME := $(shell uname)
++
+ PKG_CPPFLAGS = -I../inst/include/
+
++.if $(UNAME) != "Linux" && $(UNAME) != "SunOS"
++PKG_LIBS = -lexecinfo
++.endif
Home |
Main Index |
Thread Index |
Old Index