[MacPorts] #50321: gpsbabel: install an .app, figure out Qt dependencies

MacPorts noreply at macports.org
Tue Jan 19 07:20:09 PST 2016


#50321: gpsbabel: install an .app, figure out Qt dependencies
--------------------------+--------------------------------
  Reporter:  mojca@…      |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:  fixed        |   Keywords:
      Port:  gpsbabel     |
--------------------------+--------------------------------

Comment (by mcalhoun@…):

 Replying to [comment:4 mojca@…]:
 > I get an app if I use `+gui`, but why do you need dependency on Qt4 or
 Qt5 when there is no app?

 The non-gui program uses it:
 {{{
 $ otool -L gpsbabel
 gpsbabel:
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1226.10.1)
         /opt/local/libexec/qt5/lib/QtCore.framework/Versions/5/QtCore
 (compatibility version 5.5.0, current version 5.5.1)
         /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
 (compatibility version 1.0.0, current version 275.0.0)
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 1256.14.0)
         /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current
 version 120.1.0)
 }}}
 Why exactly, I could not say.[[BR]]
 Qt does have other features (file IO, network, etc.).

 > The following is also slightly debatable, but I'll try to figure out if
 I can come up with a better proposal:
 > {{{
 > if { ${os.major} < ${qt5_min_tested_version} } {
 >     default_variants-append +qt4
 > } ...
 > }}}
 >
 > Qt5 is somewhat problematic on `libstdc++` only, so maybe this if should
 check what the default stdlib is set to as well.
 Whatever others decide is fine.[[BR]]
 I do not use gpsbabel and was just trying to lend a hand on the Qt
 side.[[BR]]
 If there is a better solution, that would be great.[[BR]]
 I am hoping that Octave will eventually support Qt5.[[BR]]
 If that day should ever come, whatever is decided here might prove to be a
 useful model.

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


More information about the macports-tickets mailing list