From patchwork Fri Dec 9 13:13:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Kortkamp X-Patchwork-Id: 45152 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 41FD627BBEB; Fri, 9 Dec 2022 14:04:56 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0305227BBE9 for ; Fri, 9 Dec 2022 14:04:54 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3dz6-0000gx-Gv; Fri, 09 Dec 2022 09:04:18 -0500 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 1p3dDV-0007Xn-ED for guix-patches@gnu.org; Fri, 09 Dec 2022 08:15:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3dDT-0001Fj-7a for guix-patches@gnu.org; Fri, 09 Dec 2022 08:15:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3dDS-0001WY-N1 for guix-patches@gnu.org; Fri, 09 Dec 2022 08:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59925] [PATCH] gnu: Add wvkbd. Resent-From: Tobias Kortkamp Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Dec 2022 13:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59925 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59925@debbugs.gnu.org Cc: Tobias Kortkamp X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16705916445825 (code B ref -1); Fri, 09 Dec 2022 13:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2022 13:14:04 +0000 Received: from localhost ([127.0.0.1]:36051 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3dCW-0001Vt-Dp for submit@debbugs.gnu.org; Fri, 09 Dec 2022 08:14:04 -0500 Received: from lists.gnu.org ([209.51.188.17]:52452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3dCT-0001Vn-Up for submit@debbugs.gnu.org; Fri, 09 Dec 2022 08:14:02 -0500 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 1p3dCT-0007KV-60 for guix-patches@gnu.org; Fri, 09 Dec 2022 08:14:01 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3dCR-0000RR-B2 for guix-patches@gnu.org; Fri, 09 Dec 2022 08:14:00 -0500 Received: by mail-ed1-x52f.google.com with SMTP id d20so3092671edn.0 for ; Fri, 09 Dec 2022 05:13:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=MAEm383OGL9h9CfC2B+ErypsTSI11z3JcMq7EpCX5W0=; b=NOMFKIEAgAUdrdBhUigxXBdyIRzZgJ2Mxtgjslr7WdPfJsVULdvO+krHMFTAqs947I 2gpkr9d/LkNtcBIohqrjXT+PULESO0inkABqHlQkgpNDeGeKaO+GPMt3nz9uwvCzyYjA +LOarGm1hnpvxR8EV5yMfbHq7kq7/ip9ZXycI3Qxcf4FjUdTNL7PVjLC4MHWN7av7Kyi KyweYfcj2AsRId3m30PJ0sg6hSL9Tf8+4BwoFbgNjQHPVG6wlwIccpNVj568U+L9p/Pc BOkjbcuobsZg3j3wU814oC9pZ787yItF0PWDK4CgMydWjSE6n5SwYZ7BtUF17zT1dJvg iqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MAEm383OGL9h9CfC2B+ErypsTSI11z3JcMq7EpCX5W0=; b=YpFyOmU0dVIenEZAkvK7ClevaLQD8oeSrAdQbwY0D4KtqZMvXtb0NkIYSOp5UdKZJt XYYayICCuMSZ8iD9tduJBmQRuwrtnSGzQyflEo8kXAqYJVndS8NkEoZmo4jpJDhwBPk6 ZITZ5H3affu8NlfXSP3i35PonPPJZO+ZqxfH0uukXTEm60wzu5BYdQKqt1igrKP26VD8 BuS8nGltyYCUDKuGuuVTxoaaPlPHFvRF+/EllOgSEPSiRw/zdxgIlKwnP3Nbf3Al1Fq8 775rPHrM23BYmXAS0kxyIULyRj5j6bqdbwcHfB+pIYgDhcZhR8qiE5zrCXSCQ06R5+lD LbjA== X-Gm-Message-State: ANoB5pkFv/ceOdu3m+AtWNIYEpQUn7bXA5BT3eeD6ArIPFnngVpi3cyx 6y62mTTu70dMwoFkTQTvBmlFZRkEQolkKA== X-Google-Smtp-Source: AA0mqf4aVnXeOi+aKa5qH0jp2zb2UdGRxwNiaTrEWpGbMPs5FxJq2LqIx2dMnwlZkUGJVdVLSZWSTA== X-Received: by 2002:aa7:c6d9:0:b0:46b:aedf:f328 with SMTP id b25-20020aa7c6d9000000b0046baedff328mr5705663eds.20.1670591637150; Fri, 09 Dec 2022 05:13:57 -0800 (PST) Received: from anubis.kortkamp.xyz (p200300ff7f02ab00046b83ca6c4becd9.dip0.t-ipconnect.de. [2003:ff:7f02:ab00:46b:83ca:6c4b:ecd9]) by smtp.gmail.com with ESMTPSA id n22-20020aa7c696000000b004615e1bbaf4sm612757edq.87.2022.12.09.05.13.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 05:13:56 -0800 (PST) From: Tobias Kortkamp Date: Fri, 9 Dec 2022 14:13:50 +0100 Message-Id: X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::52f; envelope-from=tobias.kortkamp@gmail.com; helo=mail-ed1-x52f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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-Mailman-Approved-At: Fri, 09 Dec 2022 09:04:15 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/xdisorg.scm (wvkbd): New variable. --- gnu/packages/xdisorg.scm | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) base-commit: 5d27555c118f97200fe686b418edf3e129c2d18f diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9cc7cc652a..a22120f41c 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -56,6 +56,7 @@ ;;; Copyright © 2022 Jai Vetrivelan ;;; Copyright © 2022 Derek Chuank ;;; Copyright © 2022 Wamm K. D. +;;; Copyright © 2022 Tobias Kortkamp ;;; ;;; This file is part of GNU Guix. ;;; @@ -3266,3 +3267,51 @@ (define-public ydotool (description "@code{ydotool} is a Linux command-line tool that simulates keyboard input, mouse actions, etc. programmatically or manually.") (license license:agpl3+))) + +(define-public wvkbd + (package + (name "wvkbd") + (version "0.12") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://git.sr.ht/~proycon/wvkbd") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "05zl6jhw7pj7w2cd02m3i0zzn1z99kzwh2mlg9h96j5aw1x1lvp6")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no tests + #:make-flags #~(list (string-append "CC=" + #$(cc-for-target)) + (string-append "PREFIX=" + #$output)) + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'fix-cross-compile + (lambda _ + (substitute* "Makefile" + (("pkg-config") + #$(pkg-config-for-target))))) + (delete 'configure)))) + (native-inputs (list wayland ;for wayland-scanner + pkg-config)) + (inputs (list libxkbcommon cairo pango harfbuzz wayland)) + (home-page "https://git.sr.ht/~proycon/wvkbd") + (synopsis "On-screen keyboard for wlroots compositors") + (description + "On-screen keyboard for wlroots compositors with the following +features: +@itemize +@item Typing, modifier locking, layout switching +@item Positive visual feedback on key presses +@item On-the-fly layout and keymap switching +@item Custom color schemes +@item International layouts (cyrillic, arabic) +@item Emoji support +@item Compose key for character variants (e.g. diacritics) +@item Show/hide keyboard on signals (SIGUSR1 = hide, SIGUSR2 = show, SIGRTMIN = toggle) +@item Automatic portrait/landscape detection and subsequent layout switching +@end itemize") + (license (list license:expat license:gpl3+))))