[108427] users/mojca
mojca at macports.org
mojca at macports.org
Tue Jul 23 03:35:56 PDT 2013
Revision: 108427
https://trac.macports.org/changeset/108427
Author: mojca at macports.org
Date: 2013-07-23 03:35:56 -0700 (Tue, 23 Jul 2013)
Log Message:
-----------
gate: add missing active_variants portgroup and update (remove compile warnings)
Modified Paths:
--------------
users/mojca/notes/Geant4.txt
users/mojca/ports/science/gate/Portfile
Modified: users/mojca/notes/Geant4.txt
===================================================================
--- users/mojca/notes/Geant4.txt 2013-07-23 07:56:27 UTC (rev 108426)
+++ users/mojca/notes/Geant4.txt 2013-07-23 10:35:56 UTC (rev 108427)
@@ -1,7 +1,28 @@
+TODO (high priority):
+- proper expansion of variables
+- Try to move /opt/local/lib/Geant4/Geant4.10.0/Geant4-10.0.0 to a better place
+ according to http://www.cmake.org/Wiki/CMake/Tutorials/Packaging it should be
+ /opt/local/lib/Geant4-10.0.0, so maybe one should not change path to
+ /opt/local/lib/Geant4/Geant4.10.0 after all
+ Try if setting GEANT4_CMAKE_DIR (or rather: patching its definition in cmake/Modules/Geant4BuildProjectConfig.cmake helps)
+ set(GEANT4_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}-${${PROJECT_NAME}_VERSION}) -> NO
+
+ One thing than works is the following (but is an ugly hack):
+ 0.) remove
+ 1.) move /opt/local/lib/Geant4/Geant4.9.6/Geant4-9.6.2 to /opt/local/lib/Geant4-9.6.2
+ or rather all files but the symlink Darwin-clang which needs to stay for the sake of the old way of compiling programs
+ 2.) in Geant4Config.cmake in that directory replace
+ - get_filename_component(Geant4_INCLUDE_DIR "${_thisdir}/../../../../include/Geant4/Geant4.9.6/Geant4" ABSOLUTE)
+ + get_filename_component(Geant4_INCLUDE_DIR "/opt/local/include/Geant4/Geant4.9.6/Geant4" ABSOLUTE)
+ 3.) in Geant4LibraryDepends-release.cmake remove two lines (12&13)
+ - GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
+ - GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
+ (apparently each line goes one level up)
+
TODO:
- figure out if adding "distname" changes anything (so that all files go to the same folder - maybe they already do)
- specify expat more precisely
-- resolve dependencies for X11
+- resolve dependencies for X11 (proper checks)
/System/Library/Frameworks/AGL.framework/Versions/A/AGL (compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
@@ -28,29 +49,11 @@
/opt/local/lib/libQtOpenGL.4.dylib (compatibility version 4.8.0, current version 4.8.2)
/opt/local/lib/libQtGui.4.dylib (compatibility version 4.8.0, current version 4.8.2)
/opt/local/lib/libQtCore.4.dylib (compatibility version 4.8.0, current version 4.8.2)
-- Try to move /opt/local/lib/Geant4/Geant4.10.0/Geant4-10.0.0 to a better place
- according to http://www.cmake.org/Wiki/CMake/Tutorials/Packaging it should be
- /opt/local/lib/Geant4-10.0.0, so maybe one should not change path to
- /opt/local/lib/Geant4/Geant4.10.0 after all
- Try if setting GEANT4_CMAKE_DIR (or rather: patching its definition in cmake/Modules/Geant4BuildProjectConfig.cmake helps)
- set(GEANT4_CMAKE_DIR ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}-${${PROJECT_NAME}_VERSION}) -> NO
- One thing than works is the following (but is an ugly hack):
- 0.) remove
- 1.) move /opt/local/lib/Geant4/Geant4.9.6/Geant4-9.6.2 to /opt/local/lib/Geant4-9.6.2
- or rather all files but the symlink Darwin-clang which needs to stay for the sake of the old way of compiling programs
- 2.) in Geant4Config.cmake in that directory replace
- - get_filename_component(Geant4_INCLUDE_DIR "${_thisdir}/../../../../include/Geant4/Geant4.9.6/Geant4" ABSOLUTE)
- + get_filename_component(Geant4_INCLUDE_DIR "/opt/local/include/Geant4/Geant4.9.6/Geant4" ABSOLUTE)
- 3.) in Geant4LibraryDepends-release.cmake remove two lines (12&13)
- - GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
- - GET_FILENAME_COMPONENT(_IMPORT_PREFIX "${_IMPORT_PREFIX}" PATH)
- (apparently each line goes one level up)
-
- Try to move /opt/local/share/Geant4/Geant4-10.0.0/geant4make/config to a better place
- Check if /opt/local/share/Geant4/Geant4-10.0.0/geant4make/geant4make.sh works
- Fix scripts in /opt/local/libexec/Geant4/Geant4.10.0 (symlinking to them doesn't work, but on the other hand they are probably not needed)
-- Try to get rid of one level in /opt/local/include/Geant4/Geant4.10.0/Geant4 (low priority, maybe not needed at all)
+- Try to get rid of one level in /opt/local/include/Geant4/Geant4.10.0/Geant4 (low priority, maybe not be needed at all)
- Carefully check different CMake configuration options
- geant4-config could use absolute paths instead of -L/opt/local/libexec/Geant4/Geant4.9.6/../../../lib/Geant4/Geant4.9.6
- figure out if it is possible to hardcode paths into Geant4 sources to some extent
Modified: users/mojca/ports/science/gate/Portfile
===================================================================
--- users/mojca/ports/science/gate/Portfile 2013-07-23 07:56:27 UTC (rev 108426)
+++ users/mojca/ports/science/gate/Portfile 2013-07-23 10:35:56 UTC (rev 108427)
@@ -4,15 +4,16 @@
PortSystem 1.0
PortGroup cmake 1.0
PortGroup app 1.0
+PortGroup active_variants 1.0
# TODO: temporary - if checksums are desired
PortGroup github 1.0
-github.setup mojca gate 6327ec9eb9
+github.setup mojca gate 0bd5cc471e
## official repository
# fetch.type git
# git.url http://git.opengatecollaboration.org/git/opengate-public.git
-# git.branch 6327ec9eb9c523e2b3183ccedb4932156072aeb7
+# git.branch 0bd5cc471ecaf0032f38dba82b8204501bd20fb7
name gate
version 7.0-beta
@@ -26,8 +27,8 @@
homepage http://www.opengatecollaboration.org
platforms darwin
-checksums rmd160 549d40b0900dd62d67046cad9c805210977a62d7 \
- sha256 7053d86eaa550217cc8df683fc42d63e7ea35dd91258c3c923abcb998c194327
+checksums rmd160 f33ac2fad53cf94c2dd1a8307ea476030d3b6749 \
+ sha256 fe342d3d34e06d23d2ada53048aba1d218e02b32aa50a309121f7c3480076d07
set geant.data_versions_9.6 {
G4NDL 4.2 G4NDL G4NEUTRONHPDATA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130723/423bdac5/attachment-0001.html>
More information about the macports-changes
mailing list