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 ms11 with LMTPS id OJirC9cuHWBXQwAA0tVLHw (envelope-from ) for ; Fri, 05 Feb 2021 11:41:11 +0000 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 eIQQB9cuHWD/IgAAbx9fmQ (envelope-from ) for ; Fri, 05 Feb 2021 11:41:11 +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 799EA940416 for ; Fri, 5 Feb 2021 11:41:10 +0000 (UTC) Received: from localhost ([::1]:39624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7zU5-0008Ua-Ee for larch@yhetil.org; Fri, 05 Feb 2021 06:41:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7zTy-0008U9-CD for guix-patches@gnu.org; Fri, 05 Feb 2021 06:41:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7zTy-0004SI-1e for guix-patches@gnu.org; Fri, 05 Feb 2021 06:41:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7zTx-0005Pm-UQ for guix-patches@gnu.org; Fri, 05 Feb 2021 06:41:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#42682] [PATCH 2/2] gnu: Add qmk-cli. Resent-From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 05 Feb 2021 11:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42682 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jan Wielkiewicz , Mathieu Othacehe Cc: 42682@debbugs.gnu.org Received: via spool by 42682-submit@debbugs.gnu.org id=B42682.161252520620736 (code B ref 42682); Fri, 05 Feb 2021 11:41:01 +0000 Received: (at 42682) by debbugs.gnu.org; 5 Feb 2021 11:40:06 +0000 Received: from localhost ([127.0.0.1]:43000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7zT3-0005ON-Lp for submit@debbugs.gnu.org; Fri, 05 Feb 2021 06:40:05 -0500 Received: from mail-lf1-f42.google.com ([209.85.167.42]:42697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7zT1-0005Np-PY for 42682@debbugs.gnu.org; Fri, 05 Feb 2021 06:40:04 -0500 Received: by mail-lf1-f42.google.com with SMTP id h12so9401327lfp.9 for <42682@debbugs.gnu.org>; Fri, 05 Feb 2021 03:40:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=GYn/Tl5KLXyPC/VCEVNvarzHZIA+XPi5dXIgcP9ByGE=; b=oQW1Cdg1Ca8tJkF79e5uEEZLUWiw8AzqUcivgDsWoNKvhSyZdZM8vkmVOeqTlor187 e3v8GKHoTvNuyIiGLhJS9MtwMM5AZ+iKPhNrXjpBjB/S5yDrVsCmcdScb7wcncWzUPGf gR84oWrGDaV02B7XktiADAZg5yDOTIZzllrCUrLOgwjFklPjkhgO2eEZyJisF5iaFn4D 2PNpw+J52y0WGK4B9dIjqGcYrLrgV/iBrBkC2oruL8uKdVC+FucMkKMI9V2/0l6z/QvF kwetLec6+POM5i0ifXfB7Ha3ULrZJCei4c49FNcWgf/DL7D9U5sU1XKr+xiqe0jzIfZ5 MPzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=GYn/Tl5KLXyPC/VCEVNvarzHZIA+XPi5dXIgcP9ByGE=; b=N6NDd4E8LifM0303Y0UGDqxJYATXXfvOBCmAJcxatdBH2P14ru0xp6ETj0gf6rLrmt 9kdoEnHM88/h6ggbWZOHz01EvbgPnl+JokNM4OCBE9txQ8sMeegmasYEE6c0UrgrlE4z ABYxzvRgwgiiEUzb43HrABIHwm8Vr338rbXarSKTQ0w4yrsIx9BbDJYuY2g873zz45N1 VM4j3LN6E18/rMG/k/1X7oKVIGD4dcFHqxM+Pv3WbLuK8VMjslghCB15SObptcR5GgDk Ldzt7JfYXs2AeNcw+l7CJE9MaUuUm2qvlkikX9iNwqRDHOHz5No+z3FqqBafJw/D66vW Dk8g== X-Gm-Message-State: AOAM532eFtyaxlJxVP/4K+tf7Pa9S4rMDyhShFeDKNms+x1UYKTJetM2 OP6exYwnv67f6dJScHPsYYwGo8c/bpY= X-Google-Smtp-Source: ABdhPJw4k8Cu7O3JQj0PTUcMwmGkhdD+ytX4/YWyF8E5Evqe1UAviRQ0uXfuUjoDcCZ25zfgTPU6Ew== X-Received: by 2002:ac2:4d9b:: with SMTP id g27mr2235369lfe.79.1612525197569; Fri, 05 Feb 2021 03:39:57 -0800 (PST) Received: from guixSD (host-87-4-165-57.retail.telecomitalia.it. [87.4.165.57]) by smtp.gmail.com with ESMTPSA id w2sm959217lfd.305.2021.02.05.03.39.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:39:56 -0800 (PST) From: =?UTF-8?Q?Nicol=C3=B2?= Balzarotti In-Reply-To: <20200807174401.21be8219@interia.pl> References: <20200802204910.15356-1-tona_kosmicznego_smiecia@interia.pl> <20200802204910.15356-2-tona_kosmicznego_smiecia@interia.pl> <87y2mwt9t0.fsf@gnu.org> <20200803144349.06022fa4@interia.pl> <87o8npjvt4.fsf@gnu.org> <20200805142240.075ac063@interia.pl> <87364yq33y.fsf@gnu.org> <20200807174401.21be8219@interia.pl> Date: Fri, 05 Feb 2021 12:39:55 +0100 Message-ID: <87sg6a216c.fsf@guixSD.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.25 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=oQW1Cdg1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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: 799EA940416 X-Spam-Score: -1.25 X-Migadu-Scanner: scn0.migadu.com X-TUID: 0Wq0TJeQaNxF Jan Wielkiewicz writes: > Dnia 2020-08-07, o godz. 10:20:17 > Mathieu Othacehe napisa=C5=82(a): > >>=20 >> Hello, >>=20 >> > But the entire point of qmk firmware is that the user configures >> > it. I had to modify the source code to make my keyboard work and >> > add some extra features like layouts, special keys. Your solution >> > will only work for the unmodified and default firmware, or is there >> > a Guix solution for it I'm not aware of, like a convenient >> > interface for user defined packages? >>=20 >> Oh I see. Nonetheless, qmk_cli is a thin wrapper around qmk_firmware. >> I think it would make more sense to have qmk_firmware properly >> packaged. >>=20 >> This way we would offer people a way to build their customized >> firmware without propagating toolchains and fetching a git repository. >>=20 >> WDYT? > I can do this then, give me some time. > >> Mathieu > > > Jan Wielkiewicz Hi Jan, have you been working on this? My new qmk-supported keyboard is coming and I'd love to be able to flash it with guix. I built qmk-firmware in guix (but there are bundled dependencies that still need to be removed). I was planning to use mugur with it, which calls make -C source-path keyboard:type So, my first idea (which should apply to qmk-cli too) was to patch this to call guix build --with-source and hopefully get this working, but I don't know how robust this is (or if it is even going to work). (I'll also have to package https://github.com/zsa/wally, but it does not seem to require qmk-cli) Nicol=C3=B2