From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ABO8MDIthGIkUAEAbAwnHQ (envelope-from ) for ; Wed, 18 May 2022 01:18:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eFZvMDIthGI+IAAAauVa8A (envelope-from ) for ; Wed, 18 May 2022 01:18:10 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2C0EA3E7EF for ; Wed, 18 May 2022 01:18:10 +0200 (CEST) Received: from localhost ([::1]:45708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nr6S9-0003HL-5b for larch@yhetil.org; Tue, 17 May 2022 19:18:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nr6S1-0003Ge-WC for guix-patches@gnu.org; Tue, 17 May 2022 19:18:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36240) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nr6S1-00078j-No for guix-patches@gnu.org; Tue, 17 May 2022 19:18:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nr6S1-0000YT-KO for guix-patches@gnu.org; Tue, 17 May 2022 19:18:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55045] [PATCH v2 1/4] gnu: lua-luv: Update to 1.43.0-0. References: <87mtgf63xj.fsf@gmail.com> In-Reply-To: <87mtgf63xj.fsf@gmail.com> Resent-From: Luis Henrique Gomes Higino Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 17 May 2022 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55045 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55045@debbugs.gnu.org Cc: Luis Henrique Gomes Higino Received: via spool by 55045-submit@debbugs.gnu.org id=B55045.16528294402055 (code B ref 55045); Tue, 17 May 2022 23:18:01 +0000 Received: (at 55045) by debbugs.gnu.org; 17 May 2022 23:17:20 +0000 Received: from localhost ([127.0.0.1]:58361 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nr6RG-0000Wm-PJ for submit@debbugs.gnu.org; Tue, 17 May 2022 19:17:20 -0400 Received: from mail-oi1-f179.google.com ([209.85.167.179]:33317) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nr6RE-0000WU-5b for 55045@debbugs.gnu.org; Tue, 17 May 2022 19:17:12 -0400 Received: by mail-oi1-f179.google.com with SMTP id w130so768746oig.0 for <55045@debbugs.gnu.org>; Tue, 17 May 2022 16:17:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qN6doWGqEkv/fzdsPs31Nu7eQ6Z8DZaF2pgtQhVYs+w=; b=cJZNkzUzhqotZdidsjAGo9dY/wdTe1fBQ7lxz6gIziN9o0gKs+XjvMl+ACj7tVt2MU TLWjmyZKCVnPDiWnV1LCTvAfz7pu6RAkSka2a+ijhLXShhy5chLpO0vEWzleL6o5wEtY ubZ2StBsiWMkjTP/fbW00TV/q+7Te9/r8iDyZCEi0k+SJpXVi3RfOXx9NFP2/aGmjQ6z Sg9bd3MFybPKKHwMiXb8FKqq0iOILvUWb2OftwmTBOcDgFvj96KEx07cAEJovFEjoiQT jnMPVOaEagx4odOmBSvzmAVUDX3BVC0Mr6mhovYDu2BKk3WlwTnAT466zloIhBf8MlqT VupA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qN6doWGqEkv/fzdsPs31Nu7eQ6Z8DZaF2pgtQhVYs+w=; b=1ZkKqboYdlQMm1wzXVVqHZNjTnG5epuTlj4gZr3eVUZGLKDqYTqql17LAceadVjx/z Nn9hYVwd1U7vvrocVfhAgDyw5HtrEQjcMfOx1kWGblyX1nBQiFYjvRCgBwTd8fC5lbxD QQ8/yDs3TJJSK0zLvnhotkWFJ7k3nkZN9tPmyU8bKw3dsKk/kdazjh7ekDXgew7QvMg6 6faQkVODhTEUp/fBPeqkylCyDBz76xgWVnRhz5axfXiOglTIJFfToRNbkCdrRmkRPOxb csFZPZ2va/UatmKjddYzcLpvEnyNctHreykNJjcs84Si2Tg6+6tz4PRS7Kg6ACVyEBJB PXGw== X-Gm-Message-State: AOAM530BfgJeWqwbhAzCScDgbfwFXS2KLbbj2NHaRQBt5v5Attfa+ud2 pYgqddK098xXOGqF3Y13I8SYnXL9TUmCWJJz X-Google-Smtp-Source: ABdhPJyg2wqkcPR8B6roykLH4oetYYs/fKhkKHzsMFK+7D9ow1Q/eViSmVlLa31LUUTtSjJg8W29HA== X-Received: by 2002:aca:abcd:0:b0:326:ad9c:d88e with SMTP id u196-20020acaabcd000000b00326ad9cd88emr11458440oie.223.1652829425917; Tue, 17 May 2022 16:17:05 -0700 (PDT) Received: from localhost.localdomain ([2804:1b3:c200:fc7:399f:1d5:1b26:e154]) by smtp.gmail.com with ESMTPSA id r3-20020a4a83c3000000b0035eb4e5a6c2sm340976oog.24.2022.05.17.16.17.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 May 2022 16:17:05 -0700 (PDT) From: Luis Henrique Gomes Higino Date: Tue, 17 May 2022 20:16:44 -0300 Message-Id: <20220517231647.18336-1-luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.36.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652829490; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qN6doWGqEkv/fzdsPs31Nu7eQ6Z8DZaF2pgtQhVYs+w=; b=j5+iLhgjsDJL8WwORnO4oPRjWsVkbNAbSb9vGlqRjF+4cecXTKF8cFgh118cETSx4mnNXp 2w0rdBVbvOg7nHLv2dTz0+VpPyXh9NfMSsl2GHwjTbAdf1l1ovAcT6ucvIWpr9YCTnuOrJ tz5cl5HzhiZQDRx3CD2nOnV3WooaOjmIVwRnxzxRdq1yAMnwgBW0yvxhXR13VZmcf6+zAc X5JuQOjbulsGG+myZb80tuhYJT4M67ufkR5CvWZOPoRAuQVaQrcNkB8DlxSNHSVT6goTH+ XsAwMb7BmdEaHQyRgrLvDDYVgWc7T1zwHQf8TF3Dkm7iiSk+k8CweG7pZUwSpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652829490; a=rsa-sha256; cv=none; b=VUqiBJZndPSEn4Bwdfs/3LR1+ko1sFYy7iZrFfVv+73wl4yjGRAYwg6mMj8nkk6Jy3pwdR ocTwnbvqkNaaBdEVbbkFBmLCJ5gkD0xmioqff/tBFBDNC8oZSC07mIsysdV8/sCvLaCt4N OBOqO+/XbSrqfYbVBtvkcT3UjprWeNjJ9Xmmc//FuQbhofq84H2PllpccXR6N4w5UKLp3t sPb9rUJPIgBmWfmVeEWsakwsxiMufbOq/f+F425clklQhzbvZ7A1UxtVnrHrzoKXim+U7I FABQDXI2RvLKgIGk9RVVFVrY1QefEEk9PyUEJ9rWI5yjWIsc0WotUUXyDC8pcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cJZNkzUz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=cJZNkzUz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 2C0EA3E7EF X-Spam-Score: 5.36 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4tTITkX2PVcl * gnu/packages/libevent.scm (libuv-for-luv): New variable * gnu/packages/lua.scm (lua-luv): Update to 1.43.0-0. [inputs]: Change libuv to libuv-for-luv. [native-inputs]: Update lua-compat-5.3 to 0.10. --- gnu/packages/libevent.scm | 17 +++++++++++++++++ gnu/packages/lua.scm | 13 +++++++------ 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm index b3a5cd915e..d807315906 100644 --- a/gnu/packages/libevent.scm +++ b/gnu/packages/libevent.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2017 Efraim Flashner ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2019 Pierre Neidhardt +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -169,6 +170,22 @@ (define-public libuv-julia (home-page "https://github.com/JuliaLang/libuv") (properties '((hidden? . #t)))))) +(define-public libuv-for-luv + ;; When upgrading make-lua-luv, also upgrade this. Get the version from + ;; https://github.com/luvit/luv/blob/master/CMakeLists.txt + (package + (inherit libuv) + (name "libuv") + (version "1.43.0") + (source (origin + (method url-fetch) + (uri (string-append "https://dist.libuv.org/dist/v" version + "/libuv-v" version ".tar.gz")) + (sha256 + (base32 + "194kwq3jfj9s628kzkchdca534rikjw0xiyas0cjbphqmsvjpmwh")))) + (properties '((hidden? . #t))))) + (define-public perl-anyevent (package (name "perl-anyevent") diff --git a/gnu/packages/lua.scm b/gnu/packages/lua.scm index ee4b7727e0..0662b2d064 100644 --- a/gnu/packages/lua.scm +++ b/gnu/packages/lua.scm @@ -16,6 +16,7 @@ ;;; Copyright © 2021 Vinícius dos Santos Oliveira ;;; Copyright © 2021 Greg Hogan ;;; Copyright © 2022 Brandon Lucas +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -785,7 +786,7 @@ (define-public lua5.2-lpeg (define (make-lua-luv name lua) (package (name name) - (version "1.32.0-0") + (version "1.43.0-0") (source (origin ;; The release tarball includes the sources of libuv but does ;; not include the pkg-config files. @@ -796,7 +797,7 @@ (define (make-lua-luv name lua) (file-name (git-file-name name version)) (sha256 (base32 - "0c65c1lhbl0axnyks3910gjs0z0hw7w6jvl07g8kbpnbvfl4qajh")))) + "1yzi4bm845vl84wyv2qw4z1n1v285lgwm681swmp84brfy2s7czp")))) (build-system cmake-build-system) (arguments `(#:tests? #f ; there are none @@ -813,22 +814,22 @@ (define (make-lua-luv name lua) (copy-recursively (assoc-ref inputs "lua-compat") "lua-compat") (setenv "CPATH" - (string-append (getcwd) "/lua-compat:" + (string-append (getcwd) "/lua-compat/c-api:" (or (getenv "CPATH") ""))) #t))))) (inputs - (list lua libuv)) + (list lua libuv-for-luv)) (native-inputs `(("lua-compat" ,(origin (method git-fetch) (uri (git-reference (url "https://github.com/keplerproject/lua-compat-5.3") - (commit "daebe77a2f498817713df37f0bb316db1d82222f"))) + (commit "v0.10"))) (file-name "lua-compat-5.3-checkout") (sha256 (base32 - "02a14nvn7aggg1yikj9h3dcf8aqjbxlws1bfvqbpfxv9d5phnrpz")))))) + "1caxn228gx48g6kymp9w7kczgxcg0v0cd5ixsx8viybzkd60dcn4")))))) (home-page "https://github.com/luvit/luv/") (synopsis "Libuv bindings for Lua") (description -- 2.36.0