pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(textproc/R-readxl) Updating 1.3.1 to 1.4.3 but missing uselocale()



Module Name:	pkgsrc-wip
Committed By:	Makoto mef20 Fujiwara <makoto%if.t.u-tokyo.ac.jp@localhost>
Pushed By:	mef
Date:		Tue Jan 28 07:58:34 2025 +0900
Changeset:	588226256b85bfefd9e21aec5baa6542b90f9c99

Modified Files:
	R-readxl/Makefile
	R-readxl/distinfo
Added Files:
	R-readxl/COMMIT_MSG
	R-readxl/TODO

Log Message:
(textproc/R-readxl) Updating 1.3.1 to 1.4.3 but missing uselocale()

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=588226256b85bfefd9e21aec5baa6542b90f9c99

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 R-readxl/COMMIT_MSG | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 R-readxl/Makefile   |  4 +--
 R-readxl/TODO       | 13 +++++++++
 R-readxl/distinfo   |  6 ++---
 4 files changed, 96 insertions(+), 5 deletions(-)

diffs:
diff --git a/R-readxl/COMMIT_MSG b/R-readxl/COMMIT_MSG
new file mode 100644
index 0000000000..365318c3bd
--- /dev/null
+++ b/R-readxl/COMMIT_MSG
@@ -0,0 +1,78 @@
+(textproc/R-readxl) Updated 1.3.1 to 1.4 3
+
+# readxl 1.4.3
+
+This release contains no user-facing changes.
+
+# readxl 1.4.2
+
+This release contains no user-facing changes.
+
+* We embed a development version of libxls (<https://github.com/libxls/libxls>), which is based on the most recent released version, v1.6.2.
+The reason for embedding a development version is to ship a version of libxls that incorporates the fix for this CVE (#679):
+
+  - [CVE-2021-27836](https://nvd.nist.gov/vuln/detail/CVE-2021-27836)
+  
+* readxl no longer declares the use of C++11.
+
+* readxl should once again compile on Alpine Linux.
+
+* Other small readxl-specific patches have been made to the embedded libxls code to comply with CRAN requests, such as avoiding the use of `sprintf()`.
+
+# readxl 1.4.1
+
+Help files below `man/` have been re-generated, so that they give rise to valid HTML5. (This is the impetus for this release, to keep the package safely on CRAN.)
+
+# readxl 1.4.0
+
+This release is mostly about substantial internal changes that should not be
+noticeable to most users (but that set the stage for future work):
+
+* Updating the embedded version of libxls (more below)
+* Switching from Rcpp to cpp11 (more below)
+* Refactoring to reduce duplication between the `.xls` and `.xlsx` branches
+
+However, there are a few small features / bug fixes:
+
+* "Date or Not Date": The classification of number formats as being datetime-ish
+  is more sophisticated and should no longer be so easily fooled by, e.g.,
+  colours or currencies. This affects cell and column type guessing, hopefully
+  for the better (#388, #559, @nacnudus, @reviewher).
+
+* Cell location is determined more robustly in `.xlsx` files, guarding against
+  the idiosyncratic way in which certain 3rd party tools include (or, rather,
+  do not include) cell location in individual cell nodes (#648, #671).
+
+* Warning messages for impossible dates are more specific.
+  Unsupported dates prior to 1900 have their own message now, instead of being
+  lumped in with dates on the non-existent day of February 29, 1900
+  (#551, #554, @cderv).
+
+## Dependency and licensing changes
+
+* readxl is now licensed as MIT (#632).
+
+* readxl now states its support for R >= 3.4 explicitly. 
+  Why 3.4? Because the [tidyverse policy](https://www.tidyverse.org/blog/2019/04/r-version-support/)
+  is to support the current version, the devel version, and four previous
+  versions of R.
+  It was necessary to introduce a minimum R version, in order to state a minimum
+  version for a package listed in `LinkingTo`.
+
+* readxl embeds libxls v1.6.2 (the previous release embedded v1.5.0).
+  The libxls project is hosted at <https://github.com/libxls/libxls> and you can
+  learn more about the cumulative changes in its release notes:
+
+  - [v1.6.2](https://github.com/libxls/libxls/releases/tag/v1.6.2)
+  - [v1.6.1](https://github.com/libxls/libxls/releases/tag/v1.6.1)
+  - [v1.6.0](https://github.com/libxls/libxls/releases/tag/v1.6.0)
+  - [v1.5.3](https://github.com/libxls/libxls/releases/tag/v1.5.3)
+  - [v1.5.2](https://github.com/libxls/libxls/releases/tag/v1.5.2)
+  - [v1.5.1](https://github.com/libxls/libxls/releases/tag/v1.5.1)
+  
+* readxl has switched from Rcpp to cpp11 and now requires C++11 (#659,
+  @sbearrows).
+
+* The minimum version of tibble has been bumped to 2.0.1 (released 2019-01-12),
+  completing the transition to an approach to column name repair used across the
+  tidyverse.
diff --git a/R-readxl/Makefile b/R-readxl/Makefile
index 49eee28606..585e3fea6e 100644
--- a/R-readxl/Makefile
+++ b/R-readxl/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.2 2019/08/08 19:53:57 brook Exp $
 
 R_PKGNAME=	readxl
-R_PKGVER=	1.3.1
+R_PKGVER=	1.4.3
 CATEGORIES=	textproc
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -14,6 +14,6 @@ DEPENDS+=	R-cellranger>=1.1.0:../../textproc/R-cellranger
 USE_LANGUAGES+=	c c++
 
 .include "../../math/R/Makefile.extension"
-.include "../../devel/R-Rcpp/buildlink3.mk"
+.include "../../lang/R-cpp11/buildlink3.mk"
 .include "../../sysutils/R-progress/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/R-readxl/TODO b/R-readxl/TODO
new file mode 100644
index 0000000000..dde5023beb
--- /dev/null
+++ b/R-readxl/TODO
@@ -0,0 +1,13 @@
+Missing uselocale:
+
+If you look at FreeBSD side, uselocal is implemented:
+
+  setlocal thread unsafe version
+  uselocal thread safe version
+
+gcc -I"/usr/pkg/lib/R/include" -DNDEBUG -Iunix -I. -I'/usr/pkg/lib/R/library/cpp11/include' -I'/usr/pkg/lib/R/library/progress/include' -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/include/krb5   -fvisibility=hidden -fpic  -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/usr/include/krb5  -c libxls/locale.c -o libxls/locale.o
+libxls/locale.c: In function 'xls_wcstombs_l':
+libxls/locale.c:84:26: warning: implicit declaration of function 'uselocale'; did you mean 'setlocale'? [-Wimplicit-function-declaration]
+   84 |     locale_t oldlocale = uselocale(loc);
+      |                          ^~~~~~~~~
+      |                          setlocale
diff --git a/R-readxl/distinfo b/R-readxl/distinfo
index 21ebb4af0c..bd5ccf8751 100644
--- a/R-readxl/distinfo
+++ b/R-readxl/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.3 2021/10/26 11:21:31 nia Exp $
 
-BLAKE2s (R/readxl_1.3.1.tar.gz) = 697a490da2cf6df09c6adeb062859fbf0f6116b1404cc5ba5a5115f0daa9fa2e
-SHA512 (R/readxl_1.3.1.tar.gz) = befeb57b4b5eeb934e08927aca0c0026591d264c34a029f2d77509b60d466c7f8e5df7d11bd38865ab1010042eb30f93363bf0c6fce608ae724f1ccb0b402ac2
-Size (R/readxl_1.3.1.tar.gz) = 2056165 bytes
+BLAKE2s (R/readxl_1.4.3.tar.gz) = e9c5d0c3329aa1837c3828a36438e8f11a9063b690e87bebc868dcb4759b3501
+SHA512 (R/readxl_1.4.3.tar.gz) = a96d6995989a06c81fc71a0e91a07abc5c4edc2e8ca84d5f649458bdaf385efece7ec093ffa73e0936d5659b72dff8db4a8582363f8eac60a9d36f0e99591197
+Size (R/readxl_1.4.3.tar.gz) = 2093488 bytes


Home | Main Index | Thread Index | Old Index