From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kPW8MJ0HiGGKfAEAgWs5BA (envelope-from ) for ; Sun, 07 Nov 2021 18:06:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id SBo/LJ0HiGERVAAAbx9fmQ (envelope-from ) for ; Sun, 07 Nov 2021 17:06:37 +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 1CD2D16E68 for ; Sun, 7 Nov 2021 18:06:37 +0100 (CET) Received: from localhost ([::1]:55550 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjlcq-00047n-9w for larch@yhetil.org; Sun, 07 Nov 2021 12:06:36 -0500 Received: from [2001:470:142:3::10] (port=45870 helo=eggs.gnu.org) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjlQh-0003IX-1X for guix-patches@gnu.org; Sun, 07 Nov 2021 11:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42975) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjlQg-00077N-PG for guix-patches@gnu.org; Sun, 07 Nov 2021 11:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mjlQg-0005HD-Oy for guix-patches@gnu.org; Sun, 07 Nov 2021 11:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51668] [PATCH] gnu: Add fcitx5-rime. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 07 Nov 2021 16:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51668 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51668@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163630402220241 (code B ref -1); Sun, 07 Nov 2021 16:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Nov 2021 16:53:42 +0000 Received: from localhost ([127.0.0.1]:54518 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjlQL-0005GJ-Ty for submit@debbugs.gnu.org; Sun, 07 Nov 2021 11:53:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:60240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mjkLy-0003Sl-8a for submit@debbugs.gnu.org; Sun, 07 Nov 2021 10:45:08 -0500 Received: from [2001:470:142:3::10] (port=51862 helo=eggs.gnu.org) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjkLx-0006Po-UP for guix-patches@gnu.org; Sun, 07 Nov 2021 10:45:06 -0500 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:40468) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mjkLv-0000UE-S0 for guix-patches@gnu.org; Sun, 07 Nov 2021 10:45:05 -0500 Received: by mail-pg1-x530.google.com with SMTP id 188so586863pgb.7 for ; Sun, 07 Nov 2021 07:45:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=huME5auh+7tEZP3LT2igwOuEkSjlvE3idexOKtSInBI=; b=CDtvbBSyH7iTGM462x4IydKbqt7MzqQE4Ekeia7g9+n0fMfXSsLx+x2gibtmhAfXHw snRXZvTWxUaa1VfhJWGNOpgxgagdzI7lgADvq+KwjW5qE4VPEMCssdXuKBaA5wLP2tgh V/KzUHl4h062+jyqpYVWRMDgRIEoXCzelDRRHMQCiVp4pFom0G5zwBmu+9LwOsDEV9VC IKPEEWpgWNS5R9enLzfN7jE5aEux79xgFb+sa+KqJcg/GHG6ReEBVJRHcuiaBsCwLdG6 lhOkvAXDwVBJrWH8GcIN7C6keby4qSgm91ZIpu7fG8kCug25gkO3571JEPJYAKoI1TTe o6EQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=huME5auh+7tEZP3LT2igwOuEkSjlvE3idexOKtSInBI=; b=KTVXZUCa0p23WmHtntLJAMUUgIG/7TuHFpeekH9Vd30UxuZDJwbwysVq/+IUpKiguT 0GnvEQ1VfNSRHM+XRiU47MnoKuBjM4Zeqp4u7rc2R0HkCewAQr7rb8x470taYbLew6q9 Vo/ihPFotdhJoUN2WpHB4IiHZdyXCxzujVLA+CzLLtIFRrcKiXgPzJ4EtdOluoVCMOol WF/dVpTnxfW3NdeufEMnfBHdYAbZjUCxLn0G+YbWQepBscol8AHf1nH94SmOKu3z7D9M ZXcGHj8Kjj/hQfg4qbcr6rF3+4ZktpPm5IjIuB/AN1o4VMtU8njOLSWMpvDcjDpaI52l +oWw== X-Gm-Message-State: AOAM533UjBgVMYFWpwoFH8Mt3NpfjzUGT1rt99+6zwpfNZiL+y4uE2IZ hLdnHfzW5qAZZlCo0oMHvlYClbj2kFnyDAAW X-Google-Smtp-Source: ABdhPJz9/oBj6aSmWgvyXIx3ykuHzYQ+Ckhp3WtBsl7sf0i89+OvHx+GR3iHb4mjqMl4paawbhY6Ng== X-Received: by 2002:aa7:84d7:0:b0:49f:aa6d:8745 with SMTP id x23-20020aa784d7000000b0049faa6d8745mr12704373pfn.50.1636299901649; Sun, 07 Nov 2021 07:45:01 -0800 (PST) Received: from localhost.localdomain ([129.227.56.132]) by smtp.gmail.com with ESMTPSA id z30sm2808991pfg.30.2021.11.07.07.44.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Nov 2021 07:44:59 -0800 (PST) From: dan Date: Sun, 7 Nov 2021 23:44:29 +0800 Message-Id: <20211107154429.1163-1-igaryhe@gmail.com> X-Mailer: git-send-email 2.33.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=igaryhe@gmail.com; helo=mail-pg1-x530.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-Mailman-Approved-At: Sun, 07 Nov 2021 11:53:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sun, 07 Nov 2021 12:06:31 -0500 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=1636304797; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=huME5auh+7tEZP3LT2igwOuEkSjlvE3idexOKtSInBI=; b=NR/XRT3wFaGPfPiLFBH0KrrZG/O37RKKHFrK3rBU+bfkYQVYMANYYG7weme6+jETP0FY9a 8/qMj/Y2AMIb3lwHYWpoDtY8K+yiSGGIW026MxtzUdZ5MzGS0JZYTMNTIJBd7Mj9oYRwGu 1Sb4lgoUGYPPBvQxMd9LwYwnFf4ov2QeRDXsF5GwX6zsHauOxBuh4eEpNyKGO2cUugyc7v oEKyhlDbyUdnWRzVi76Q+Eu5BIyCKRwC7XfDoTmykwo/gkFFsS1P+r+5XzgfaZgCQm1zxy +SvuzLSEFzUgTXPA5bpWouhL3n+kdEwcqTWpNfLg80M3nwWxV92StqDi3rk2UA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636304797; a=rsa-sha256; cv=none; b=fXFHA+fPFaygU4mU7boqt8m+KlN62KcZ6aO2TGnkvXalIaQ6mP575ChQGCh/Ezb+XCKYp2 UlNnrsab2vcoBriVZqVCK9AH9fdO02V6JhAIrf92HQjoO2reTnbcy5rrT50TR9yiM8F/Ts o9fXgRrG1txk3q3T3RHF6+jG47tM5H1M+js2QIAeGNhDJ/wm30pmh5Z/egsipF0Wha24kf R8LT6wYu9v42DQ3Tpe8XXrzONBmxJ8X4RF+Kozalm6bVycwhD0CCymaQbsGTX4T28fftL+ B0ptJOksJLA0ORKAq2FTLN1kfi/eiQBxsn5j/NWfwQPk8skh4YzirdQaobdiVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CDtvbBSy; 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: 3.68 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=CDtvbBSy; 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: 1CD2D16E68 X-Spam-Score: 3.68 X-Migadu-Scanner: scn0.migadu.com X-TUID: huwEOlatqVBt --- gnu/packages/fcitx5.scm | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm index 737f47f20f..4391bbeadd 100644 --- a/gnu/packages/fcitx5.scm +++ b/gnu/packages/fcitx5.scm @@ -47,7 +47,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 @@ -453,3 +454,41 @@ (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 git-fetch) + (uri (git-reference + (url "https://github.com/fcitx/fcitx5-rime") + (commit version))) + (sha256 + (base32 + "17fi36m70d8gwwyragms4rl7xjx4k7g5ixs8rcj8r2ph1ak9ymhy")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f + #:configure-flags + (list (string-append "-DRIME_DATA_DIR=" + (assoc-ref %build-inputs "rime-data") + "/share/rime-data")))) + (inputs + `(("gettext", gettext-minimal) + ("fcitx5", fcitx5) + ("librime", librime) + ("rime-data", rime-data))) + (native-inputs + `(("extra-cmake-modules", extra-cmake-modules) + ("pkg-config", pkg-config))) + (home-page "https://github.com/fcitx/fcitx5-rime") + (synopsis "Rime Input Method Engine for fcitx5") + (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.windows.1