File tree 9 files changed +450
-172
lines changed
9 files changed +450
-172
lines changed Original file line number Diff line number Diff line change @@ -297,3 +297,7 @@ xcshareddata/
297
297
# QTCreator
298
298
* QtCreator. *
299
299
moc_predefs.h
300
+
301
+ # shiboken-generated files
302
+ Engine /Qt5
303
+ Gui /Qt5
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -494,7 +494,8 @@ elif [ "$PKGOS" = "OSX" ]; then
494
494
$TIMEOUT -s KILL 1800 Tests/Tests || true
495
495
fi
496
496
else
497
- $TIMEOUT -s KILL 1800 Tests/Tests
497
+ # Tests exit with a segfault on Qt5
498
+ $TIMEOUT -s KILL 1800 Tests/Tests || [ " $QT_VERSION_MAJOR " = 5 ]
498
499
fi
499
500
fi
500
501
set +x
Original file line number Diff line number Diff line change @@ -43,18 +43,22 @@ function checkoutRepository() {
43
43
branch=" $REPO_COMMIT "
44
44
fi
45
45
echo branch=$branch BRANCH=$REPO_BRANCH COMMIT=$REPO_COMMIT
46
+ deep=false
46
47
if [ ! -d " $REPO_LOCAL_DIRNAME " ]; then
47
48
# slow version:
48
- # $TIMEOUT 1800 $GIT clone "$REPO_URL" "$REPO_LOCAL_DIRNAME"
49
- # fast version (depth=1):
50
- $TIMEOUT 1800 $GIT clone --depth 1 -b " ${branch# tags/ } " " $REPO_URL " " $REPO_LOCAL_DIRNAME "
49
+ if " $deep " && [ -z " $REPO_COMMIT " ]; then
50
+ $TIMEOUT 1800 $GIT clone " $REPO_URL " -b " ${REPO_BRANCH} " " $REPO_LOCAL_DIRNAME "
51
+ else
52
+ # fast version (depth=1):
53
+ $TIMEOUT 1800 $GIT clone --depth 1 -b " ${branch# tags/ } " " $REPO_URL " " $REPO_LOCAL_DIRNAME "
54
+ fi
51
55
fi
52
56
53
57
cd " $REPO_LOCAL_DIRNAME "
54
58
55
59
if [ -z " $REPO_COMMIT " ]; then
56
- $GIT checkout " $REPO_BRANCH "
57
60
REPO_COMMIT=$( git rev-parse HEAD)
61
+ echo " done, got commit $REPO_COMMIT "
58
62
else
59
63
$GIT checkout " $REPO_COMMIT "
60
64
fi
Original file line number Diff line number Diff line change 225
225
226
226
227
227
QT_VERSION_MAJOR=${QT_VERSION_MAJOR:- 4}
228
+ if version_gt " ${RELEASE_TAG:- 0} " 2.5; then
229
+ QT_VERSION_MAJOR=5
230
+ fi
231
+ case " ${GIT_BRANCH:- } " in
232
+ RB-2.[6789])
233
+ QT_VERSION_MAJOR=5
234
+ esac
228
235
229
236
unset LD_LIBRARY_PATH LD_RUN_PATH DYLD_LIBRARY_PATH LIBRARY_PATH CPATH PKG_CONFIG_PATH
230
237
# save the default PATH to avoid growing it each time we source this file
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ if [ "$PKGOS" = "OSX" ]; then
34
34
exit 1
35
35
fi
36
36
if [ " $COMPILER " = " clang" ]; then
37
- case " $osxver " in
38
- 9. * |10. * |11. * |12. * )
37
+ case " $macosx " in
38
+ 9|10|11|12)
39
39
# GXX should be an openmp-capable compiler (to compile CImg.ofx)
40
40
41
41
# older version, using clang-3.4
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -e # Exit immediately if a command exits with a non-zero status
3
+ set -u # Treat unset variables as an error when substituting.
4
+ # set -x # Print commands and their arguments as they are executed.
5
+ # set -v # Prints shell input lines as they are read.
6
+
7
+ if [ $# != 1 ]; then
8
+ echo " Usage: $0 /path/to/Application.app/Contents/MacOS/executable_to_fix"
9
+ echo " Move MacPorts dependencies of an app binary to Application.app/Contents/Frameworks"
10
+ exit 1
11
+ fi
12
+ exe=$1
13
+ pkglib=" $( dirname $exe ) /../Frameworks"
14
+ SDK_HOME=" ${SDK_HOME:-/ opt/ local} "
15
+
16
+ MPLIBS0=" $( otool -L " $exe " | grep -F " ${SDK_HOME} /lib" | grep -F -v ' :' | sort| uniq | awk ' {print $1}' ) "
17
+ # also add first-level and second-level dependencies
18
+ MPLIBS1=" $( for i in $MPLIBS0 ; do echo " $i " ; otool -L " $i " | grep -F " ${SDK_HOME} /lib" | grep -F -v ' :' ; done | sort| uniq | awk ' {print $1}' ) "
19
+ MPLIBS=" $( for i in $MPLIBS1 ; do echo " $i " ; otool -L " $i " | grep -F " ${SDK_HOME} /lib" | grep -F -v ' :' ; done | sort| uniq | awk ' {print $1}' ) "
20
+ for mplib in $MPLIBS ; do
21
+ if [ ! -f " $mplib " ]; then
22
+ echo " missing $exe depend $mplib "
23
+ exit 1
24
+ fi
25
+ lib=" $( echo " $mplib " | awk -F / ' {print $NF}' ) "
26
+ if [ ! -f " $pkglib /${lib} " ]; then
27
+ echo " copying missing lib ${lib} "
28
+ cp " $mplib " " $pkglib /${lib} "
29
+ chmod +w " $pkglib /${lib} "
30
+ fi
31
+ install_name_tool -change " $mplib " " @executable_path/../Frameworks/$lib " " $exe "
32
+ done
Original file line number Diff line number Diff line change @@ -78,6 +78,9 @@ setup_spawnattr(posix_spawnattr_t* spawnattr)
78
78
79
79
// Darwin version to OS X release:
80
80
81
+ // 22.x.x macOS 13.x Ventura
82
+ // 21.x.x macOS 12.x Monterey
83
+ // 20.x.x macOS 11.x Big Sur
81
84
// 19.x.x macOS 10.15.x Catalina
82
85
// 18.x.x macOS 10.14.x Mojave
83
86
// 17.x.x. macOS 10.13.x High Sierra
Original file line number Diff line number Diff line change 88
88
BUILD_6=false
89
89
fi
90
90
91
+ if [ -n " ${BUILD_FROM: +z} " ] || [ -n " ${BUILD_TO: +z} " ]; then
92
+ DEBUG_SCRIPTS=${DEBUG_SCRIPTS:- 1}
93
+ fi
94
+
91
95
echo " -----------------------------------------------------------------------"
92
96
echo " NATRON JENKINS BUILDMASTER"
93
97
echo " -----------------------------------------------------------------------"
You can’t perform that action at this time.
0 commit comments