all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50805] [PATCH] gnu: Add svkbd.
@ 2021-09-25 18:53 Antero Mejr via Guix-patches via
  2021-11-05  6:55 ` [bug#50805] logo " phodina via Guix-patches via
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Antero Mejr via Guix-patches via @ 2021-09-25 18:53 UTC (permalink / raw)
  To: 50805; +Cc: Antero Mejr

* gnu/packages/suckless.scm (svkbd): New variable.
---
 gnu/packages/suckless.scm | 45 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b24eced379..dc313c10e3 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -901,3 +901,48 @@ chat output in the background.")
 Single daemon and configuration file.  Log to stdout or syslog.  No mail
 support.")
     (license license:expat)))
+
+(define-public svkbd
+  (package
+    (name "svkbd")
+    (version "0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://dl.suckless.org/tools/svkbd-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "0pydmf7frbn8b3zr2is212npbafkyrbs8qxg2ivwjvqwzvkmdm4g"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("locales" ,glibc-utf8-locales)))
+    (inputs
+     `(("freetype" ,freetype)
+       ("libx11" ,libx11)
+       ("libxtst" ,libxtst)
+       ("libxft" ,libxft)
+       ("libxinerama" ,libxinerama)))
+    (arguments
+     `(#: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")
+                (assoc-ref outputs "out"))
+               (("/usr/X11R6")
+                (assoc-ref inputs "libx11"))
+               (("/usr/include/freetype2")
+                (string-append (assoc-ref inputs "freetype")
+                               "/include/freetype2")))))
+         (delete 'configure))))         ; no configure script
+    (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.30.2





^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-05  5:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-25 18:53 [bug#50805] [PATCH] gnu: Add svkbd Antero Mejr via Guix-patches via
2021-11-05  6:55 ` [bug#50805] logo " phodina via Guix-patches via
2022-03-07 16:50 ` [bug#50805] " Antero Mejr via Guix-patches via
2022-05-29  2:10 ` Antero Mejr via Guix-patches via
2022-08-05  5:31   ` bug#50805: " 宋文武 via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.