From patchwork Fri Sep 13 07:37:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Liliana Marie Prikler X-Patchwork-Id: 67912 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 627C627BBEC; Fri, 13 Sep 2024 08:49:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 9F32927BBE2 for ; Fri, 13 Sep 2024 08:49:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sp138-0000q3-8o; Fri, 13 Sep 2024 03:49:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sp133-0000nE-8u for guix-patches@gnu.org; Fri, 13 Sep 2024 03:48:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sp131-0002lz-Tt for guix-patches@gnu.org; Fri, 13 Sep 2024 03:48:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:References:In-Reply-To:To:Subject; bh=dujxMonXmfrurJi3mr9Pr65hjjBm7XlyuRZ7XYyvr5A=; b=N3hOY6iJrBhrrgLyPKtS3PJZXEQfLKxy905fm0GIctaCjvEoV8rFGhVvc/MWb9rotBcIDzzqL35Ypn7Q/zEdrPDvXJtMls5o7iY7t610tbiHoYaymQTxg8vZT7vjLMGczTC21N1vLyKYr9OyJaqscZ2+5ER39jycokC2BnSK6nblOmd4s2v8p8GsuCXc26Be+ML7OW3rvcC5qObzkA0DzBy4Vl+oYmlpE3CnWJFpKKS4LXF8olbeSIEEP7e0hUh73qdFKM5GXn/ZFo6m+gLhUKxX5DGUvTRpFUUFDUKAIWxUY91VXdmBApqsY+DUnd63ihfGKdMJFNyagq0+iIoMDg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sp13A-0003fr-Mo; Fri, 13 Sep 2024 03:49:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73128] [PATCH gnome-team v2 07/13] gnu: Add libei. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu, guix-patches@gnu.org Resent-Date: Fri, 13 Sep 2024 07:49:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73128 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73128@debbugs.gnu.org Cc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu X-Debbugs-Original-Xcc: liliana.prikler@gmail.com, maxim.cournoyer@gmail.com, vivien@planete-kraus.eu Received: via spool by 73128-submit@debbugs.gnu.org id=B73128.172621373614014 (code B ref 73128); Fri, 13 Sep 2024 07:49:04 +0000 Received: (at 73128) by debbugs.gnu.org; 13 Sep 2024 07:48:56 +0000 Received: from localhost ([127.0.0.1]:42399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp132-0003dr-8K for submit@debbugs.gnu.org; Fri, 13 Sep 2024 03:48:56 -0400 Received: from mail-ej1-f65.google.com ([209.85.218.65]:43139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sp12t-0003bj-Uk for 73128@debbugs.gnu.org; Fri, 13 Sep 2024 03:48:48 -0400 Received: by mail-ej1-f65.google.com with SMTP id a640c23a62f3a-a8a789c4fc5so479324366b.0 for <73128@debbugs.gnu.org>; Fri, 13 Sep 2024 00:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726213653; x=1726818453; darn=debbugs.gnu.org; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :from:to:cc:subject:date:message-id:reply-to; bh=dujxMonXmfrurJi3mr9Pr65hjjBm7XlyuRZ7XYyvr5A=; b=EIgoqeEVTF0Pcop64gNViKZiHPJZ42cPLawlOUiDy+MoQgR3K/F9lx92f2fWb4rlfD x2CtwR5XC1C4CD5FPyPlGjV2b/8/O97Whc0Jrjbeh8ob3x042SZrbl6eRnrw2f7gEcCF OVXddTP5ZyURhv/BDrl9Q9RMxu2AnHELzTs/t0Skc2Uy+Dqvbsaeg0Gsnmrix/6/Vk2b aiqol/TQGPj0ronwKUxwTNHKiqk37umHpLJ5lYuQQbA9bzanIluON2sYD/4aI3RQLhCo femx/wXsn2Uwq3kMZVQQTHeHeGDwatRuYFpHkZGCm0FfLFFRdfRquDC9LK4VuZsWDVBR Hu8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726213653; x=1726818453; h=mime-version:to:subject:date:from:references:in-reply-to:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=dujxMonXmfrurJi3mr9Pr65hjjBm7XlyuRZ7XYyvr5A=; b=IGOvd/kTSaxbSCAN8Y4R+Wr8sp+kL3fJQI2mBxa72Gf407EUTdpbVfzZfhXEGN1FOP rehNpE1Fnr0Cpl6dV4S10R6fVS2UmzxpM3X1pmxHxY9dyn8sRk8mqre2TJ34uaUcOz+T 8FUBOWM1i2hlk3PGUZ8DnD4DVmT+OP2LvKyhgkU4yJCgoDFFtSi3RanEbRby+ilo/UhZ IwZ3Ke27YanJl2OW1KKXmaQ/T6QYwk4zQxrq9jzD6YtUy3Pw3fJLQJGakF/G3waCYuq7 fKowmMgQRxrOFyrN3wtEK8D2HJ1lEdNFT59gH24VL/lb3rz9iU67JHEdSiZwn11fD+/H metw== X-Gm-Message-State: AOJu0Yy2W/Ll5sX224LXzTnr3c/kni7HdUUBCx4pnYlziVUJisTIMPTa 29+nLmdlqWx0T+2kyk6531HDk4xP1rOVlAmZGaUOaBBs3CIhWyeuwjksH05e X-Google-Smtp-Source: AGHT+IGJmV1Czv+NOsGN75x4vgLjrqKWUR+IzcUM12d7m32KPHyUq/vQo5kasvFF/7mmIjYPcjLPsA== X-Received: by 2002:a17:906:7951:b0:a8d:481a:563a with SMTP id a640c23a62f3a-a8ffae040c5mr1178071166b.25.1726213653461; Fri, 13 Sep 2024 00:47:33 -0700 (PDT) Received: from lumine.fritz.box (85-127-114-32.dsl.dynamic.surfer.at. [85.127.114.32]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a8d25c61279sm836767466b.108.2024.09.13.00.47.32 for <73128@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Sep 2024 00:47:33 -0700 (PDT) Message-ID: In-Reply-To: References: From: Liliana Marie Prikler Date: Fri, 13 Sep 2024 09:37:01 +0200 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/freedesktop.scm (libei): New variable. Co-authored-by: Vivien Kraus --- gnu/packages/freedesktop.scm | 52 ++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index cb1d625d24..f898f28a30 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -735,6 +735,58 @@ (define-public libinput-minimal "-Ddebug-gui=false" ;requires gtk+@3 ,flags)))))) +(define-public libei + (package + (name "libei") + (version "1.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/libinput/libei.git") + (commit version))) + (sha256 + (base32 + "0idbl20ax060s7m435rszfv7c0bvpinjvq45qbqwvcvp0hg8r9y8")) + (snippet + #~(begin + (use-modules (guix build utils)) + ;; Unbundle munit, we provide it as input. + (substitute* "test/meson.build" + (("subproject\\('munit'") + "# subproject('munit'") + ((", fallback: \\['munit', 'munit_dep'\\]") + "")) + (delete-file-recursively "subprojects"))))) + (build-system meson-build-system) + (arguments + (list + #:configure-flags #~'("-Ddocumentation=api" ;protocol requires hugo + "-Dsd-bus-provider=libelogind"))) + (inputs + (list elogind libevdev libxkbcommon)) + (propagated-inputs + ;; liboeffis-1.0.pc requires.private libelogind + (list elogind)) + (native-inputs + (list doxygen + libxml2 + munit + pkg-config + python + python-attrs + python-black + python-dbusmock + python-jinja2 + python-pytest + python-structlog + valgrind/interactive)) + (home-page "https://libinput.pages.freedesktop.org/libei/") + (synopsis "Emulated Input protocol implementation") + (description + "Libei provides a client and server implementation of the @acronym{EI, +Emulated Input} protocol for Wayland compositors.") + (license license:x11))) + (define-public libxdg-basedir (package (name "libxdg-basedir")