Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: polikuo on March 14, 2022, 01:47:27 PM

Title: IBus requires systemd now
Post by: polikuo on March 14, 2022, 01:47:27 PM
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.
Title: Re: IBus requires systemd now
Post by: Juanito on March 14, 2022, 01:54:08 PM
Can it be patched to work with elogind?
Title: Re: IBus requires systemd now
Post by: GNUser on March 14, 2022, 02:10:35 PM
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
Title: Re: IBus requires systemd now
Post by: polikuo on March 15, 2022, 12:05:56 AM
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.
Title: Re: IBus requires systemd now
Post by: polikuo on March 15, 2022, 12:37:06 AM
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