Skip to content

Conversation

@fanquake
Copy link
Member

While looking at #16838 I found at least two cases of sed patching in depends that now seems to be redundant. There's possibly a third case, but I haven't looked into that enough yet.

Patching 0 -> kCGMouseButtonLeft should not be required, as kCGMouseButtonLeft has been used in the cocoa/qcocoacursor.mm source for a while.

The include we were modifying in src/plugins/platforms/xcb/qxcbxsettings.cpp was removed in this commit.

@laanwj
Copy link
Member

laanwj commented Sep 16, 2019

Concept ACK

@practicalswift
Copy link
Contributor

Concept ACK

Thanks for removing all this old cruft in the build system.

@dongcarl
Copy link
Contributor

ACK 93995c2

Tested by running a Guix build.

@DrahtBot
Copy link
Contributor

Gitian builds for commit 796b713 (master):

Gitian builds for commit dd3c7e95503d0bb28e78d0cc0dd659c0838fc93c (master and this pull):

fanquake added a commit that referenced this pull request Sep 18, 2019
93995c2 build: remove unnecessary qt xcb patching (fanquake)
4d45577 build: remove unnecessary macOS qt patching (fanquake)

Pull request description:

  While looking at #16838 I found at least two cases of `sed` patching in depends that now seems to be redundant. There's possibly a [third case](#16837 (comment)), but I haven't looked into that enough yet.

  Patching `0` -> `kCGMouseButtonLeft` should not be required, as [`kCGMouseButtonLeft`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/cocoa/qcocoacursor.mm?h=5.9#n82) has been used in the `cocoa/qcocoacursor.mm` source for a while.

  The include we were modifying in [`src/plugins/platforms/xcb/qxcbxsettings.cpp`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9#n47) was removed in [this commit](https://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9&id=78731b434e0e99ad108601249108e12d8a49c350).

ACKs for top commit:
  dongcarl:
    ACK 93995c2

Tree-SHA512: 5e0cbf317b798ce2e142a42b7fabf1d9e8e00d12f59589e98d790195ba27db60858f933b035c6e9cd0deadd8c3406f1ff4a4ed2af4a19e9b5b43aa97d04b9ecb
@fanquake fanquake merged commit 93995c2 into bitcoin:master Sep 18, 2019
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request Sep 23, 2019
93995c2 build: remove unnecessary qt xcb patching (fanquake)
4d45577 build: remove unnecessary macOS qt patching (fanquake)

Pull request description:

  While looking at bitcoin#16838 I found at least two cases of `sed` patching in depends that now seems to be redundant. There's possibly a [third case](bitcoin#16837 (comment)), but I haven't looked into that enough yet.

  Patching `0` -> `kCGMouseButtonLeft` should not be required, as [`kCGMouseButtonLeft`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/cocoa/qcocoacursor.mm?h=5.9#n82) has been used in the `cocoa/qcocoacursor.mm` source for a while.

  The include we were modifying in [`src/plugins/platforms/xcb/qxcbxsettings.cpp`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9#n47) was removed in [this commit](https://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9&id=78731b434e0e99ad108601249108e12d8a49c350).

ACKs for top commit:
  dongcarl:
    ACK 93995c2

Tree-SHA512: 5e0cbf317b798ce2e142a42b7fabf1d9e8e00d12f59589e98d790195ba27db60858f933b035c6e9cd0deadd8c3406f1ff4a4ed2af4a19e9b5b43aa97d04b9ecb
@fanquake fanquake deleted the messy_depends branch October 21, 2019 00:12
deadalnix pushed a commit to Bitcoin-ABC/bitcoin-abc that referenced this pull request Apr 3, 2020
Summary:
```
While looking at #16838 I found at least two cases of sed patching in
depends that now seems to be redundant. There's possibly a third case,
but I haven't looked into that enough yet.

Patching 0 -> kCGMouseButtonLeft should not be required, as
kCGMouseButtonLeft has been used in the cocoa/qcocoacursor.mm source for
a while.

The include we were modifying in
src/plugins/platforms/xcb/qxcbxsettings.cpp was removed in this commit.
```

Backport of core [[bitcoin/bitcoin#16879 | PR16879]].

Test Plan: Run the Linux and OSX Gitian builds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5650
ftrader pushed a commit to bitcoin-cash-node/bitcoin-cash-node that referenced this pull request Aug 17, 2020
Summary:
```
While looking at #16838 I found at least two cases of sed patching in
depends that now seems to be redundant. There's possibly a third case,
but I haven't looked into that enough yet.

Patching 0 -> kCGMouseButtonLeft should not be required, as
kCGMouseButtonLeft has been used in the cocoa/qcocoacursor.mm source for
a while.

The include we were modifying in
src/plugins/platforms/xcb/qxcbxsettings.cpp was removed in this commit.
```

Backport of core [[bitcoin/bitcoin#16879 | PR16879]].

Test Plan: Run the Linux and OSX Gitian builds.

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D5650
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 1, 2021
93995c2 build: remove unnecessary qt xcb patching (fanquake)
4d45577 build: remove unnecessary macOS qt patching (fanquake)

Pull request description:

  While looking at bitcoin#16838 I found at least two cases of `sed` patching in depends that now seems to be redundant. There's possibly a [third case](bitcoin#16837 (comment)), but I haven't looked into that enough yet.

  Patching `0` -> `kCGMouseButtonLeft` should not be required, as [`kCGMouseButtonLeft`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/cocoa/qcocoacursor.mm?h=5.9#n82) has been used in the `cocoa/qcocoacursor.mm` source for a while.

  The include we were modifying in [`src/plugins/platforms/xcb/qxcbxsettings.cpp`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9#n47) was removed in [this commit](https://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9&id=78731b434e0e99ad108601249108e12d8a49c350).

ACKs for top commit:
  dongcarl:
    ACK 93995c2

Tree-SHA512: 5e0cbf317b798ce2e142a42b7fabf1d9e8e00d12f59589e98d790195ba27db60858f933b035c6e9cd0deadd8c3406f1ff4a4ed2af4a19e9b5b43aa97d04b9ecb
PastaPastaPasta pushed a commit to PastaPastaPasta/dash that referenced this pull request Jul 13, 2021
93995c2 build: remove unnecessary qt xcb patching (fanquake)
4d45577 build: remove unnecessary macOS qt patching (fanquake)

Pull request description:

  While looking at bitcoin#16838 I found at least two cases of `sed` patching in depends that now seems to be redundant. There's possibly a [third case](bitcoin#16837 (comment)), but I haven't looked into that enough yet.

  Patching `0` -> `kCGMouseButtonLeft` should not be required, as [`kCGMouseButtonLeft`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/cocoa/qcocoacursor.mm?h=5.9#n82) has been used in the `cocoa/qcocoacursor.mm` source for a while.

  The include we were modifying in [`src/plugins/platforms/xcb/qxcbxsettings.cpp`](https://code.qt.io/cgit/qt/qtbase.git/tree/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9#n47) was removed in [this commit](https://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/xcb/qxcbxsettings.cpp?h=5.9&id=78731b434e0e99ad108601249108e12d8a49c350).

ACKs for top commit:
  dongcarl:
    ACK 93995c2

Tree-SHA512: 5e0cbf317b798ce2e142a42b7fabf1d9e8e00d12f59589e98d790195ba27db60858f933b035c6e9cd0deadd8c3406f1ff4a4ed2af4a19e9b5b43aa97d04b9ecb
@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.

5 participants