Package: maliit-inputcontext-gtk3
Version: 0.99.1+git20151116.72d7576-1
Severity: grave

maliit-inputcontext-gtk3 installs input modules into /usr/lib/gtk-3.0,
but GTK 3 stopped searching that directory in 2015 (3.18.0-1) after all
other GTK modules were updated to install into
/usr/lib/${DEB_HOST_MULTIARCH}/gtk-3.0. As a result, unless there is
something weird going on here, maliit-inputcontext-gtk3 will not actually
do anything. (I have not verified this, I don't have Maliit installed.)

maliit-inputcontext-gtk was first uploaded in July 2022, which makes me
wonder how it ever worked. How was this package tested?

Similarly, maliit-inputcontext-gtk2 installs input modules into
/usr/lib/gtk-2.0, which is only supported because of a Debian-specific
patch. It should install into an equivalent path below
/usr/lib/${DEB_HOST_MULTIARCH}/gtk-2.0 instead (although this part is not
currently RC, because GTK 2 still has that patch).

Looking at the source code, it seems that this package uses non-standard
installation directories (doesn't use GNUInstallDirs), but building with

    COMMON_CONFIGURE_FLAGS += -DLIB_INSTALL_DIR="lib/${DEB_HOST_MULTIARCH}"

is likely to be sufficient.

    smcv

Reply via email to