[MacPorts] #53777: Qt5 PortGroup : wrong use of qt5.using_kde and +qt5kde
MacPorts
noreply at macports.org
Mon Oct 2 01:56:59 UTC 2017
#53777: Qt5 PortGroup : wrong use of qt5.using_kde and +qt5kde
---------------------+-----------------
Reporter: RJVB | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt5 |
---------------------+-----------------
Comment (by MarcusCalhoun-Lopez):
Replying to [comment:2 RJVB]:
> Why the F••• does this have to be so difficult, is it really your
intention to make it impossible for me to ensure that port:qt5-kde can act
as a drop-in replacement for the regular Qt5 ports?!
After taking some time to better understand
[https://github.com/RJVB/macstrop/blob/master/aqua/qt5-kde/Portfile
qt5-kde] and
[https://github.com/RJVB/macstrop/blob/master/_resources/port1.0/group/qt5-kde-1.0.tcl
qt5-kde PG], I believe you perceive difficulty because there is a
fundamental difference of opinion of what constitutes a
[https://en.wikipedia.org/wiki/Drop-in_replacement drop-in
replacement].[[BR]]
Just as a simple example, qt5-kde and qt5-qtbase install their header
files in [https://github.com/macports/macports-
ports/blob/eee9bd65ab3bc1f0907a51b41b7cb6938ce05756/_resources/port1.0/group/qt5-1.0.tcl#L194
different]
[https://github.com/RJVB/macstrop/blob/514f77d986c46bdee97cf12aa5c16d442083a51d/_resources/port1.0/group/qt5-kde-1.0.tcl#L285
locations].[[BR]]
Perhaps KDE requires this design choice, but it means that qt5-kde is not
a drop-in replacement.
Is qt5-kde to be drop-in replacement in the strict sense (same library
names, same header names, same layout, etc.)?[[BR]]
If so, then we already have the infrastructure to proceed.[[BR]]
If not, then there is no reason to jump through so many hoops trying to
convince Portfiles that it is.[[BR]]
Confusion on this fundamental question has led to countless delays and,
apparently, a fair bit of frustration.
--
Ticket URL: <https://trac.macports.org/ticket/53777#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list