2022-03-14 12:01:30 +00:00
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
|
|
index a3cdb2da..cade9466 100644
|
2019-06-01 12:33:32 +00:00
|
|
|
--- a/configure.ac
|
|
|
|
+++ b/configure.ac
|
2022-03-14 12:01:30 +00:00
|
|
|
@@ -469,11 +469,11 @@ PKG_CHECK_EXISTS([pygobject-3.0 >= $PYGOBJECT_REQUIRED],
|
2019-06-01 12:59:25 +00:00
|
|
|
if test "x$enable_pygobject" = "xyes"; then
|
|
|
|
PKG_CHECK_MODULES(PYTHON, [pygobject-3.0 >= $PYGOBJECT_REQUIRED])
|
|
|
|
|
|
|
|
- pyoverridesdir=`$PYTHON -c "import gi; print(gi._overridesdir)"`
|
|
|
|
+ pyoverridesdir="$prefix/@pythonSitePackages@/gi/overrides"
|
|
|
|
AC_SUBST(pyoverridesdir)
|
|
|
|
|
|
|
|
if test x"$enable_python2" = x"yes"; then
|
|
|
|
- py2overridesdir=`$PYTHON2 -c "import gi; print(gi._overridesdir)"`
|
|
|
|
+ py2overridesdir="$prefix/@pythonSitePackages@/gi/overrides"
|
|
|
|
AC_SUBST(py2overridesdir)
|
|
|
|
fi
|
|
|
|
fi
|
2022-03-14 12:01:30 +00:00
|
|
|
@@ -502,7 +502,7 @@ if test x"$enable_python_library" = x"yes"; then
|
2019-06-01 12:33:32 +00:00
|
|
|
PYTHON2_VERSION=`$PYTHON2 -c "import sys; sys.stdout.write(sys.version[[:3]])"`
|
|
|
|
PYTHON2_LIBDIR="$PYTHON2_PREFIX/lib/python$PYTHON2_VERSION"
|
|
|
|
python2dir="$PYTHON2_LIBDIR/site-packages"
|
|
|
|
- pkgpython2dir="$python2dir/ibus"
|
|
|
|
+ pkgpython2dir="$prefix/@pythonSitePackages@/ibus"
|
|
|
|
AC_SUBST(pkgpython2dir)
|
|
|
|
else
|
|
|
|
enable_python_library="no (disabled, use --enable-python-library to enable)"
|
2022-03-14 12:01:30 +00:00
|
|
|
diff --git a/data/dconf/Makefile.am b/data/dconf/Makefile.am
|
|
|
|
index 5360f033..6d5e726f 100644
|
2019-06-01 12:33:32 +00:00
|
|
|
--- a/data/dconf/Makefile.am
|
|
|
|
+++ b/data/dconf/Makefile.am
|
2022-03-14 12:01:30 +00:00
|
|
|
@@ -50,7 +50,7 @@ man_5dir = $(mandir)/man5
|
2019-06-01 12:33:32 +00:00
|
|
|
|
|
|
|
install-data-hook:
|
|
|
|
if test -z "$(DESTDIR)"; then \
|
|
|
|
- dconf update; \
|
|
|
|
+ true; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2022-03-14 12:01:30 +00:00
|
|
|
diff --git a/setup/ibus-setup.in b/setup/ibus-setup.in
|
|
|
|
index 474ce8a8..ee30808e 100644
|
2019-06-01 12:33:32 +00:00
|
|
|
--- a/setup/ibus-setup.in
|
|
|
|
+++ b/setup/ibus-setup.in
|
2022-03-14 12:01:30 +00:00
|
|
|
@@ -27,5 +27,5 @@ export IBUS_PREFIX=@prefix@
|
2019-06-01 12:33:32 +00:00
|
|
|
export IBUS_DATAROOTDIR=@datarootdir@
|
|
|
|
export IBUS_LOCALEDIR=@localedir@
|
|
|
|
export IBUS_LIBEXECDIR=${libexecdir}
|
2022-03-14 12:01:30 +00:00
|
|
|
-exec ${PYTHON:-@PYTHON@} @prefix@/share/ibus/setup/main.py "$@"
|
|
|
|
+exec @pythonInterpreter@ @prefix@/share/ibus/setup/main.py "$@"
|
2019-06-01 12:33:32 +00:00
|
|
|
|