From patchwork Sun Aug 14 20:00:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: phodina X-Patchwork-Id: 41678 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 D240127BBE9; Sun, 14 Aug 2022 21:01:20 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,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 1DC0B27BBEA for ; Sun, 14 Aug 2022 21:01:14 +0100 (BST) Received: from localhost ([::1]:48872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNJnN-0007ws-8p for patchwork@mira.cbaines.net; Sun, 14 Aug 2022 16:01:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNJnC-0007we-Ge for guix-patches@gnu.org; Sun, 14 Aug 2022 16:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50212) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNJnC-0007o3-79 for guix-patches@gnu.org; Sun, 14 Aug 2022 16:01:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNJnC-0002et-2b for guix-patches@gnu.org; Sun, 14 Aug 2022 16:01:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44400] [PATCH v4]: gnu: Add phosh. References: <20201102221301.23038-1-jonathan.brielmaier@web.de> In-Reply-To: <20201102221301.23038-1-jonathan.brielmaier@web.de> Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Aug 2022 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44400 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "44400@debbugs.gnu.org" <44400@debbugs.gnu.org> Cc: Efraim Flashner , Jonathan Brielmaier Received: via spool by 44400-submit@debbugs.gnu.org id=B44400.166050726110205 (code B ref 44400); Sun, 14 Aug 2022 20:01:01 +0000 Received: (at 44400) by debbugs.gnu.org; 14 Aug 2022 20:01:01 +0000 Received: from localhost ([127.0.0.1]:39962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNJnA-0002eX-U2 for submit@debbugs.gnu.org; Sun, 14 Aug 2022 16:01:00 -0400 Received: from mail-40131.protonmail.ch ([185.70.40.131]:27205) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNJn8-0002eJ-Jz for 44400@debbugs.gnu.org; Sun, 14 Aug 2022 16:00:59 -0400 Date: Sun, 14 Aug 2022 20:00:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1660507249; x=1660766449; bh=WewR0hK7Tk+xpjyAlkDCFFxxHJJ96p8uniCZBLFfZn4=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:Feedback-ID:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID; b=kPDIAYMTM5lIy6U94lEnfUXlW8RDeto5oIykZxcD+rOaXsXC6ulVlLQflzTecKe5M iaK2VooPw7VFhjIV4IaIrdZUE8APA3RtKBTZj6syJym4NDslvH8V5XRMV7b39OJZjn Ecz/I3QIM/LSFgATAZl2vl8gWSC+a+mi02xRIyjSUUMu/TW3KhHJjbB4Tt7oStsEbt vMNSfvs1iUR/j6tFD9z4l446fS35s4MWwcWmMr2IY0WvB7z93wI7ldpkHeX7jQjF1n nGDpBQrevKjN8NbaSHTnJEtqlnO1Sn1TahCWGHRf03bNWzRzievfGbPM60fb5dSGRJ IdZTMji9nRJuQ== Message-ID: Feedback-ID: 14143818:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches X-Patchwork-Original-From: phodina via Guix-patches via From: phodina X-getmail-retrieved-from-mailbox: Patches Hi Jonathan and Efraim, I had time to look into these patches. I added all the neccessary packages for squeekboard and updated the system packages. However, there is still issue with the build as squeekboard fails to build on missing function implementation. [1] Efraim, could you please help with the features error? I checked other Guix rust packages but didn't get any hint. [1] https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/349 ---- Petr From 14d3472eee34b880825447e1a7c9d7f216287880 Mon Sep 17 00:00:00 2001 From: Petr Hodina Date: Mon, 27 Dec 2021 20:23:25 +0100 Subject: [PATCH v4 37/38] gnu: Add squeekboard. * gnu/packages/gnome.scm (squeekboard): New variable. diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 7f7bf28bfb..5b2f26ad12 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -570,6 +570,71 @@ (define-public seed (home-page "https://wiki.gnome.org/Projects/Seed") (license license:lgpl2.0+))) +(define-public squeekboard + (package + (name "squeekboard") + (version "1.19.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.gnome.org/World/Phosh/squeekboard") + (commit (string-append "v" version)))) + (sha256 + (base32 + "01fxcg7c7cr2xbywn1yhppqx9q8gy5yafl7gnfd3bmnl9z5smq8m")))) + (build-system cargo-build-system) + (arguments + (list #:modules '((ice-9 match) + (ice-9 rdelim) + (guix build cargo-build-system) + (guix build utils)) + #:cargo-inputs `(("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) + ("rust-bitflags" ,rust-bitflags-1.2) + ("rust-gtk-sys" ,rust-gtk-sys-0.14) + ("rust-gtk" ,rust-gtk-0.14) + ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.14) + ("rust-cairo-rs" ,rust-cairo-rs-0.14) + ("rust-gdk" ,rust-gdk-0.14) + ("rust-gio-sys" ,rust-gio-sys-0.14) + ("rust-gio" ,rust-gio-0.14) + ("rust-clap" ,rust-clap-3) + ("rust-maplit" ,rust-maplit-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-yaml" ,rust-serde-yaml-0.8) + ("rust-xkbcommon" ,rust-xkbcommon-0.4) + ("rust-zbus" ,rust-zbus-1)) + #:features `(list "glib_v0_14") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'create-cargo-toml + (lambda* _ + (let* ((cargo-in (call-with-input-file "Cargo.toml.in" + read-string)) + (cargo-dep (call-with-input-file "Cargo.deps.newer" + read-string))) + (rename-file "data/style-Adwaita:dark.css" + "data/style-Adwaita.dark.css") + (with-output-to-file "Cargo.toml" + (lambda () + (display (string-append cargo-in cargo-dep)))) + (substitute* "Cargo.toml" + (("@path@/") + "")) + (chmod "Cargo.toml" 365))))))) + (native-inputs (list python wayland-protocols pkg-config)) + (inputs (list atk + gtk+ + libxml2 + libxkbcommon + feedbackd + glib + dbus + wayland)) + (home-page "https://gitlab.gnome.org/World/Phosh/squeekboard") + (synopsis "On-screen-keyboard input method for Wayland") + (description "This package provides an on-screen-keyboard input + method for Wayland.") + (license license:gpl3+))) + (define-public libdmapsharing (package (name "libdmapsharing") -- 2.36.1