From patchwork Wed Feb 23 17:50:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kitzman X-Patchwork-Id: 37434 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 8AEB027BBE9; Wed, 23 Feb 2022 17:49:21 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 51B0527BBEA for ; Wed, 23 Feb 2022 17:49:18 +0000 (GMT) Received: from localhost ([::1]:53934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMvlN-0002lz-Eh for patchwork@mira.cbaines.net; Wed, 23 Feb 2022 12:49:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMvl8-0002lb-Jq for guix-patches@gnu.org; Wed, 23 Feb 2022 12:49:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52521) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMvl7-0007dU-LW for guix-patches@gnu.org; Wed, 23 Feb 2022 12:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMvl7-0005JV-Ke for guix-patches@gnu.org; Wed, 23 Feb 2022 12:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54078] [PATCH 1/3] gnu: add libaml Resent-From: kitzman Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Feb 2022 17:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54078 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 54078@debbugs.gnu.org Received: via spool by 54078-submit@debbugs.gnu.org id=B54078.164563853920417 (code B ref 54078); Wed, 23 Feb 2022 17:49:01 +0000 Received: (at 54078) by debbugs.gnu.org; 23 Feb 2022 17:48:59 +0000 Received: from localhost ([127.0.0.1]:46418 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMvl5-0005JF-KS for submit@debbugs.gnu.org; Wed, 23 Feb 2022 12:48:59 -0500 Received: from knopi.disroot.org ([178.21.23.139]:36152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMvl3-0005J3-7z for 54078@debbugs.gnu.org; Wed, 23 Feb 2022 12:48:58 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 412308AE60; Wed, 23 Feb 2022 18:48:55 +0100 (CET) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0j2jEry9uNEv; Wed, 23 Feb 2022 18:48:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1645638531; bh=ghOXi+QX8t8rJOV0P46U6fdha347Dbm5xXw7bHhkycw=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=b/MH98oGz2j7k1p2fyP/IYhMpP6XYB/6amYWMirVibUckmVG5OucdOimcnkbFU1C3 JXvX7Zm9C5TCHStrmowHChvcE4vS0k6Wh/7V+24yndgBWud0oeBxdlht27ObqKRI+u s5wdSAY1MkhQWjtSGtoepaaTKOSCs8KUlArDlxwRKYmpC1TTsRwSfNJpf55K/PyCSq p7BbGmA7eBSeiaG87bQEOKvBQc8U0sVTzWCnxX1D9uRGDEdRYyb06PzZXMr7C+ehnB hj1CuS2AbjJ2av05nPIkrAmiVvTV8l3JsX1kDcdVeaUu/TK55hrLfnn0qfDS3sNdfm OtKuSYM8Jln4A== References: <87mtilb40o.fsf@disroot.org> <87fsocbq3w.fsf@disroot.org> <87bkz0bpzd.fsf_-_@disroot.org> Date: Wed, 23 Feb 2022 19:50:06 +0200 In-Reply-To: (Maxime Devos's message of "Mon, 21 Feb 2022 14:12:37 +0100") Message-ID: <871qztqxpt.fsf_-_@disroot.org> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: kitzman X-ACL-Warn: , kitzman via Guix-patches X-Patchwork-Original-From: kitzman via Guix-patches via From: kitzman X-getmail-retrieved-from-mailbox: Patches Dear Maxime, Thank you for reviewing. I have attached here the fixed patch for libaml. The rest of the patches are going to be part of the new series. Kind regards, Kitzman From b1b6cef5886852a987c926d31ff9c3aed8a0476a Mon Sep 17 00:00:00 2001 From: kitzman Date: Wed, 23 Feb 2022 17:48:31 +0200 Subject: [PATCH 1/3] gnu: add libaml --- gnu/packages/linux.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 1c514c3cec..9cc619f9de 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -8814,3 +8814,33 @@ (define-public libgpiod (license (list license:lgpl2.1+ ;; libgpiod license:gpl2+ ;; gpio-tools license:lgpl3+)))) ;; C++ bindings + +(define-public libaml + (package + (name "libaml") + (version "0.2.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/any1/aml") + (commit (string-append "v" version)))) + (file-name (git-file-name "aml" (string-append "v" version))) + (sha256 + (base32 + "0mxmzlhiv88hm4sf8kyawyrml8qy1xis019hdyb5skl9g95z9yyf")))) + (build-system meson-build-system) + (native-inputs + (list pkg-config)) + (home-page "https://github.com/any1/aml") + (synopsis "Another/Andri's main loop") + (description "The @code{aml} library provides an event loop for C, for Linux, +with the following features: +@enumerate +@item fd event handlers +@item timers and tickers +@item signal handlers +@item idle dispatch callbacks +@item thread pool support +@end enumerate +") + (license license:isc))) -- 2.32.0