From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eMwsKsqmamY1NQEAe85BDQ:P1 (envelope-from ) for ; Thu, 13 Jun 2024 07:59:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eMwsKsqmamY1NQEAe85BDQ (envelope-from ) for ; Thu, 13 Jun 2024 09:59:06 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=cICssBgh; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718265546; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=ERfAbrtLfuiY7P2U6YZ8Nm8g58eC7JVjpVJFIjt8jy8=; b=HYM8znjgoE0SfpTEwDNSfTCbF+yKHTAGXWdkDkxD6FBg2/UOPPI1zIvOMQ3txEybSaEYVe RwK0e9BXTZtpAitwFwuEe9YvJJMxDjf6750n4vAm3fIeaDboKEDUZO1l3lPxiwRw7cQ7ia we/YdacfY51+QOAIMsFB8Zxxljb1vIEd0nn2noQdW9qCjTHPr0Qp5DuoSnkRd0Q0If2y0W KDYuwYD+gV72FcfPubRiljpbpilJK5t+cZegu08L58aTbIPOF5s62Bf723rGTDdQft8kox hR6N10Q7K/3XJy1rALXzcKtmU7u3sSzqE4bSh5uGbNcCDTszFQD5BeNTKpWn7w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718265546; a=rsa-sha256; cv=none; b=Kw89XNN/iYdXXxOykMe35tQ0/U/pBEw3sBwdqOawsF+y7CoyQBoEK63L8VLdMtaYSpeNOb TVtFmNS5AyaBjqr5VhvQK9ey2wG0GqpxzQaef1IsfOV4VGZmKyXKwugAepBtcjDo9TZ28S RD2dzjwxp/yNVFaN5bE4wQa8zObShMTjF6VJtZBUHHBLBk2xUU0k7c6xgH0t60flJpbj9X VeY161dr1wbMIXLbEg4dWdnsBtrmWj5VtLx9cn0sc+9RxT3+traEA+ZhlRMlThwQgAgX0U wlVmNtJOkPeSvcKg6aum9S2Jt5FcgQxoxevKvgVVRS0oH/Q4i6csVHuJjGl1Jw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=goryachev.org header.s=dkim header.b=cICssBgh; dmarc=pass (policy=none) header.from=gnu.org; 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" 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 7596C3E0D8 for ; Thu, 13 Jun 2024 09:59:06 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sHfML-0004oq-DB; Thu, 13 Jun 2024 03:59:01 -0400 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 1sHdoi-0000gl-5N for guix-patches@gnu.org; Thu, 13 Jun 2024 02:20:12 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sHdoh-0006SX-T1 for guix-patches@gnu.org; Thu, 13 Jun 2024 02:20:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sHdoh-0001K5-5C for guix-patches@gnu.org; Thu, 13 Jun 2024 02:20:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71527] [PATCH 20/20] gnu: Add xxkb. Resent-From: Igor Goryachev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jun 2024 06:20:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71527 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71527@debbugs.gnu.org Cc: Igor Goryachev Received: via spool by 71527-submit@debbugs.gnu.org id=B71527.17182595944908 (code B ref 71527); Thu, 13 Jun 2024 06:20:11 +0000 Received: (at 71527) by debbugs.gnu.org; 13 Jun 2024 06:19:54 +0000 Received: from localhost ([127.0.0.1]:54884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHdoP-0001Gt-MK for submit@debbugs.gnu.org; Thu, 13 Jun 2024 02:19:54 -0400 Received: from mail.goryachev.org ([104.248.201.73]:49744) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sHdo1-0001EF-LH for 71527@debbugs.gnu.org; Thu, 13 Jun 2024 02:19:31 -0400 Received: from localhost.localdomain (213-91-248-88.ip.btc-net.bg [213.91.248.88]) by mail.goryachev.org (Postfix) with ESMTPSA id 8B2A3120341; Thu, 13 Jun 2024 09:19:29 +0300 (MSK) Date: Thu, 13 Jun 2024 09:17:57 +0300 Message-ID: <456cc94a92b51bd6c86a5c898ec41c50622532cc.1718205806.git.igor@goryachev.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=goryachev.org; s=dkim; t=1718259569; bh=ERfAbrtLfuiY7P2U6YZ8Nm8g58eC7JVjpVJFIjt8jy8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=cICssBghdrsbzMti9powDg92bHfNjPqpHjInx5hcKrVSTM9l/iGw4aYmzuNxfWo2AXCBSlxZLAtEsTgJ5gMlqm+QGPeXhNxy5I1yeLZab5Jg43COKtxTgK1mmC5m9zrfVCu81qeBN7uvd/dECddBOSmv1cQkKEARKbRj4BWM7Ns= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Thu, 13 Jun 2024 03:58:59 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Igor Goryachev X-ACL-Warn: , Igor Goryachev via Guix-patches From: Igor Goryachev via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.84 X-Spam-Score: -3.84 X-Migadu-Queue-Id: 7596C3E0D8 X-Migadu-Scanner: mx11.migadu.com X-TUID: znU/0CedI9M4 * gnu/packages/xdisorg.scm (xxkb): New variable. Change-Id: Ibf7ff3394438490045c1821b9f9e417adc8d5e0b --- gnu/packages/xdisorg.scm | 48 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index dc31cedeba..c56db45630 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -62,6 +62,7 @@ ;;; Copyright © 2023 Hilton Chain ;;; Copyright © 2022 Mehmet Tekman ;;; Copyright © 2024 Artyom V. Poptsov +;;; Copyright © 2024 Igor Goryachev ;;; ;;; This file is part of GNU Guix. ;;; @@ -3804,3 +3805,50 @@ (define-public show-me-the-key and works under both Xorg and Wayland (via @code{libinput}), inspired by @code{python-screenkey}.") (license license:asl2.0))) + +(define-public xxkb + (package + (name "xxkb") + (version "1.11.1") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/xxkb/" + name "-" version "-src.tar.gz")) + (sha256 + (base32 + "0hl1i38z9xnbgfjkaz04vv1n8xbgfg88g5z8fyzyb2hxv2z37anf")))) + (build-system gnu-build-system) + (inputs (list libx11 + libxext + libxt + libxpm)) + (native-inputs + (list imake)) + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((imake (assoc-ref inputs "imake")) + (out (assoc-ref outputs "out"))) + (invoke "xmkmf") + (substitute* "Makefile" + ((imake) out) + (("(MANPATH = )[[:graph:]]*" _ front) + (string-append front out "/share/man")) + (("XAPPLOADDIR = /etc/X11/app-defaults") + (string-append "XAPPLOADDIR = " out "/lib/X11/app-defaults")) + (("ETCX11DIR = /etc/X11") + (string-append "ETCX11DIR = " out "/etc/X11"))) + #t)))))) + (home-page "https://xxkb.sourceforge.net/") + (synopsis "Keyboard layout indicator and switcher") + (description + "The xxkb program is a keyboard layout switcher and indicator. Unlike +the programs that reload keyboard maps and use their own hot-keys, xxkb is +a simple GUI for XKB (X KeyBoard extension) and just sends commands to and +accepts events from XKB. That means that it will work with the existing +setup of your X Server without any modifications.") + (license license:artistic2.0))) -- 2.45.1