From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oP24NRnzyGDPLAAAgWs5BA (envelope-from ) for ; Tue, 15 Jun 2021 20:36:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KDN4MRnzyGDHJQAA1q6Kng (envelope-from ) for ; Tue, 15 Jun 2021 18:36:09 +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 413E915FDA for ; Tue, 15 Jun 2021 20:36:09 +0200 (CEST) Received: from localhost ([::1]:37496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltDux-0002eM-Ui for larch@yhetil.org; Tue, 15 Jun 2021 14:36:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltDus-0002dr-QN for guix-patches@gnu.org; Tue, 15 Jun 2021 14:36:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ltDus-0003f3-Go for guix-patches@gnu.org; Tue, 15 Jun 2021 14:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ltDus-00065e-CY for guix-patches@gnu.org; Tue, 15 Jun 2021 14:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49052] [PATCH] gnu: Add xkb-switch package Resent-From: Niklas Eklund Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 15 Jun 2021 18:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49052 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49052@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162378212423354 (code B ref -1); Tue, 15 Jun 2021 18:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2021 18:35:24 +0000 Received: from localhost ([127.0.0.1]:50819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltDuB-00064V-AD for submit@debbugs.gnu.org; Tue, 15 Jun 2021 14:35:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:53220) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ltDu9-00064O-Vp for submit@debbugs.gnu.org; Tue, 15 Jun 2021 14:35:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltDu9-0002W3-Nn for guix-patches@gnu.org; Tue, 15 Jun 2021 14:35:17 -0400 Received: from mout02.posteo.de ([185.67.36.66]:58361) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltDu7-00034c-DM for guix-patches@gnu.org; Tue, 15 Jun 2021 14:35:17 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id D3B272400FC for ; Tue, 15 Jun 2021 20:35:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1623782111; bh=Myjf/FZy6FVUWoSJL3X7Mjf0rbWdxsgxZbV7Ew7tfeI=; h=From:To:Subject:Date:From; b=fOXZNnf25aezK0xfTZeBFqHRUft5rA6EJdyXRC7kdmlYql3jJhvomL/ikLPUeBIsZ 3QILHQTsRDKQarOgeGYae80v60Ov9DwlXxPBsYfLA5ML7+xUmFr1ZTHAfak24vpJmf 7CV3k3qYZ98R9E0v/HzWL0wj53L4otmJbq/mSrKqGXWLkkLg7f5V1xFkI9lsV/nYbL jb5h6o15hWack+K2rJ1LvBw2ZXM7lWjaiGFjBxpye10ShKZXal8aItVqEdfZ3RszpS v5kRp+7VwT6kikor8kcli4fFv0Z0DFm/74PQwK8luxpjuO4Bm9MRwgnDvBz7w4PiTu PwrppKRaVQ5xg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4G4H732q9sz6tm6 for ; Tue, 15 Jun 2021 20:35:11 +0200 (CEST) From: Niklas Eklund Date: Tue, 15 Jun 2021 18:35:33 +0000 Message-ID: <87k0mv2cy2.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-gnu-Add-xkb-switch.patch Content-Transfer-Encoding: quoted-printable Content-Description: patch Received-SPF: pass client-ip=185.67.36.66; envelope-from=niklas.eklund@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623782169; h=from:from:sender:sender: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=JdMDRcLFQ3u0ltpPiIXLsBeLM/UJ81TQ48tGWOI2KCo=; b=RM0aWKfHrn9AJyKGKjAoR13oSztAgmMunvk/fmopNwL4llWbDjGkayLGXGOMAPvnCn/Aec DLqSL7RtocgRt4Zn4DXZgBNW1agOD8aVE1yMBQtFybox0XL8xHEik4D4Ht4vE+l30K5Ubq XAUpr+MeeNhdVzQ8NFb9OKzVqSb78L9/Iy9/QHAvH+fy9lkmBdaNQ7Z2C6iY85RL2hlEmc JCgSI/+pC+6EzpdSWpFwosnTfd/4hRRFgN1FXj3Hy4Hy0inIN1+xPKTm8S6qS9jteIuWvv mWsDAcfthH4RD0kccaj87Ex1JjyNRU63VEHehGv6xyY+Evkv9ZMTGAgtE7nHTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623782169; a=rsa-sha256; cv=none; b=QP0/DYM2+9RSZVrVs2EJhvHHvtvAnOLTGjeYNih3mS6V1cNs2rVhhxEtj9eOHRvasi9NEQ 0zd/rI2uCxokp5skOuCLhjuyI2cPJhd58QIzmUhVYi1GECwrfLT7JHeO5gbTUQ7Fhh2ggk aDk/0JqYV+TsOcfzpTONpdnU1G7xj/3VJlohzMc5vTgG18drOlUkiyJ9okc0PlCHZhlLnk hA/+UwyTOeTgp3IcPZPXRUZEJTCDrGgrBWfWjAv8A1ihcJdajj2R4FRjIdzQezxFlRTY8Z axsNnX4uCETXgM/Y1+O0FrdoWSrsDncznSGVp2VHd7+f7f5JklH524tpKmH3kw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=fOXZNnf2; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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-Spam-Score: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=fOXZNnf2; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (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: 413E915FDA X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3TA86o7zpuk1 >From 97c9252c653212927c3e0f09f0095ff83e354544 Mon Sep 17 00:00:00 2001 From: Niklas Eklund Date: Tue, 15 Jun 2021 20:34:12 +0200 Subject: [PATCH] gnu: Add xkb-switch. --- gnu/packages/xdisorg.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 5573e2afb5..c9353bf99e 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -46,6 +46,7 @@ ;;; Copyright =C2=A9 2021 Nicolas Goaziou ;;; Copyright =C2=A9 2021 Xinglu Chen ;;; Copyright =C2=A9 2021 Renzo Poddighe +;;; Copyright =C2=A9 2021 Niklas Eklund ;;; ;;; This file is part of GNU Guix. ;;; @@ -358,6 +359,31 @@ high-level and flexible remapping mechanisms. It affe= cts the low-level layers (evdev and uinput), making remapping work in almost all the places.= ") (license license:gpl3+))) ; see README.md (no licence header= s) =20 +(define-public xkb-switch + (package + (name "xkb-switch") + (version "1.8.5") + (source + (origin + (method git-fetch) + (uri (git-reference (url "https://github.com/grwlf/xkb-switch") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1sd6ihgsswp6hjm1i4y092n4gl3gj0bc22grz4n7iy43mwphi40d")))) + (build-system cmake-build-system) + (inputs `(("libxkbfile" ,libxkbfile) + ("libx11" ,libx11))) + (arguments + `(#:tests? #f)) + (home-page "https://github.com/grwlf/xkb-switch") + (synopsis "Switch your X keyboard layouts from the command line") + (description + "xkb-switch is a C++ program that allows to query and change the XKB = layout state.") + (license license:gpl3+))) + + (define-public xclip (package (name "xclip") --=20 2.31.1