@@ -0,0 +1,3 | |||
|
1 | #!/bin/bash | |
|
2 | HERE=$( cd "$(dirname "$0")" ; pwd -P ) | |
|
3 | PYTHONPATH=$HERE/../../lib/python3.7/:$HERE/../../lib/python3.7/site-packages/ LD_PRELOAD=$HERE/../../.Python $HERE/sciqlop |
@@ -1,22 +1,22 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
|
3 | 3 | <plist version="1.0"> |
|
4 | 4 | <dict> |
|
5 | 5 | <key>NSPrincipalClass</key> |
|
6 | 6 | <string>NSApplication</string> |
|
7 | 7 | <key>CFBundleIconFile</key> |
|
8 | 8 | <string>sciqlopLOGO.icns</string> |
|
9 | 9 | <key>CFBundlePackageType</key> |
|
10 | 10 | <string>APPL</string> |
|
11 | 11 | <key>CFBundleGetInfoString</key> |
|
12 | 12 | <string>Created by Qt/QMake</string> |
|
13 | 13 | <key>CFBundleSignature</key> |
|
14 | 14 | <string>????</string> |
|
15 | 15 | <key>CFBundleExecutable</key> |
|
16 |
|
|
|
16 | <string>SciQLOP_wrapper</string> | |
|
17 | 17 | <key>CFBundleIdentifier</key> |
|
18 | 18 | <string>com.lpp.SciQLOP</string> |
|
19 | 19 | <key>NOTE</key> |
|
20 | 20 | <string>This file was generated by Qt/QMake.</string> |
|
21 | 21 | </dict> |
|
22 | 22 | </plist> |
@@ -1,8 +1,14 | |||
|
1 | 1 | #!/bin/bash |
|
2 | ||
|
2 | # On OS X only 0.49.1 works :( | |
|
3 | pip3 install --upgrade --user meson==0.49.1 | |
|
4 | HERE=$( cd "$(dirname "$0")" ; pwd -P ) | |
|
3 | 5 | mkdir build |
|
4 | meson -Dcpp_args='-DQT_STATICPLUGIN' -Ddefault_library=static --prefix=/tmp/SciQLOP.app --bindir=Contents/MacOS build | |
|
6 | ~/Library/Python/3.7/bin/meson -Dcpp_args='-DQT_STATICPLUGIN' -Ddefault_library=static --prefix=/tmp/SciQLOP.app --bindir=Contents/MacOS build | |
|
5 | 7 | cd build |
|
6 | 8 | ninja |
|
7 | 9 | ninja install |
|
8 | ||
|
10 | ~/Library/Python/3.7/bin/virtualenv --always-copy /tmp/SciQLOP.app | |
|
11 | ~/Library/Python/3.7/bin/virtualenv --relocatable /tmp/SciQLOP.app | |
|
12 | /tmp/SciQLOP.app/bin/pip install git+https://github.com/jeandet/spwc | |
|
13 | cp $HERE/SciQLOP_wrapper /tmp/SciQLOP.app/Contents/MacOS/ | |
|
14 | chmod +x /tmp/SciQLOP.app/Contents/MacOS/SciQLOP_wrapper |
@@ -1,12 +1,12 | |||
|
1 | 1 | #!/bin/bash |
|
2 | 2 | |
|
3 | 3 | mkdir -p ${MESON_INSTALL_PREFIX}/Contents/Frameworks |
|
4 | 4 | mv ${MESON_INSTALL_PREFIX}/lib/*plugin* ${MESON_INSTALL_PREFIX}/Contents/MacOS |
|
5 | macdeployqt ${MESON_INSTALL_PREFIX} -verbose=3 | |
|
5 | macdeployqt ${MESON_INSTALL_PREFIX} -verbose=3 -executable=/tmp/SciQLOP.app/Contents/MacOS/sciqlop | |
|
6 | 6 | install_name_tool -change @rpath/QtCore.framework/Versions/5/QtCore @executable_path/../Frameworks/QtCore.framework/Versions/5/QtCore /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
7 | 7 | install_name_tool -change @rpath/QtPrintSupport.framework/Versions/5/QtPrintSupport @executable_path/../Frameworks/QtPrintSupport.framework/Versions/5/QtPrintSupport /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
8 | 8 | install_name_tool -change @rpath/QtGui.framework/Versions/5/QtGui @executable_path/../Frameworks/QtGui.framework/Versions/5/QtGui /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
9 | 9 | install_name_tool -change @rpath/QtWidgets.framework/Versions/5/QtWidgets @executable_path/../Frameworks/QtWidgets.framework/Versions/5/QtWidgets /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
10 | 10 | install_name_tool -change @rpath/QtNetwork.framework/Versions/5/QtNetwork @executable_path/../Frameworks/QtNetwork.framework/Versions/5/QtNetwork /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
11 | 11 | install_name_tool -change @rpath/QtSvg.framework/Versions/5/QtSvg @executable_path/../Frameworks/QtSvg.framework/Versions/5/QtSvg /tmp/SciQLOP.app/Contents/MacOS/sciqlop |
|
12 | 12 |
General Comments 0
You need to be logged in to leave comments.
Login now