[MacPorts] #49925: KF5 : PortGroup and initial ports (frameworks)

MacPorts noreply at macports.org
Thu Aug 18 12:48:12 PDT 2016


#49925: KF5 : PortGroup and initial ports (frameworks)
--------------------------+------------------
  Reporter:  rjvbertin@…  |      Owner:  mk@…
      Type:  submission   |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+------------------

Comment (by rjvbertin@…):

 Have another look at my QSP/XDG patch. I introduce class methods that take
 a mode switch, which is effectively hidden and hard-coded to "native" in
 the standard QSP usage. There's an extended QSP class in which those
 methods are exposed and the mode switch gets a default value that is
 determined at compile time. Sounds complicated (and it probably is a bit
 more so than strictly necessary), but in practice you just have to set 2
 preprocessor tokens (macros) to build dependent code such that it uses the
 appropriate QSP mode. One macro basically replaces the QStandardPaths
 class with the QExtStandardPaths class, while the other macro determines
 the default value for the mode switch.

-- 
Ticket URL: <https://trac.macports.org/ticket/49925#comment:30>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list