From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oFZbHDUJt2PrggEAbAwnHQ (envelope-from ) for ; Thu, 05 Jan 2023 18:30:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id CKGtHDUJt2NWJQEAauVa8A (envelope-from ) for ; Thu, 05 Jan 2023 18:30:29 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1BD3F39074 for ; Thu, 5 Jan 2023 18:30:28 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672939829; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=GC5s2Mu3ASvwwz9arTeEYRvhdqtAS0m48r2VpXlvB7k=; b=jG1lrjEvdXaYnmTx8KTXhKKyVm9JT9D5QvSpUbkF4xvjKega+V+yvTDOUG7nJdzqxJgZsq FXhrTnmFy6r1ZMqC8oluKYoTocJcBp73hc3YE7fypMY2SRL38cP7cOIRSV704SBA9+AdeS eG7TA95hdDrCM8kiU9wTYnHhGHBqRjhLDwc+vS8x2AMZ4d5vASx1e+Gv0J/IFxBJBYNpkT m904dmZl86Stj6XuxDTyq5vXA/jjMd51Cl0tpqlpjOCA8HpvKOtm05Gjv5cbd9fRVWSqBm Ko/dyfCQVTzp+G2ZCMwP4E6Gq58FUzwUXSo1mbP+s/co2JmQ9c6bXYaWiCheMw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kb0M8jCQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672939829; a=rsa-sha256; cv=none; b=IcK1rJq3ZMX+4yWQzEydlYD23Xs7XQBkxWS0P6IsZTzn0aRSFa+0nWAzFUA+QBr2ZCZm2D GHln4YQzuza0jhF3454v98QOAN2lBaYWPDBJOuC3QiyEDHxt8xG460Vh2ulpnAJkvPXBCn pjgm2I3EVqZBs/HFDeayTRaqBqJglyndwAxbQMBQTCrPW1kkJvhd6mouN4UQD/00tZf/8J aR6dW0ZONi4kknTCpJtn/mvp9pD10UdoMWzWYZc8PCZptvTHMcyD4HkVUrgSDG8rtKRTJC uv3pkMuPClt7BsrxzGXUpb0e5Or187Wx7h8owEm/GRpPNuBJehvhhNSHLZp+gg== X-Spam: Yes X-Migadu-Queue-Id: 1BD3F39074 X-Migadu-Spam: Yes X-Spam-Score: 7.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=kb0M8jCQ; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: 7.94 X-TUID: 2joboCyQuRln * 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") -- 2.38.1