[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/138: gnu: r-httpuv: Update to 1.6.4.
From: |
guix-commits |
Subject: |
11/138: gnu: r-httpuv: Update to 1.6.4. |
Date: |
Wed, 5 Jan 2022 15:24:39 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 38e4477a8b2b030b3eb92b3407b79dcec5d8e4c0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jan 5 16:52:11 2022 +0100
gnu: r-httpuv: Update to 1.6.4.
* gnu/packages/cran.scm (r-httpuv): Update to 1.6.4.
* gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch: Adjust to
version
1.6.4.
---
gnu/packages/cran.scm | 4 +--
.../patches/r-httpuv-1.5.5-unvendor-libuv.patch | 34 +++++++++++++++-------
2 files changed, 26 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 590e7008ee..a70684b9c1 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1556,13 +1556,13 @@ Zucchini.")
(define-public r-httpuv
(package
(name "r-httpuv")
- (version "1.6.3")
+ (version "1.6.4")
(source (origin
(method url-fetch)
(uri (cran-uri "httpuv" version))
(sha256
(base32
- "0xh8y05k4jxdwp9xh4x478y3scnv80q05l9gxk2ni6f0dk43iqxz"))
+ "0nx6fakpj9qh6izs6n26y3i8v4dm16h61ijw3gymsbif34fx532f"))
;; Unvendor bundled libraries. As of 1.5.4 the vendored libuv
;; only contains fixes for building on Solaris.
(patches (search-patches "r-httpuv-1.5.5-unvendor-libuv.patch"))
diff --git a/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
b/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
index 0947718059..30c6425477 100644
--- a/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
+++ b/gnu/packages/patches/r-httpuv-1.5.5-unvendor-libuv.patch
@@ -20,7 +20,7 @@ Removes references to bundled libuv.
# To avoid spurious warnings from `R CMD check --as-cran`, about compiler
# warning flags like -Werror.
-@@ -43,35 +43,5 @@
+@@ -43,49 +43,5 @@
# PKG_CPPFLAGS += -D_GLIBCXX_ASSERTIONS
@@ -32,10 +32,18 @@ Removes references to bundled libuv.
-libuv/m4/lt~obsolete.m4: libuv/m4/lt_obsolete.m4
- cp -p -f libuv/m4/lt_obsolete.m4 libuv/m4/lt~obsolete.m4
-
--# Run ./configure. We need to touch various autotools-related files to avoid
--# it trying to run autotools programs again. We also need to make sure
--# configure is executable, because on some platforms, calling unzip() in R
--# does not preserve the executable bit.
+-# Run ./configure to create the Makefile.
+-#
+-# On systems that do _not_ have automake installed, we need to make sure that
+-# configure does not try to run automake, because it will fail. To do that, we
+-# we need to touch various autotools-related files so it doesn't try to run
+-# autotools programs again. We also need to make sure configure is executable,
+-# because on some platforms, calling unzip() in R does not preserve the
+-# executable bit.
+-#
+-# If the system does have automake, then we'll run autogen.sh before
configure,
+-# as per the official build instructions for libuv. autogen.sh will in turn
run
+-# aclocal, autoconf, and automake.
-#
-# It's VERY IMPORTANT that mtime(aclocal.m4) <= mtime(configure), and also
-# mtime(aclocal.m4) <= mtime(Makefile.in). On some platforms, passing multiple
@@ -45,11 +53,17 @@ Removes references to bundled libuv.
-# use "-r aclocal.m4" to ensure that all three files are guaranteed to have
-# precisely the same timestamp value.
-libuv/Makefile: libuv/m4/lt~obsolete.m4
-- (cd libuv \
-- && touch aclocal.m4 \
-- && touch -r aclocal.m4 configure Makefile.in \
-- && chmod +x configure \
-- && CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)"
AR="$(AR)" RANLIB="$(RANLIB)" LDFLAGS="$(LDFLAGS)" ./configure
$(CONFIGURE_FLAGS))
+- cd libuv; \
+- if ! command -v automake >/dev/null 2>&1 ; then \
+- echo "automake not found. Touching files so configure will not
try to run automake."; \
+- touch aclocal.m4; \
+- touch -r aclocal.m4 configure Makefile.in; \
+- else \
+- echo "automake found. Running autogen.sh."; \
+- sh autogen.sh; \
+- fi; \
+- chmod +x configure; \
+- CC="$(CC)" CFLAGS="$(CFLAGS) $(CPICFLAGS) $(C_VISIBILITY)" AR="$(AR)"
RANLIB="$(RANLIB)" LDFLAGS="$(LDFLAGS)" ./configure $(CONFIGURE_FLAGS)
-
-libuv/.libs/libuv.a: libuv/Makefile
- $(MAKE) --directory=libuv \
- 125/138: gnu: r-devtools: Update to 2.4.3., (continued)
- 125/138: gnu: r-devtools: Update to 2.4.3., guix-commits, 2022/01/05
- 126/138: gnu: r-withr: Update to 2.4.3., guix-commits, 2022/01/05
- 128/138: gnu: r-rcpparmadillo: Update to 0.10.7.5.0., guix-commits, 2022/01/05
- 131/138: gnu: r-mclust: Update to 5.4.9., guix-commits, 2022/01/05
- 132/138: gnu: r-deoptimr: Update to 1.0-10., guix-commits, 2022/01/05
- 133/138: gnu: r-sn: Update to 2.0.1., guix-commits, 2022/01/05
- 134/138: gnu: r-cairo: Update to 1.5-14., guix-commits, 2022/01/05
- 135/138: gnu: r-bayesfactor: Update to 0.9.12-4.3., guix-commits, 2022/01/05
- 138/138: gnu: r-desctools: Update to 0.99.44., guix-commits, 2022/01/05
- 18/138: gnu: r-shadowtext: Update to 0.1.0., guix-commits, 2022/01/05
- 11/138: gnu: r-httpuv: Update to 1.6.4.,
guix-commits <=
- 25/138: gnu: r-dimred: Update to 0.2.4., guix-commits, 2022/01/05
- 19/138: gnu: r-ape: Update to 5.6., guix-commits, 2022/01/05
- 23/138: gnu: r-suppdists: Update to 1.1-9.7., guix-commits, 2022/01/05
- 32/138: gnu: r-tinytex: Update to 0.36., guix-commits, 2022/01/05
- 30/138: gnu: r-venndiagram: Update to 1.7.1., guix-commits, 2022/01/05
- 36/138: gnu: r-dtplyr: Update to 1.2.0., guix-commits, 2022/01/05
- 37/138: gnu: r-renv: Update to 0.15.0., guix-commits, 2022/01/05
- 53/138: gnu: r-ncdf4: Update to 1.19., guix-commits, 2022/01/05
- 01/138: tests: Add tests for changed-inputs on old-style inputs., guix-commits, 2022/01/05
- 05/138: gnu: r-openssl: Use openssl instead of libressl., guix-commits, 2022/01/05