[MacPorts] #65661: broot 1.14.2: disable xorg-libxcb dependency

MacPorts noreply at macports.org
Mon Aug 15 00:06:01 UTC 2022


#65661: broot 1.14.2: disable xorg-libxcb dependency
--------------------------+-------------------------
  Reporter:  rdslw        |      Owner:  herbygillot
      Type:  enhancement  |     Status:  reopened
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:
      Port:  broot        |
--------------------------+-------------------------

Comment (by herbygillot):

 Rust projects do not have a configure stage.  They are built via `cargo`,
 and the closest thing would be ''features'', which can change dependencies
 at build time.

 `broot`'s default set of features do not invoke clipboard features:

 https://github.com/Canop/broot/blob/e8a5f7687ac9efd30d549ce2dd1b83e452506215/Cargo.toml#L18

 ...which in turn should not pull in Xcb.  We were not invoking the feature
 before, which ''could'' explain why @rdslw thought it wasn't working
 properly before.

 Also, the `broot` packages built in the MacPorts buildbots should not be
 installing `xorg` libs, so the resultant packages shouldn't have any
 reference to `libxcb`.

 I don't think there's any additional steps we can take here.

 That said, we could probably reintroduce clipboard capabilities as a
 variant for this port, however.

-- 
Ticket URL: <https://trac.macports.org/ticket/65661#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list