[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IBus and different GTK versions
From: |
宋文武 |
Subject: |
Re: IBus and different GTK versions |
Date: |
Sun, 13 Sep 2015 19:51:23 +0800 |
User-agent: |
Notmuch/0.19 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-unknown-linux-gnu) |
Ricardo Wurmus <address@hidden> writes:
> [...]
>
> It seems that GTK3 only looks for
> ‘$libdir/gtk-3.0/3.0.0/immodules.cache’ and GTK2 only looks for
> ‘$libdir/gtk-2.0/2.10.0/immodules.cache’ by default, where ‘$libdir’ is
> ‘$out/lib’ of the GTK package. (According to
> https://developer.gnome.org/gtk3/stable/gtk-running.html)
>
> To make IBus work we need to find a way to make the different major
> versions of GTK respect different ‘immodules.cache’ files that are *not*
> located in their ‘$libdir’. In that case we could generate a fresh
> ‘immodules.cache’ file for each major GTK version when building a
> profile. Unfortunately, I haven’t been able to find any documented
> means to achieve this. It might require patching the GTKs to check an
> additional path or environment variable.
>
We can set 'GTK_EXE_PREFIX' to the '~/.guix-profile', and generate the
'immodules.cache' files in a profile hook. It will work for both gtk2
and gtk3 applications.
- IBus and different GTK versions, Ricardo Wurmus, 2015/09/13
- Re: IBus and different GTK versions,
宋文武 <=
- Re: IBus and different GTK versions, Ludovic Courtès, 2015/09/14
- Re: IBus and different GTK versions, Ricardo Wurmus, 2015/09/14
- Re: IBus and different GTK versions, 宋文武, 2015/09/14
- Re: IBus and different GTK versions, Ricardo Wurmus, 2015/09/15
- Re: IBus and different GTK versions, Ricardo Wurmus, 2015/09/20
- Re: IBus and different GTK versions, Ricardo Wurmus, 2015/09/20
- Re: IBus and different GTK versions, Ludovic Courtès, 2015/09/21