Re: ibus in openSUSE 13.2: many ibus input engines can not save setting changes
Fuminobu TAKEYAMA <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <[email protected]> |
> It's exactly the purpose of %ghost: the files should be removed by
> package removal but the package itself doesn't contain the files.
>
> Why %ghost is used at all? For clearing %config attribute?
I expected that the %ghost file is just removed by package removal.
I was wrong.
From 13.2, it seems that %ghost files are not copied into rpms anymore
even though the files exist in %{buildroot}
What is the best way?
# it looks ok to make these files normal ones (but warnings)
%{_sysconfdir}/dconf/db/ibus.d/00-upstream-settings
%{_sysconfdir}/dconf/profile/ibus
# we do not manage this by rpm?
%postun
rm -f %{_sysconfdir}/dconf/db/ibus
# or keep this ghost?
%ghost %{_sysconfdir}/dconf/db/ibus
> Hillwood
Can you file a bug report?
Fuminobu TAKEYAMA
On 2015/03/27 1:16, Takashi Iwai wrote:
> At Fri, 27 Mar 2015 00:48:45 +0900,
> Fuminobu TAKEYAMA wrote:
>>
>> Now I can reproduce this problem.
>> "dconf update" don't help to fix this.
>>
>> I noticed that there is no dconf scheme in /etc/dconf.
>> Why?
>>
>> It is listed in its files list as %ghost but not copied by "make install"
>
> It's exactly the purpose of %ghost: the files should be removed by
> package removal but the package itself doesn't contain the files.
>
> Why %ghost is used at all? For clearing %config attribute?
>
>
> Takashi
>
>>
>>
>> Fuminobu Takeyama
>>
>> On 2015/03/26 23:33, Fuminobu TAKEYAMA wrote:
>>> Hi Hillwood,
>>>
>>> I guess configuration server (dconf) is not working correctly.
>>>
>>> Can you confirm that settings of IBus itself are saved?
>>>
>>> Please try the following command:
>>> $ dconf dump /desktop/ibus/
>>> It should print saved settings like:
>>>
>>> [general]
>>> engines-order=['anthy', 'mozc-jp', 'skk', 'kkc', 'xkb:jp::jpn']
>>> preload-engines=['anthy', 'mozc-jp', 'kkc', 'skk', 'xkb:jp::jpn']
>>> version='1.5.10'
>>>
>>> [engine/anthy/common]
>>> input-mode=3
>>>
>>>
>>> If "dconf dump" does not work, please run:
>>> $ sudo dconf update
>>>
>>> This command should be run at installation time by the post script of
>>> ibus package, but there might be some problems with that script.
>>>
>>>
>>> Fuminobu Takeyama
>>>
>>>
>>> On 2015/03/26 15:33, Hillwood Yang wrote:
>>>> Hi all:
>>>>
>>>> I find a serious problem in openSUSE 13.2. If the system is new
>>>> installation, many ibus input engines can not save setting changes,
>>>> include ibus-pinyin, ibus-sunpinyin, ibus-libpinyin and ibus-anthy. If
>>>> the system upgrade form 13.1, all ibus input engines work fine. I can't
>>>> find the reason.
>>>>
>>>> I need help, thanks.
>>>>
>>>> Hillwood Yang
>>>>
>> --
>> To unsubscribe, e-mail: [email protected]
>> To contact the owner, e-mail: [email protected]
>>
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]