Skip to content

Conversation

@fanquake
Copy link
Member

@fanquake fanquake commented Jul 7, 2019

Since #8210 (59d063d), we've been passing -dbus-runtime when configuring Qt.

qtbase-opensource-src-5.9.7 $ ./configure -h | grep -i dbus
  -no-dbus ............. Do not build the Qt D-Bus module
  -dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
  -dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1 [no]

This means we don't actually seem to be using the D-Bus we build in depends. This was pointed out by theuni at the time, here and here, but was never followed up. dongcarl also bought it up as part of #16150.

I've tested building and running bitcoin-qt using depends on Debian. Needs further testing.

@DrahtBot
Copy link
Contributor

DrahtBot commented Jul 7, 2019

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #16270 (depends: expat 2.2.7 by fanquake)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@practicalswift
Copy link
Contributor

Concept ACK

@DrahtBot
Copy link
Contributor

DrahtBot commented Jul 8, 2019

Gitian builds for commit f373bee (master):

Gitian builds for commit 85200ca2adf9da7400f10097f2538b59cb4b47a5 (master and this pull):

@laanwj
Copy link
Member

laanwj commented Jul 8, 2019

Thanks

Are there no transitive dependencies that have become unnecessary due to this?

code review ACK e8fabd9

@fanquake
Copy link
Member Author

fanquake commented Jul 8, 2019

Are there no transitive dependencies that have become unnecessary due to this?

Not yet. expat is still required for at least fontconfig:

$(package)_dependencies=freetype expat

@laanwj
Copy link
Member

laanwj commented Jul 8, 2019

Glad to hear it's one step toward no longer needing expat 👍

@laanwj laanwj merged commit e8fabd9 into bitcoin:master Jul 8, 2019
laanwj added a commit that referenced this pull request Jul 8, 2019
e8fabd9 build: prune dbus from depends (fanquake)

Pull request description:

  Since #8210 (59d063d), we've been passing `-dbus-runtime` when configuring Qt.

  ```
  qtbase-opensource-src-5.9.7 $ ./configure -h | grep -i dbus
    -no-dbus ............. Do not build the Qt D-Bus module
    -dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
    -dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1 [no]
  ```

  This means we don't actually seem to be using the `D-Bus` we build in depends. This was pointed out by theuni at the time, [here](#7993 (comment)) and [here](#8210 (comment)), but was never followed up. dongcarl also bought it up as part of #16150.

  I've tested building and running `bitcoin-qt` using depends on Debian. Needs further testing.

ACKs for top commit:
  laanwj:
    code review ACK e8fabd9

Tree-SHA512: 164e6e52b6f97c04aef42bd185e2a157bc1a42103840f9404c5a795749f45a8c2c35f35873395a3a56398b3cd5955496b90d9c885d929b434c9bc871695abe20
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Jul 9, 2019
e8fabd9 build: prune dbus from depends (fanquake)

Pull request description:

  Since bitcoin#8210 (59d063d), we've been passing `-dbus-runtime` when configuring Qt.

  ```
  qtbase-opensource-src-5.9.7 $ ./configure -h | grep -i dbus
    -no-dbus ............. Do not build the Qt D-Bus module
    -dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
    -dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1 [no]
  ```

  This means we don't actually seem to be using the `D-Bus` we build in depends. This was pointed out by theuni at the time, [here](bitcoin#7993 (comment)) and [here](bitcoin#8210 (comment)), but was never followed up. dongcarl also bought it up as part of bitcoin#16150.

  I've tested building and running `bitcoin-qt` using depends on Debian. Needs further testing.

ACKs for top commit:
  laanwj:
    code review ACK e8fabd9

Tree-SHA512: 164e6e52b6f97c04aef42bd185e2a157bc1a42103840f9404c5a795749f45a8c2c35f35873395a3a56398b3cd5955496b90d9c885d929b434c9bc871695abe20
@fanquake fanquake deleted the depends_prune_dbus branch October 17, 2019 14:02
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Apr 1, 2020
Summary:
```
Since #8210 (59d063d), we've been passing -dbus-runtime when configuring
Qt.

qtbase-opensource-src-5.9.7 $ ./configure -h | grep -i dbus
  -no-dbus ............. Do not build the Qt D-Bus module
  -dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
  -dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1
[no]

This means we don't actually seem to be using the D-Bus we build in
depends. This was pointed out by theuni at the time, here and here, but
was never followed up. dongcarl also bought it up as part of #16150.
```

Backport of core [[bitcoin/bitcoin#16352 | PR16352]].

Test Plan: Run the Linux Gitian builds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5625
ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this pull request Aug 13, 2021
Summary:
```
Since #8210 (59d063d), we've been passing -dbus-runtime when configuring
Qt.

qtbase-opensource-src-5.9.7 $ ./configure -h | grep -i dbus
  -no-dbus ............. Do not build the Qt D-Bus module
  -dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
  -dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1
[no]

This means we don't actually seem to be using the D-Bus we build in
depends. This was pointed out by theuni at the time, here and here, but
was never followed up. dongcarl also bought it up as part of #16150.
```

Backport of core [[bitcoin/bitcoin#16352 | PR16352]].

Test Plan: Run the Linux Gitian builds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5625
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Oct 22, 2021
e8fabd9 build: prune dbus from depends (fanquake)

Pull request description:

  Since bitcoin#8210 (59d063d), we've been passing `-dbus-runtime` when configuring Qt.

  ```
  qtbase-opensource-src-5.9.7 $ ./configure -h | grep -i dbus
    -no-dbus ............. Do not build the Qt D-Bus module
    -dbus-linked ......... Build Qt D-Bus and link to libdbus-1 [auto]
    -dbus-runtime ........ Build Qt D-Bus and dynamically load libdbus-1 [no]
  ```

  This means we don't actually seem to be using the `D-Bus` we build in depends. This was pointed out by theuni at the time, [here](bitcoin#7993 (comment)) and [here](bitcoin#8210 (comment)), but was never followed up. dongcarl also bought it up as part of bitcoin#16150.

  I've tested building and running `bitcoin-qt` using depends on Debian. Needs further testing.

ACKs for top commit:
  laanwj:
    code review ACK e8fabd9

Tree-SHA512: 164e6e52b6f97c04aef42bd185e2a157bc1a42103840f9404c5a795749f45a8c2c35f35873395a3a56398b3cd5955496b90d9c885d929b434c9bc871695abe20

# Conflicts:
#	depends/packages/dbus.mk
#	depends/packages/packages.mk
#	doc/dependencies.md
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Dec 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants