Fixes <https://issues.guix.gnu.org/61236>.
* gnu/packages/ibus.scm (ibus-speech-to-text)[#:phases]
<add-install-to-pythonpath>: New phase.
<wrap-additional-paths>: Use getenv to set GUIX_PYTHONPATH and GI_TYPELIB_PATH.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This reduces the size of ibus-minimal from 1446.7 MiB to 1222.3 MiB.
* gnu/packages/ibus.scm (ibus-minimal): Remove "--enable-python-library" flag.
[phases] {wrap-with-additional-paths}: Do not wrap GUIX_PYTHONPATH.
[inputs]: Move python-pygobject, python and python-dbus to...
(ibus) [inputs]: ... here.
[arguments]: Add --enable-python-library configure flag and override
wrap-with-additional-paths phase.
* gnu/packages/ibus.scm (ibus): Update to 1.5.27.
[arguments]: Use gexps.
[configure-flags]: Use search-input-file. Add '--disable-systemd-services'.
[make-flags]: Add the DISABLE_GUI_TEST variable.
[phases]{patch-docbook-xml}: Use this-package-native-input.
{patch-python-target-directories}: Break line.
{fix-paths}: Use format to double quote command.
[inputs, native-inputs]: Delete labels.
[inputs]: Add bash-minimal.
This is a follow-up to 39b118776b, which
applied the wrong modernization metaphors. For more information, see
<https://issues.guix.gnu.org/52576#16>.
* gnu/packages/ibus.scm (ibus-anthy)[#:phases]<wrap-programs>: Refer to
outputs by assoc-ref.
* gnu/packages/ibus.scm (ibus-anthy)[phases]: Delete trailing #t and adjust to
use search-input-file and search-input-directory.
[native-inputs]: Use new style.
[inputs]: Likewise.
* gnu/packages/ibus.scm (librime)[source]: Add a patch that adds missing
includes.
* gnu/packages/patches/librime-fix-build-with-gcc10.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Signed-off-by: Leo Famulari <leo@famulari.name>
* gnu/packages/ibus.scm (ibus)[outputs](doc): New output.
[configure-flags](enable-gtk-doc): New flag.
[phases](patch-docbook-xml): New phase.
(move-doc): New phase.
[native-inputs]: Add docbook-xml and gtk-doc.
GConf has been deprecated for a while. This change removes GConf (and
thus ORBit) from the closure of GNOME.
* gnu/packages/ibus.scm (ibus)[inputs]: Remove GCONF.
* gnu/packages/ibus.scm (rime-data)[arguments]: Iterate over inputs to find
Rime schemas rather than using a pre-loaded list.
[native-inputs]: Move to ...
[inputs]: ... here.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>