From patchwork Thu Jan 5 17:15:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Cournoyer X-Patchwork-Id: 45870 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 BB46527BBED; Thu, 5 Jan 2023 17:30:29 +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_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS 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 EA5F127BBE9 for ; Thu, 5 Jan 2023 17:30:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDTra-00049U-84; Thu, 05 Jan 2023 12:17:10 -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 1pDTrT-00047t-G2 for guix-patches@gnu.org; Thu, 05 Jan 2023 12:17:06 -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 1pDTrT-0004vn-1f for guix-patches@gnu.org; Thu, 05 Jan 2023 12:17:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDTrS-00079k-U9 for guix-patches@gnu.org; Thu, 05 Jan 2023 12:17:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60577] [PATCH 2/2] gnu: Add rpi-fbcp. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Jan 2023 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60577 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 60577@debbugs.gnu.org Cc: Maxim Cournoyer Received: via spool by 60577-submit@debbugs.gnu.org id=B60577.167293901727487 (code B ref 60577); Thu, 05 Jan 2023 17:17:02 +0000 Received: (at 60577) by debbugs.gnu.org; 5 Jan 2023 17:16:57 +0000 Received: from localhost ([127.0.0.1]:52764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDTrN-00079H-GV for submit@debbugs.gnu.org; Thu, 05 Jan 2023 12:16:57 -0500 Received: from mail-qt1-f175.google.com ([209.85.160.175]:40645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDTrL-000790-Mq for 60577@debbugs.gnu.org; Thu, 05 Jan 2023 12:16:56 -0500 Received: by mail-qt1-f175.google.com with SMTP id jr11so30431284qtb.7 for <60577@debbugs.gnu.org>; Thu, 05 Jan 2023 09:16:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GC5s2Mu3ASvwwz9arTeEYRvhdqtAS0m48r2VpXlvB7k=; b=kb0M8jCQDCYIXLaYaypliUTGkQdxmU22NPS5siLTCyR2XXRVKpuP5kkYqQHaSqOdao bJ12d4TCtWWv6y9qlW8zS0Ze9YHYS5LETSwUKQKdZKqSRjLEcE02cmGjiO/yMFpS2tMS TMRTeWhWfyAZAcY/iMNXQqx+NSvUGSCqMf7FEURaruYkoJalYzm/ELmWA7gA4W5XMsbC 2fXBmp39bISZu6zzXaDv11lPVLRP3mS++wiDTlZMzQYUIj7zIJlXX0TbeFjqZVG7be8J MBdLdzUryqF35qtTTlKv466kViHZlKjkyXyhkQjn/K5eRbIgrCZZa2FjjzE1mAqz9eQN DPNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GC5s2Mu3ASvwwz9arTeEYRvhdqtAS0m48r2VpXlvB7k=; b=cFn4CSIG9yi/q5qyOjuXSaVDW//ys3oG6UdZCQ3JK/nVIk3gOVUSzol/j+VTM95V+p bGNHqm2b9DONqXBVJtLLR1+EF7DnSVT7UY1RpIUD9DalZMvcqiP35fqw9+ztQA5EzEv/ J+XK81KOEU3qyc3fQ55VU1RISy/70hj4Aq2oY25/DoLLJoDkt4dvKu7Rd3X0WDfE2h34 kduYzpVOWvDGtRZ+HfOucwvmAlwvp5EZ7QVaGJq2pqHKAJzMsgwJMwg+/J6N8zf5LN48 MzVkSKoo6RxrdnW8HGWaESHKLzksPV4y4wZx6gfYP4r+0gPuqC5UnhhkoReGUTrUf/og WEeg== X-Gm-Message-State: AFqh2kpmuOZ/q+qZJ2n5NrnkwEzTmjVTSnz50CBs9AGTGzDlkg0BaY6w Rhozn0Jgp6AAYVwpgib9vFGfVlrWeMBRCo+5 X-Google-Smtp-Source: AMrXdXsdm+GSyISLJeIuvsXN7yjE9SGrurmKoeJ3i+RumqYZ1mjRiLtspXUNDYrXzm26zUWOBZxrmQ== X-Received: by 2002:ac8:4d1d:0:b0:3a7:e1aa:727c with SMTP id w29-20020ac84d1d000000b003a7e1aa727cmr66675091qtv.17.1672939010028; Thu, 05 Jan 2023 09:16:50 -0800 (PST) Received: from localhost.localdomain (dsl-10-134-143.b2b2c.ca. [72.10.134.143]) by smtp.gmail.com with ESMTPSA id bz8-20020a05622a1e8800b0039cc64bcb53sm22123872qtb.27.2023.01.05.09.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Jan 2023 09:16:49 -0800 (PST) From: Maxim Cournoyer Date: Thu, 5 Jan 2023 12:15:59 -0500 Message-Id: <20230105171558.14088-2-maxim.cournoyer@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230105171558.14088-1-maxim.cournoyer@gmail.com> References: <20230105171558.14088-1-maxim.cournoyer@gmail.com> 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/raspberry-pi.scm (rpi-fbcp): New variable. --- gnu/packages/raspberry-pi.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/raspberry-pi.scm b/gnu/packages/raspberry-pi.scm index 12625c1cf9..eaac6ebe7b 100644 --- a/gnu/packages/raspberry-pi.scm +++ b/gnu/packages/raspberry-pi.scm @@ -428,6 +428,41 @@ (define-public raspberrypi-userland @command{raspivid} and @command{tvservice} commands, among others.") (license license:bsd-3)))) +(define-public rpi-fbcp + ;; There are no release nor tag; use the latest commit. + (let ((revision "0") + (commit "af8d32246c23cb23e4030e6588668a14341f5ddc")) + (package + (name "rpi-fbcp") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tasanakorn/rpi-fbcp") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "10wym2jckicxm5iwqgby6gbhkznyi1q8x41v0qahzv71x85xpsl5")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f ;no test suite + #:phases + #~(modify-phases %standard-phases + (replace 'install + ;; There is no installation target. + (lambda _ + (install-file "fbcp" (string-append #$output "/bin"))))))) + (inputs (list raspberrypi-userland)) + (home-page "https://github.com/tasanakorn/rpi-fbcp") + (synopsis "Mirror primary to secondary frame buffer on Raspberry Pi") + (description "The @command{fbcp} command provided by this package can be +used to copy the primary frame buffer to the secondary frame buffer of a +Raspberry Pi. It can for example mirror the primary HDMI output to a +secondary LCD display connected to the Raspberry Pi board.") + (license license:expat)))) + (define-public rpi-imager (package (name "rpi-imager")