#955971 xiphos: Depends on deprecated dbus-glib

#955971#5
Date:
2020-04-05 14:21:45 UTC
From:
To:
dbus-glib is a deprecated D-Bus library with some significant design
flaws, and is essentially unmaintained. I would like to minimize its
use, and eventually remove it from Debian. There will not be a
version that fixes its design flaws, because that would be a major
compatibility break, and any user of dbus-glib who is willing to port
their application to a newer, incompatible version should instead be
porting their application to a better D-Bus implementation such as
GDBus.

For most purposes, the recommended replacement for dbus-glib is the
GDBus family of APIs in GLib, found in <gio/gio.h>. This does not add
an additional dependency, because dbus-glib already depends on a
sufficiently new version of GLib. A porting guide is available in the
GLib documentation:
<https://developer.gnome.org/gio/stable/ch35.html>. Practical
examples of porting from dbus-glib to GDBus can be found in the git
history of most older GNOME applications.

Alternatives to GDBus, with different design emphasis and trade-offs,
include sd-bus (systemd's D-Bus implementation), QtDBus (Qt's D-Bus
API), and libdbus (the low-level reference D-Bus implementation).
Please contact the D-Bus mailing list <dbus at lists.freedesktop.org>
if you are unsure which D-Bus implementation is most suitable for a
particular package.

Some libraries expose dbus-glib as part of their API/ABI, in which
case removing the deprecated dependency requires breaking API/ABI
(telepathy-glib is a good example). For these libraries, maintainers
should talk to the dependent library's upstream developers about
whether the dependent library should break API/ABI and switch to
GDBus, or whether the dependent library should itself be deprecated.

In a few cases, the package uses the reference D-Bus library libdbus
for all D-Bus-related APIs, and only uses dbus-glib as a way to
connect libdbus to the GLib main loop: if the only functions
referenced from dbus-glib are dbus_connection_setup_with_g_main() and
dbus_server_setup_with_g_main(), then you are in this situation. The
recommended replacement in this case is to bundle the dbus-gmain
branch from the dbus-glib git repository, for example as a `git
subtree` or `git submodule`. For example, dbus-python's GLib
integration now works like this. See
<https://gitlab.freedesktop.org/dbus/dbus-glib/blob/dbus-gmain/README
.md> for more details.

#955971#14
Date:
2020-07-04 16:20:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xiphos, 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 955971@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Teus Benschop <teusbenschop@debian.org> (supplier of updated xiphos 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: Sat, 04 Jul 2020 16:44:06 +0200
Source: xiphos
Architecture: source
Version: 4.2.1+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: CrossWire Packaging Team <pkg-crosswire-devel@alioth-lists.debian.net>
Changed-By: Teus Benschop <teusbenschop@debian.org>
Closes: 922784 947542 955971
Changes:
 xiphos (4.2.1+dfsg1-1) unstable; urgency=medium
 .
   [ Daniel Glassey ]
   * d/control remove Unit 193 from uploaders on his request
 .
   [ Dimitri John Ledkov ]
   * Drop myself from uploaders.
 .
   [ Debian Janitor ]
   * Trim trailing whitespace.
   * Use versioned copyright format URI.
   * Bump debhelper from old 11 to 12.
 .
   [ Bastian Germann ]
   * Drop waf for next version
   * d/copyright: Drop undefined Upstream-Source
   * Replace gnome-doc-utils with yelp (Closes: #947542)
   * Replace waf with cmake (Closes: #922784)
   * Change Build-Depends to new version's requirements
   * Add patch: Override git version
   * Drop and refresh patches
   * Fix install locations
   * Update debhelper version (13)
   * Do not build epub
   * lintian: rules-requires-root-missing
   * lintian: debug-symbol-migration-possibly-complete
   * lintian: debian-rules-uses-as-needed-linker-flag
   * Set Standards-Version: 4.5.0
   * Don't install other md files
   * no shlibs on all pkg
   * d/copyright: Add missing info
   * d/control: Suggest festival
   * Add patch: CMake: Don't include win32
   * Disable postinst target
 .
   [ Teus Benschop ]
   * New upstream version 4.2.1+dfsg1 (Closes: #955971)
Checksums-Sha1:
 dfb9adef161e25fa4cac97be78b84afad0ca5969 2406 xiphos_4.2.1+dfsg1-1.dsc
 0c4a516d3037be342c8335d3c22ed79309ea5257 7874688 xiphos_4.2.1+dfsg1.orig.tar.xz
 f345aabfa1f3d80aad407ec0de129be3127e3c26 19204 xiphos_4.2.1+dfsg1-1.debian.tar.xz
 900862cdc1dc2e7fd059befaf3d7f15189d89e66 16966 xiphos_4.2.1+dfsg1-1_source.buildinfo
Checksums-Sha256:
 018172fa37b4777f70d9e3891bdc6a353be325363e2f2a6e28cbd2df2746007e 2406 xiphos_4.2.1+dfsg1-1.dsc
 1ebcd22ae847620ac6bceec35a8b73f57b892a39c66ee66550061da6248c15d9 7874688 xiphos_4.2.1+dfsg1.orig.tar.xz
 d4e0455776944aeeb7a8984d572036bfe710fb059dd1a98084a3072940c0e27e 19204 xiphos_4.2.1+dfsg1-1.debian.tar.xz
 2833604eb4b7b9e6ab1ff83771a95572313eb4d29bd1bbeb737da9b795bac561 16966 xiphos_4.2.1+dfsg1-1_source.buildinfo
Files:
 349bfbb6df0d279b6d3efd51ed5f306b 2406 gnome optional xiphos_4.2.1+dfsg1-1.dsc
 c47d54be68cd4d4558d69336bb74946e 7874688 gnome optional xiphos_4.2.1+dfsg1.orig.tar.xz
 9736704dd1339ae77d8cef848e938dfe 19204 gnome optional xiphos_4.2.1+dfsg1-1.debian.tar.xz
 904b0701af26a4d08e90cb84f13c7a6d 16966 gnome optional xiphos_4.2.1+dfsg1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJMBAEBCgA2FiEEher+5c8s1QBza9jekwIrrQVjpR0FAl8Ap84YHHRldXNiZW5z
Y2hvcEBkZWJpYW4ub3JnAAoJEJMCK60FY6Ud/c0P/RjSG9SgV4fUzPut7Eoq/4zh
ql700umdxZTWZ5qR+DHR+8uFPhjnrcQwnnKCImgoQMwbSqdJqfkSFhVzlsMUgrhw
rmrgjr3cu0EepPQZZukP8lXtNNuXhLOSyTNNxIVR5GSS8xGSO7q3zVbp3C5+1F2T
JkwcWJgkuMkJ8Io6BXP/L5T/5SYzPf1N7SsvqhJ6hB50bycl4Kq5g60pyyq3T5EW
KGr8KxIMXywR/X531mbOil0p0D8/EUZUkgiOb47DIS0PNwdqkDwtL3JkdMj34Koe
n/LKKe9Pjl11xAFfm5fULCOFvcvHZVMbBq86XoVkWeMqmgiErP6ZbBUIqGpaUDO/
qBzFWRxlJ1w49C2RXFsElh6/HaroIxUvbcTuzaUnEK1DBjtpDP1/SEUrVnYDoK1b
nQvWWkyYQIs2pcb7814CfaV8a36cY0RNw2+QGpslrGF3gB+PK1GrTcCmhhaU//is
DyUgsArKwgYC2T8PpLE5nKQsv6hLjcjsLpCfcRLUCIpM6v6nfY3yIOzVAg3lOTgi
YvMKWoBbpuiS7ZzocZ0y1NDQv1epeX48dtNUIiNLTzMCeTgkeXdoj0tYHl9Oh+4w
e5XiMtFgMDD1ZaL2T/kmKdvET+2EfCpF7nk/5PYs/NFfwo5Qq54iDhYaIyl/Qak6
LHRZK7SwJ2YJEX351Ntm
=6XdE
-----END PGP SIGNATURE-----

#955971#21
Date:
2020-07-05 06:17:23 UTC
From:
To:
It was closed because the changelog of the new upload had this bug number,
whereas it should have been another bug number to close. So yes, it's
correct to reopen this bug again.

It was forwarded upstream.

Question to the Debian developers: Should we just disable the dbus
functionality in Xiphos?

#955971#26
Date:
2020-07-05 07:41:45 UTC
From:
To:
Yes, you are correct mentioning these three things that DD's do.

The question I have has to do with bug number
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955971

Xiphos depends on deprecated dbus-glib. And there's lots of other packages
also depending on this deprecated library.

My question is then, what are the options to handle this bug number 955971.

We could be doing nothing just now and leave the bug number as it is.

We also could, say, write patches, that either disable the dependency on
dbus-glib.

Or perhaps there's other ways to deal with it.

What do you think?

#955971#31
Date:
2020-07-05 09:24:19 UTC
From:
To:
I think that Bastian Germann is my hero, he spotted
that it was not right to close this bug report yet.

And it is OK to have _valid_ bugreports open on a package.


In https://github.com/crosswire/xiphos/issues/894#issuecomment-653862377
is Upstream asked for status on  dbus-glib.



And due the (not existing) agreement "Someboby else should do it"
will nothing happen.


Regards
Geert Stappers

#955971#36
Date:
2020-07-12 17:50:51 UTC
From:
To:
forwarded 955971 https://github.com/crosswire/xiphos/issues/1049
thanks


Met vriendelijke groeten,
With kind regards,

Teus Benschop

#955971#45
Date:
2026-04-24 10:36:29 UTC
From:
To:
Control: severity -1 important

I'm raising the bug reports for remaining uses of dbus-glib to important
severity. It's now been 11 years since dbus-glib was documented as
deprecated in its own NEWS file, and it hasn't got any better-quality or
more-maintained since then.

It might be useful to note that since the initial MBF in 2018, the
migration guide from dbus-glib to GDBus has moved to
<https://docs.gtk.org/gio/migrating-gdbus.html>.

     smcv

#955971#52
Date:
2026-06-09 22:18:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
xiphos, 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 955971@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated xiphos 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: Tue, 09 Jun 2026 23:35:11 +0200
Source: xiphos
Architecture: source
Version: 4.4.0+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: CrossWire Packaging Team <pkg-crosswire-devel@alioth-lists.debian.net>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 955971 1009764
Changes:
 xiphos (4.4.0+dfsg1-1) unstable; urgency=medium
 .
   * Team upload
   * New upstream version 4.4.0 (Closes: #955971, #1009764)
   * Drop upstream patch
   * Depend on libspeechd
   * Enable GtkTextView editor
Checksums-Sha1:
 355efa43667986187695ccc51aebd4e5153efdec 2238 xiphos_4.4.0+dfsg1-1.dsc
 6e59eb6b463925dfca268770da43996535b8551b 15071136 xiphos_4.4.0+dfsg1.orig.tar.xz
 a4bc362dbcbfc98598a3361624cb21d6b335fd87 12144 xiphos_4.4.0+dfsg1-1.debian.tar.xz
 e0f175b57fc43b9afe2557cd78586c1ac230f166 19731 xiphos_4.4.0+dfsg1-1_source.buildinfo
Checksums-Sha256:
 da27543e58ba75c05f6ec32d874a006567cd24b154d934bcbf166df40431a8fb 2238 xiphos_4.4.0+dfsg1-1.dsc
 525751c263f97fcedca201bdafa54fd021c7624b9b53c4aff91317ef78351566 15071136 xiphos_4.4.0+dfsg1.orig.tar.xz
 8fe35b4f5a2c7ff826a4ed5c21b9d7d3beb5e923a482917faacedbe7bda2a812 12144 xiphos_4.4.0+dfsg1-1.debian.tar.xz
 ed70cfae4a155e76f96290b9dfeb6a7c11a69e55d772dfbea9238f947743c9a4 19731 xiphos_4.4.0+dfsg1-1_source.buildinfo
Files:
 5cf70088a6beae6fcc8acdf2c54b40ac 2238 gnome optional xiphos_4.4.0+dfsg1-1.dsc
 30c20e2b3bff5e7287a79f73bd09a738 15071136 gnome optional xiphos_4.4.0+dfsg1.orig.tar.xz
 62742c2b7a153d1cb8e6357024f3061f 12144 gnome optional xiphos_4.4.0+dfsg1-1.debian.tar.xz
 28ab3a3253693db590f04755a02e118b 19731 gnome optional xiphos_4.4.0+dfsg1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmooihcQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFAHhC/909JS0sHM9dXsDn3J66+P9GwprCKtUbopy
PGbiSK3pQgAR4gIzli27ZhfBNqquB/6jTjl1tB0j8uZZsAuRkqUmq4lIi6cGmra8
krlZkZd5lCdzWoFkLf7I9q0TtKSBPSVQRjITaTPgi2k64GM/I43hnnZa7tz1i+iW
nDebXwqdSkp1GshPuAgQEf0zW0XCIfPI61a8wbG+cj9+jkX13cQj2W1iY/dz6pTa
nYGKMvrOK/vB6h2h8saHdCnhNz0qFYe0QOm5hhdzwHCACYxsIRighX0YHmn3s/sC
MeuXczftjWeHdfrxuW3sKpBo7KPoWbAjZaZONY2+kr7+8oGOivSKyWxPnZMdoxjW
MQ/UUbb/Yd9R+MqLPSybi+tg6L0fwsq2nBQFF5YgoCWEg5mTLZvs66D7VEswaAmD
j67uYoc7WZVEl3S8931JYayn5MLeeL5STcDUn6UheyCzvkMvl+VBY24jsvKm+PMg
PUbz5ifqI2ubZPNagllcd5+b6KlRbKI=
=p6c5
-----END PGP SIGNATURE-----