Skip to content

Not recognized by IBus since 1.5.7 #4

@Emurikku

Description

@Emurikku

Hello,

Since version 1.5.7, ibus-anthy isn’t recognized anymore by IBus, and I could find why. After the install, there is one particular file that doesn’t have the right paths: /usr/share/ibus/component/anthy.xml. Here’s what it became from 1.5.6 to 1.5.7:

diff -Nru ibus-anthy-1.5.6-x86_64-1ej/usr/share/ibus/component/anthy.xml ibus-anthy-1.5.7-x86_64-1ej/usr/share/ibus/component/anthy.xml
--- ibus-anthy-1.5.6-x86_64-1ej/usr/share/ibus/component/anthy.xml  2016-01-30 01:11:36.000000000 +0100
+++ ibus-anthy-1.5.7-x86_64-1ej/usr/share/ibus/component/anthy.xml  2016-01-30 08:10:09.702103049 +0100
@@ -3,11 +3,11 @@
 <component>
    <name>org.freedesktop.IBus.Anthy</name>
    <description>Anthy Component</description>
-   <exec>/usr/libexec/ibus-engine-anthy --ibus</exec>
-   <version>1.5.6</version>
+   <exec>${exec_prefix}/libexec/ibus-engine-anthy --ibus</exec>
+   <version>1.5.7</version>
    <author>Peng Huang &lt;[email protected]&gt;</author>
    <license>GPL</license>
-   <homepage>http://code.google.com/p/ibus</homepage>
+   <homepage>https://github.com/ibus/ibus/wiki</homepage>
    <textdomain>ibus-anthy</textdomain>

    <!-- for engines -->
@@ -15,5 +15,5 @@
        <path>~/.config/ibus-anthy/engines.xml</path>
        <path>/usr/share/ibus-anthy/engine/default.xml</path>
    </observed-paths>
-   <engines exec="/usr/libexec/ibus-engine-anthy --xml" />
+   <engines exec="${exec_prefix}/libexec/ibus-engine-anthy --xml" />
 </component>

When I replace ${exec_prefix} by /usr, it works again. I think this needs to be addressed in further versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions