[MacPorts] #50424: geant4: careful review of Qt5

MacPorts noreply at macports.org
Sun Jan 24 10:51:32 PST 2016


#50424: geant4: careful review of Qt5
--------------------------+---------------------
  Reporter:  mojca@…      |      Owner:  mojca@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  geant4       |
--------------------------+---------------------

Comment (by mcalhoun@…):

 Replying to [ticket:50424 mojca@…]:
 >figure out which Qt5 components are needed
 Based upon {{{cmake/Modules/Geant4InterfaceOptions.cmake}}}, the Qt5
 module are
 * Qt5Core
 * Qt5Gui
 * Qt5Widgets
 * Qt5OpenGL
 * Qt5PrintSupport
 All of which are provided by port:qt5base.
 {{{
 $ port provides Qt5Core.pc Qt5Gui.pc Qt5Widgets.pc Qt5OpenGL.pc
 Qt5PrintSupport.pc
 /opt/local/lib/pkgconfig/Qt5Core.pc is provided by: qt5-qtbase
 /opt/local/lib/pkgconfig/Qt5Gui.pc is provided by: qt5-qtbase
 /opt/local/lib/pkgconfig/Qt5Widgets.pc is provided by: qt5-qtbase
 /opt/local/lib/pkgconfig/Qt5OpenGL.pc is provided by: qt5-qtbase
 /opt/local/lib/pkgconfig/Qt5PrintSupport.pc is provided by: qt5-qtbase
 }}}

 >figure out which versions of geant4 support Qt5
 Prior to version 4.10.2, the comments in
 {{{cmake/Modules/Geant4InterfaceOptions.cmake}}} state[[BR]]
 that Qt4 is required, but the code itself looks for Qt5 before Qt4.[[BR]]
 If the code is to be trusted over the comments, all of the geant4 versions
 support Qt5.

 I am submitting a patch for versions prior to 4.10.2 that will force Qt4
 to be used if requested.[[BR]]
 It is based on the code already in version 4.10.2.

 >potentially rename `+qt` into `+qt4` and make `qt` an obsolete
 variant?[[BR]]
 >provide a reasonable default (`qt4` vs `qt5`)
 Attached is a patch that attempts to do this.

 >make sure that Geant's `stdlib` is the same as Qt's `stdlib`
 As was discussed in #50321, I am not sure what the best solution to this
 is.

 A few minor things I noticed:
 * geant4 seems to be depending on zlib without actually using it.
 * geant4 4.10.2 now can use FreeType
 * There was still a reference to 4.9.5 (r145044).

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


More information about the macports-tickets mailing list