From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mOCJKpgdaGNqMgEAbAwnHQ (envelope-from ) for ; Sun, 06 Nov 2022 21:48:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mH1bKpgdaGM3PwEAauVa8A (envelope-from ) for ; Sun, 06 Nov 2022 21:48:24 +0100 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 61F7F125B8 for ; Sun, 6 Nov 2022 21:48:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ormYm-0004j8-V7; Sun, 06 Nov 2022 15:48:04 -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 1ormYl-0004h4-1X for guix-patches@gnu.org; Sun, 06 Nov 2022 15:48:03 -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 1ormYk-0004Sn-PC for guix-patches@gnu.org; Sun, 06 Nov 2022 15:48:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ormYk-0001Hi-LL for guix-patches@gnu.org; Sun, 06 Nov 2022 15:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59084] [PATCH 7/7] gnu: Add fcitx5-rime. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Nov 2022 20:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59084 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59084@debbugs.gnu.org Received: via spool by 59084-submit@debbugs.gnu.org id=B59084.16677676274732 (code B ref 59084); Sun, 06 Nov 2022 20:48:02 +0000 Received: (at 59084) by debbugs.gnu.org; 6 Nov 2022 20:47:07 +0000 Received: from localhost ([127.0.0.1]:60782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ormXq-0001EA-Fy for submit@debbugs.gnu.org; Sun, 06 Nov 2022 15:47:06 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:48003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ormXo-0001CV-CJ for 59084@debbugs.gnu.org; Sun, 06 Nov 2022 15:47:04 -0500 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 52D695C0093 for <59084@debbugs.gnu.org>; Sun, 6 Nov 2022 15:46:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sun, 06 Nov 2022 15:46:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1667767619; x= 1667854019; bh=M39uYPKiVxBxVNbw3jroNCb8tZ1pntJdgwkwZjhjbG4=; b=g 0TBwtNJq07/W9rS64BCbXxOfYCDOEDo04e+YJc7c5phEfvARRi8De7Th+PctLkeE l60UuFBtLifc7xNa4Hu903pnqNUCZ34Jq7Bk9thmf4hdGm3nBLARRO+TnlLzp5b0 0UvxWmbK2iNArSFIt7hg7b20CD9gcGNCI7/6hxkjzBrYhdhxXVvy5gWt+JuxRgvh /c53y9oP/Snx9Q1NtfJftU9VK24eFUfEeV9/8TU5ipE0BMrfBvR+yzV+9khdwtcS JQ0en71HTnR/N7UQ4SNraJAtAxXadDa0maTRWYmNhyRcmspDgcZfe/EHm1COf/Xb 1AxBlVv3kgw78Wcxfs4ZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1667767619; x=1667854019; bh=M 39uYPKiVxBxVNbw3jroNCb8tZ1pntJdgwkwZjhjbG4=; b=YKLqYciWRL+wSvzCF HDiFUI8DL8uz2wGXnLMO9vY+01Pn4inE6DNTEXCLsc6FiJZcLYcpxjWKUmMjNNzG Oy7pH6zFijlM3aYMwRRepDNr9Adr010ZM2wj3FPgBifpl0Fgld9OIFDfSKLjE5pO obeGQCH4AtDE481SX+Hh18BGotpeIwOhJVQvvpjvpyZ4shV+zIidLklqLsWjHSIp RHgTNSuwO7TjO86MuvR5nBGSLjwOSh5YKqsqaT6ilH2xkZY2BsdfVl/4TZf3r3wF pbDzN2DzAx4sMiQXOb/omgadYejyJvZ5H6VBSorHBta1szmZbYqVHqL+QLhId0Es G5jZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvdeigddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhggtgfgsehtke ertdertdejnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgr thhtvghrnhephfelueehhfeuvdehkeejheduleevhfeijeeuheejueevjeejveevkeelle eutdelnecuffhomhgrihhnpehftghithigqdhimhdrohhrghdpghhithhhuhgsrdgtohhm necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihesug grnhdrghgrmhgvsh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <59084@debbugs.gnu.org>; Sun, 6 Nov 2022 15:46:58 -0500 (EST) From: dan Date: Mon, 7 Nov 2022 04:46:39 +0800 Message-Id: <20221106204639.14621-7-i@dan.games> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221106204639.14621-1-i@dan.games> References: <20221106204639.14621-1-i@dan.games> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1667767704; 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: content-transfer-encoding:content-transfer-encoding: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=M39uYPKiVxBxVNbw3jroNCb8tZ1pntJdgwkwZjhjbG4=; b=jOGMntfjkvRF0CxMViMDFA3s8p5E18I2FUXOOYElv5EZDpS7be8vmDyaryioEXGMoZmh0F lQ5Fx9UvrIej+b0y5LlYa8TrSDpb3z3wKwEYzC9RcFE1mYSYfMvWBMpqqynvLW2id3Q+hB 6S8TD5VrJ5wEc161k7298eD/diVKzPy6KZKJvgUDd5v3c/Fl+agpYCfGky+fEfC1iv/j7U 7h2tsrfIYphk6SSf8zQYMKGLaDHh5bwEbYoawkaeweXZRkXB2tWb3huVv0wj/bVknoHj+7 o3OYOVOpQ9Gj0kKLPlBNeMqjQ+syv7TnNpLx/NgRkUSRE+OH113Cff1tbcTBcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1667767704; a=rsa-sha256; cv=none; b=tRmGDmvpfM8Rt1+f1tah9W8DD8UP7Vz0KYbtgDxmyjfeRBlvqUQU6APXi41WzAw2DT43cx DW7LZd2NTGR+0ujiTyIkbJm0ymM1ey91aLIbrw/Gw9ISCowBBvHhnj7hD89ojtTcKEbPHm 6eIfsFZDR+qdRr0IQW8KspjXVU7Ho6nIOgfQAy7BKBNFKtNgjdYCHFgdkFi3G1IAElr9O6 R5gmU9c2sYoRLODPwJF72m3Oes6jQfAyqhWOUg4muwufydwGVPBwqrpHFFErmBDXlVvOUE Qt6LG+QTfQwawbiuMyq6psqtHAn1vJOPQT4UCy9gYyokr5xMwAb8xsNm1f0qmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm1 header.b="g 0TBwtN"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=YKLqYciW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 1.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm1 header.b="g 0TBwtN"; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm3 header.b=YKLqYciW; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 61F7F125B8 X-Spam-Score: 1.90 X-Migadu-Scanner: scn1.migadu.com X-TUID: VWk9solJ3ryH * gnu/packages/fcitx5.scm (fcitx5-rime): New variable. --- gnu/packages/fcitx5.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm index 7e19159844..8c8677ab7c 100644 --- a/gnu/packages/fcitx5.scm +++ b/gnu/packages/fcitx5.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2020, 2022 Zhu Zihao ;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; Copyright © 2022 Dominic Martinez +;;; Copyright © 2022 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -35,6 +36,7 @@ (define-module (gnu packages fcitx5) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) + #:use-module (gnu packages ibus) #:use-module (gnu packages iso-codes) #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages libevent) @@ -532,3 +534,42 @@ (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.14") + (source (origin + (method url-fetch) + (uri (string-append "https://download.fcitx-im.org/fcitx5" + "/fcitx5-rime/fcitx5-rime-" version + ".tar.xz")) + (sha256 + (base32 + "1i8wb7pbjifz48j4c18lp07ms1a2wc3p9d9g13dgimgf9yi64brm")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f ;no tests + #:configure-flags (list (string-append "-DRIME_DATA_DIR=" + (assoc-ref %build-inputs + "rime-data") + "/share/rime-data")) + #:phases (modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda _ + (substitute* "data/CMakeLists.txt" + (("DESTINATION....RIME_DATA_DIR..") + "DESTINATION \"${CMAKE_INSTALL_DATADIR}/rime-data\"")) + #t))))) + (inputs (list fcitx5 librime rime-data)) + (native-inputs (list gettext-minimal extra-cmake-modules 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.38.0