From unknown Tue Jun 24 15:45:10 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#38849] Fix IBus-Rime Resent-From: kanichos@yandex.ru Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Jan 2020 17:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38849@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157789943814379 (code B ref -1); Wed, 01 Jan 2020 17:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jan 2020 17:23:58 +0000 Received: from localhost ([127.0.0.1]:37509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imhiv-0003ji-Rs for submit@debbugs.gnu.org; Wed, 01 Jan 2020 12:23:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:45594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imbEw-0005g0-7v for submit@debbugs.gnu.org; Wed, 01 Jan 2020 05:28:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46753) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imbEv-0002Qt-8s for guix-patches@gnu.org; Wed, 01 Jan 2020 05:28:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imbEt-000739-UB for guix-patches@gnu.org; Wed, 01 Jan 2020 05:28:32 -0500 Received: from forward400j.mail.yandex.net ([5.45.198.245]:35825) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1imbEt-0006uZ-86 for guix-patches@gnu.org; Wed, 01 Jan 2020 05:28:31 -0500 Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward400j.mail.yandex.net (Yandex) with ESMTP id B72EB6E0C33 for ; Wed, 1 Jan 2020 13:28:28 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id kjPZRw3q4k-SS6WuLGL; Wed, 01 Jan 2020 13:28:28 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1577874508; bh=vkbIxeqs+Z5s7nV9ovEI3gYv2wYrPX/7v44Spx7wMnA=; h=Message-Id:Date:Subject:To:From; b=HRUvZeXgV4mzZTBqR3/sJ9rcoBAAB7wBbQz/5/+J6TRaMQyFE0LZt0tCM48NlwRXj N/xBu2ppBb5VBfkczgc9bO0VL9G415AApbxI0PtjhTmgYyvizz1fQURNj5sXryEwiH 6QkWmVbYD1v+2wGLPlcKVahbBJebC4QhNYHluALE= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla1-74bb1214b343.qloud-c.yandex.net with HTTP; Wed, 01 Jan 2020 13:28:28 +0300 From: kanichos@yandex.ru MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 01 Jan 2020 13:28:28 +0300 Message-Id: <9931577874508@vla1-74bb1214b343.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.198.245 X-Spam-Score: 0.7 (/) X-Mailman-Approved-At: Wed, 01 Jan 2020 12:23:55 -0500 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.3 (--) IBus uses the component file rime.xml to start the Rime engine. It must be patched with appropriate paths. --- gnu/packages/ibus.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 42a8d5db32..7daefde021 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -668,6 +668,10 @@ Method Engine.") (assoc-ref inputs "rime-data") "/share/rime-data\"\n"))) #t)) + (add-after 'unpack 'fix-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "rime.xml" + (("/usr") (assoc-ref outputs "out"))) #t)) (delete 'configure)))) (inputs `(("gdk-pixbuf" ,gdk-pixbuf) -- 2.23.0 From unknown Tue Jun 24 15:45:10 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: kanichos@yandex.ru Subject: bug#38849: closed (Re: [bug#38849] Fix IBus-Rime) Message-ID: References: <87y2ukbqz5.fsf@gnu.org> <9931577874508@vla1-74bb1214b343.qloud-c.yandex.net> X-Gnu-PR-Message: they-closed 38849 X-Gnu-PR-Package: guix-patches Reply-To: 38849@debbugs.gnu.org Date: Mon, 06 Jan 2020 14:28:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1578320882-24657-1" This is a multi-part message in MIME format... ------------=_1578320882-24657-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #38849: Fix IBus-Rime which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 38849@debbugs.gnu.org. --=20 38849: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D38849 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1578320882-24657-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 38849-done) by debbugs.gnu.org; 6 Jan 2020 14:27:06 +0000 Received: from localhost ([127.0.0.1]:45334 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioTLW-0006OS-B7 for submit@debbugs.gnu.org; Mon, 06 Jan 2020 09:27:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55142) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ioTLU-0006O9-VY for 38849-done@debbugs.gnu.org; Mon, 06 Jan 2020 09:27:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ioTLP-0006zE-GZ; Mon, 06 Jan 2020 09:26:59 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=58450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ioTLO-0005jN-Eo; Mon, 06 Jan 2020 09:26:59 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: kanichos@yandex.ru Subject: Re: [bug#38849] Fix IBus-Rime References: <9931577874508@vla1-74bb1214b343.qloud-c.yandex.net> Date: Mon, 06 Jan 2020 15:26:54 +0100 In-Reply-To: <9931577874508@vla1-74bb1214b343.qloud-c.yandex.net> (kanichos@yandex.ru's message of "Wed, 01 Jan 2020 13:28:28 +0300") Message-ID: <87y2ukbqz5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38849-done Cc: 38849-done@debbugs.gnu.org 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: -3.3 (---) Hello, kanichos@yandex.ru skribis: > IBus uses the component file rime.xml to start the Rime engine. It must b= e patched with appropriate paths. > > --- > gnu/packages/ibus.scm | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm > index 42a8d5db32..7daefde021 100644 > --- a/gnu/packages/ibus.scm > +++ b/gnu/packages/ibus.scm > @@ -668,6 +668,10 @@ Method Engine.") > (assoc-ref inputs "rime-data") > "/share/rime-data\"\n"))) > #t)) > + (add-after 'unpack 'fix-paths > + (lambda* (#:key outputs #:allow-other-keys) > + (substitute* "rime.xml" > + (("/usr") (assoc-ref outputs "out"))) #t)) I made the following changes: 1. Move the explanation as a comment in the code. 2. Write =E2=80=9Cfile name=E2=80=9D instead of =E2=80=9Cpath=E2=80=9D, f= or consistency. 3. Write a commit log that follows the project=E2=80=99s conventions. Committed now, thank you! Ludo=E2=80=99. ------------=_1578320882-24657-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 1 Jan 2020 17:23:58 +0000 Received: from localhost ([127.0.0.1]:37509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imhiv-0003ji-Rs for submit@debbugs.gnu.org; Wed, 01 Jan 2020 12:23:58 -0500 Received: from lists.gnu.org ([209.51.188.17]:45594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1imbEw-0005g0-7v for submit@debbugs.gnu.org; Wed, 01 Jan 2020 05:28:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46753) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imbEv-0002Qt-8s for guix-patches@gnu.org; Wed, 01 Jan 2020 05:28:34 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,SPOOFED_FREEMAIL,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imbEt-000739-UB for guix-patches@gnu.org; Wed, 01 Jan 2020 05:28:32 -0500 Received: from forward400j.mail.yandex.net ([5.45.198.245]:35825) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1imbEt-0006uZ-86 for guix-patches@gnu.org; Wed, 01 Jan 2020 05:28:31 -0500 Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward400j.mail.yandex.net (Yandex) with ESMTP id B72EB6E0C33 for ; Wed, 1 Jan 2020 13:28:28 +0300 (MSK) Received: from localhost (localhost [::1]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id kjPZRw3q4k-SS6WuLGL; Wed, 01 Jan 2020 13:28:28 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1577874508; bh=vkbIxeqs+Z5s7nV9ovEI3gYv2wYrPX/7v44Spx7wMnA=; h=Message-Id:Date:Subject:To:From; b=HRUvZeXgV4mzZTBqR3/sJ9rcoBAAB7wBbQz/5/+J6TRaMQyFE0LZt0tCM48NlwRXj N/xBu2ppBb5VBfkczgc9bO0VL9G415AApbxI0PtjhTmgYyvizz1fQURNj5sXryEwiH 6QkWmVbYD1v+2wGLPlcKVahbBJebC4QhNYHluALE= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla1-74bb1214b343.qloud-c.yandex.net with HTTP; Wed, 01 Jan 2020 13:28:28 +0300 From: kanichos@yandex.ru To: guix-patches@gnu.org Subject: Fix IBus-Rime MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Wed, 01 Jan 2020 13:28:28 +0300 Message-Id: <9931577874508@vla1-74bb1214b343.qloud-c.yandex.net> Content-Transfer-Encoding: 7bit Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.198.245 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 01 Jan 2020 12:23:55 -0500 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.3 (--) IBus uses the component file rime.xml to start the Rime engine. It must be patched with appropriate paths. --- gnu/packages/ibus.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm index 42a8d5db32..7daefde021 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -668,6 +668,10 @@ Method Engine.") (assoc-ref inputs "rime-data") "/share/rime-data\"\n"))) #t)) + (add-after 'unpack 'fix-paths + (lambda* (#:key outputs #:allow-other-keys) + (substitute* "rime.xml" + (("/usr") (assoc-ref outputs "out"))) #t)) (delete 'configure)))) (inputs `(("gdk-pixbuf" ,gdk-pixbuf) -- 2.23.0 ------------=_1578320882-24657-1--