cmake: Allow WITH_DBUS on all Unix-like systems #32469

pull hebasto wants to merge 1 commits into bitcoin:master from hebasto:250511-dbus changing 1 files +2 −2
  1. hebasto commented at 4:10 pm on May 11, 2025: member

    This PR makes the WITH_DBUS option available on all Unix-like systems, not just Linux, thereby fixing a regression that was overlooked during the migration from Autotools.

    Note: Enabling D-Bus support on macOS still makes no sense, since the Notificator class uses the User Notification Center regardless:https://github.com/bitcoin/bitcoin/blob/746ab19d5a13c98ae7492f9b6fb7bd6a2103c65d/src/qt/notificator.cpp#L43-L56

    Fixes #32464.

  2. cmake: Allow `WITH_DBUS` on all Unix-like systems
    This change makes the `WITH_DBUS` option available on all Unix-like
    systems, not just Linux, thereby fixing a regression that was
    overlooked during the migration from Autotools.
    
    Note: Enabling D-Bus support on macOS still makes no sense, since the
    `Notificator` class uses the User Notification Center regardless.
    5b7ed460c7
  3. hebasto added the label Build system on May 11, 2025
  4. DrahtBot commented at 4:11 pm on May 11, 2025: contributor

    The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

    Code Coverage & Benchmarks

    For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/32469.

    Reviews

    See the guideline for information on the review process.

    Type Reviewers
    ACK laanwj, theStack

    If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

  5. maflcko added the label DrahtBot Guix build requested on May 12, 2025
  6. laanwj commented at 10:27 am on May 12, 2025: member

    ACK 5b7ed460c7c181f1fd34a927a09aed36284083cb

    This is conceptually correct because freedesktop DBUS is a standard for UNIX-like systems, not specifically Linux.

  7. fanquake added the label Needs backport (29.x) on May 12, 2025
  8. theStack approved
  9. theStack commented at 12:47 pm on May 12, 2025: contributor

    tACK 5b7ed460c7c181f1fd34a927a09aed36284083cb

    Tested with OpenBSD 7.7, xfce4.20.0 and the dbus-1.16.2p0v0 package installed that configuring the build with -DBUILD_GUI=ON enables “DBus (GUI)” and that DBus is indeed used for notifications (added a debug message at the proper place just to be sure).

  10. fanquake merged this on May 12, 2025
  11. fanquake closed this on May 12, 2025

  12. hebasto deleted the branch on May 12, 2025
  13. fanquake referenced this in commit cc2fcdfc5e on May 12, 2025
  14. fanquake removed the label Needs backport (29.x) on May 12, 2025
  15. fanquake commented at 1:29 pm on May 12, 2025: member
    Backported to 29.x in #32292.
  16. DrahtBot commented at 6:25 pm on May 12, 2025: contributor

    Guix builds (on x86_64) [untrusted test-only build, possibly unsafe, not for production use]

    File commit 59e09e0fb7b4cf8f8db97c2f81a8f6f69fe6cacf(master) commit c8b7be9644049b4ab7d6aba40c072d69e8d22d1c(pull/32469/merge)
    *-aarch64-linux-gnu-debug.tar.gz 68b4709ba4fcd0fb... b492c110e09612f5...
    *-aarch64-linux-gnu.tar.gz d8a7019b5d541037... fe3308d65713934f...
    *-arm-linux-gnueabihf-debug.tar.gz 399b1805e91cf2d2... 6a540d1de0bd1e04...
    *-arm-linux-gnueabihf.tar.gz ea6460f0bfe87d1c... b2cf30520d1a67f0...
    *-arm64-apple-darwin-codesigning.tar.gz 27255afe7335202a... 1e34019f4780f51c...
    *-arm64-apple-darwin-unsigned.tar.gz a3aff4ec7d2eec4a... 6fc67351008e560e...
    *-arm64-apple-darwin-unsigned.zip c3ce63185771bfce... 3f573bb936821755...
    *-powerpc64-linux-gnu-debug.tar.gz 2c115b5b384c99df... 14644d8a7e9613c0...
    *-powerpc64-linux-gnu.tar.gz 859aaa8402ad339b... 628ab195ef789fe1...
    *-riscv64-linux-gnu-debug.tar.gz ce89fc7d14361a68... 2abee328b66746a9...
    *-riscv64-linux-gnu.tar.gz 655dd23b243c00a8... 6b213b6cfd701d07...
    *-x86_64-apple-darwin-codesigning.tar.gz 29c149cdc7651356... a4747f032efff371...
    *-x86_64-apple-darwin-unsigned.tar.gz dada9e3cf6d13a2e... 351b306c69489bfe...
    *-x86_64-apple-darwin-unsigned.zip 9fbe3961e79a34e6... 703a2265a2701560...
    *-x86_64-linux-gnu-debug.tar.gz 279dbd688201b4d2... 4147379aa9a07543...
    *-x86_64-linux-gnu.tar.gz d5a3f239389ebc9e... 6947a40506b7e5b7...
    *.tar.gz 3b6128e9e89723e8... 3ac29d16ec9b7f49...
    SHA256SUMS.part 3fce865fa49d5e5d... 07b56bda4ede001c...
    guix_build.log 78c53171c0047872... 0a381667c4011846...
    guix_build.log.diff 60c179c8a3d291c1...
  17. DrahtBot removed the label DrahtBot Guix build requested on May 12, 2025

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-05-29 12:13 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me