Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1312 by [email protected]: Multiarch support for GTK2/3 immodules
http://code.google.com/p/ibus/issues/detail?id=1312

In configure.ac

if test x"$enable_gtk2" = x"yes"; then
    # check for gdk2
    gtk2_binary_version=`$PKG_CONFIG --variable=gtk_binary_version gtk+-2.0`
    GTK2_IM_MODULEDIR="$libdir"/gtk-2.0/$gtk2_binary_version/immodules

    PKG_CHECK_MODULES(GDK2, [
        gdk-2.0
    ])
else
    enable_gtk2="no (disabled, use --enable-gtk2 to enable)"
fi

GTK2_IM_MODULEDIR="$libdir"/gtk-2.0/$gtk2_binary_version/immodules
The $libdir maybe modified to some other, maybe like GTK2_LIBDIR in cmake, but I am not very familiar to autotools.


And the same to GTK3 immodules

--
You received this message because you are subscribed to the Google
Groups "ibus-devel" group.
iBus project web page: http://code.google.com/p/ibus/
iBus dev group: http://groups.google.com/group/ibus-devel?hl=en

回复