unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Igor Goryachev via Guix-patches via <guix-patches@gnu.org>
To: 71527@debbugs.gnu.org
Cc: Igor Goryachev <igor@goryachev.org>
Subject: [bug#71527] [PATCH 20/20] gnu: Add xxkb.
Date: Thu, 13 Jun 2024 09:17:57 +0300	[thread overview]
Message-ID: <456cc94a92b51bd6c86a5c898ec41c50622532cc.1718205806.git.igor@goryachev.org> (raw)
In-Reply-To: <cover.1718205806.git.igor@goryachev.org>

* 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 <hako@ultrarare.space>
 ;;; Copyright © 2022 Mehmet Tekman <mtekman89@gmail.com>
 ;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
+;;; Copyright © 2024 Igor Goryachev <igor@goryachev.org>
 ;;;
 ;;; 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





  parent reply	other threads:[~2024-06-13  7:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-12 15:25 [bug#71527] [PATCH 00/20] Update erlang, elixir things, add xxkb Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 01/20] gnu: rebar3: Make rebar3 escriptize reproducible Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 02/20] gnu: erlang: Update to 26.2.5 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 03/20] gnu: erlang-certifi: Update to 2.13.0 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 04/20] gnu: erlang-covertool: Update to 2.0.6 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 05/20] gnu: erlang-cth-readable: Update to 1.6.0 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 06/20] gnu: erlang-edown: Update to 0.9.1 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 07/20] gnu: erlang-erlware-commons: Update to 1.7.0 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 08/20] gnu: erlang-getopt: Update to 1.0.3 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 09/20] gnu: erlang-hex-core: Update to 0.10.0 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 10/20] gnu: erlang-jsone: Update to 1.8.1 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 11/20] gnu: erlang-parse-trans: Update to 3.4.2 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 12/20] gnu: erlang-relx: Update to 4.9.0 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 13/20] gnu: erlang-ssl-verify-fun: Update to 1.1.7 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 14/20] gnu: rebar3: Update to 3.23.0 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 15/20] gnu: erlang-lfe: Update to 2.1.4 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 16/20] gnu: elixir: Update to 1.16.3 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 17/20] gnu: elixir-hex: Update to 2.1.1 Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 18/20] gnu: elixir: Add src output, metas correction, lint warnings fix Igor Goryachev via Guix-patches via
2024-06-20 12:29   ` Andrew Tropin via Guix-patches via
2024-06-13  6:17 ` [bug#71527] [PATCH 19/20] gnu: erlang: Add chunks compilation Igor Goryachev via Guix-patches via
2024-06-13  6:17 ` Igor Goryachev via Guix-patches via [this message]
2024-06-20 12:37 ` [bug#71527] [PATCH 00/20] Update erlang, elixir things, add xxkb Andrew Tropin via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456cc94a92b51bd6c86a5c898ec41c50622532cc.1718205806.git.igor@goryachev.org \
    --to=guix-patches@gnu.org \
    --cc=71527@debbugs.gnu.org \
    --cc=igor@goryachev.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).