From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Alexandros Theodotou <alex@zrythm.org>
Cc: 40439@debbugs.gnu.org
Subject: [bug#40439] [PATCH 1/3] gnu: Add libuv-static.
Date: Wed, 28 Sep 2022 16:33:45 -0400 [thread overview]
Message-ID: <878rm3s0gm.fsf@gmail.com> (raw)
In-Reply-To: <c509e6f1020750b3fe632ebe7a0e45f96b240a3b.camel@zrythm.org> (Alexandros Theodotou's message of "Sat, 04 Apr 2020 22:08:54 +0100")
Hi,
Alexandros Theodotou <alex@zrythm.org> writes:
> Hi,
>
> This patch adds a static version of libuv (build with -fPIC) needed by
> zynfusion.
>
> Feel free to edit it as appropriate, I am not sure if this method of
> doing it is acceptable.
It's possible to link static archives from shared objects built with
-fPIC; so I'd suggest doing:
--8<---------------cut here---------------start------------->8---
gnu: Add libuv-next.
* gnu/packages/libevent.scm (libuv-next): New variable.
1 file changed, 17 insertions(+)
gnu/packages/libevent.scm | 17 +++++++++++++++++
modified gnu/packages/libevent.scm
@@ -133,6 +133,23 @@ (define-public libuv
;; details. Documentation is CC-BY 4.0 as of 1.12.0; see 'LICENSE-docs'.
(license (list expat cc-by4.0))))
+(define-public libuv-next
+ (package
+ (inherit libuv)
+ (name "libuv")
+ (version "1.44.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://dist.libuv.org/dist/v" version
+ "/libuv-v" version ".tar.gz"))
+ (sha256
+ (base32
+ "1d1wy1061cf2mfygr2j6jbm0da2mhsf0l9yq4rjkqrsmijbdrz6c"))))
+ (arguments
+ '(#:configure-flags '("--disable-static" "CFLAGS=-fPIC")
+ ;; XXX: Some tests want /dev/tty, attempt to make connections, etc.
+ #:tests? #f))))
+
(define-public libuv-for-node
;; When upgrading Node, also upgrade this. Get the version from
;; https://github.com/nodejs/node/blob/master/deps/uv/include/uv/version.h
--8<---------------cut here---------------end--------------->8---
and using that, if it's really necessary.
Thanks,
Maxim
prev parent reply other threads:[~2022-09-28 21:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-04 21:08 [bug#40439] [PATCH 1/3] gnu: Add libuv-static Alexandros Theodotou
2022-09-28 20:33 ` Maxim Cournoyer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rm3s0gm.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=40439@debbugs.gnu.org \
--cc=alex@zrythm.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).