#955241 ibus-sunpinyin: Migrate from /usr/lib/ibus to /usr/libexec

Package:
ibus-sunpinyin
Source:
ibus-sunpinyin
Description:
sunpinyin engine for ibus
Submitter:
Changwoo Ryu
Date:
2022-06-05 18:09:03 UTC
Severity:
wishlist
#955241#5
Date:
2020-03-28 17:16:23 UTC
From:
To:
Hello,

ibus-sunpinyin uses --libexec-dir=/usr/lib/ibus configure flag. But it is
not needed anymore. Please remove the --libexec-dir flag in the next
uploads.

ibus-sunpinyin has setup in /usr/lib/ibus but it was specified in the <setup> in
the XML so you don't have to change other things.


Details:

ibus used /usr/lib/ibus as "libexec" dir for FHS 2.x compliance.
And all the ibus engine packages also used the same libexec dir
/usr/lib/ibus, because ibus-setup searched ibus-setup-NAME in libexec
dir as fallback.

But FHS 3.0 allows using /usr/libexec, so the newer ibus 1.5.22-2
just uses /usr/libexec. ibus-setup provides compatibility with the old
fallback setup path /usr/lib/ibus/ibus-setup-NAME. When ibus-setup
uses such a fallback, it will display a warning like this:

  Warning: Using old FHS 2.x path /usr/lib/ibus/ibus-setup-NAME

This FHS 2.x compatibility is to be removed after some time.

If your ibus-NAME package have explicit <setup> in
your /usr/share/ibus/NAME.xml, you don't have to worry and just remove
--libexec-dir=/usr/lib/ibus flag in the next uploads.

If your package does not have <setup> in /usr/share/ibus/<NAME>.xml,
it is encouraged to patch your package to have <setup> in the XML.
Then it will work with older versions of ibus package. For example:

https://salsa.debian.org/input-method-team/ibus-hangul/blob/master/debian/patches/specify-setup-in-ibus-component.patch

Please don't forget to upstream the changes.

Without <setup> or --libexec-dir flag, /usr/libexec/ibus-setup-NAME will
work only with the newer versions of ibus. If it's too difficult to patch
and you decided not to patch, don't forget to add the versioned dependency
"ibus (>= 1.5.22-2)" to Depends.


Thanks,

#955241#10
Date:
2022-06-05 18:05:32 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
ibus-sunpinyin, 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 955241@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <byang@debian.org> (supplier of updated ibus-sunpinyin 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)
Format: 1.8
Date: Sun, 05 Jun 2022 13:39:31 -0400
Source: ibus-sunpinyin
Architecture: source
Version: 2.0.3+git20210228-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Input Method Team <debian-input-method@lists.debian.org>
Changed-By: Boyuan Yang <byang@debian.org>
Closes: 955241 961615
Changes:
 ibus-sunpinyin (2.0.3+git20210228-1) unstable; urgency=medium
 .
   * Team upload.
   * Import upstream embedded commit (20210228).
   * Remove Liang Guo from the uploaders list. (Closes: #961615)
     Thanks for all your work!
   * debian/: Apply wrap-and-sort -abst.
   * debian/control: Bump Standards-Version to 4.6.1.
   * debian/control: Bump debhelper compat to v13.
   * debian/control: Add versioned ibus dependency (>= 1.5.22-2)
     for libexecdir.
   * debian/rules: Drop --as-needed and useless override.
   * debian/patches:
     + Drop upstream-applied patches.
     + Update libexec patch following recent ibus update.
       (Closes: #955241)
Checksums-Sha1:
 5314d714319bb59f6f01a2ba23ff0b816bdd34ac 2270 ibus-sunpinyin_2.0.3+git20210228-1.dsc
 b0120e36e579fe5be67a30411a33519c2fdfb77b 220074 ibus-sunpinyin_2.0.3+git20210228.orig.tar.gz
 4433a53db4517919ee269d8405666dabcac6b1ab 10040 ibus-sunpinyin_2.0.3+git20210228-1.debian.tar.xz
 96404dc15e5e804f1dd8149ac7712979d9b31114 11190 ibus-sunpinyin_2.0.3+git20210228-1_amd64.buildinfo
Checksums-Sha256:
 d314d27924177340c96f5b456fdb5a3a1af8055c4b29783de02b26953a69eee6 2270 ibus-sunpinyin_2.0.3+git20210228-1.dsc
 e608528fa1cb2a530cd77c16628e01751307b9c964e84dfaf0372adaa11f2cc4 220074 ibus-sunpinyin_2.0.3+git20210228.orig.tar.gz
 a657ff15b996e1f6448832a0234260223544c947e70fd7cb6e22779652fe82bb 10040 ibus-sunpinyin_2.0.3+git20210228-1.debian.tar.xz
 81c3cd02e55cd32b3574b38e2a110141c73d19595863011ba8699421f62e2f54 11190 ibus-sunpinyin_2.0.3+git20210228-1_amd64.buildinfo
Files:
 330d1bed2f1c47b6b152ec8098d77bd8 2270 utils optional ibus-sunpinyin_2.0.3+git20210228-1.dsc
 dd842c671250ade42eb1f0dc8ba338d2 220074 utils optional ibus-sunpinyin_2.0.3+git20210228.orig.tar.gz
 94fe681d754a7be5e92639bea2fc8c90 10040 utils optional ibus-sunpinyin_2.0.3+git20210228-1.debian.tar.xz
 61d397713ad540d15469556226c99a26 11190 utils optional ibus-sunpinyin_2.0.3+git20210228-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmKc6v0ACgkQwpPntGGC
Ws4yNRAAggvSwz482RTBOa80ZkePRRtCUcQoKYT8w2Z4XxWYXMZxS1MOT6Q4e039
/ZIvOTD35KR45bCp+VHn/nG5zT2jbwAY0s/QGBOXNs1kXedy82t1Dmf0BM133fq4
NZPH3oDkEbtJGMD+za/UMFFRefMNe57R21ET2C3bzDX8+Mgycx5HzKrsna97+12p
OjEaoy50lfJdvcwamTEo1tDKAEvI7YcrIwpejsOdG4U4USRGPt7l1bsqCY7V9a7O
+nSJ4pnCVI6P+s5QfAFDly1GPXuPy3ub/Vx7FnBRJqt0Zbj0tyXZ+BRcBe7Pb06x
VEF1qtzgpe4MTtQgwi4tv+e7rStZa0GptPfyW0ZvLxbFOTxAkgOuz2IcxR/cGwgj
S7TTn+aOyxSaMCJEDhEHlJ+qyW/wf38zb3bpeRG6WzrL6wp992nqjOTtwEyO7H9D
Y5ANRmxnP8iRpXnKceg0HbW1fPlNCDxew5Q0LE9RDVH5p7OosL1jumXx1glgRMnl
E2Ild9mucUwzntdufahChHjGmnWJMEvdRMr+oql4oRMryJT+7viyuACd24sOQ6b3
7uPHM1CV61E5NNOO4BAb9VD/+1R8oA/HJNE7Kdmadb72yT5/Gk5X4f0vL2Bci6fP
ow60JoWnhVjDO6iEFp7SQq8h/wT8YRH7N3pgOAjN+Z2pW4FgIGQ=
=YHw8
-----END PGP SIGNATURE-----