From patchwork Sun Sep 29 07:55:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Efraim Flashner X-Patchwork-Id: 31547 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 9F2A427BBEA; Sun, 29 Sep 2024 08:57:54 +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=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS autolearn=ham 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 16FCD27BBE2 for ; Sun, 29 Sep 2024 08:57:54 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suooD-0005Ed-8H; Sun, 29 Sep 2024 03:57:37 -0400 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 1suooB-0005EQ-KS for guix-patches@gnu.org; Sun, 29 Sep 2024 03:57:35 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1suooB-0002OE-3m for guix-patches@gnu.org; Sun, 29 Sep 2024 03:57:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=I4HF07StFm7IljHoqlpvtbztUEz7A/L2Tq6+Yw75154=; b=cX30Ma/ERD1N1snP+lXqp9VGL8QVimEG7OMpD3Dk122ClhwcV3xn0C+37aeHQW8kiKFswdFxJBqAkQgw9iMTDX4h2h1Pp+/fKzs64TYH03qB0b1sB8p3hOoaw63hVXvxNhXEiyut8nHaX6ho8fEJwJ3x5PFqMHjIDG9YOexBwwxXth3ptB9rZkRzxm7dBlw17Bu+meNunUbTq+t4Dliaz24z0632kQiXDJRHASPmdodLL8LMD+YSmf3DhMt/AtSev2HFBCVSdvNxYKhw2W+Mx10Filc+Ks6uWj+PsrL8q0zPsrLVdzSF8+nbERmjcLZHMe8UF5fUUxRcbABKfG5KrQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1suoof-0007AT-7r; Sun, 29 Sep 2024 03:58:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73549] [PATCH 3/4] gnu: Add fcitx5-chewing. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: all_but_last@163.com, iyzsong@envs.net, guix-patches@gnu.org Resent-Date: Sun, 29 Sep 2024 07:58:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73549 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73549@debbugs.gnu.org Cc: Charles , Efraim Flashner , Zhu Zihao , =?utf-8?b?5a6L5paH5q2m?= X-Debbugs-Original-Xcc: Zhu Zihao , =?utf-8?b?5a6L5paH?= =?utf-8?b?5q2m?= Received: via spool by 73549-submit@debbugs.gnu.org id=B73549.172759664927325 (code B ref 73549); Sun, 29 Sep 2024 07:58:05 +0000 Received: (at 73549) by debbugs.gnu.org; 29 Sep 2024 07:57:29 +0000 Received: from localhost ([127.0.0.1]:39060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suoo1-000762-Su for submit@debbugs.gnu.org; Sun, 29 Sep 2024 03:57:29 -0400 Received: from mail-wm1-f48.google.com ([209.85.128.48]:51529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1suonl-00072w-L4 for 73549@debbugs.gnu.org; Sun, 29 Sep 2024 03:57:13 -0400 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-42cbe624c59so27336695e9.3 for <73549@debbugs.gnu.org>; Sun, 29 Sep 2024 00:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727596533; x=1728201333; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=I4HF07StFm7IljHoqlpvtbztUEz7A/L2Tq6+Yw75154=; b=j6Qj+rekgAWocqXNXnWD++/CWwVofq9WVzeWZU9zjM0tPQpK+h6u5fsg79ZJOZ2RnG bvLnCs3PtniV2Dgqu9sg/v3gSwZYriafHPxIC87ZW0BZj7tXK//OYTNgdWaBf8cMNmjZ KZ/jjCQ/TDfeAJSTDaNCb/eTMrTLxKyz5TSDZ5wQ8gm9HzYVBAF/AagkmFwz746NcN0j 3gYnVawKBf57O3F/exwNRwVRdWDzbAcaQJ857tIcMIvbR/z2CtHGAzAyAFHMhJjtObfq UvXN54f/K3J54p9Nm++5xf5eOQ5jV6xI7kUplfI0wr+hZMNK7TdJFTR35sZ7X34WuhVs 4Y/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727596533; x=1728201333; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=I4HF07StFm7IljHoqlpvtbztUEz7A/L2Tq6+Yw75154=; b=Fb5o59qYU56gZJMcPvopulx826GIhaByCA13waUiD7iDwZDkXhNupq8ikpwsvKBojE 2+pTKDVKUygXQ4/BFflHOnPRt+1Lxcg3z/V+Ugv6ESh7aE3eBe3rJTG8VdyoXmVi/MMr AZVQ1GmLJDrhGPpE+9S8TH/iw08M0xGIP373iuM88q68G+w1sObVmt6q33Ypfmx2Ahxk SBJRKwMVLeNJgpttoPoP0StRClm9avfuOAhGURtTXQZtUYNlGkldNF+f0CYGX3tTvDhF dy5OpNttU+GVu70yAvk72/ik06PhUsVt7C3AWx6ITDMYhv3LoF09KpssI9nTxDiLuQtU xMiA== X-Gm-Message-State: AOJu0YxRyIJGnqLuRHG8WXpUrExxdmzq+sn0Qhf34XSyKWvGN2gVLddQ eYhjyI6ObjFMmPyA2YW65/2aERDrBmWuSyC/XtYGihKrs5eyXGKs8M4ba0vB X-Google-Smtp-Source: AGHT+IEMvz8sM/xSGSbmDxjpUTDJa3ZkBuMeffB4WUPmCLyW5oWVhr7zvDzwrfMHNAjTKioIceRKOw== X-Received: by 2002:adf:f2c6:0:b0:37c:d4e8:2c67 with SMTP id ffacd0b85a97d-37cd5b1f5bamr4932844f8f.52.1727596532707; Sun, 29 Sep 2024 00:55:32 -0700 (PDT) Received: from localhost ([141.226.162.35]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f57de1288sm70376315e9.18.2024.09.29.00.55.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Sep 2024 00:55:31 -0700 (PDT) From: Efraim Flashner Date: Sun, 29 Sep 2024 10:55:05 +0300 Message-ID: <9ec2e750f07696f89eadb463fb7001f939e23f17.1727596132.git.efraim@flashner.co.il> X-Mailer: git-send-email 2.46.0 In-Reply-To: References: 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Charles * gnu/packages/fcitx5.scm (fcitx5-chewing): New variable. Signed-off-by: Efraim Flashner Change-Id: I27cd2d9732ad12a387ecaa258a36f7342d438ab1 --- gnu/packages/fcitx5.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/fcitx5.scm b/gnu/packages/fcitx5.scm index c4c2b565db7..b6002f8023c 100644 --- a/gnu/packages/fcitx5.scm +++ b/gnu/packages/fcitx5.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2022 Dominic Martinez ;;; Copyright © 2022 dan ;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> +;;; Copyright © 2024 Charles ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,6 +42,7 @@ (define-module (gnu packages fcitx5) #:use-module (gnu packages ibus) #:use-module (gnu packages iso-codes) #:use-module (gnu packages kde-frameworks) + #:use-module (gnu packages language) #:use-module (gnu packages libevent) #:use-module (gnu packages linux) #:use-module (gnu packages lua) @@ -369,6 +371,35 @@ (define-public fcitx5-anthy the Anthy input method.") (license license:gpl2+))) +(define-public fcitx5-chewing + (package + (name "fcitx5-chewing") + (version "5.1.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fcitx/fcitx5-chewing") + (commit version))) + (sha256 + (base32 "011psyvvcbrw062zw807lm33n827qza7mqaagf8zb0cz3hh1qwm9")) + (file-name (git-file-name name version)))) + (build-system cmake-build-system) + (arguments + (list #:phases + #~(modify-phases %standard-phases + (add-before 'check 'pre-check + (lambda _ (setenv "HOME" (getcwd))))))) + (inputs (list libchewing)) + (native-inputs + (list extra-cmake-modules + pkg-config + gettext-minimal + fcitx5)) + (home-page "https://github.com/fcitx/fcitx5-chewing") + (synopsis "Chewing wrapper for Fcitx") + (description "This provides libchewing input method support for fcitx5.") + (license license:gpl2+))) + (define-public fcitx5-chinese-addons (package (name "fcitx5-chinese-addons")