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]> |
> What kind of warning do you get?
That is just "non-conffile-in-etc"
> Also remove %config from %{_sysconfdir}/dconf/db/ibus.d, too.
> Just keep it simple.
done
Then, %{_sysconfdir}/dconf/db/ibus is a file that 'dconf update'
generates at %post, and "make install" does not install it.
Isn't it the right case to use %ghost?
The spec file from Fedora does not list
%{_sysconfdir}/dconf/db/ibus in %files and removes it by %postun.
The following package works fine to me.
I tested by removing ibus once and then installing it again:
https://build.opensuse.org/package/rdiff/home:ftake:branches:M17N/ibus?opackage=ibus&oproject=M17N&rev=6
> Hillwood
Thanks for your report.
Fuminobu Takeyama
On 2015年03月27日 02:25, Takashi Iwai wrote:
> At Fri, 27 Mar 2015 02:20:11 +0900,
> Fuminobu TAKEYAMA wrote:
>>
>> > 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
>
> Also remove %config from %{_sysconfdir}/dconf/db/ibus.d, too.
> Just keep it simple.
>
> What kind of warning do you get?
>
>> # we do not manage this by rpm?
>> %postun
>> rm -f %{_sysconfdir}/dconf/db/ibus
>
> This would break the update.
>
>> # or keep this ghost?
>> %ghost %{_sysconfdir}/dconf/db/ibus
>
> I guess this is bogus, too.
>
>
> Takashi
>
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]