From patchwork Wed Feb 23 18:50:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kitzman X-Patchwork-Id: 37435 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 24C8127BBEA; Wed, 23 Feb 2022 18:51:02 +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 E5BA827BBE9 for ; Wed, 23 Feb 2022 18:51:01 +0000 (GMT) Received: from localhost ([::1]:34370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nMwj6-0005Gd-9d for patchwork@mira.cbaines.net; Wed, 23 Feb 2022 13:51:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nMwiS-0005E1-4d for guix-patches@gnu.org; Wed, 23 Feb 2022 13:50:20 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52563) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nMwi9-00009y-SQ for guix-patches@gnu.org; Wed, 23 Feb 2022 13:50:19 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nMwi9-0006q1-KK for guix-patches@gnu.org; Wed, 23 Feb 2022 13:50: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 18:50: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.164564214726218 (code B ref 54078); Wed, 23 Feb 2022 18:50:01 +0000 Received: (at 54078) by debbugs.gnu.org; 23 Feb 2022 18:49:07 +0000 Received: from localhost ([127.0.0.1]:46460 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMwhH-0006ol-I4 for submit@debbugs.gnu.org; Wed, 23 Feb 2022 13:49:07 -0500 Received: from knopi.disroot.org ([178.21.23.139]:36188) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nMwhF-0006oc-3c for 54078@debbugs.gnu.org; Wed, 23 Feb 2022 13:49:05 -0500 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id A58718DB35; Wed, 23 Feb 2022 19:49:03 +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 3U6jJHTXVu_q; Wed, 23 Feb 2022 19:49:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1645642139; bh=ekdBjwQpKIQzlj8DzyT6WQqN3QfuFNKN4GA4uF1Due8=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=F3YWavCo+9woNT+RO42nCb4tXvafu0F+tP7pTycLqM9x7bb+7/kP9J9iC0yq6WVoX 60VprcTZtQ3Xej8JEiaJHayr1+b5j8LlRQ6hrkbw3S86MFoPuLR8pD0AWQcvUDdsVG 2NpbTw3NGe1feKwdfzOEezuZOSIMQVbSJ8hcFG3n9z2gr3h5sOL54wdPOffNGThLY1 Y30hAIrfOgoZbL8536gr5rymLG4GFemAdLJwpBU4JlQupJSSr3KzZoEv9R9+tm9GtC hA3lJQwi4nXcz1netdoa1OYuD/xAwNIvie5aOqWpuyV7zHoyHnrv35pFZmj/LNqUOR AD/JNvWNiOFPg== References: <87mtilb40o.fsf@disroot.org> <87fsocbq3w.fsf@disroot.org> <87bkz0bpzd.fsf_-_@disroot.org> <871qztqxpt.fsf_-_@disroot.org> <7bd7a166fdca7f2fead3b42630682fd4189add0f.camel@telenet.be> Date: Wed, 23 Feb 2022 20:50:11 +0200 In-Reply-To: <7bd7a166fdca7f2fead3b42630682fd4189add0f.camel@telenet.be> (Maxime Devos's message of "Wed, 23 Feb 2022 18:58:33 +0100") Message-ID: <87o82xpgd8.fsf_-_@disroot.org> Mime-Version: 1.0 Content-Disposition: attachment; filename=0001-gnu-add-libaml.patch Content-Description: libaml package 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 From ac8f0bdbc92a834bbc96b3e676cc58059afc3633 Mon Sep 17 00:00:00 2001 From: kitzman Date: Wed, 23 Feb 2022 20:41:17 +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..27c54f90b0 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 a portable event loop for C, +with the following features: +@enumerate +@item file descriptor 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