From patchwork Wed Jan 1 10:28:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Kozlov X-Patchwork-Id: 19507 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 BB9AB179D3; Wed, 1 Jan 2020 17:24:17 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 87C13179D3 for ; Wed, 1 Jan 2020 17:24:17 +0000 (GMT) Received: from localhost ([::1]:60342 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imhjE-0001rp-Sr for patchwork@mira.cbaines.net; Wed, 01 Jan 2020 12:24:16 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:54716) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imhj6-0001rP-PD for guix-patches@gnu.org; Wed, 01 Jan 2020 12:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1imhj1-0002yB-9B for guix-patches@gnu.org; Wed, 01 Jan 2020 12:24:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59773) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1imhj0-0002xd-Ve for guix-patches@gnu.org; Wed, 01 Jan 2020 12:24:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1imhj0-0003kX-Sz for guix-patches@gnu.org; Wed, 01 Jan 2020 12:24:02 -0500 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 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> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" X-getmail-retrieved-from-mailbox: Patches 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)