Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
core
Commits
049928e7
Verified
Commit
049928e7
authored
Oct 14, 2020
by
Tobias WEBER
Browse files
updated mac build script
parent
5458bdee
Changes
3
Hide whitespace changes
Inline
Side-by-side
setup_mac/cp_app.sh
View file @
049928e7
...
...
@@ -36,7 +36,7 @@ declare -a SRC_LIBS=(
"/usr/local/opt/boost/lib/libboost_iostreams-mt.dylib"
"/usr/local/opt/boost/lib/libboost_regex-mt.dylib"
"/usr/local/opt/boost/lib/libboost_program_options-mt.dylib"
"/usr/local/opt/boost-python3/lib/libboost_python38.dylib"
"/usr/local/opt/boost-python3/lib/libboost_python38
-mt
.dylib"
"/usr/local/opt/freetype/lib/libfreetype.6.dylib"
"/usr/local/opt/libpng/lib/libpng16.16.dylib"
"/usr/local/opt/libjpeg/lib/libjpeg.9.dylib"
...
...
@@ -97,16 +97,21 @@ cp -v bin/takin_findsg "${PRG}/Contents/MacOS/"
cp
-v
bin/takin_pol
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takinmod_py
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takinmod_jl
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/convofit
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/convoseries
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/sfact
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/polextract
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_structfact
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_magstructfact
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_scanbrowser
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_magsgbrowser
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_moldyn
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_convofit
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_convoseries
"
${
PRG
}
/Contents/MacOS/"
cp
-v
bin/takin_polextract
"
${
PRG
}
/Contents/MacOS/"
# data files
cp
-v
setup_mac/Info.plist
"
${
PRG
}
/Contents/"
cp
-rv
data/res
"
${
PRG
}
/Contents/"
cp
-v
data/res/takin.icns
"
${
PRG
}
/Contents/Resources/"
cp
-v
data/res/
icons/
takin.icns
"
${
PRG
}
/Contents/Resources/"
cp
-rv
doc/
*
"
${
PRG
}
/Contents/res/doc/"
# -----------------------------------------------------------------------------
...
...
setup_mac/fix_names.sh
View file @
049928e7
...
...
@@ -43,7 +43,7 @@ declare -a filestochange=(
"
${
PRG
}
/Contents/Frameworks/libtiff.5.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_iostreams-mt.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_filesystem-mt.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_python38.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_python38
-mt
.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_regex-mt.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_system-mt.dylib"
"
${
PRG
}
/Contents/Frameworks/libboost_program_options-mt.dylib"
...
...
@@ -51,15 +51,20 @@ declare -a filestochange=(
"
${
PRG
}
/Contents/MacOS/takin_cif2xml"
"
${
PRG
}
/Contents/MacOS/takin_findsg"
"
${
PRG
}
/Contents/MacOS/takin_pol"
"
${
PRG
}
/Contents/MacOS/convofit"
"
${
PRG
}
/Contents/MacOS/convoseries"
"
${
PRG
}
/Contents/MacOS/sfact"
"
${
PRG
}
/Contents/MacOS/polextract"
"
${
PRG
}
/Contents/MacOS/takin_structfact"
"
${
PRG
}
/Contents/MacOS/takin_magstructfact"
"
${
PRG
}
/Contents/MacOS/takin_scanbrowser"
"
${
PRG
}
/Contents/MacOS/takin_magsgbrowser"
"
${
PRG
}
/Contents/MacOS/takin_moldyn"
"
${
PRG
}
/Contents/MacOS/takinmod_py"
"
${
PRG
}
/Contents/MacOS/takinmod_jl"
"
${
PRG
}
/Contents/MacOS/takin_convofit"
"
${
PRG
}
/Contents/MacOS/takin_convoseries"
"
${
PRG
}
/Contents/MacOS/takin_polextract"
)
# original symbols
declare
-a
changefrom
=(
"/usr/local/Cellar/qt/
${
QT_VER
}
/lib/QtCore.framework/Versions/5/QtCore"
...
...
@@ -109,7 +114,7 @@ declare -a changefrom=(
"/usr/local/opt/boost/lib/libboost_iostreams-mt.dylib"
"/usr/local/opt/boost/lib/libboost_regex-mt.dylib"
"/usr/local/opt/boost/lib/libboost_program_options-mt.dylib"
"/usr/local/opt/boost-python3/lib/libboost_python38.dylib"
"/usr/local/opt/boost-python3/lib/libboost_python38
-mt
.dylib"
"/usr/local/opt/freetype/lib/libfreetype.6.dylib"
"/usr/local/opt/libpng/lib/libpng16.16.dylib"
"/usr/local/opt/libjpeg/lib/libjpeg.9.dylib"
...
...
@@ -167,7 +172,7 @@ declare -a changeto=(
"@executable_path/../Frameworks/libboost_iostreams-mt.dylib"
"@executable_path/../Frameworks/libboost_regex-mt.dylib"
"@executable_path/../Frameworks/libboost_program_options-mt.dylib"
"@executable_path/../Frameworks/libboost_python38.dylib"
"@executable_path/../Frameworks/libboost_python38
-mt
.dylib"
"@executable_path/../Frameworks/libfreetype.6.dylib"
"@executable_path/../Frameworks/libpng16.16.dylib"
"@executable_path/../Frameworks/libjpeg.9.dylib"
...
...
setup_mac/mk_icon.sh
View file @
049928e7
...
...
@@ -26,3 +26,4 @@ convert ${FILE%\.svg}.png ${FILE%\.svg}.ico
# remove temporary file
rm
${
FILE
%\.svg
}
.png
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment