From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uFZ/CITFXGFHJwEAgWs5BA (envelope-from ) for ; Tue, 05 Oct 2021 23:37:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KJP/A4TFXGFxZwAAbx9fmQ (envelope-from ) for ; Tue, 05 Oct 2021 21:37:08 +0000 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 D406C2D8C4 for ; Tue, 5 Oct 2021 23:37:07 +0200 (CEST) Received: from localhost ([::1]:34558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXs7W-0007Yi-Vw for larch@yhetil.org; Tue, 05 Oct 2021 17:37:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43268) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXs7S-0007X7-80 for guix-patches@gnu.org; Tue, 05 Oct 2021 17:37:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXs7S-0007jT-0u for guix-patches@gnu.org; Tue, 05 Oct 2021 17:37:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXs7R-0005R1-Of for guix-patches@gnu.org; Tue, 05 Oct 2021 17:37:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51043] [PATCH] gnu: Add rkdeveloptool-pine64. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 05 Oct 2021 21:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51043 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51043@debbugs.gnu.org X-Debbugs-Original-To: phodina via Guix-patches via Received: via spool by submit@debbugs.gnu.org id=B.163346981720879 (code B ref -1); Tue, 05 Oct 2021 21:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Oct 2021 21:36:57 +0000 Received: from localhost ([127.0.0.1]:42005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXs7I-0005Qa-Hw for submit@debbugs.gnu.org; Tue, 05 Oct 2021 17:36:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:37510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXs7G-0005QS-9K for submit@debbugs.gnu.org; Tue, 05 Oct 2021 17:36:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXs7F-0007FH-Uh for guix-patches@gnu.org; Tue, 05 Oct 2021 17:36:49 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:61529) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXs7C-0007RP-SP for guix-patches@gnu.org; Tue, 05 Oct 2021 17:36:49 -0400 Date: Tue, 05 Oct 2021 21:36:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633469804; bh=7tq9bkaQrVijH4WCiTQ/dSwctR5G0gNIlmUuTD9skn0=; h=Date:To:From:Reply-To:Subject:From; b=HRhXQ7kMR7g8KM2v3kaUXUme0FvQaIJDuKxaHJiczt1zHj1mxzp55HKzWgOw2CKkC 4bJbn9LHAwdE5hMM/mdqT5jq7ywEAHoyq8PMlhQqh/1giZ97hH/wvNANkCa7YKK7nq nH4SfXtq4WAsWVicRUu9ezfQU3frqQW6B93ki7Qo= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633469827; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=7tq9bkaQrVijH4WCiTQ/dSwctR5G0gNIlmUuTD9skn0=; b=Nbr2RLrlKb3NOZ0p5CHB9vVdLbDWXtwfX2OSJxjfKNJ4dPV9wjIHRNe51y7jjxUD5mG9R8 cPLgdNZ+YVv6UbN74tgpiQGgvF3BVvCDiOGtyVA4axVZ3pPduulGporONLWZeYOgK8iMTw 5vRKStxSA2EHp0an0aseLeuUxcVmAjM2lFor0uoeP+gmCDRdGEzhbuP+cM+KtILHZ7gRbw qHSmywhpJPk5gHNFu+MjImAVFJEtX3PegI31cMi5OWgfQgGtmwhcgC5HfXYkOc/oxuN5fj VZhJfUU27CmK/1t6nrxvNBz4+7M2wre8GhY9AoXFpP1e5R9dfGOKiHXH2UL4Yg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633469827; a=rsa-sha256; cv=none; b=dATG9dL805ospbfRvATKbciTXbbB8PIGZE6IMdSN1WIRgOLQ3P6ZhwzJ+vtAFJmkhWfxpK SZ9mT4xsU3O0a7VSSuNgOQoPCOhzlcpPscsrDQPwJrTMTUSAji11mK9nzm650i1RZY6tIy UBVknrBRvaJZ9nGrdRN3ODPngumndfpTMrJ228lEhPMzVJoWc7BMJX1z0SDqXF9eQ50yv2 7VTppXBKcfvonog0WBpss6W8jossNSLxy7PwRkq+QAsx7NXdnvw9gmE/4r6rmOLeiEjQJ2 Bdzm74UNIEZ8tFg1bbW4K+3iGdcwLacwR3jRTTFI9XH5AZ3RCWq6WwFo8xES9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=HRhXQ7kM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.51 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=HRhXQ7kM; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D406C2D8C4 X-Spam-Score: -3.51 X-Migadu-Scanner: scn1.migadu.com X-TUID: CHXlnaPp//Kz Hi, I've added the suffix pine64 as this is fork of rkdeveloptool which uses di= fferent build system and targets additional mostly pine64 boards. Petr ---- * gnu/packages/hardware.scm (rkdeveloptool-pine64): New variable. diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index ff21c9c724..d871b36a90 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2021 Evgeny Pisemsky ;;; Copyright =C2=A9 2021 L=C3=A9o Le Bouter ;;; Copyright =C2=A9 2021 Denis Carikli +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; This file is part of GNU Guix. ;;; @@ -55,6 +56,7 @@ #:use-module (gnu packages xorg) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix build-system meson) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix git-download) @@ -531,6 +533,40 @@ supported by the Linux kernel.") as the Pinebook Pro.") (license license:gpl2+)))) +(define-public rkdeveloptool-pine64 +(package + (name "rkdeveloptool-pine64") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool"= ) + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1qhb687x0djh8wb1famyjb81cllhq8crh7zwclws9ag872032ysc")))) + (build-system meson-build-system) + (arguments + `(#:tests? #f ; no test suite + #:phases + (modify-phases %standard-phases + ; attempts to place the file into the udev pkg read-only path + (add-after 'unpack 'fix-udev-path + (lambda* _ + (substitute* "meson.build" + (("udev_rules_dir,") + (string-append "'" %output "/lib/udev/rules.d',")))))))) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("eudev" ,eudev) + ("libusb" ,libusb))) + (synopsis "Read from and write to RockChicp devices over USB") + (description "Rkdeveloptool is a fastboot-like CLI tool to read from and +write to RockChip devices over USB. Supports PineNote and Quartz64 as wel= l +as other Pine64 RK devices.") + (home-page "https://gitlab.com/pine64-org/quartz-bsp/rkdeveloptool") + (license license:gpl2+))) + (define-public libqb (package (name "libqb") -- 2.32.0