WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: IBus requires systemd now  (Read 1149 times)

Offline polikuo

  • Hero Member
  • *****
  • Posts: 710
IBus requires systemd now
« on: March 14, 2022, 10:47:27 AM »
The latest version (ibus-1.5.26) is released a few hours ago.

Code: [Select]
checking for
        systemd >= 0.7.5
    ... no
configure: error: Package requirements (
        systemd >= 0.7.5
    ) were not met:

No package 'systemd' found

I haven't found a way to bypass that.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14311
Re: IBus requires systemd now
« Reply #1 on: March 14, 2022, 10:54:08 AM »
Can it be patched to work with elogind?

Offline GNUser

  • Hero Member
  • *****
  • Posts: 1199
Re: IBus requires systemd now
« Reply #2 on: March 14, 2022, 11:10:35 AM »
Hi, polikuo. Mind me asking what you need ibus for? I used ibus for a decade (to input diacritics when typing in Portuguese and Esperanto) until a few years ago when I discovered that Xorg (via setxkbmap) had everything I needed already built-in.

https://wiki.gentoo.org/wiki/Keyboard_layout_switching

P.S. My keyboard is QWERTY, US layout. When I need to activate deadkeys (for Portuguese) and AltGr on CapsLock (for Esperanto) and CapsLock on the Escape key, I enter this command:
Code: [Select]
setxkbmap -layout us -variant intl -option lv3:caps_switch,esperanto:qwerty,caps:swapescape
The "-variant intl" part is what turns the keys with certain symbols (e.g., ~`^') into dead keys.
To go back to my keyboard's default behavior (no international deadkeys, no custom options), either a reboot or entering this command does the trick:
Code: [Select]
setxkbmap -layout us -option
« Last Edit: March 14, 2022, 11:21:23 AM by GNUser »

Offline polikuo

  • Hero Member
  • *****
  • Posts: 710
Re: IBus requires systemd now
« Reply #3 on: March 14, 2022, 09:05:56 PM »
Can it be patched to work with elogind?
I haven't found any

Hi, polikuo. Mind me asking what you need ibus for?
For languages that doesn't use alphabet.
Such as Chinese.
Our keyboard layout is (always) QWERTY, US
We use different key combo to type a single Chinese character.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 710
Re: IBus requires systemd now
« Reply #4 on: March 14, 2022, 09:37:06 PM »
Found it.
I really need to change my habit.
No more compiling at 2AM  :P
Code: [Select]
AC_ARG_ENABLE(systemd-services,
    AS_HELP_STRING([--disable-systemd-services],
                   [Disable systemd services installation]),
    [enable_systemd=$enableval],
    [enable_systemd=yes]
AM_CONDITIONAL([ENABLE_SYSTEMD], [test x"$enable_systemd" = x"yes"])
if test x"$enable_systemd" = x"yes"; then
        systemd >= 0.7.5
    AC_SUBST([SYSTEMD_USER_UNIT_DIR], [`$PKG_CONFIG --variable systemduserunitdir systemd`])
    enable_systemd="yes (enabled, use --disable-systemd-services to disable)"
  Install systemd service       $enable_systemd
Sorry for the noise