GNU bug report logs -
#50805
[PATCH] gnu: Add svkbd.
Previous Next
Reported by: Antero Mejr <antero <at> mailbox.org>
Date: Sat, 25 Sep 2021 18:54:02 UTC
Severity: normal
Tags: patch
Done: 宋文武 <iyzsong <at> envs.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 50805 <at> debbugs.gnu.org (full text, mbox):
Updated to use the new gexps, then re-tested.
* gnu/packages/suckless.scm (svkbd): New variable.
---
gnu/packages/suckless.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 5aa37657b9..759643a33b 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2021 Alexandru-Sergiu Marton <brown121407 <at> posteo.ro>
;;; Copyright © 2021 Nikolay Korotkiy <sikmir <at> disroot.org>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan <at> gmail.com>
+;;; Copyright © 2022 Antero Mejr <antero <at> mailbox.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1084,3 +1085,39 @@ (define-public sfeed
various other formats. There are also some programs and scripts included to
import and export OPML and to fetch, filter, merge and order feed items.")
(license license:isc)))
+
+(define-public svkbd
+ (package
+ (name "svkbd")
+ (version "0.4.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://dl.suckless.org/tools/svkbd-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0nhgmr38pk1a8zrcrxd1ygh0m843a3bdchkv8phl508x7vy63hpv"))))
+ (build-system gnu-build-system)
+ (arguments
+ (list #:tests? #f
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "PREFIX=" #$output))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute* "config.mk"
+ (("/usr/local") #$output)
+ (("/usr/X11R6") #$libx11)
+ (("/usr/include/freetype2") (string-append #$freetype
+ "/include/freetype2")))))
+ (delete 'configure)))) ;no configure script
+ (native-inputs (list pkg-config))
+ (inputs (list freetype libx11 libxft libxtst libxinerama))
+ (propagated-inputs (list glibc-utf8-locales))
+ (home-page "https://tools.suckless.org/x/svkbd/")
+ (synopsis "Virtual on-screen keyboard")
+ (description "svkbd is a simple virtual keyboard, intended to be used in
+environments, where no keyboard is available.")
+ (license license:expat)))
--
2.36.1
This bug report was last modified 2 years and 352 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.