[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1023340: marked as done (ibus: Fix build on non-Linux)



Your message dated Wed, 02 Nov 2022 22:22:45 +0000
with message-id <E1oqM8D-005BPg-E8@fasolo.debian.org>
and subject line Bug#1023340: fixed in ibus 1.5.27-3
has caused the Debian Bug report #1023340,
regarding ibus: Fix build on non-Linux
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1023340: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1023340
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ibus
Version: 1.5.27-2+b1
Severity: important
Tags: patch

Hello,

ibus currently unconditionally depends on systemd, which is Linux-only.
The attached patch fixes that (and a chmod +x debian/ibus.install is
needed), could you apply it?

Thanks,
Samuel

-- Package-specific info:
ibus is /usr/bin/ibus
ibus-setup is /usr/bin/ibus-setup
im-config -l =>  ibus xim
im-config -m => 'default' 'missing' 'ibus' '' 'ibus'

XMODIFIERS=@im=none
GTK_IM_MODULE=xim
QT_IM_MODULE=xim
WAYLAND_DISPLAY=
XDG_CURRENT_DESKTOP=
XDG_MENU_PREFIX=
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=
XDG_SESSION_ID=1
XDG_SESSION_TYPE=tty

== ls -l /usr/lib/ibus/ibus-* /usr/libexec/ibus-* ==
/bin/ls: cannot access '/usr/lib/ibus/ibus-*': No such file or directory
-rwxr-xr-x 1 root root  22832 Oct 15 22:32 /usr/libexec/ibus-dconf
-rwxr-xr-x 1 root root  14640 Oct 15 22:32 /usr/libexec/ibus-engine-simple
-rwxr-xr-x 1 root root 166192 Oct 15 22:32 /usr/libexec/ibus-extension-gtk3
-rwxr-xr-x 1 root root  18736 Oct 15 22:32 /usr/libexec/ibus-memconf
-rwxr-xr-x 1 root root  92464 Oct 15 22:32 /usr/libexec/ibus-portal
-rwxr-xr-x 1 root root 121144 Oct 15 22:32 /usr/libexec/ibus-ui-emojier
-rwxr-xr-x 1 root root 321904 Oct 15 22:32 /usr/libexec/ibus-ui-gtk3
-rwxr-xr-x 1 root root 100280 Oct 15 22:32 /usr/libexec/ibus-x11

== dpkg-query -l 'ibus*' ==
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version                    Architecture Description
+++-==================-==========================-============-=======================================
ii  ibus               1.5.27-2+b1                amd64        Intelligent Input Bus - core
un  ibus-anthy         <none>                     <none>       (no description available)
un  ibus-array         <none>                     <none>       (no description available)
ii  ibus-braille       0.3-7                      all          Braille input engine for IBus
ii  ibus-clutter:amd64 0.0+git20090728.a936bacf-7 amd64        ibus input method framework for clutter
ii  ibus-data          1.5.27-2                   all          Intelligent Input Bus - data files
un  ibus-doc           <none>                     <none>       (no description available)
un  ibus-el            <none>                     <none>       (no description available)
un  ibus-googlepinyin  <none>                     <none>       (no description available)
ii  ibus-gtk:amd64     1.5.27-2+b1                amd64        Intelligent Input Bus - GTK2 support
ii  ibus-gtk3:amd64    1.5.27-2+b1                amd64        Intelligent Input Bus - GTK3 support
ii  ibus-gtk4:amd64    1.5.27-2+b1                amd64        Intelligent Input Bus - GTK4 support
un  ibus-pinyin        <none>                     <none>       (no description available)

=== gsettings ===
org.freedesktop.ibus.general dconf-preserve-name-prefixes ['/desktop/ibus/engine/pinyin', '/desktop/ibus/engine/bopomofo', '/desktop/ibus/engine/hangul']
org.freedesktop.ibus.general embed-preedit-text true
org.freedesktop.ibus.general enable-by-default false
org.freedesktop.ibus.general engines-order ['xkb:us::eng', 'xkb:fr:oss:fra', 'braille', 'xkb:fr::fra']
org.freedesktop.ibus.general preload-engines ['xkb:us::eng', 'xkb:fr:oss:fra', 'braille', 'xkb:fr::fra']
org.freedesktop.ibus.general switcher-delay-time 400
org.freedesktop.ibus.general use-global-engine true
org.freedesktop.ibus.general use-system-keyboard-layout false
org.freedesktop.ibus.general use-xmodmap true
org.freedesktop.ibus.general version '1.5.21'
org.freedesktop.ibus.general xkb-latin-layouts ['af', 'af(fa-olpc)', 'af(ps-olpc)', 'af(ps)', 'af(uz)', 'af(uz-olpc)', 'am', 'am(eastern)', 'am(eastern-alt)', 'am(phonetic)', 'am(phonetic-alt)', 'am(western)', 'ara', 'ara(azerty)', 'ara(azerty_digits)', 'ara(buckwalter)', 'ara(digits)', 'ara(qwerty)', 'ara(qwerty_digits)', 'az(cyrillic)', 'bd', 'bd(probhat)', 'bg', 'bg(bas_phonetic)', 'bg(phonetic)', 'brai', 'brai(left_hand)', 'brai(right_hand)', 'bt', 'by', 'by(legacy)', 'ca(ike)', 'ca(multi-2gr)', 'cn(tib)', 'cn(tib_asciinum)', 'cn(ug)', 'cz', 'cz(ucw)', 'de(ru)', 'dev', 'et', 'fr(geo)', 'ge', 'ge(os)', 'gr', 'gr(extended)', 'gr(nodeadkeys)', 'gr(polytonic)', 'gr(simple)', 'gur', 'il', 'il(biblical)', 'il(lyx)', 'il(phonetic)', 'in', 'in(ben)', 'in(ben_baishakhi)', 'in(ben_bornona)', 'in(ben_gitanjali)', 'in(ben_inscript)', 'in(ben_probhat)', 'in(bolnagri)', 'in(deva)', 'in(guj)', 'in(guru)', 'in(hin-kagapa)', 'in(hin-wx)', 'in(jhelum)', 'in(kan)', 'in(kan-kagapa)', 'in(mal)', 'in(mal_enhanced)', 'in(mal_lalitha)', 'in(mar-kagapa)', 'in(ori)', 'in(san-kagapa)', 'in(tam)', 'in(tam_tamilnet)', 'in(tam_tamilnet_TAB)', 'in(tam_tamilnet_TSCII)', 'in(tam_tamilnet_with_tam_nums)', 'in(tel)', 'in(tel-kagapa)', 'in(urd-phonetic)', 'in(urd-phonetic3)', 'in(urd-winkeys)', 'iq', 'ir', 'ir(pes_keypad)', 'jp(kana)', 'jp(mac)', 'kg', 'kg(phonetic)', 'kh', 'kz', 'kz(kazrus)', 'kz(ruskaz)', 'la', 'la(stea)', 'lk', 'lk(tam_TAB)', 'lk(tam_unicode)', 'ma', 'ma(tifinagh)', 'ma(tifinagh-alt)', 'ma(tifinagh-alt-phonetic)', 'ma(tifinagh-extended)', 'ma(tifinagh-extended-phonetic)', 'ma(tifinagh-phonetic)', 'me(cyrillic)', 'me(cyrillicalternatequotes)', 'me(cyrillicyz)', 'mk', 'mk(nodeadkeys)', 'mm', 'mn', 'mv', 'np', 'ph(capewell-dvorak-bay)', 'ph(capewell-qwerf2k6-bay)', 'ph(colemak-bay)', 'ph(dvorak-bay)', 'ph(qwerty-bay)', 'pk', 'pk(ara)', 'pk(snd)', 'pk(urd-crulp)', 'pk(urd-nla)', 'pl(ru_phonetic_dvorak)', 'rs', 'rs(alternatequotes)', 'rs(rue)', 'rs(yz)', 'ru', 'ru(bak)', 'ru(chm)', 'ru(cv)', 'ru(dos)', 'ru(kom)', 'ru(legacy)', 'ru(mac)', 'ru(os_legacy)', 'ru(os_winkeys)', 'ru(phonetic)', 'ru(phonetic_winkeys)', 'ru(sah)', 'ru(srp)', 'ru(tt)', 'ru(typewriter)', 'ru(typewriter-legacy)', 'ru(udm)', 'ru(xal)', 'se(rus)', 'se(rus_nodeadkeys)', 'se(swl)', 'sy', 'sy(syc)', 'sy(syc_phonetic)', 'th', 'th(pat)', 'th(tis)', 'tj', 'tj(legacy)', 'tz', 'ua', 'ua(homophonic)', 'ua(legacy)', 'ua(phonetic)', 'ua(rstu)', 'ua(rstu_ru)', 'ua(typewriter)', 'ua(winkeys)', 'us(chr)', 'us(rus)', 'uz']
org.freedesktop.ibus.general.hotkey disable-unconditional @as []
org.freedesktop.ibus.general.hotkey enable-unconditional @as []
org.freedesktop.ibus.general.hotkey next-engine ['Alt+Shift_L']
org.freedesktop.ibus.general.hotkey next-engine-in-menu ['Alt+Shift_L']
org.freedesktop.ibus.general.hotkey prev-engine @as []
org.freedesktop.ibus.general.hotkey previous-engine @as []
org.freedesktop.ibus.general.hotkey trigger ['Control+space', 'Zenkaku_Hankaku', 'Alt+Kanji', 'Alt+grave', 'Hangul', 'Alt+Release+Alt_R']
org.freedesktop.ibus.general.hotkey triggers ['<Control>Tab']
org.freedesktop.ibus.panel auto-hide-timeout 10000
org.freedesktop.ibus.panel custom-font 'Sans 10'
org.freedesktop.ibus.panel custom-icon 'Adwaita'
org.freedesktop.ibus.panel custom-theme 'Adwaita'
org.freedesktop.ibus.panel follow-input-cursor-when-always-shown false
org.freedesktop.ibus.panel lookup-table-orientation 0
org.freedesktop.ibus.panel property-icon-delay-time 500
org.freedesktop.ibus.panel show 2
org.freedesktop.ibus.panel show-icon-on-systray true
org.freedesktop.ibus.panel show-im-name false
org.freedesktop.ibus.panel use-custom-font false
org.freedesktop.ibus.panel use-custom-icon false
org.freedesktop.ibus.panel use-custom-theme false
org.freedesktop.ibus.panel use-glyph-from-engine-lang true
org.freedesktop.ibus.panel x -1
org.freedesktop.ibus.panel xkb-icon-rgba '#51a2da'
org.freedesktop.ibus.panel y -1
org.freedesktop.ibus.panel.emoji favorite-annotations @as []
org.freedesktop.ibus.panel.emoji favorites @as []
org.freedesktop.ibus.panel.emoji font 'Monospace 16'
org.freedesktop.ibus.panel.emoji has-partial-match false
org.freedesktop.ibus.panel.emoji hotkey ['<Super>period']
org.freedesktop.ibus.panel.emoji lang 'en'
org.freedesktop.ibus.panel.emoji load-emoji-at-startup true
org.freedesktop.ibus.panel.emoji load-unicode-at-startup false
org.freedesktop.ibus.panel.emoji partial-match-condition 0
org.freedesktop.ibus.panel.emoji partial-match-length 3
org.freedesktop.ibus.panel.emoji unicode-hotkey ['<Control><Shift>u']

=== localectl status ===
   System Locale: LANG=fr_FR.UTF-8
       VC Keymap: n/a
      X11 Layout: fr,brai
       X11 Model: pc105
     X11 Variant: oss,
     X11 Options: compose:lwin,nbsp:level3n,grp:shift_caps_toggle,grp_led:scroll,terminate:ctrl_alt_bksp,kpdl:kposs

=== /etc/X11/default-display-manager ===
/usr/sbin/lightdm

=== setxkbmap -print ===


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), (500, 'proposed-updates'), (500, 'oldstable-proposed-updates'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.0.0-2-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ibus depends on:
ii  adwaita-icon-theme   43-1
ii  dconf-cli            0.40.0-3
ii  gir1.2-gtk-3.0       3.24.34-3
ii  gir1.2-ibus-1.0      1.5.27-2+b1
ii  ibus-data            1.5.27-2
ii  init-system-helpers  1.65.2
ii  libatk1.0-0          2.46.0-3
ii  libc6                2.35-4
ii  libcairo2            1.16.0-6
ii  libdconf1            0.40.0-3
ii  libgdk-pixbuf-2.0-0  2.42.9+dfsg-1
ii  libglib2.0-0         2.74.0-3
ii  libgtk-3-0           3.24.34-3
ii  libibus-1.0-5        1.5.27-2+b1
ii  libnotify4           0.8.1-1
ii  libpango-1.0-0       1.50.10+ds-1
ii  libpangocairo-1.0-0  1.50.10+ds-1
ii  libx11-6             2:1.8.1-2
ii  libxfixes3           1:6.0.0-2
ii  libxi6               2:1.8-1+b1
ii  python3              3.10.6-1
ii  python3-gi           3.42.2-2
ii  python3-ibus-1.0     1.5.27-2

Versions of packages ibus recommends:
ii  ibus-gtk   1.5.27-2+b1
ii  ibus-gtk3  1.5.27-2+b1
ii  ibus-gtk4  1.5.27-2+b1
ii  im-config  0.52-1

Versions of packages ibus suggests:
ii  ibus-clutter  0.0+git20090728.a936bacf-7
pn  ibus-doc      <none>

-- no debconf information

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- debian/control.original	2022-11-02 15:42:45.672349418 +0100
+++ debian/control	2022-11-02 16:28:50.363766525 +0100
@@ -7,6 +7,7 @@
            Osamu Aoki <osamu@debian.org>,
 Build-Depends: dbus-x11 (>= 1.8) <!nocheck>,
                debhelper-compat (= 13),
+               dh-exec,
                desktop-file-utils,
                dh-python,
                gettext (>= 0.19.8),
@@ -29,7 +30,7 @@
                pkg-config (>= 0.16),
                python-gi-dev (>= 3.0.0~),
                python3-all,
-               systemd,
+               systemd [linux-any],
                unicode-cldr-core,
                unicode-data (>= 13.0.0-2),
                valac (>= 0.20),
--- debian/rules.original	2022-11-02 16:05:11.033824809 +0100
+++ debian/rules	2022-11-02 16:11:28.076350098 +0100
@@ -63,9 +63,9 @@
 CONFIGURE_FLAGS += --enable-memconf
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
-CONFIGURE_FLAGS += --enable-wayland
+CONFIGURE_FLAGS += --enable-wayland --enable-systemd-services
 else
-CONFIGURE_FLAGS += --disable-wayland
+CONFIGURE_FLAGS += --disable-wayland --disable-systemd-services
 endif
 
 override_dh_auto_configure:
--- debian/ibus.install.original	2022-11-02 16:29:14.015970707 +0100
+++ debian/ibus.install	2022-11-02 16:29:20.144023521 +0100
@@ -1,9 +1,10 @@
+#! /usr/bin/dh-exec
 etc/dconf/*
 etc/xdg/Xwayland-session.d/*
 usr/bin/ibus
 usr/bin/ibus-daemon
 usr/bin/ibus-setup
-usr/lib/systemd/user/*
+[linux-any] usr/lib/systemd/user/*
 usr/libexec/ibus-dconf
 usr/libexec/ibus-engine-simple
 usr/libexec/ibus-extension-gtk3

--- End Message ---
--- Begin Message ---
Source: ibus
Source-Version: 1.5.27-3
Done: Gunnar Hjalmarsson <gunnarhj@debian.org>

We believe that the bug you reported is fixed in the latest version of
ibus, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1023340@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gunnar Hjalmarsson <gunnarhj@debian.org> (supplier of updated ibus package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 02 Nov 2022 23:01:09 +0100
Source: ibus
Built-For-Profiles: noudeb
Architecture: source
Version: 1.5.27-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Gunnar Hjalmarsson <gunnarhj@debian.org>
Closes: 955219 1019453 1023340
Changes:
 ibus (1.5.27-3) unstable; urgency=medium
 .
   * Team upload
 .
   [ Changwoo Ryu ]
   * Drop the FHS 2.x /usr/lib/ibus compatibility; all the ibus engine
     packages have been migrated to use /usr/libexec. (Closes: #955219)
 .
   [ Eberhard Beilharz ]
   * Fix surrounding text issue (closes: #1019453):
     - d/p/client-gtk2_Stop-many-warnings-of-surrounding-text.patch
     - d/p/client-gtk2_Update-capabilities-if-retrieve-surrounding-.patch
     - d/p/client-gtk2_Update-surrounding-text-properties-by-focus-.patch
 .
   [ Samuel Thibault ]
   * Ignore systemd when building on non-Linux (closes: #1023340)
Checksums-Sha1:
 a79a218a6c27576dd59a4424f6a9e70d734ede1d 2951 ibus_1.5.27-3.dsc
 1abbc84ee1f5707421ee98cfc7151008f7d45988 31240 ibus_1.5.27-3.debian.tar.xz
 6f0359b0659b1a000cc1743751b5cb28c6e4437a 18158 ibus_1.5.27-3_source.buildinfo
Checksums-Sha256:
 a6d83ec6ea5b6f1ced20c3e1627601796548fa1a1658aa01c117728dd797b3a9 2951 ibus_1.5.27-3.dsc
 0dc4907be800041b1a2e1f557bc862d1616497525288bf2c6d217792c44b10cd 31240 ibus_1.5.27-3.debian.tar.xz
 daf3f728dc86738f6149ba90794a18a773ae9b1c5d876459b8c8596515f62c03 18158 ibus_1.5.27-3_source.buildinfo
Files:
 13c240effb9b504f95d61a7df5adc529 2951 utils optional ibus_1.5.27-3.dsc
 0f79ea6d1f53888abedc6dcb76f19ecb 31240 utils optional ibus_1.5.27-3.debian.tar.xz
 fba735efb59356290f44d50a401d3e9b 18158 utils optional ibus_1.5.27-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEDP6Ze3JFgKf6cvjP8LEQ51ppLzIFAmNi6oMACgkQ8LEQ51pp
LzJpEgf/VXNtmrtnyC/I68NqdAh6fMOlchrp2zALwMtpoR0AB9mTNebTh8La44il
1h7t3eO6lD8C5Ag2QxfWG19IunikZOWST0YnYQZUTGpAzoUeDrQcR+W7XHf5kJX7
xM+Hz5CTYZPqbA+Wrtvn3YNbco7K+JQP6x9WJe+NzI0pb1y52JNuUZmrqwpBuWqx
9sj83N4s04rdMiLGxK5M8Ig6kZCkirNkIFgUhMBJ38p/Veoix2s6bdKcD/3NN47+
myKT3Zn8P64ko65AxWBRtPU6bsZgcV9WLua6rfiib4fMGtu69J7AGZdMyy228Oac
5gIuw3H0d76KqvR09N7GyfE5DKLnwg==
=SsR7
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: