From patchwork Thu Feb 23 11:48:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Demis Balbach X-Patchwork-Id: 47235 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 2727C1684B; Thu, 23 Feb 2023 11:49:15 +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=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no 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 989881682F for ; Thu, 23 Feb 2023 11:49:13 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVA5w-0003R5-H5; Thu, 23 Feb 2023 06:49:04 -0500 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 1pVA5u-0003Qa-9S for guix-patches@gnu.org; Thu, 23 Feb 2023 06:49:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVA5u-00017c-1j for guix-patches@gnu.org; Thu, 23 Feb 2023 06:49:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pVA5t-0008SO-TK for guix-patches@gnu.org; Thu, 23 Feb 2023 06:49:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61731] [PATCH] gnu: Add evdi, libevdi. Resent-From: Demis Balbach Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 23 Feb 2023 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61731 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61731@debbugs.gnu.org Cc: Demis Balbach X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167715293332490 (code B ref -1); Thu, 23 Feb 2023 11:49:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Feb 2023 11:48:53 +0000 Received: from localhost ([127.0.0.1]:33206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVA5k-0008Rx-SJ for submit@debbugs.gnu.org; Thu, 23 Feb 2023 06:48:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:39856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pVA5h-0008Ro-6s for submit@debbugs.gnu.org; Thu, 23 Feb 2023 06:48:52 -0500 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 1pVA5g-0002yv-VI for guix-patches@gnu.org; Thu, 23 Feb 2023 06:48:48 -0500 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1pVA5e-0000yp-SA for guix-patches@gnu.org; Thu, 23 Feb 2023 06:48:48 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4PMrrj2Kbvz9sRj; Thu, 23 Feb 2023 12:48:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=minikn.xyz; s=MBO0001; t=1677152917; h=from:from: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; bh=csAUJ1KFxDeoJMLZkhX0minz0STk+fi86K1tKg2jT+0=; b=JMf/ooRMPxzn6LPIjhyaYZGQj2wuid1+YqRZeAalGdNdYi2yi5aLBcEZ6q97MjZKRRhQ66 c4kwRYLID68txnsAT9xXSrEZ2V3oSijh7LOyX58OaPamrkUQd7/pvLW9cAfDC0YLjDPX3i eNoYvMSUKrD0M4ZjN9Xe3TCdUkJ4znnHYSPJm2QyfCV2ZG0nKlN0pmg5VXzHsuwf7rXzMc zrDao/LQ1KOPEp7zvHgMYp15YNYMnN+a95TTIMhKXVPLtv+U1bkqtnX5aZkaAkkPTw/kCI lEhKFhCVJbOk48WeF6Ityh2YYqcYtkOGEXzIXd/iYPpvAjBaQzVUDnouu0e58A== From: Demis Balbach Date: Thu, 23 Feb 2023 12:48:22 +0100 Message-Id: <20230223114822.7338-1-db@minikn.xyz> MIME-Version: 1.0 Received-SPF: none client-ip=2001:67c:2050:0:465::101; envelope-from=db@minikn.xyz; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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/linux.scm | 67 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 9917f5d135..ae1291d5ac 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -68,7 +68,7 @@ ;;; Copyright © 2022 Hunter Jozwiak ;;; Copyright © 2022 Hilton Chain ;;; Copyright © 2022 Stefan -;;; Copyright © 2022 Demis Balbach +;;; Copyright © 2022, 2023 Demis Balbach ;;; ;;; This file is part of GNU Guix. ;;; @@ -1492,6 +1492,34 @@ (define-public tuxedo-keyboard is also needed for the @code{tuxedo-control-center} (short tcc) package.") (license license:gpl3+))) +(define-public evdi + (package + (name "evdi") + (version "1.12.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DisplayLink/evdi") + (commit "bdc258b25df4d00f222fde0e3c5003bf88ef17b5"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yi7mbyvxm9lsx6i1xbwp2bihwgzhwxkydk1kbngw5a5kw9azpws")))) + (build-system linux-module-build-system) + (arguments + (list #:tests? #f ;no test suite + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "module")))))) + (home-page "https://github.com/DisplayLink/evdi") + (synopsis "EVDI Linux kernel module") + (description + "The @acronym{EVDI, Extensible Virtual Display Interface} is a Linux kernel module +that enables management of multiple screens, allowing user-space programs to +take control over what happens with the image.") + (license license:gpl2))) + (define-public ec (package (name "ec") @@ -9659,6 +9687,43 @@ (define-public libtree libraries are found or why they cannot be located.") (license license:expat))) +(define-public libevdi + (package + (name "libevdi") + (version "1.12.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/DisplayLink/evdi") + (commit "bdc258b25df4d00f222fde0e3c5003bf88ef17b5"))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yi7mbyvxm9lsx6i1xbwp2bihwgzhwxkydk1kbngw5a5kw9azpws")))) + (build-system gnu-build-system) + (inputs (list libdrm)) + (arguments + (list #:tests? #f ;no test suite + #:make-flags #~'("CC=gcc") + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'chdir + (lambda _ + (chdir "library"))) + (replace 'install + (lambda* _ + (let* ((lib (string-append #$output "/lib"))) + (mkdir-p lib) + (copy-file "libevdi.so" + (string-append lib "/libevdi.so")))))))) + (home-page "https://github.com/DisplayLink/evdi") + (synopsis "User-space EVDI library") + (description + "Libevdi is a library that gives applications easy access to +@acronym{EVDI, Extensible Virtual Display Interface} devices on +various operating systems.") + (license license:lgpl2.1))) + (define-public touchegg (package (name "touchegg")