From patchwork Fri May 6 06:22:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 39123 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 BE52D27BBEA; Fri, 6 May 2022 07:26:23 +0100 (BST) 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_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable 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 884D427BBE9 for ; Fri, 6 May 2022 07:26:23 +0100 (BST) Received: from localhost ([::1]:43610 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nmrPy-0006w2-FF for patchwork@mira.cbaines.net; Fri, 06 May 2022 02:26:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35876) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nmrPf-0006vc-Sh for guix-patches@gnu.org; Fri, 06 May 2022 02:26:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nmrPd-0000Eh-Td for guix-patches@gnu.org; Fri, 06 May 2022 02:26:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nmrPd-0007sj-ML for guix-patches@gnu.org; Fri, 06 May 2022 02:26:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55276] [PATCH v2] gnu: Add xkblayout. References: <20220505164658.4654-1-attila@lendvai.name> In-Reply-To: <20220505164658.4654-1-attila@lendvai.name> Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 06 May 2022 06:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55276 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55276@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 55276-submit@debbugs.gnu.org id=B55276.165181835430285 (code B ref 55276); Fri, 06 May 2022 06:26:01 +0000 Received: (at 55276) by debbugs.gnu.org; 6 May 2022 06:25:54 +0000 Received: from localhost ([127.0.0.1]:46902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmrPW-0007sO-Gn for submit@debbugs.gnu.org; Fri, 06 May 2022 02:25:54 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:47046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nmrPU-0007s6-6R for 55276@debbugs.gnu.org; Fri, 06 May 2022 02:25:53 -0400 Received: by mail-ej1-f54.google.com with SMTP id j6so12522244ejc.13 for <55276@debbugs.gnu.org>; Thu, 05 May 2022 23:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=o+xpEN5XJ8RI8xwTVf8eje9M+9Dsm2/BCjkZ1SM0r3k=; b=l/je3YW/zWw99Eyky7fHfpsnZoPjHuYMdi6uHA7OssXu3PfkBi54zG+CgLxV2pzNfc /Rz3Go1Cwwnbi/DRk5RdG2FQzzPdrCrEJ6fRQDFuzITa/PM1o7ULBXi42lKmnAnlAbFp 4qLTtGg3zTaoQhEnSY3p0S4sbHhUw1X+vnPNFDN1lw6W0st5UzklOUJYBw1PcoGUaG3E +q7JK4iWWNhrxDNesUfnXL5oOz8m9FH/J3DeeOyif1Xcf9hQvJ+LJLpWJbKjeYlwamiq XvXTrv500YdTzAyRkj5HgAnCtqrtbRkhQdUqxutDHIu3O7qlMWdoV9vJxpVm4GTxIso6 5I7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=o+xpEN5XJ8RI8xwTVf8eje9M+9Dsm2/BCjkZ1SM0r3k=; b=dgqVWyeEjEaCPJSkWh+t1+gBuu4/T5Rs1J0GRaChG3t8cHfQ4Z6D3qy1wEkmqb1jPI 9hnj8WCX1UvnWC9Ju+FDZS6Q2viFuVihK4mouc4zbxZa+PSmWCy452XseM36zBKic6Oi dMQ8xPeAaSf+DF0rvyAq+k+vtADnr4tAYIpzT1dkgIdWEOHOrCjVNzl+wG8Tk5aZhEuZ tDT6easjYw1Gl0Se2UOatEXDeJ3qIu87MahfkK/4iXOnHbOSfrU3r9YcZh/GOBHBNn0G qB6+CeEctU5WIzqjKVAGfNLBYdLWrFVDd1Hbh306Q8V+6aVkZs82ukNV3/KVwDKrauE0 bNNQ== X-Gm-Message-State: AOAM532pt9MYBVFREUIkvrijgCOzQZnZZnq0Uv4mG4L/nF1CF7Xpyywj am7e7kw8I7F1+ihoS0do6s/Ay/YFJrU= X-Google-Smtp-Source: ABdhPJwn9mfOswcXFZ5OFFQzDK6bxtx+Nh1rh1/zFqkd7EHuCzilE5UIzb9BY83iIR8T7801c0hkeA== X-Received: by 2002:a17:906:19cb:b0:6f4:e601:9643 with SMTP id h11-20020a17090619cb00b006f4e6019643mr1557194ejd.578.1651818346088; Thu, 05 May 2022 23:25:46 -0700 (PDT) Received: from lelap.local (catv-89-132-245-188.catv.fixed.vodafone.hu. [89.132.245.188]) by smtp.gmail.com with ESMTPSA id l10-20020a170906938a00b006f3ef214e68sm1563525ejx.206.2022.05.05.23.25.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 May 2022 23:25:45 -0700 (PDT) From: Attila Lendvai Date: Fri, 6 May 2022 08:22:55 +0200 Message-Id: <20220506062254.8926-1-attila@lendvai.name> X-Mailer: git-send-email 2.35.1 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xdisorg.scm (xkblayout): New variable. --- i've addressed the issues i could, but i'm not sure anymore whether this should be packaged for Guix at all. maybe people should just clone the repo and run it from there? feel free to reject it. either way, i've requested some clarifications: https://gitlab.freedesktop.org/whot/xkblayout/-/issues/ licensing is contradictory, COPYING says GPL. gnu/packages/xdisorg.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d41c520962..08f4780fc2 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -387,6 +387,30 @@ (define-public xkb-switch state.") (license license:gpl3+))) +(define-public xkblayout + ;; Upstream doesn't have any version numbers + (let ((version "0.0.0") + (revision "0") + (commit "c0851b0f4bc9bc1a07240605baac8e50abe63fa8")) + (package + (name "xkblayout") + (version (git-version version revision commit)) + (home-page "https://gitlab.freedesktop.org/whot/xkblayout") + (source + (origin + (method git-fetch) + (uri (git-reference + (url home-page) + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0057988l5l7pmwg7dp6cqvj5l4lr0g5z3wq189g6kz36l9rmh675")))) + (build-system python-build-system) + (synopsis "XKB layout template generator") + (description "xkblayout is a CLI application to generate templates for +a new XKB layout, either in the user's home directory or the system directory.") + (license license:gpl3+)))) + (define-public xclip (package (name "xclip")