From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 25 05:25:29 2024 Received: (at submit) by debbugs.gnu.org; 25 Feb 2024 10:25:29 +0000 Received: from localhost ([127.0.0.1]:33255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reBhH-0002v8-4p for submit@debbugs.gnu.org; Sun, 25 Feb 2024 05:25:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:40854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reBVn-0002PR-5T for submit@debbugs.gnu.org; Sun, 25 Feb 2024 05:13:37 -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 1reBBH-0006KX-6H for guix-patches@gnu.org; Sun, 25 Feb 2024 04:52:23 -0500 Received: from smtp21.cstnet.cn ([159.226.251.21] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1reBBE-0007vF-5j for guix-patches@gnu.org; Sun, 25 Feb 2024 04:52:22 -0500 Received: from m.taildaf0f.ts.net (unknown [111.0.51.199]) by APP-01 (Coremail) with SMTP id qwCowAAnLKjCDdtl3QMrAw--.12928S2; Sun, 25 Feb 2024 17:52:03 +0800 (CST) From: Zheng Junjie To: guix-patches@gnu.org Subject: [PATCH] gnu: librime: Update to 1.10.0. Date: Sun, 25 Feb 2024 17:51:59 +0800 Message-ID: <5955fce229e10021494f8d459aca952bd8687eb0.1708854719.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Debbugs-Cc: Zhu Zihao , 宋文武 Content-Type: text/plain; charset=y Content-Transfer-Encoding: 8bit X-CM-TRANSID: qwCowAAnLKjCDdtl3QMrAw--.12928S2 X-Coremail-Antispam: 1UD129KBjDUn29KB7ZKAUJUUUUU529EdanIXcx71UUUUU7v73 VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUYh7k0a2IF6F4UM7kC6x804xWl14x267AK xVWUJVW8JwAFc2x0x2IEx4CE42xK8VAvwI8IcIk0rVWrJVCq3wAFIxvE14AKwVWUJVWUGw A2ocxC64kIII0Yj41l84x0c7CEw4AK67xGY2AK021l84ACjcxK6xIIjxv20xvE14v26r1j 6r1xM28EF7xvwVC0I7IYx2IY6xkF7I0E14v26r1j6r4UM28EF7xvwVC2z280aVAFwI0_Gr 1j6F4UJwA2z4x0Y4vEx4A2jsIEc7CjxVAFwI0_Gr1j6F4UJwAS0I0E0xvYzxvE52x082IY 62kv0487M2AExVAIFx02aVAFz4v204v7Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7 IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4U M4x0Y48IcxkI7VAKI48JM4kE6I8I3I0E14AKx2xKxVC2ax8xMxAIw28IcxkI7VAKI48JMx C20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2IqxVCjr7xvwVAF wI0_Jr0_Jr4lx4CE17CEb7AF67AKxVWUJVWUXwCIc40Y0x0EwIxGrwCI42IY6xIIjxv20x vE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42IY6xAIw20EY4v2 0xvaj40_Jr0_JF4lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxV WUJVW8JbIYCTnIWIevJa73UjIFyTuYvjxU2_HUDUUUU X-Originating-IP: [111.0.51.199] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.21; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/ibus.scm(librime): Update to 1.10.0. [source]: Remove snippet. Remove patch. [arguments]: Remove it. * gnu/packages/patches/librime-fix-build-with-gcc10.patch: Remove this. * gnu/local.mk(dist_patch_DATA): Unregister patch. Change-Id: Ifbf1cf92baa469e87c517958e5705dec085cc413 --- gnu/local.mk | 3 +- gnu/packages/ibus.scm | 22 ++-------- .../librime-fix-build-with-gcc10.patch | 41 ------------------- 3 files changed, 4 insertions(+), 62 deletions(-) delete mode 100644 gnu/packages/patches/librime-fix-build-with-gcc10.patch diff --git a/gnu/local.mk b/gnu/local.mk index 741c72a653..15352f68d4 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -56,7 +56,7 @@ # Copyright © 2022 Alex Griffin # Copyright © 2022 ( # Copyright © 2022 jgart -# Copyright © 2023 Zheng Junjie <873216071@qq.com> +# Copyright © 2023, 2024 Zheng Junjie <873216071@qq.com> # Copyright © 2023 Ivana Drazovic # Copyright © 2023 Andy Tai # Copyright © 2023 B. Wilson @@ -1514,7 +1514,6 @@ dist_patch_DATA = \ %D%/packages/patches/libgeotiff-fix-tests-with-proj-9.3.1.patch \ %D%/packages/patches/libgeotiff-fix-tests-on-i386.patch \ %D%/packages/patches/libobjc2-unbundle-robin-map.patch \ - %D%/packages/patches/librime-fix-build-with-gcc10.patch \ %D%/packages/patches/libvirt-add-install-prefix.patch \ %D%/packages/patches/libziparchive-add-includes.patch \ %D%/packages/patches/lightdm-arguments-ordering.patch \ diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 1e01bb0ea3..c821279bd3 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Taiju HIGASHI ;;; Copyright © 2022, 2023 Maxim Cournoyer ;;; Copyright © 2023 Luis Felipe López Acevedo +;;; Copyright © 2024 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -454,7 +455,7 @@ (define-public ibus-anthy (define-public librime (package (name "librime") - (version "1.7.3") + (version "1.10.0") (source (origin (method git-fetch) @@ -464,25 +465,8 @@ (define-public librime (file-name (git-file-name name version)) (sha256 (base32 - "0pqk0i3zcii3fx5laj9qzbgd58jvq6wn31j76w4zix2i4b1lqcqv")) - (patches (search-patches "librime-fix-build-with-gcc10.patch")) - (modules '((guix build utils))) - (snippet - '(begin - (delete-file-recursively "thirdparty/src") - (delete-file-recursively "thirdparty/bin") - (delete-file-recursively "thirdparty/include/X11") - #t)))) + "0p4ybmn2syhf30vwzrd6ms77xadhl2lh7d2apq2m1yzmy42mdydm")))) (build-system cmake-build-system) - (arguments - '(#:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-source - (lambda _ - (substitute* "CMakeLists.txt" - (("include_directories\\($\\{PROJECT_SOURCE_DIR\\}/thirdparty/include\\)") "") - (("link_directories\\($\\{PROJECT_SOURCE_DIR\\}/thirdparty/lib\\)") "")) - #t))))) (inputs (list boost capnproto diff --git a/gnu/packages/patches/librime-fix-build-with-gcc10.patch b/gnu/packages/patches/librime-fix-build-with-gcc10.patch deleted file mode 100644 index 49ad011b57..0000000000 --- a/gnu/packages/patches/librime-fix-build-with-gcc10.patch +++ /dev/null @@ -1,41 +0,0 @@ -From: Felix Gruber -Date: Mon, 6 Sep 2021 19:38:17 +0200 -Subject: [PATCH] Add missing includes - -Fix a build failure with GCC 10 that manifests like this: - ------- -/tmp/guix-build-librime-1.7.3.drv-0/source/src/rime/gear/script_translator.cc: In member function ‘void rime::ScriptTranslation::PrepareCandidate()’: -/tmp/guix-build-librime-1.7.3.drv-0/source/src/rime/gear/script_translator.cc:490:23: error: ‘exp’ was not declared in this scope - 490 | cand->set_quality(exp(entry->weight) + - | ^~~ -/tmp/guix-build-librime-1.7.3.drv-0/source/src/rime/gear/script_translator.cc:504:23: error: ‘exp’ was not declared in this scope - 504 | cand->set_quality(exp(entry->weight) + - | ^~~ -make[2]: *** [src/CMakeFiles/rime.dir/build.make:1241: src/CMakeFiles/rime.dir/rime/gear/script_translator.cc.o] Error 1 ------- - -diff --git a/src/rime/gear/script_translator.cc b/src/rime/gear/script_translator.cc -index 4a45f05..515c8db 100644 ---- a/src/rime/gear/script_translator.cc -+++ b/src/rime/gear/script_translator.cc -@@ -7,6 +7,7 @@ - // 2011-07-10 GONG Chen - // - #include -+#include - #include - #include - #include -diff --git a/src/rime/gear/table_translator.cc b/src/rime/gear/table_translator.cc -index 162ac02..dbea76a 100644 ---- a/src/rime/gear/table_translator.cc -+++ b/src/rime/gear/table_translator.cc -@@ -4,6 +4,7 @@ - // - // 2011-07-10 GONG Chen - // -+#include - #include - #include - #include base-commit: 05bbe9993f687da1fd684a31474c621f2a1c37b2 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 26 06:33:04 2024 Received: (at 69378-done) by debbugs.gnu.org; 26 Feb 2024 11:33:04 +0000 Received: from localhost ([127.0.0.1]:57064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reZEF-0004Uv-Td for submit@debbugs.gnu.org; Mon, 26 Feb 2024 06:33:04 -0500 Received: from mail.envs.net ([5.199.136.28]:56728) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reZED-0004UN-CY for 69378-done@debbugs.gnu.org; Mon, 26 Feb 2024 06:33:03 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 8FDAE38A06AA; Mon, 26 Feb 2024 11:32:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=envs.net; s=modoboa; t=1708947153; bh=BHrPDLa2Ihazwf1BXYOPkE/A5I43W7EZKFOwiZeMsnA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nEsb+w+AdmCkzXOiv43kC5+ND9NHZ8gK9oOHMleC94P3c7cx1Md0jSqmhqzB59u41 dlHFj9Zau/ead6DP4XHpZEZPKwjYKW8VdvmIQeaHPGdQEz0gFhgmREJmsYz9BrRHoN YkuZ8QchkXEof8fMkDuT25SYlMqJA8aDmZLSwsUlgRoVhdpBzr3pt9kbq+t3lcF4hJ j9mIJIJ0ZXPu1ZUr1MPJV5SrZ54Dl5vkHI2vLqNDljqHXiTs6b4BbmpXGoKBfKu64g uckS+x96n/013AXSHW9D9aFnE0ciJ63OVq40dOeQz4ZNlc8dyVVB6IcY0b99KIBo7J R484BmGq22d7eP2Nlw5OfWH73bzyM7SvPNSUP8edVmNnX/fn/l8IflHiGW5gNr4uDr 20NE9uovxXnmwwqyM9QJ8rFVyiQ2QtgHF0iuljA3JfmAryJOhD9FBq/kguIWoZlJb6 dqkOVJ6WkqdMZUfbdqAdz7Vy+JJblShRnf0OivJAZpOb4UcIUnvFszVefKMxmYlQWH bpcbXjvtGRuARddo7/wDNns/ieEsuvheuYrfdjj4mRccuSjC9iLCqaJ1+H51fh5MwV pYG26c2UXtVYUXKdyGJBa0wg3JEczK2RskK8kiI+a1ysk0t5ZTVaYWdp+OGH96EprK u/rjrXVsGOv7chcGjEOP7sd0= X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 2I5SbXHtX842; Mon, 26 Feb 2024 11:32:29 +0000 (UTC) Received: from localhost (unknown [36.170.45.220]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Mon, 26 Feb 2024 11:32:28 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 0367b7e7; Mon, 26 Feb 2024 11:32:16 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Zheng Junjie Subject: Re: [bug#69378] [PATCH] gnu: librime: Update to 1.10.0. In-Reply-To: <5955fce229e10021494f8d459aca952bd8687eb0.1708854719.git.zhengjunjie@iscas.ac.cn> (Zheng Junjie's message of "Sun, 25 Feb 2024 17:51:59 +0800") References: <5955fce229e10021494f8d459aca952bd8687eb0.1708854719.git.zhengjunjie@iscas.ac.cn> Date: Mon, 26 Feb 2024 19:32:16 +0800 Message-ID: <87plwjlav3.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69378-done Cc: 69378-done@debbugs.gnu.org, Zhu Zihao X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Zheng Junjie writes: > * gnu/packages/ibus.scm(librime): Update to 1.10.0. > [source]: Remove snippet. Remove patch. > [arguments]: Remove it. > * gnu/packages/patches/librime-fix-build-with-gcc10.patch: Remove this. > * gnu/local.mk(dist_patch_DATA): Unregister patch. Pushed, thank you! From unknown Sun Jun 22 22:45:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 27 Mar 2024 11:24:18 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator