From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +DZ0FmAFjGEQOwEAgWs5BA (envelope-from ) for ; Wed, 10 Nov 2021 18:46:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id UBpCEmAFjGEBVgAA1q6Kng (envelope-from ) for ; Wed, 10 Nov 2021 17:46:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BCE5064A0 for ; Wed, 10 Nov 2021 18:46:07 +0100 (CET) Received: from localhost ([::1]:50322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mkrfi-0000uU-Ur for larch@yhetil.org; Wed, 10 Nov 2021 12:46:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48652) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mkrfe-0000uK-Pv for guix-patches@gnu.org; Wed, 10 Nov 2021 12:46:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mkrfe-0007tE-HQ for guix-patches@gnu.org; Wed, 10 Nov 2021 12:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mkrfe-0002qJ-Eb for guix-patches@gnu.org; Wed, 10 Nov 2021 12:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51668] [PATCH] gnu: Add fcitx5-rime. References: <20211107154429.1163-1-igaryhe@gmail.com> In-Reply-To: <20211107154429.1163-1-igaryhe@gmail.com> Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 Nov 2021 17:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51668@debbugs.gnu.org Received: via spool by 51668-submit@debbugs.gnu.org id=B51668.163656634410900 (code B ref 51668); Wed, 10 Nov 2021 17:46:02 +0000 Received: (at 51668) by debbugs.gnu.org; 10 Nov 2021 17:45:44 +0000 Received: from localhost ([127.0.0.1]:39152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkrfM-0002pk-5D for submit@debbugs.gnu.org; Wed, 10 Nov 2021 12:45:44 -0500 Received: from mail-io1-f53.google.com ([209.85.166.53]:34603) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mkrfK-0002pU-6Y for 51668@debbugs.gnu.org; Wed, 10 Nov 2021 12:45:43 -0500 Received: by mail-io1-f53.google.com with SMTP id w22so3790321ioa.1 for <51668@debbugs.gnu.org>; Wed, 10 Nov 2021 09:45:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=0oYIDjiuzA3AkokGulOv3N2TTpGVECFXHg2rNHBUW5c=; b=lr8pGyx6+O4Ug7kL6QpPkIG7jvNW1fqsVEXoyQu8e6qOjdRQyw90uLYRRx/nJwZNvz ZYC1pqoCntay2jlh8OlNz2XJVDoi5xqA5SDdNg6PjibfthrNQ5m+s+izslMJyB/8ZnkO t14IEO0depTL4iCL24o1YL2TrW89okPvEkJPqbYAwFB0lKso2W23ewAaZQHxAp9pbSii bf7aCiV1OOENZGWfeb/lCF25Nq3dUKvVuOLgWKbSXskBS4Tkb0GrQk6/50PfaCqTfrrd BzTVu/S8BF3ehQqJUvEvkYbV9Z39FcQ/S98gJuZNIo+Si0hqq0rq0/uGHCHa3Ov9LUDF wmAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0oYIDjiuzA3AkokGulOv3N2TTpGVECFXHg2rNHBUW5c=; b=b9pLHuSr5WaQoblIE2TEsLiL/BpkAcV7X3VrCrNXm6VybvQAQ73FAchyBDuaDvVZqH 1plhqAJmntor5IYl9aRq5/XN112zuiB8+CHqNfRkT2lS6PmEhcZZJDkxrrhoHYTx7a0d 0gcxjNHTJgpgksnwL87h4ysv8G0LEum8Um5U+9pFV2URY5HB8a4SPe6oseL3tqn3j2O8 fQzeVPINPvt/d2UJ/oIWyKwi9QwD4GvMECEdN2lNf5p1F5zg8nYFspk4oufsW+A9StFC mO2PAY+LyHn0QmFieicUXc7rgSQcxwXw05qePs5gBNUCvs7XnduoB1rd2xNrJo4ZM8As NVZA== X-Gm-Message-State: AOAM530XKGLM3MBfWAjy94B7Pfxc6hrUWvfXqinWKgN8rOUfRDe8W3O4 JDfw7j9hqmjPRxmhEaqpNzya7RdzKhMRrpZ6aTFu5UWTpfa4b9Ei X-Google-Smtp-Source: ABdhPJykaZoIqXSoxJvHoTqyFG2aQ3pPaMno7EsyiHyHTOqvBa7Fjf/559hNFRRPvVqXq+uJY1tpPxnWn9zURBqlsCo= X-Received: by 2002:a05:6602:2b89:: with SMTP id r9mr629660iov.32.1636566336267; Wed, 10 Nov 2021 09:45:36 -0800 (PST) MIME-Version: 1.0 From: dan Date: Thu, 11 Nov 2021 01:45:25 +0800 Message-ID: Content-Type: multipart/alternative; boundary="0000000000001fea2b05d072cbb2" 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636566367; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=0oYIDjiuzA3AkokGulOv3N2TTpGVECFXHg2rNHBUW5c=; b=Xdp0xFefqOQPidhn7z85b/lA9rRAx3qNXu6ZeRvD0wzadZAmrHC3307MoniBR/ZBHkqLo4 actyZTZadMG9uUMBu/k7rhARUNkKLGtdvQQv72legAoIeiR8sDeMEajYpFkyOjUlFmjSbN NHqtL0VPR6iLq8i4PhDfDajtJnGx/23PzkTSlchEHhkeyW91faaXqI+KAGVeUinkKpJurz zOs5kqgxpdFJJjpdOQXRN2hARSPzSh8plxx29+q8sn0ZF7N4wF+xaIi3qQHu8K0M/JL62Z Qt3p6JKssfr+TfTMRzOd788U/PJY5sPm8r5TJeG2KH+AbnvpzW7leBu+BS+HlA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636566367; a=rsa-sha256; cv=none; b=tAAaSH+TlzAXlaiHNWx2hUzUKS0WkmYQD3r6wGIlkwzjZGIJDwvrvj56HIZkd4+Zd2qzkF BN0NJqxOhUDms68azeVAfQ1Bg14DrN0LmDde33Dst00F0xGpJv+CW2RDwljpbOmMCgdxeg 9VH5Bd/Dh3+JwiIWugkUm9XvQHge3y1uWsK4xa28X8nf6Mv2mrJHc/SZSErnMcywUUiQO3 gll4vHJ409IhofX1WtitNHiNnk6gPBPsHDnCXnurvccQtwS/maeaZxT76v0YDqfs4gPUyj 8ZsmBQ50Xm/w4k1apR/OfxtXNEv8qZJ/8luW9OQ0PMrl6COQ/2MKupXzNOE/0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=lr8pGyx6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=lr8pGyx6; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BCE5064A0 X-Spam-Score: -1.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: kRgt5pWNBFQB --0000000000001fea2b05d072cbb2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable >From 2f8fef92b3fce1cfec7244e1bdca7e63f52b8a6c Mon Sep 17 00:00:00 2001 From: dan Date: Sun, 7 Nov 2021 21:57:24 +0800 Subject: [PATCH] gnu: Add fcitx5-rime. * gnu/packages/fcitx5.scm (fcitx5-rime): New variable. --- gnu/packages/fcitx5.scm | 47 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scmindex 0c4980aba2..27c28d56e1 100644--- a/gnu/packages/fcitx5.scm+++ b/gnu/packages/fcitx5.scm@@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2020 Zhu Zihao ;;; Copyright =C2=A9 2021 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2021 dan ;;; ;;; This file is part of GNU Guix. ;;;@@ -47,7 +48,8 @@ (define-module (gnu packages fcitx5) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml)- #:use-module (gnu packages xorg))+ #:use-module (gnu packages xorg)+ #:use-module (gnu packages ibus)) (define-public xcb-imdkit (package@@ -139,7 +141,11 @@ (define-public fcitx5 (native-search-paths (list (search-path-specification (variable "FCITX_ADDON_DIRS")- (files '("lib/fcitx5")))))+ (files '("lib/fcitx5")))+ ; export XDG_DATA_DIRS so that fcitx5 could search other addons+ (search-path-specification+ (variable "XDG_DATA_DIRS")+ (files '("share"))))) (home-page "https://github.com/fcitx/fcitx5") (synopsis "Input method framework") (description "Fcitx 5 is a generic input method framework.")@@ -453,3 +459,40 @@ (define (install-theme-variant variant target) @item DeepPurple @end itemize\n") (license license:asl2.0)))++(define-public fcitx5-rime+ (package+ (name "fcitx5-rime")+ (version "5.0.8")+ (source+ (origin+ (method url-fetch)+ (uri (string-append+ "https://download.fcitx-im.org/fcitx5"+ "/fcitx5-rime/fcitx5-rime-" version ".tar.xz"))+ (sha256+ (base32 "0rl8ng11jprzi3lvx3jdim5b5y8k31l14jgjricxzw5i3fvfqzp3"))))+ (build-system cmake-build-system)+ (arguments+ '(#:tests? #f ; no tests+ #:configure-flags+ (list (string-append "-DRIME_DATA_DIR=3D"+ (assoc-ref %build-inputs "rime-data")+ "/share/rime-data"))))+ (inputs+ `(("fcitx5", fcitx5)+ ("librime", librime)+ ("rime-data", rime-data)))+ (native-inputs+ `(("gettext", gettext-minimal)+ ("extra-cmake-modules", extra-cmake-modules)+ ("pkg-config", pkg-config)))+ (home-page "https://github.com/fcitx/fcitx5-rime")+ (synopsis "Rime Input Method Engine for Fcitx 5")+ (description "@dfn{fcitx5-rime} provides the Rime input method engine for+fcitx5. Rime is a lightweight, extensible input method engine supporting+various input schemas including glyph-based input methods, romanization-based+input methods as well as those for Chinese dialects. It has the ability to+compose phrases and sentences intelligently and provide very accurate+traditional Chinese output.")+ (license license:lgpl2.1+)))-- 2.33.1 --0000000000001fea2b05d072cbb2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From 2f8fef92b3fce1cfec7244e1bdca7e63f52b8a6c Mon Sep 17 00:00:00 2001
From: dan <igaryhe@gmail.com>=
;
Date: Sun, 7 Nov 2021 21:57:24 +0800
Subject: [PATCH] gnu: Add fcitx5-rime.
* gnu/packages/fcitx5.=
scm (fcitx5-rime): New variable.
--- gnu/packages/fcitx5.scm | 47 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/gnu/packages/fcitx5.scm b/gnu/package= s/fcitx5.scm index 0c4980aba2..27c28d56e1 100644 --- a/gnu/packages/fcitx5.scm +++ b/gnu/packages/fcitx5.scm @@ -1,6 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2020 Zhu Zihao <all_but_last@163.com> ;;; Copyright =C2=A9 2021 Tobias Geerinckx-Rice <me@tobias.gr> +;;; Copyright =C2=A9 2021 dan <igaryhe@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -47,7 +48,8 @@ (define-module (gnu packages fci= tx5) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xorg) + #:use-module (gnu packages ibus)) =20 (define-public xcb-imdkit (package @@ -139,7 +141,11 @@ (define-public fcitx5 (native-search-paths (list (search-path-specification (variable "FCITX_ADDON_DIRS") - (files '("lib/fcitx5"))= ))) + (files '("lib/fcitx5"))= ) + ; export XDG_DATA_DIRS so that fcitx5 = could search other addons + (search-path-specification + (variable "XDG_DATA_DIRS")<= /span> + (files '("share"))))) (home-page "https://g= ithub.com/fcitx/fcitx5") (synopsis "Input method framework") (description "Fcitx 5 is a generic input method framework.") @@ -453,3 +459,40 @@ (define (install-theme-varian= t variant target) @item DeepPurple @end itemize\n") (license license:asl2.0))) + +(define-public fcitx5-rime + (package + (name "fcitx5-rime") + (version "5.0.8") + (source + (origin + (method url-fetch) + (uri (string-append + "https://download.fcitx-im.org/fcitx5" + "/fcitx5-rime/fcitx5-rime-"= ; version ".tar.xz")) + (sha256 + (base32 "0rl8ng11jprzi3lvx3jdim5b5y8= k31l14jgjricxzw5i3fvfqzp3")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ; no = tests + #:configure-flags + (list (string-append "-DRIME_DATA_DIR= =3D" + (assoc-ref %build-inputs "rime-data&q= uot;) + "/share/rime-data")))) + (inputs + `(("fcitx5", fcitx5) + ("librime", librime) + ("rime-data", rime-data))) + (native-inputs + `(("gettext", gettext-minimal) + ("extra-cmake-modules", extra-cm= ake-modules) + ("pkg-config", pkg-config))) + (home-page "https://github.com/fcitx/fcitx5-rime") + (synopsis "Rime Input Method Engine for = Fcitx 5") + (description "@dfn{fcitx5-rime} provides= the Rime input method engine for +fcitx5. Rime is a lightweight, extensible input = method engine supporting +various input schemas including glyph-based input= methods, romanization-based +input methods as well as those for Chinese dialec= ts. It has the ability to +compose phrases and sentences intelligently and p= rovide very accurate +traditional Chinese output.") + (license license:lgpl2.1+))) -- 2.33.1
--0000000000001fea2b05d072cbb2--