From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id qAsZGqNIHWB9SgAA0tVLHw (envelope-from ) for ; Fri, 05 Feb 2021 13:31:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wEX9FaNIHWAGQQAAB5/wlQ (envelope-from ) for ; Fri, 05 Feb 2021 13:31:15 +0000 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 0A8F79402BD for ; Fri, 5 Feb 2021 13:31:15 +0000 (UTC) Received: from localhost ([::1]:48412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l81Cb-0002Q8-PY for larch@yhetil.org; Fri, 05 Feb 2021 08:31:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56130) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l81CQ-0002MJ-PD for guix-patches@gnu.org; Fri, 05 Feb 2021 08:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59877) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l81CQ-0003bM-I2 for guix-patches@gnu.org; Fri, 05 Feb 2021 08:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l81CQ-0002lz-Fq for guix-patches@gnu.org; Fri, 05 Feb 2021 08:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45601] [PATCH 1/1] gnu: Add picoev. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Feb 2021 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ryan Prior Cc: 45601@debbugs.gnu.org Received: via spool by 45601-submit@debbugs.gnu.org id=B45601.161253186010516 (code B ref 45601); Fri, 05 Feb 2021 13:31:02 +0000 Received: (at 45601) by debbugs.gnu.org; 5 Feb 2021 13:31:00 +0000 Received: from localhost ([127.0.0.1]:43190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81CN-0002jD-PG for submit@debbugs.gnu.org; Fri, 05 Feb 2021 08:31:00 -0500 Received: from mira.cbaines.net ([212.71.252.8]:47386) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l81CL-0002g2-Cq for 45601@debbugs.gnu.org; Fri, 05 Feb 2021 08:30:58 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 369A427BC20; Fri, 5 Feb 2021 13:30:56 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b8df5614; Fri, 5 Feb 2021 13:30:55 +0000 (UTC) References: <20210104030743.25824-1-rprior@protonmail.com> <20210104030743.25824-2-rprior@protonmail.com> User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines In-reply-to: <20210104030743.25824-2-rprior@protonmail.com> Date: Fri, 05 Feb 2021 13:30:51 +0000 Message-ID: <871rduzlo4.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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-Spam-Score: -1.95 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0A8F79402BD X-Spam-Score: -1.95 X-Migadu-Scanner: scn0.migadu.com X-TUID: Cron50eT68PY --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Ryan Prior via Guix-patches via writes: > * gnu/packages/networking.scm (picoev): New variable. Hey, This look OK to me, although the license needs checking. Would you be able to send the entire series of patches tracked under #45601? I'm not quite sure what's current and superseded by looking through the various emails. > --- > gnu/packages/networking.scm | 48 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 48 insertions(+) > > diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm > index fad917a7c0..1057014571 100644 > --- a/gnu/packages/networking.scm > +++ b/gnu/packages/networking.scm > @@ -1827,6 +1827,54 @@ passphrase can be recovered and the AP's wireless = settings can be > reconfigured.") > (license license:gpl2+))) >=20=20 > +(define-public picoev > + (let ((commit "ff85d9ef578842a40f7c91d2544b7932cec74b9d") > + (revision "0")) > + (package > + (name "picoev") > + (version (git-version "0.0.0" revision commit)) > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/kazuho/picoev") > + (commit commit))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "11ga0hyx6r229wvmds4gaq0ilrcb1j84gri7gxcnv7910yf1sv61")))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ; no tests available > + #:make-flags (list (string-append "CC=3D" ,(cc-for-target)) > + "LINUX_BUILD=3D1") > + #:modules ((guix build gnu-build-system) > + (guix build utils) > + (srfi srfi-26)) > + #:phases > + (modify-phases %standard-phases > + (delete 'configure) > + (replace 'install > + (lambda* (#:key outputs #:allow-other-keys) > + (let* ((out (string-append (assoc-ref outputs "out"))) > + (include (string-append out "/include")) > + (lib (string-append out "/lib")) > + (doc (string-append out "/share/doc/" ,name "-" ,v= ersion))) > + (for-each (cut install-file <> include) > + '("picoev.h" > + "picoev_epoll.c" > + "picoev_kqueue.c" > + "picoev_select.c")) > + (install-file "libpicoev.so" lib) > + (install-file "README.md" doc)) > + #t))))) > + (home-page "https://github.com/kazuho/picoev") > + (synopsis "Tiny portable event loop library") > + (description > + "This library provides a tiny event loop with a simple design, > +supporting only @code{select(2)}, @code{epoll(2)}, and @code{kqueue(2)}.= ") > + (license license:expat)))) Where did you get expat from? From looking at the files, that doesn't seem to be the case. > + > (define-public perl-danga-socket > (package > (name "perl-danga-socket") --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmAdSItfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xfsdw/+KLod8S+dxdMhUy/8wtPAbrMKwtWOCs8t cR8KCRHFYfPKT5fLRpra+Vb7BpY0SmmJx2dl8oKcaXNBeQL8Xx5n3kMY4/6eZtic 4xwaAe07rzOv0DEI2txHD85m2GKM0CpRwwuK620XmO/TZquRuj8KnyiFFN9WYXFY fFc19aDMXp34c1bwsxis/Epms9eQSaF/wI+upyGxlZkroGxmnPge3ga/26Dr0N7P y/xs3uchp+drRmYHqPyCuad/J5ls22bSqo2mrrnuvulMcmzFYG4M/ofJVFPSjuEc TgFXCrGjhX+iSCD+2gBTCyadhiIbpQdSKsoiD2l+plmOnVT0Ro28BBEnyOudfjvJ a4/V/zo/ms2zXGYhDnV2rYlgPgRzJH9yYm7v+sNbP/aCTrsnK9oJNTNX5aMoenHU PV8cKWeHowlKO/xQT2FLfd0Ldd3yYDqKG+EZn9UIwgIwUS8CVU2Iak+z550IZq9P EkYjR8CgbqAmQJaBoAJWJ4QiYtbxO2w7O73BWrPyKatKcnTb0BNqsdjkbB/acbAa YiY1DWtx8/Fd3F7uh0abLg7IwJlOdYohe1o+QwzUW22ZazPkvyErswyzECt6pW97 1Qn5/kA2QvNbi1nY1M/PFmp3b/qQ091vQJ96KzpSPtYmLycsRVDVfu/fVHwSHO+I A8gE5Tgfwus= =Zv62 -----END PGP SIGNATURE----- --=-=-=--