mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-21 23:48:23 +08:00
Compare commits
482 Commits
v5.9.3
...
wip/naviga
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a06c4b4fe | ||
|
|
6c8307abf6 | ||
|
|
83f2a25f17 | ||
|
|
e8a60ed41b | ||
|
|
c404097600 | ||
|
|
3d6736a7f1 | ||
|
|
c1e2307d02 | ||
|
|
081861de18 | ||
|
|
8375a33d4a | ||
|
|
cd347c86af | ||
|
|
6df84f8984 | ||
|
|
cfc44559ef | ||
|
|
f9e9dd1393 | ||
|
|
ba30e967d0 | ||
|
|
2e6af2bba7 | ||
|
|
c79d285ffa | ||
|
|
2074cadecd | ||
|
|
1616d89eea | ||
|
|
7f6fd7621b | ||
|
|
0029642f18 | ||
|
|
daeaec9b3c | ||
|
|
9fdc8fe5e9 | ||
|
|
9af755a79e | ||
|
|
d4edeff8aa | ||
|
|
3c23dc4846 | ||
|
|
9e74a1e5b7 | ||
|
|
bb9547048b | ||
|
|
7c19a3f83b | ||
|
|
9f50ae280f | ||
|
|
fe06923553 | ||
|
|
dbe27bc9cc | ||
|
|
c8b3ed182d | ||
|
|
8f73d37425 | ||
|
|
9dd5f6d861 | ||
|
|
a01e7f3d40 | ||
|
|
8552003532 | ||
|
|
8197e80155 | ||
|
|
794913dde7 | ||
|
|
5085220907 | ||
|
|
de4e9c2169 | ||
|
|
f1eca9bbff | ||
|
|
ab021d4bb4 | ||
|
|
9ae91ae3f8 | ||
|
|
418cb4c4f5 | ||
|
|
b59f4207a3 | ||
|
|
488dc5c36e | ||
|
|
3cb40d34d3 | ||
|
|
f6d18ec9b3 | ||
|
|
a6feaec287 | ||
|
|
1b5f8cec03 | ||
|
|
2f9a2f65e5 | ||
|
|
a98b0f3d79 | ||
|
|
90261c1df5 | ||
|
|
250dd8c84e | ||
|
|
1c6abfae01 | ||
|
|
4492fd3268 | ||
|
|
5d7972b73b | ||
|
|
85f874388c | ||
|
|
863252be49 | ||
|
|
64c79b27d6 | ||
|
|
eebc0133f0 | ||
|
|
209cb73a36 | ||
|
|
400371faba | ||
|
|
23b4bcf6c5 | ||
|
|
237b308d47 | ||
|
|
280b08eb73 | ||
|
|
8a47814c91 | ||
|
|
8fae7aa66d | ||
|
|
9494b39329 | ||
|
|
5bbeaf6c0d | ||
|
|
b85b272c26 | ||
|
|
04d1ee1df4 | ||
|
|
00e3a0149a | ||
|
|
9cb66c0114 | ||
|
|
940ef0a4cc | ||
|
|
3410bab278 | ||
|
|
95609c6657 | ||
|
|
3230cdb138 | ||
|
|
7a052f4183 | ||
|
|
984b15d758 | ||
|
|
bb9739773c | ||
|
|
764294fcb8 | ||
|
|
686e3ff1b5 | ||
|
|
b038a8c2bd | ||
|
|
e926cd7556 | ||
|
|
52b163092a | ||
|
|
140c6479b5 | ||
|
|
399cface18 | ||
|
|
cb6709ce5c | ||
|
|
08c88de5c8 | ||
|
|
51a87054d6 | ||
|
|
8c790cd2bc | ||
|
|
9c1ce66737 | ||
|
|
b20224fe60 | ||
|
|
f6f00fdce1 | ||
|
|
f6f5cc70e9 | ||
|
|
c3b33afc32 | ||
|
|
5e31866727 | ||
|
|
b1a212b52e | ||
|
|
54d8396d68 | ||
|
|
3a3c6fb2b3 | ||
|
|
ae17b63db2 | ||
|
|
acbedcc314 | ||
|
|
3ba940924d | ||
|
|
8eed3b5be4 | ||
|
|
91739f5fe3 | ||
|
|
c64b2415d3 | ||
|
|
884490eaae | ||
|
|
bcaeff8210 | ||
|
|
060d0bdec1 | ||
|
|
e086fbc6cb | ||
|
|
5186a96b47 | ||
|
|
ea28c00dd6 | ||
|
|
443328fa9f | ||
|
|
404805141a | ||
|
|
769a34ed26 | ||
|
|
066373c9c6 | ||
|
|
c77d4946b2 | ||
|
|
355252621c | ||
|
|
5611fe34b0 | ||
|
|
e30de965b9 | ||
|
|
b2b076782f | ||
|
|
f2dbac41cf | ||
|
|
456a4d6453 | ||
|
|
cadedac3b4 | ||
|
|
af55ddc913 | ||
|
|
9d73a2b304 | ||
|
|
6cd75cce72 | ||
|
|
d212f48b67 | ||
|
|
25a0f1fa08 | ||
|
|
c3096caa14 | ||
|
|
b4b62658ac | ||
|
|
052aa06ef4 | ||
|
|
38649924df | ||
|
|
9fa8b3ca35 | ||
|
|
0687514221 | ||
|
|
532f1dea57 | ||
|
|
3279652635 | ||
|
|
9a160d28d5 | ||
|
|
f322d6047a | ||
|
|
0e4931a8af | ||
|
|
2e329bc68e | ||
|
|
88811f882e | ||
|
|
4cd14f4625 | ||
|
|
d10baa6d3a | ||
|
|
4eaa017023 | ||
|
|
7f7c87a15d | ||
|
|
1583fbd2bb | ||
|
|
213b848cf5 | ||
|
|
f1422dc64b | ||
|
|
e33f38acef | ||
|
|
29456af9b9 | ||
|
|
eb4fcfaba1 | ||
|
|
704b2387de | ||
|
|
13be05c06d | ||
|
|
b032d87632 | ||
|
|
282a4f0a35 | ||
|
|
61cd31a5e3 | ||
|
|
250e07e99a | ||
|
|
a434f14bd9 | ||
|
|
351a519340 | ||
|
|
485244b016 | ||
|
|
00e31823d3 | ||
|
|
18b5dbf7df | ||
|
|
3504be0d83 | ||
|
|
462a2aae2b | ||
|
|
dc5f851e78 | ||
|
|
c4cf4fa07f | ||
|
|
6d1190aaa0 | ||
|
|
7681e742d7 | ||
|
|
3c3d56c0cc | ||
|
|
c0b7daeb10 | ||
|
|
282899453d | ||
|
|
953dc011b2 | ||
|
|
352b30a15d | ||
|
|
e32dd4fe58 | ||
|
|
fc840c3459 | ||
|
|
052b4b5844 | ||
|
|
b6a1e9f07e | ||
|
|
09ec294210 | ||
|
|
5f57762934 | ||
|
|
dc1560dbef | ||
|
|
45528e6874 | ||
|
|
4319f7da72 | ||
|
|
786be66eaf | ||
|
|
31a0826fe8 | ||
|
|
21e7344389 | ||
|
|
57ba8230bd | ||
|
|
99595f44f1 | ||
|
|
b86b3a757b | ||
|
|
b1198d3402 | ||
|
|
7c66e59832 | ||
|
|
f2f9b14cee | ||
|
|
762530ba70 | ||
|
|
b22fccf5ba | ||
|
|
2348ead529 | ||
|
|
8aec4db6a6 | ||
|
|
e33ef922ba | ||
|
|
b55370e356 | ||
|
|
6a875b9f81 | ||
|
|
d1aeb5c569 | ||
|
|
5ee73db243 | ||
|
|
113ad91c98 | ||
|
|
1c7ba877cc | ||
|
|
1540a87590 | ||
|
|
6e4f2f8433 | ||
|
|
da80efa880 | ||
|
|
c2d188f225 | ||
|
|
4175522924 | ||
|
|
ab25cb7af6 | ||
|
|
fb1c052f3b | ||
|
|
d8e1574d5f | ||
|
|
19872ea843 | ||
|
|
271fedaf88 | ||
|
|
3e96fec2e1 | ||
|
|
ebe2b86fd0 | ||
|
|
123ff665c3 | ||
|
|
2a28ce864b | ||
|
|
52da24b78e | ||
|
|
1c1557aa93 | ||
|
|
5f022e5785 | ||
|
|
de5d8f3b4f | ||
|
|
a8e3c392b2 | ||
|
|
29f29e6ea8 | ||
|
|
dc6c54cb2d | ||
|
|
a8178a1888 | ||
|
|
d196866f31 | ||
|
|
01b9b9051b | ||
|
|
2fe8d370e6 | ||
|
|
22e4664eb0 | ||
|
|
84899eca4c | ||
|
|
7139f29749 | ||
|
|
eba433c126 | ||
|
|
04727e9936 | ||
|
|
65c714aaab | ||
|
|
f71d4a3b97 | ||
|
|
2a39f8e5fe | ||
|
|
3bfa9b0b12 | ||
|
|
89d4dec818 | ||
|
|
7a37b90702 | ||
|
|
b9b259fd40 | ||
|
|
82a6a9347f | ||
|
|
a742af96fb | ||
|
|
18f6169bee | ||
|
|
f51fd755b5 | ||
|
|
d3c2de907d | ||
|
|
a417fd37e0 | ||
|
|
5fa40393c5 | ||
|
|
cb327e54bd | ||
|
|
4fb893fcf8 | ||
|
|
b9aae857f9 | ||
|
|
6eee3f6cff | ||
|
|
da3d21c0e6 | ||
|
|
c8b8ee9c00 | ||
|
|
7a96b8dfd4 | ||
|
|
0bc8941e0c | ||
|
|
497fc75f1a | ||
|
|
19f8a741f3 | ||
|
|
d6f7d6ed8b | ||
|
|
fcc0feaacb | ||
|
|
a7ebfbda72 | ||
|
|
62efcd0c0a | ||
|
|
d29192ad3f | ||
|
|
ca89bec297 | ||
|
|
66595488f0 | ||
|
|
28bf922739 | ||
|
|
cec7c07283 | ||
|
|
b23faee265 | ||
|
|
70d3800aab | ||
|
|
fb282b2e58 | ||
|
|
1399d6e130 | ||
|
|
66f9718ebb | ||
|
|
dc0d045c17 | ||
|
|
357de3ea13 | ||
|
|
2d71b84893 | ||
|
|
1bba397539 | ||
|
|
de0d7005cc | ||
|
|
a0bf828433 | ||
|
|
88a1c161e5 | ||
|
|
21cbacf4b4 | ||
|
|
dd7f4112fd | ||
|
|
730e2c9b0b | ||
|
|
5df4ec2ec9 | ||
|
|
ba6ae3be9a | ||
|
|
6b7ee9a8f0 | ||
|
|
b6249e89fa | ||
|
|
146bda6468 | ||
|
|
b5e287b93b | ||
|
|
d55baf5baf | ||
|
|
41edaa5fb9 | ||
|
|
a4adb7f7d6 | ||
|
|
b3d3adc541 | ||
|
|
2e75f02a3f | ||
|
|
2ee0364139 | ||
|
|
04f8860d8c | ||
|
|
0ae61f0f4d | ||
|
|
9236cd01a2 | ||
|
|
ae6ea5349f | ||
|
|
f5dfdedb2d | ||
|
|
547a0ded90 | ||
|
|
df7255ce44 | ||
|
|
3bcc9a9181 | ||
|
|
def11da274 | ||
|
|
475fc2c2ad | ||
|
|
b16eac13e6 | ||
|
|
b0b6b05b34 | ||
|
|
1dee4e9fca | ||
|
|
0565e759c5 | ||
|
|
d06d1081c0 | ||
|
|
44eaaf374a | ||
|
|
c98db75188 | ||
|
|
eccfaf1f50 | ||
|
|
91df8a3a8f | ||
|
|
e067ea2a72 | ||
|
|
35db81f33e | ||
|
|
c2c45640e0 | ||
|
|
828f82b6f0 | ||
|
|
74dd14ae83 | ||
|
|
77fdde0de9 | ||
|
|
5089c4468f | ||
|
|
b12a1591c4 | ||
|
|
a0e1f4f480 | ||
|
|
7d04dc1a29 | ||
|
|
d9f2fe1b7f | ||
|
|
5d9e2c49d1 | ||
|
|
b6a1fc6aae | ||
|
|
8ab923d0e5 | ||
|
|
1f4d727570 | ||
|
|
f8712c099d | ||
|
|
adcdf7b49f | ||
|
|
6e54086be5 | ||
|
|
60f02cdfae | ||
|
|
2b7b098700 | ||
|
|
6d37fda8c1 | ||
|
|
cdbd177b41 | ||
|
|
92a7d95947 | ||
|
|
f1db104ff9 | ||
|
|
ed0f440974 | ||
|
|
6675a8f416 | ||
|
|
eb3b287df1 | ||
|
|
8baf4c994e | ||
|
|
beb73056c3 | ||
|
|
bc16944191 | ||
|
|
fdfe9e05ba | ||
|
|
9a9d798ce4 | ||
|
|
f60bc7aa9d | ||
|
|
f113a65c6e | ||
|
|
5a4b7a56b8 | ||
|
|
e6ddce15c3 | ||
|
|
9468be52db | ||
|
|
5d6f3486bc | ||
|
|
208baeb301 | ||
|
|
47bf73f4d0 | ||
|
|
35db040229 | ||
|
|
0ec6aad455 | ||
|
|
062b29b311 | ||
|
|
26fda37639 | ||
|
|
329d718a19 | ||
|
|
f84bab04f7 | ||
|
|
4096e387f0 | ||
|
|
c016a01b4c | ||
|
|
841cf6893a | ||
|
|
6309243064 | ||
|
|
d56552566f | ||
|
|
90272a84ae | ||
|
|
b0eddcbae6 | ||
|
|
94ce420956 | ||
|
|
f1a9b684bf | ||
|
|
59ee506fe6 | ||
|
|
0aecf8a1df | ||
|
|
4a4589d878 | ||
|
|
d068364935 | ||
|
|
037335f4bf | ||
|
|
5a7288d9b2 | ||
|
|
70f20ec55e | ||
|
|
f90790b3ed | ||
|
|
dc66b1f7e1 | ||
|
|
59cd433253 | ||
|
|
d18655ef5a | ||
|
|
081ee56cd0 | ||
|
|
88a5b96c50 | ||
|
|
6cbd3faac0 | ||
|
|
22a2a8a6b9 | ||
|
|
c41dd34de7 | ||
|
|
ef983c6a3b | ||
|
|
ee8327928d | ||
|
|
1099b1ddce | ||
|
|
cdab32be23 | ||
|
|
9a096e6841 | ||
|
|
ae9f6019bc | ||
|
|
cf0a8af55d | ||
|
|
35a3ba35ef | ||
|
|
7983297c8b | ||
|
|
e9c5f633e0 | ||
|
|
1643c95635 | ||
|
|
1cfc052b9d | ||
|
|
36d633f2fd | ||
|
|
214a38f974 | ||
|
|
892b1977c5 | ||
|
|
90ddfaf35f | ||
|
|
452814565e | ||
|
|
f07e18248f | ||
|
|
ce1627df92 | ||
|
|
b77ab20bf0 | ||
|
|
d82fe5cacf | ||
|
|
bfec1f8e3b | ||
|
|
804bfd8700 | ||
|
|
5d5a6d3a87 | ||
|
|
0c66e761be | ||
|
|
99af319684 | ||
|
|
1d965fc599 | ||
|
|
356b20feed | ||
|
|
c4a807ca85 | ||
|
|
f02c2e2fde | ||
|
|
b7d9431716 | ||
|
|
fd76acc661 | ||
|
|
5141ac6418 | ||
|
|
3e9b7b16c9 | ||
|
|
2ef18dac6c | ||
|
|
a1f173fc67 | ||
|
|
eb89f13583 | ||
|
|
dd3d32d13c | ||
|
|
cc8a7501f3 | ||
|
|
92b8f50bfa | ||
|
|
87df3502a7 | ||
|
|
664ce64f24 | ||
|
|
0dbc2a3aaf | ||
|
|
eb6ce241f0 | ||
|
|
4ad6292028 | ||
|
|
bf09762570 | ||
|
|
cf92d02d8a | ||
|
|
4bddc8d3f6 | ||
|
|
6a44181e8c | ||
|
|
8007941af0 | ||
|
|
738509c242 | ||
|
|
e6da4a6aa5 | ||
|
|
ebf8aa15e6 | ||
|
|
d18d7aaa40 | ||
|
|
b229f6d1ea | ||
|
|
42a802efba | ||
|
|
65eb6e74f8 | ||
|
|
d615b4a99f | ||
|
|
bded0e1bbc | ||
|
|
cdbccd5a12 | ||
|
|
82bdc55bc3 | ||
|
|
cc549c2444 | ||
|
|
744634e97f | ||
|
|
f3a2e06e60 | ||
|
|
69188e280c | ||
|
|
e6d42ad390 | ||
|
|
b99923d6ee | ||
|
|
1859f9b26c | ||
|
|
a765838889 | ||
|
|
0787472145 | ||
|
|
026f813fcb | ||
|
|
9101ac782f | ||
|
|
38ae7edf69 | ||
|
|
eeb1a20326 | ||
|
|
a5f3f8ed48 | ||
|
|
d48b0c3402 | ||
|
|
dfb0befca3 | ||
|
|
596702c398 | ||
|
|
76ea20881e | ||
|
|
ddf574fd81 | ||
|
|
ec5efb6b70 | ||
|
|
79bc19fc8e | ||
|
|
e5f0b04f12 | ||
|
|
8b4e259b22 | ||
|
|
18999572b4 | ||
|
|
415ea08693 | ||
|
|
5e30cba1fd | ||
|
|
703e71840e | ||
|
|
c0a148bb7d | ||
|
|
25113b3315 | ||
|
|
ddc800b37f | ||
|
|
37e3da674c | ||
|
|
1da7bdd25e | ||
|
|
8889075b0d | ||
|
|
e9d91a3949 | ||
|
|
f65308d371 | ||
|
|
82cea36531 | ||
|
|
92cec830f0 |
95
.gitmodules
vendored
95
.gitmodules
vendored
@@ -1,66 +1,66 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtsvg qtxmlpatterns
|
recommends = qtsvg qtxmlpatterns
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtscript"]
|
[submodule "qtscript"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qttools
|
recommends = qttools
|
||||||
path = qtscript
|
path = qtscript
|
||||||
url = ../qtscript.git
|
url = ../qtscript.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = deprecated
|
status = deprecated
|
||||||
[submodule "qtmultimedia"]
|
[submodule "qtmultimedia"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtmultimedia
|
path = qtmultimedia
|
||||||
url = ../qtmultimedia.git
|
url = ../qtmultimedia.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt
|
recommends = qtdeclarative qtactiveqt
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtxmlpatterns
|
path = qtxmlpatterns
|
||||||
url = ../qtxmlpatterns.git
|
url = ../qtxmlpatterns.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttranslations"]
|
[submodule "qttranslations"]
|
||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -81,14 +81,14 @@
|
|||||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsensors"]
|
[submodule "qtsensors"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtsensors
|
path = qtsensors
|
||||||
url = ../qtsensors.git
|
url = ../qtsensors.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -121,27 +121,27 @@
|
|||||||
recommends = qtdeclarative qtandroidextras
|
recommends = qtdeclarative qtandroidextras
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwayland"]
|
[submodule "qtwayland"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwayland
|
path = qtwayland
|
||||||
url = ../qtwayland.git
|
url = ../qtwayland.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtimageformats qtgamepad
|
recommends = qtdeclarative qtimageformats qtgamepad
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquick1"]
|
[submodule "qtquick1"]
|
||||||
depends = qtscript
|
depends = qtscript
|
||||||
@@ -154,51 +154,51 @@
|
|||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtgraphicaleffects
|
path = qtgraphicaleffects
|
||||||
url = ../qtgraphicaleffects.git
|
url = ../qtgraphicaleffects.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols"]
|
[submodule "qtquickcontrols"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtgraphicaleffects
|
recommends = qtgraphicaleffects
|
||||||
path = qtquickcontrols
|
path = qtquickcontrols
|
||||||
url = ../qtquickcontrols.git
|
url = ../qtquickcontrols.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtserialport
|
depends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtx11extras"]
|
[submodule "qtx11extras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtx11extras
|
path = qtx11extras
|
||||||
url = ../qtx11extras.git
|
url = ../qtx11extras.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmacextras"]
|
[submodule "qtmacextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtmacextras
|
path = qtmacextras
|
||||||
url = ../qtmacextras.git
|
url = ../qtmacextras.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwinextras"]
|
[submodule "qtwinextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtwinextras
|
path = qtwinextras
|
||||||
url = ../qtwinextras.git
|
url = ../qtwinextras.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtandroidextras"]
|
[submodule "qtandroidextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtandroidextras
|
path = qtandroidextras
|
||||||
url = ../qtandroidextras.git
|
url = ../qtandroidextras.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtenginio"]
|
[submodule "qtenginio"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
@@ -211,101 +211,108 @@
|
|||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebchannel"]
|
[submodule "qtwebchannel"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtwebsockets
|
recommends = qtdeclarative qtwebsockets
|
||||||
path = qtwebchannel
|
path = qtwebchannel
|
||||||
url = ../qtwebchannel.git
|
url = ../qtwebchannel.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtquickcontrols qtwebchannel
|
depends = qtquickcontrols qtwebchannel
|
||||||
recommends = qtlocation qttools
|
recommends = qtlocation qttools
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
priority = 10
|
priority = 10
|
||||||
[submodule "qtcanvas3d"]
|
[submodule "qtcanvas3d"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtcanvas3d
|
path = qtcanvas3d
|
||||||
url = ../qtcanvas3d.git
|
url = ../qtcanvas3d.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebview"]
|
[submodule "qtwebview"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
recommends = qtwebengine
|
recommends = qtwebengine
|
||||||
path = qtwebview
|
path = qtwebview
|
||||||
url = ../qtwebview.git
|
url = ../qtwebview.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols2"]
|
[submodule "qtquickcontrols2"]
|
||||||
depends = qtgraphicaleffects
|
depends = qtgraphicaleffects
|
||||||
|
recommends = qtimageformats
|
||||||
path = qtquickcontrols2
|
path = qtquickcontrols2
|
||||||
url = ../qtquickcontrols2.git
|
url = ../qtquickcontrols2.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtpurchasing"]
|
[submodule "qtpurchasing"]
|
||||||
depends = qtbase qtandroidextras
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative qtandroidextras
|
||||||
path = qtpurchasing
|
path = qtpurchasing
|
||||||
url = ../qtpurchasing.git
|
url = ../qtpurchasing.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtcharts"]
|
[submodule "qtcharts"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtcharts
|
path = qtcharts
|
||||||
url = ../qtcharts.git
|
url = ../qtcharts.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdatavis3d"]
|
[submodule "qtdatavis3d"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtdatavis3d
|
path = qtdatavis3d
|
||||||
url = ../qtdatavis3d.git
|
url = ../qtdatavis3d.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtvirtualkeyboard"]
|
[submodule "qtvirtualkeyboard"]
|
||||||
depends = qtbase qtdeclarative qtsvg
|
depends = qtbase qtdeclarative qtsvg
|
||||||
recommends = qtmultimedia qtquickcontrols
|
recommends = qtmultimedia qtquickcontrols
|
||||||
path = qtvirtualkeyboard
|
path = qtvirtualkeyboard
|
||||||
url = ../qtvirtualkeyboard.git
|
url = ../qtvirtualkeyboard.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtgamepad"]
|
[submodule "qtgamepad"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtgamepad
|
path = qtgamepad
|
||||||
url = ../qtgamepad.git
|
url = ../qtgamepad.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtscxml"]
|
[submodule "qtscxml"]
|
||||||
depends = qtbase qtdeclarative
|
depends = qtbase qtdeclarative
|
||||||
path = qtscxml
|
path = qtscxml
|
||||||
url = ../qtscxml.git
|
url = ../qtscxml.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtspeech"]
|
[submodule "qtspeech"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtmultimedia
|
recommends = qtdeclarative qtmultimedia
|
||||||
path = qtspeech
|
path = qtspeech
|
||||||
url = ../qtspeech.git
|
url = ../qtspeech.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = preview
|
status = addon
|
||||||
[submodule "qtnetworkauth"]
|
[submodule "qtnetworkauth"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtwebview
|
|
||||||
path = qtnetworkauth
|
path = qtnetworkauth
|
||||||
url = ../qtnetworkauth.git
|
url = ../qtnetworkauth.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
status = preview
|
status = addon
|
||||||
[submodule "qtremoteobjects"]
|
[submodule "qtremoteobjects"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtremoteobjects
|
path = qtremoteobjects
|
||||||
url = ../qtremoteobjects.git
|
url = ../qtremoteobjects.git
|
||||||
branch = 5.9.3
|
branch = 5.11
|
||||||
|
status = preview
|
||||||
|
[submodule "qtwebglplugin"]
|
||||||
|
depends = qtbase qtwebsockets
|
||||||
|
recommends = qtdeclarative
|
||||||
|
path = qtwebglplugin
|
||||||
|
url = ../qtwebglplugin.git
|
||||||
|
branch = 5.11
|
||||||
status = preview
|
status = preview
|
||||||
|
|||||||
@@ -1,24 +1,27 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
----------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-8.1-x86_64 MSVC2013 DeveloperBuild Release DisableTests
|
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 DeveloperBuild Release QtNamespace QtLibInfix BuildExamples
|
|
||||||
qtci-windows-7-x86-3 Mingw53 DeveloperBuild Release OpenGLDynamic
|
qtci-windows-7-x86-3 Mingw53 DeveloperBuild Release OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
qtci-windows-10-x86_64-10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 GCC NoWidgets ForceDebugInfo
|
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
qtci-linux-Ubuntu-16.04-x86_64-2 GCC NoWidgets ForceDebugInfo
|
||||||
|
qtci-linux-Ubuntu-16.04-x86_64-2 GCC DeveloperBuild OutOfSourceBuild QtLibInfix QtNamespace BuildExamples Documentation
|
||||||
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
qtci-linux-openSUSE-42.3-x86_64 GCC DeveloperBuild NoPch
|
||||||
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests
|
qtci-linux-openSUSE-42.3-x86_64 ICC_18 DeveloperBuild NoPch DisableTests SystemSQLite
|
||||||
qtci-linux-RHEL-6.6-x86_64 GCC Release ForceDebugInfo
|
qtci-linux-RHEL-6.6-x86_64 GCC Release ForceDebugInfo
|
||||||
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 GCC Packaging Release NoUseGoldLinker ForceDebugInfo SeparateDebugInfo
|
||||||
qtci-macos-10.12-x86_64-8 Clang Packaging DebugAndRelease Release
|
qtci-macos-10.12-x86_64-8 Clang Packaging DebugAndRelease Release
|
||||||
qtci-osx-10.11-x86_64-3 Clang DeveloperBuild Release QtNamespace NoPch
|
qtci-osx-10.11-x86_64-3 Clang DeveloperBuild Release QtNamespace NoPch
|
||||||
qtci-osx-10.10-x86_64 Clang Release NoFramework DisableTests
|
qtci-osx-10.11-x86_64-3 Clang Release NoFramework DisableTests
|
||||||
qtci-macos-10.12-x86_64-8 IOS_ANY x86_64 Clang Release DisableTests Static
|
qtci-macos-10.12-x86_64-8 IOS_ANY multi Clang Release DisableTests Static
|
||||||
|
qtci-macos-10.12-x86_64-8 TvOS_ANY multi Clang Release DisableTests
|
||||||
|
qtci-macos-10.12-x86_64-8 WatchOS_ANY multi Clang Release DisableTests
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU armv7 GCC Release
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC Release
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU arm64 GCC Release
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC Release
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 GCC TestOnly LicenseCheck
|
qtci-linux-Ubuntu-16.04-x86_64-2 GCC TestOnly LicenseCheck
|
||||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
|||||||
@@ -1,25 +1,22 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-8.1-x86_64 x86 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-8.1-x86_64 MSVC2013 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2015 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86-6 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
|
||||||
qtci-windows-10-x86_64-10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic
|
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
|
||||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 armv7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
qtci-windows-10-x86_64-10 WinRT_10 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo DisableTests
|
||||||
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-windows-7-x86-3 Android_ANY armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-3 Android_ANY armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-7-x86-3 Android_ANY x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-7-x86-3 Android_ANY x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.12-x86_64-8 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 Android_ANY armv7 GCC Packaging Release DisableTests OpenGLES2
|
||||||
qtci-macos-10.12-x86_64-8 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 Android_ANY x86 GCC Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-6.6-x86_64 QNX_660 x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-macos-10.12-x86_64-8 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-macos-10.12-x86_64-8 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
qtci-macos-10.12-x86_64-8 IOS_ANY multi Clang Packaging DebugAndRelease DisableTests Static
|
||||||
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw53 Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 TvOS_ANY multi Clang DebugAndRelease DisableTests
|
||||||
qtci-windows-10-x86_64-10 QNX_700 x86 Mingw53 Release DisableTests OpenGLES2
|
qtci-macos-10.12-x86_64-8 WatchOS_ANY multi Clang DebugAndRelease DisableTests
|
||||||
qtci-windows-10-x86_64-10 QNX_660 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-10-x86_64-10 QNX_700 armv7 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-windows-10-x86_64-10 QNX_660 x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
qtci-windows-10-x86_64-10 QNX_700 armv8 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-windows-10-x86_64-10 QNX_700 x86 Mingw53 Packaging Release DisableTests OpenGLES2
|
||||||
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv7 GCC Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 armv8 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
qtci-linux-RHEL-7.4-x86_64 INTEGRITY_11_04 armv7 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
qtci-linux-RHEL-7.4-x86_64 QNX_700 x86 GCC Packaging Release DisableTests OpenGLES2 NoUseGoldLinker
|
||||||
|
|||||||
4
coin/platform_configs/qtbase.txt
Normal file
4
coin/platform_configs/qtbase.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
Template Target OS Target arch Compiler Features
|
||||||
|
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC DeveloperBuild DisableTests
|
||||||
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC DeveloperBuild DisableTests
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU armv7 GCC DeveloperBuild
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU armv7 GCC DeveloperBuild
|
||||||
qtci-linux-Ubuntu-16.04-x86_64-1 QEMU arm64 GCC DeveloperBuild
|
qtci-linux-Ubuntu-16.04-x86_64-2 QEMU arm64 GCC DeveloperBuild
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
Template Target OS Target arch Compiler Features
|
Template Target OS Target arch Compiler Features
|
||||||
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
qtci-windows-10-x86_64-7 x86 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
qtci-windows-10-x86_64-10 x86 MSVC2017 DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
qtci-windows-10-x86_64-7 MSVC2017 Packaging DebugAndRelease Release ForceDebugInfo OpenGLDynamic DisableTests
|
|
||||||
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
qtci-windows-7-x86-3 Mingw53 Packaging DebugAndRelease Release OpenGLDynamic DisableTests
|
||||||
|
|||||||
6
coin/platform_configs/tqtc-qt-rta.txt
Normal file
6
coin/platform_configs/tqtc-qt-rta.txt
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
Template Target OS Target arch Compiler Features
|
||||||
|
--------------------------- ------------------- ----------- ----------- -------------------------------------------------------------------------------------
|
||||||
|
qtci-windows-7-x86_64-4 MSVC2013 Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-8.1-x86_64 MSVC2013 Release ForceDebugInfo OpenGLDynamic DisableTests
|
||||||
|
qtci-windows-10-x86-3 MSVC2017 Release ForceDebugInfo OpenGLDynamic
|
||||||
|
|
||||||
@@ -1,62 +0,0 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
$scriptsPath = "C:\Python27\Scripts"
|
|
||||||
|
|
||||||
& "$scriptsPath\pip.exe" install --upgrade conan==0.24.0
|
|
||||||
|
|
||||||
# Use Qt Project repository by default
|
|
||||||
& "$scriptsPath\conan.exe" remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert
|
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_CONAN_BUILDINFO_DIR", "C:\Utils\conanbuildinfos", "Machine")
|
|
||||||
|
|
||||||
function Start-Process-Logged
|
|
||||||
{
|
|
||||||
Write-Host "Start-Process", $args
|
|
||||||
Start-Process @args
|
|
||||||
}
|
|
||||||
|
|
||||||
function Run-Conan-Install
|
|
||||||
{
|
|
||||||
Param (
|
|
||||||
[string]$ConanfilesDir,
|
|
||||||
[string]$BuildinfoDir,
|
|
||||||
[string]$Arch,
|
|
||||||
[string]$Compiler,
|
|
||||||
[string]$CompilerVersion,
|
|
||||||
[string]$CompilerRuntime,
|
|
||||||
[string]$CompilerLibcxx
|
|
||||||
)
|
|
||||||
|
|
||||||
if ($CompilerRuntime) {
|
|
||||||
$extraArgs = "-s compiler.runtime=$($CompilerRuntime)"
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($CompilerLibcxx) {
|
|
||||||
$extraArgs = "-s compiler.libcxx=$($CompilerLibcxx)"
|
|
||||||
}
|
|
||||||
|
|
||||||
$manifestsDir = "$PSScriptRoot\conan_manifests"
|
|
||||||
|
|
||||||
Get-ChildItem -Path "$ConanfilesDir\*.txt" |
|
|
||||||
ForEach-Object {
|
|
||||||
$conanfile = $_.FullName
|
|
||||||
$outpwd = "C:\Utils\conanbuildinfos\$($BuildinfoDir)\$($_.BaseName)"
|
|
||||||
New-Item $outpwd -Type directory -Force
|
|
||||||
|
|
||||||
$process = Start-Process-Logged `
|
|
||||||
"$scriptsPath\conan.exe" `
|
|
||||||
-WorkingDirectory $outpwd `
|
|
||||||
-ArgumentList "install -f $conanfile --no-imports --verify $manifestsDir", `
|
|
||||||
'-s', ('compiler="' + $Compiler + '"'), `
|
|
||||||
"-s os=Windows -s arch=$Arch -s compiler.version=$CompilerVersion $extraArgs" `
|
|
||||||
-NoNewWindow -Wait -Verbose `
|
|
||||||
-PassThru # Return process object
|
|
||||||
|
|
||||||
if ($process.ExitCode -ne 0) {
|
|
||||||
Write-Host "conan exited with code $($process.ExitCode)"
|
|
||||||
Exit(1)
|
|
||||||
}
|
|
||||||
|
|
||||||
Copy-Item -Path $conanfile -Destination "$outpwd\conanfile.txt"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\Qt3DStudio-3rdparty-win64-CI.zip"
|
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip -OutFile $zip
|
|
||||||
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
|
||||||
Extract-Zip $zip C:\Utils\Qt3DStudio3rdparty
|
|
||||||
Remove-Item $zip
|
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("QT3DSTUDIO_3RDPARTY_DIR", "C:/Utils/Qt3DStudio3rdparty", "Machine")
|
|
||||||
@@ -1,90 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the test suite of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# A helper script used for downloading a file from a URL or an alternative
|
|
||||||
# URL. Also the SHA1 is checked for the file. Target filename should also
|
|
||||||
# be given.
|
|
||||||
#
|
|
||||||
# If called directly from another script, it will exit the parent script
|
|
||||||
# as well, if not called in its own subshell with parentheses.
|
|
||||||
|
|
||||||
# shellcheck source=try_catch.sh
|
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
|
||||||
|
|
||||||
ExceptionDownloadPrimaryUrl=100
|
|
||||||
ExceptionDownloadAltUrl=101
|
|
||||||
ExceptionSHA1=102
|
|
||||||
|
|
||||||
function DownloadURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
targetFile=$4
|
|
||||||
|
|
||||||
try
|
|
||||||
(
|
|
||||||
try
|
|
||||||
(
|
|
||||||
echo "Downloading from primary URL '$url'"
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || throw $ExceptionDownloadPrimaryUrl
|
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownloadPrimaryUrl)
|
|
||||||
echo "Failed to download '$url' multiple times"
|
|
||||||
echo "Downloading tar.gz from alternative URL '$url_alt'"
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt" || throw $ExceptionDownloadAltUrl
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
echo "Checking SHA1 on PKG '$targetFile'"
|
|
||||||
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
|
||||||
shasum --check $targetFile.sha1 || throw $ExceptionSHA1
|
|
||||||
)
|
|
||||||
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownloadAltUrl)
|
|
||||||
echo "Failed downloading PKG from primary and alternative URLs"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionSHA1)
|
|
||||||
echo "Failed checksum on $targetFile."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,136 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# This script receives URLs to a compressed file. It then downloads it,
|
|
||||||
# uncompresses it and installs it by default
|
|
||||||
# to /Applications/. This can be overridden by a target parameter.
|
|
||||||
|
|
||||||
# shellcheck source=try_catch.sh
|
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
|
||||||
# shellcheck source=DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
|
||||||
|
|
||||||
ExceptionDownload=99
|
|
||||||
ExceptionCreateTmpFile=100
|
|
||||||
ExceptionCreateTmpDirectory=101
|
|
||||||
ExceptionUncompress=102
|
|
||||||
ExceptionMoveApp=103
|
|
||||||
ExceptionDeleteTmpFile=104
|
|
||||||
ExceptionRemoveTmpDirectory=105
|
|
||||||
ExceptionUnknownFormat=106
|
|
||||||
|
|
||||||
|
|
||||||
function InstallAppFromCompressedFileFromURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
appPrefix=$4
|
|
||||||
target=$5
|
|
||||||
|
|
||||||
if [ "" == "$target" ]; then
|
|
||||||
target="/Applications/"
|
|
||||||
fi
|
|
||||||
|
|
||||||
try
|
|
||||||
(
|
|
||||||
basefilename=${url##*/}
|
|
||||||
extension=${basefilename##*.}
|
|
||||||
filename=${basefilename%.*}
|
|
||||||
if [ "$extension" == "gz" ] && [ "${filename##*.}" == "tar" ]; then
|
|
||||||
extension="tar.gz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Extension for file: $extension"
|
|
||||||
echo "Creating temporary file and directory"
|
|
||||||
targetFile=$(mktemp "$TMPDIR$(uuidgen).$extension") || throw $ExceptionCreateTmpFile
|
|
||||||
# macOS 10.10 mktemp does require prefix
|
|
||||||
if [[ $OSTYPE == "darwin14" ]]; then
|
|
||||||
targetDirectory=$(mktemp -d -t '10.10') || throw $ExceptionCreateTmpDirectory
|
|
||||||
else
|
|
||||||
targetDirectory=$(mktemp -d) || throw $ExceptionCreateTmpDirectory
|
|
||||||
fi
|
|
||||||
(DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile") || throw $ExceptionDownload
|
|
||||||
echo "Uncompress $targetFile"
|
|
||||||
case $extension in
|
|
||||||
"tar.gz")
|
|
||||||
tar -xzf "$targetFile" --directory "$targetDirectory" || throw $ExceptionUncompress
|
|
||||||
;;
|
|
||||||
"zip")
|
|
||||||
unzip "$targetFile" -d "$targetDirectory" || throw $ExceptionUncompress
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
throw $ExceptionUnknownFormat
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
echo "Moving app to '$target'"
|
|
||||||
sudo mv "$targetDirectory/$appPrefix/"* "$target" || throw $ExceptionMoveApp
|
|
||||||
echo "Removing file '$targetFile'"
|
|
||||||
rm "$targetFile" || throw $ExceptionDeleteTmpFile
|
|
||||||
echo "Removing directory '$targetDirectory'"
|
|
||||||
rm -rf "$targetDirectory" || throw $ExceptionRemoveTmpDirectory
|
|
||||||
)
|
|
||||||
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionCreateTmpFile)
|
|
||||||
echo "Failed to create temporary file"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUncompress)
|
|
||||||
echo "Failed extracting compressed file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionMoveApp)
|
|
||||||
echo "Failed moving app to '$target'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionDeleteTmpFile)
|
|
||||||
echo "Failed deleting temporary file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionRemoveTmpDirectory)
|
|
||||||
echo "Failed deleting temporary file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUnknownFormat)
|
|
||||||
echo "Unknown file format."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,124 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the test suite of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# shellcheck source=try_catch.sh
|
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
|
||||||
# shellcheck source=DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
|
||||||
|
|
||||||
ExceptionDownload=99
|
|
||||||
ExceptionCreateTmpFile=100
|
|
||||||
ExceptionCreateTmpDirectory=101
|
|
||||||
ExceptionUncompress=102
|
|
||||||
ExceptionMoveApp=103
|
|
||||||
ExceptionDeleteTmpFile=104
|
|
||||||
ExceptionRemoveTmpDirectory=105
|
|
||||||
ExceptionUnknownFormat=106
|
|
||||||
|
|
||||||
|
|
||||||
function InstallFromCompressedFileFromURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
installDirectory=$4
|
|
||||||
appPrefix=$5
|
|
||||||
|
|
||||||
try
|
|
||||||
(
|
|
||||||
basefilename=${url##*/}
|
|
||||||
extension=${basefilename##*.}
|
|
||||||
filename=${basefilename%.*}
|
|
||||||
if [ "$extension" == "gz" ] && [ "${filename##*.}" == "tar" ]; then
|
|
||||||
extension="tar.gz"
|
|
||||||
fi
|
|
||||||
echo "Extension for file: $extension"
|
|
||||||
echo "Creating temporary file and directory"
|
|
||||||
targetFile=$(mktemp "$TMPDIR$(uuidgen)XXXXX.$extension") || throw $ExceptionCreateTmpFile
|
|
||||||
targetDirectory=$(mktemp -d) || throw $ExceptionCreateTmpDirectory
|
|
||||||
(DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile") || throw $ExceptionDownload
|
|
||||||
echo "Uncompress $targetFile"
|
|
||||||
case $extension in
|
|
||||||
"tar.gz")
|
|
||||||
tar -xzf "$targetFile" --directory "$targetDirectory" || throw $ExceptionUncompress
|
|
||||||
;;
|
|
||||||
"zip")
|
|
||||||
unzip "$targetFile" -d "$targetDirectory" || throw $ExceptionUncompress
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
throw $ExceptionUnknownFormat
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
echo "Moving app to $installDirectory"
|
|
||||||
sudo mkdir -p "$installDirectory"
|
|
||||||
sudo mv "$targetDirectory/$appPrefix/"* "$installDirectory" || throw $ExceptionMoveApp
|
|
||||||
echo "Removing file '$targetFile'"
|
|
||||||
rm "$targetFile" || throw $ExceptionDeleteTmpFile
|
|
||||||
echo "Removing directory '$targetDirectory'"
|
|
||||||
rm -rf "$targetDirectory" || throw $ExceptionRemoveTmpDirectory
|
|
||||||
)
|
|
||||||
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionCreateTmpFile)
|
|
||||||
echo "Failed to create temporary file"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUncompress)
|
|
||||||
echo "Failed extracting compressed file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionMoveApp)
|
|
||||||
echo "Failed moving app to target location."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionDeleteTmpFile)
|
|
||||||
echo "Failed deleting temporary file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionRemoveTmpDirectory)
|
|
||||||
echo "Failed deleting temporary file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUnknownFormat)
|
|
||||||
echo "Unknown file format."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# shellcheck source=try_catch.sh
|
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
|
||||||
|
|
||||||
ExceptionCreateTmpFile=100
|
|
||||||
ExceptionDownloadPrimaryUrl=101
|
|
||||||
ExceptionDownloadAltUrl=102
|
|
||||||
ExceptionSHA1=103
|
|
||||||
ExceptionInstallerPKG=104
|
|
||||||
ExceptionDeleteTmpFile=105
|
|
||||||
|
|
||||||
|
|
||||||
function InstallPKGFromURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
targetDirectory=$4
|
|
||||||
|
|
||||||
try
|
|
||||||
(
|
|
||||||
echo "Creating temporary file"
|
|
||||||
targetFile=$(mktemp "$TMPDIR$(uuidgen).pkg") || trow $ExceptionCreateTmpFile
|
|
||||||
try
|
|
||||||
(
|
|
||||||
echo "Downloading PKG from primary URL '$url'"
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || throw $ExceptionDownloadPrimaryUrl
|
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownloadPrimaryUrl)
|
|
||||||
echo "Failed to download '$url' multiple times"
|
|
||||||
echo "Downloading PKG from alternative URL '$url_alt'"
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt" || throw $ExceptionDownloadAltUrl
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
echo "Checking SHA1 on PKG '$targetFile'"
|
|
||||||
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
|
||||||
/usr/bin/shasum --check $targetFile.sha1 || throw $ExceptionSHA1
|
|
||||||
echo "Run installer on PKG"
|
|
||||||
sudo installer -package "$targetFile" -target "$targetDirectory" || throw $ExceptionInstallerPKG
|
|
||||||
echo "Removing file '$targetFile'"
|
|
||||||
rm "$targetFile" || throw $ExceptionDeleteTmpFile
|
|
||||||
)
|
|
||||||
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionCreateTmpFile)
|
|
||||||
echo "Failed to create temporary file"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionDownloadAltUrl)
|
|
||||||
echo "Failed downloading PKG from primary and alternative URLs"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionSHA1)
|
|
||||||
echo "Failed to check sha1sum."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionInstallerPKG)
|
|
||||||
echo "Failed running installer on PKG."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionDeleteTmpFile)
|
|
||||||
echo "Failed deleting temporary file."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
# Disable the NTP from syncing
|
|
||||||
w32tm /config /syncfromflags:NO
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
# Turning off win defender.
|
|
||||||
#
|
|
||||||
# If disabled manually, windows will automatically enable it after
|
|
||||||
# some period of time. Disabling it speeds up the builds.
|
|
||||||
REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /V DisableAntiSpyware /T REG_dWORD /D 1 /F
|
|
||||||
@@ -1,125 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Contact: http://www.qt.io/licensing/
|
|
||||||
##
|
|
||||||
## This file is part of the provisioning scripts of the Qt Toolkit.
|
|
||||||
##
|
|
||||||
## $QT_BEGIN_LICENSE:LGPL21$
|
|
||||||
## Commercial License Usage
|
|
||||||
## Licensees holding valid commercial Qt licenses may use this file in
|
|
||||||
## accordance with the commercial license agreement provided with the
|
|
||||||
## Software or, alternatively, in accordance with the terms contained in
|
|
||||||
## a written agreement between you and The Qt Company. For licensing terms
|
|
||||||
## and conditions see http://www.qt.io/terms-conditions. For further
|
|
||||||
## information use the contact form at http://www.qt.io/contact-us.
|
|
||||||
##
|
|
||||||
## GNU Lesser General Public License Usage
|
|
||||||
## Alternatively, this file may be used under the terms of the GNU Lesser
|
|
||||||
## General Public License version 2.1 or version 3 as published by the Free
|
|
||||||
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
|
||||||
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
|
||||||
## following information to ensure the GNU Lesser General Public License
|
|
||||||
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
|
||||||
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
|
||||||
##
|
|
||||||
## As a special exception, The Qt Company gives you certain additional
|
|
||||||
## rights. These rights are described in The Qt Company LGPL Exception
|
|
||||||
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
|
||||||
##
|
|
||||||
## $QT_END_LICENSE$
|
|
||||||
##
|
|
||||||
############################################################################
|
|
||||||
|
|
||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
# This script installs ICU.
|
|
||||||
|
|
||||||
$version = "53_1"
|
|
||||||
|
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64")) {
|
|
||||||
|
|
||||||
$url_official_2012 = "http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2012/icu_" + $version + "_msvc_2012_64_devel.7z"
|
|
||||||
$url_cache_2012 = "\\ci-files01-hki.intra.qt.io\provisioning\windows\icu_" + $version + "_msvc_2012_64_devel.7z"
|
|
||||||
$sha1_2012 = "8A8C371F3ED58E81BBCF58CF5F8388CEF51FA9AC"
|
|
||||||
|
|
||||||
$url_official_2013 = "http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2013/icu_" + $version + "_msvc_2013_64_devel.7z"
|
|
||||||
$url_cache_2013 = "\\ci-files01-hki.intra.qt.io/provisioning/windows/icu_" + $version + "_msvc_2013_64_devel.7z"
|
|
||||||
$sha1_2013 = "7267CF8C5BD39C4218F2CCFE31ECA81B7644ED6F"
|
|
||||||
|
|
||||||
$icuPackage_msvc2012_64 = "C:\Windows\Temp\icu-$version-msvc2012_64.7z"
|
|
||||||
$icuPackage_msvc2013_64 = "C:\Windows\Temp\icu-$version-msvc2013_64.7z"
|
|
||||||
|
|
||||||
if (!(Test-Path C:\Utils\icu_"$version"_msvc_2012_64_devel\)) {
|
|
||||||
echo "Fetching from URL ..."
|
|
||||||
Download $url_official_2012 $url_cache_2012 $icuPackage_msvc2012_64
|
|
||||||
Verify-Checksum $icuPackage_msvc2012_64 $sha1_2012
|
|
||||||
Get-ChildItem $icuPackage_msvc2012_64 | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o""C:\Utils\icu_"$version"_msvc_2012_64_devel\""}
|
|
||||||
|
|
||||||
echo "Cleaning $icuPackage_msvc2012_64..."
|
|
||||||
Remove-Item -Recurse -Force $icuPackage_msvc2012_64
|
|
||||||
|
|
||||||
echo "ICU MSVC2012 = $version" >> ~\versions.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(Test-Path C:\Utils\icu_"$version"_msvc_2013_64_devel\)) {
|
|
||||||
echo "Fetching from URL ..."
|
|
||||||
Download $url_official_2013 $url_cache_2013 $icuPackage_msvc2013_64
|
|
||||||
Verify-Checksum $icuPackage_msvc2013_64 $sha1_2013
|
|
||||||
Get-ChildItem $icuPackage_msvc2013_64 | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o""C:\Utils\icu_"$version"_msvc_2013_64_devel\""}
|
|
||||||
|
|
||||||
echo "Cleaning $icuPackage_msvc2013_64..."
|
|
||||||
Remove-Item -Recurse -Force $icuPackage_msvc2013_64
|
|
||||||
|
|
||||||
echo "ICU MSVC2013 = $version" >> ~\versions.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
# FIXME: do we really want to have it per MSVC version? What about MSVC2015?
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2012", "C:\\Utils\\icu_53_1_msvc_2012_64_devel\\icu53_1", "Machine")
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2013", "C:\\Utils\\icu_53_1_msvc_2013_64_devel\\icu53_1", "Machine")
|
|
||||||
|
|
||||||
# FIXME: do we really want to use the 4.8.2 ICU build?
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_Mingw49", "C:\Utils\icu_53_1_Mingw_builds_4_8_2_posix_seh_64_devel\icu53_1", "Machine")
|
|
||||||
|
|
||||||
} else {
|
|
||||||
|
|
||||||
$url_official_2012_32 = "http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2012/icu_" + $version + "_msvc_2012_32_devel.7z"
|
|
||||||
$url_cache_2012_32 = "\\ci-files01-hki.intra.qt.io\provisioning\windows\icu_" + $version + "_msvc_2012_32_devel.7z"
|
|
||||||
$sha1_2012_32 = "F2FF287EEB0163B015D37AE08871165FBA87BCF0"
|
|
||||||
|
|
||||||
$url_official_2013_32 = "http://download.qt.io/development_releases/prebuilt/icu/prebuilt/msvc2013/icu_" + $version + "_msvc_2013_32_devel.7z"
|
|
||||||
$url_cache_2013_32 = "\\ci-files01-hki.intra.qt.io/provisioning/windows/icu_" + $version + "_msvc_2013_32_devel.7z"
|
|
||||||
$sha1_2013_32 = "D745A5F0F6A3817AE989501A01A5A0BA53FDB800"
|
|
||||||
|
|
||||||
$icuPackage_msvc2012_32 = "C:\Windows\Temp\icu-$version-msvc2012_32.7z"
|
|
||||||
$icuPackage_msvc2013_32 = "C:\Windows\Temp\icu-$version-msvc2013_32.7z"
|
|
||||||
|
|
||||||
if (!(Test-Path C:\Utils\icu_"$version"_msvc_2012_32_devel\)) {
|
|
||||||
echo "Fetching from URL ..."
|
|
||||||
Download $url_official_2012_32 $url_cache_2012_32 $icuPackage_msvc2012_32
|
|
||||||
Verify-Checksum $icuPackage_msvc2012_32 $sha1_2012_32
|
|
||||||
Get-ChildItem $icuPackage_msvc2012_32 | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o""C:\Utils\icu_"$version"_msvc_2012_32_devel\""}
|
|
||||||
|
|
||||||
echo "Cleaning $icuPackage_msvc2012_32..."
|
|
||||||
Remove-Item -Recurse -Force $icuPackage_msvc2012_32
|
|
||||||
|
|
||||||
echo "ICU MSVC2012 = $version" >> ~\versions.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!(Test-Path C:\Utils\icu_"$version"_msvc_2013_32_devel\)) {
|
|
||||||
echo "Fetching from URL ..."
|
|
||||||
Download $url_official_2013_32 $url_cache_2013_32 $icuPackage_msvc2013_32
|
|
||||||
Verify-Checksum $icuPackage_msvc2013_32 $sha1_2013_32
|
|
||||||
Get-ChildItem $icuPackage_msvc2013_32 | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname -o""C:\Utils\icu_"$version"_msvc_2013_32_devel\""}
|
|
||||||
|
|
||||||
echo "Cleaning $icuPackage_msvc2013_32..."
|
|
||||||
Remove-Item -Recurse -Force $icuPackage_msvc2013_32
|
|
||||||
|
|
||||||
echo "ICU MSVC2013 = $version" >> ~\versions.txt
|
|
||||||
}
|
|
||||||
|
|
||||||
# FIXME: do we really want to have it per MSVC version? What about MSVC2015?
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2012", "C:\\Utils\\icu_53_1_msvc_2012_32_devel\\icu53_1", "Machine")
|
|
||||||
[Environment]::SetEnvironmentVariable("CI_ICU_PATH_MSVC2013", "C:\\Utils\\icu_53_1_msvc_2013_32_devel\\icu53_1", "Machine")
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -1,32 +0,0 @@
|
|||||||
param([Int32]$archVer=32)
|
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
|
||||||
|
|
||||||
# PySide versions following 5.6 use a C++ parser based on Clang (http://clang.org/).
|
|
||||||
# The Clang library (C-bindings), version 3.9 or higher is required for building.
|
|
||||||
|
|
||||||
Get-Content "$PSScriptRoot\..\common\sw_versions.txt" | Foreach-Object {
|
|
||||||
$var = $_.Split('=')
|
|
||||||
New-Variable -Name $var[0] -Value $var[1]
|
|
||||||
$libclang_version = $libclang_version -replace '["."]'
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( $archVer -eq 64 ) {
|
|
||||||
$sha1 = "dc42beb0efff130c4d7dfef3c97adf26f1ab04e0"
|
|
||||||
$url = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-windows-vs2015_64.7z"
|
|
||||||
} else {
|
|
||||||
$sha1 = "64e826c00ae632fbb28655e6e1fa9194980e1205"
|
|
||||||
$url = "https://download.qt.io/development_releases/prebuilt/libclang/libclang-release_$libclang_version-windows-vs2015_32.7z"
|
|
||||||
}
|
|
||||||
|
|
||||||
$zip = "c:\users\qt\downloads\libclang.7z"
|
|
||||||
$destination = "C:\Utils\libclang-" + $libclang_version
|
|
||||||
|
|
||||||
Download $url $url $zip
|
|
||||||
Verify-Checksum $zip $sha1
|
|
||||||
|
|
||||||
C:\Utils\sevenzip\7z.exe x $zip -oC:\Utils\
|
|
||||||
Rename-Item C:\Utils\libclang $destination
|
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("LLVM_INSTALL_DIR", $destination, [EnvironmentVariableTarget]::Machine)
|
|
||||||
del $zip
|
|
||||||
echo "libClang = $libclang_version" >> ~/versions.txt
|
|
||||||
97
coin/provisioning/common/android_linux.sh → coin/provisioning/common/linux/android_linux.sh
Normal file → Executable file
97
coin/provisioning/common/android_linux.sh → coin/provisioning/common/linux/android_linux.sh
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -37,8 +37,9 @@
|
|||||||
|
|
||||||
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/check_and_set_proxy.sh"
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
targetFolder="/opt/android"
|
targetFolder="/opt/android"
|
||||||
sdkTargetFolder="$targetFolder/sdk"
|
sdkTargetFolder="$targetFolder/sdk"
|
||||||
@@ -60,65 +61,43 @@ toolsSourceFile="$basePath/$toolsFile"
|
|||||||
ndkTargetFile="/tmp/$ndkFile"
|
ndkTargetFile="/tmp/$ndkFile"
|
||||||
ndkSourceFile="$basePath/$ndkFile"
|
ndkSourceFile="$basePath/$ndkFile"
|
||||||
|
|
||||||
ExceptionDownload=99
|
DownloadURL "$toolsSourceFile" "$toolsSourceFile" "$toolsSha1" "$toolsTargetFile"
|
||||||
ExceptionUnzipTools=100
|
DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
|
||||||
ExceptionUnzipNdk=101
|
echo "Unzipping Android NDK to '$targetFolder'"
|
||||||
ExceptionRmTools=102
|
sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
|
||||||
ExceptionRmNdk=103
|
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
||||||
ExceptionSdkManager=104
|
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder"
|
||||||
|
rm "$ndkTargetFile"
|
||||||
|
rm "$toolsTargetFile"
|
||||||
|
|
||||||
try
|
echo "Changing ownership of Android files."
|
||||||
(
|
if uname -a |grep -q "el6\|el7"; then
|
||||||
(DownloadURL "$toolsSourceFile" "$toolsSourceFile" "$toolsSha1" "$toolsTargetFile") || throw $ExceptionDownload
|
|
||||||
(DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile") || throw $ExceptionDownload
|
|
||||||
echo "Unzipping Android NDK to '$targetFolder'"
|
|
||||||
sudo unzip -q "$ndkTargetFile" -d "$targetFolder" || throw $ExceptionUnzipNdk
|
|
||||||
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
|
||||||
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder" || throw $ExceptionUnzipTools
|
|
||||||
rm "$ndkTargetFile" || throw $ExceptionRmNdk
|
|
||||||
rm "$toolsTargetFile" || throw $ExceptionRmTools
|
|
||||||
|
|
||||||
echo "Changing ownership of Android files."
|
|
||||||
sudo chown -R qt:wheel "$targetFolder"
|
sudo chown -R qt:wheel "$targetFolder"
|
||||||
|
else
|
||||||
|
sudo chown -R qt:users "$targetFolder"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
echo "Running SDK manager for platforms;$sdkApiLevel, tools, platform-tools and build-tools;$sdkBuildToolsVersion."
|
||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion" || throw $ExceptionSdkManager
|
if [ "$http_proxy" != "" ]; then
|
||||||
|
proxy_host=$(echo $proxy | cut -d'/' -f3 | cut -d':' -f1)
|
||||||
|
proxy_port=$(echo $proxy | cut -d':' -f3)
|
||||||
|
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" --no_https --proxy=http --proxy_host=$proxy_host --proxy_port=$proxy_port "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||||
|
else
|
||||||
|
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "tools" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "export ANDROID_SDK_HOME=$sdkTargetFolder" >> ~/.bashrc
|
SetEnvVar "ANDROID_SDK_HOME" "$sdkTargetFolder"
|
||||||
echo "export ANDROID_NDK_HOME=$targetFolder/android-ndk-$ndkVersion" >> ~/.bashrc
|
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
||||||
echo "export ANDROID_NDK_HOST=linux-x86_64" >> ~/.bashrc
|
SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
||||||
echo "export ANDROID_API_VERSION=$sdkApiLevel" >> ~/.bashrc
|
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
||||||
|
|
||||||
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
||||||
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
||||||
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
||||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUnzipTools)
|
|
||||||
echo "Failed to unzip Android SDK Tools."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionUnzipNdk)
|
|
||||||
echo "Failed to unzip Android NDK."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionRmTools)
|
|
||||||
echo "Failed to remove temporary tools package '$toolsTargetFile'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionRmNdk)
|
|
||||||
echo "Failed to remove temporary NDK package '$ndkTargetFile'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionSdkManager)
|
|
||||||
echo "Failed to run sdkmanager."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
|
cd $sdkTargetFolder/tools/bin
|
||||||
|
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
||||||
|
echo "no" | ./avdmanager create avd -n x86emulator -k "system-images;android-21;google_apis;x86" -c 2048M -f
|
||||||
|
# Purely informative, show the list of avd devices
|
||||||
|
./avdmanager list avd
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -37,8 +37,8 @@
|
|||||||
|
|
||||||
# CMake is needed for autotests that verify that Qt can be built with CMake
|
# CMake is needed for autotests that verify that Qt can be built with CMake
|
||||||
|
|
||||||
# shellcheck source=InstallFromCompressedFileFromURL.sh
|
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||||
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="3.6.2"
|
version="3.6.2"
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.6.2-Linux-x86_64.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.6.2-Linux-x86_64.tar.gz"
|
||||||
@@ -49,5 +49,4 @@ appPrefix="cmake-$version-Linux-x86_64"
|
|||||||
|
|
||||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||||
|
|
||||||
echo "Adding $targetFolder/bin to PATH"
|
SetEnvVar "PATH" "$targetFolder/bin:\$PATH"
|
||||||
echo "export PATH=$targetFolder/bin:\$PATH" >> ~/.bashrc
|
|
||||||
44
coin/provisioning/common/linux/disable-ntp_linux.sh
Executable file
44
coin/provisioning/common/linux/disable-ntp_linux.sh
Executable file
@@ -0,0 +1,44 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
echo "Disable Network Time Protocol (NTP)"
|
||||||
|
|
||||||
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
|
sudo timedatectl set-ntp false
|
||||||
|
else
|
||||||
|
systemctl &>/dev/null && sudo systemctl disable ntpd || sudo /sbin/chkconfig ntpd off
|
||||||
|
fi
|
||||||
2
coin/provisioning/common/disable_selinux.sh → coin/provisioning/common/linux/disable_selinux.sh
Normal file → Executable file
2
coin/provisioning/common/disable_selinux.sh → coin/provisioning/common/linux/disable_selinux.sh
Normal file → Executable file
@@ -1,3 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# We need to disable selinux while we are overwriting some binaries
|
# We need to disable selinux while we are overwriting some binaries
|
||||||
# required by it. If this is not done, ICU provisioning will create
|
# required by it. If this is not done, ICU provisioning will create
|
||||||
# template that is not booting.
|
# template that is not booting.
|
||||||
62
coin/provisioning/common/linux/fbx_linux.sh
Executable file
62
coin/provisioning/common/linux/fbx_linux.sh
Executable file
@@ -0,0 +1,62 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs FBX SDK
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
set -e
|
||||||
|
tarballName="fbx20161_2_fbxsdk_linux.tar.gz"
|
||||||
|
targetFolder="/opt/fbx"
|
||||||
|
cachedUrl="http://ci-files01-hki.intra.qt.io/input/fbx/$tarballName"
|
||||||
|
officialUrl="http://download.autodesk.com/us/fbx_release_older/2016.1.2/$tarballName"
|
||||||
|
sha1="b0a08778de025e2c6e90d6fbdb6531f74a3da605"
|
||||||
|
tmpFolder="/tmp"
|
||||||
|
targetFile="$tmpFolder/$tarballName"
|
||||||
|
installer="$tmpFolder/fbx20161_2_fbxsdk_linux"
|
||||||
|
|
||||||
|
DownloadURL "$cachedUrl" "$officialUrl" "$sha1" "$targetFile"
|
||||||
|
|
||||||
|
sudo tar -C $tmpFolder -xf "$targetFile"
|
||||||
|
sudo mkdir -p $targetFolder
|
||||||
|
(echo "yes"; echo "n") | sudo "$installer" -w "$tmpFolder" "$targetFolder"
|
||||||
|
|
||||||
|
rm -rf "$targetFile"
|
||||||
|
|
||||||
|
# Set env variables
|
||||||
|
SetEnvVar "FBXSDK" "$targetFolder"
|
||||||
|
|
||||||
|
echo "FBX SDK = 2016.1.2" >> ~/versions.txt
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -35,7 +35,8 @@
|
|||||||
|
|
||||||
# This script installs INTEGRITY
|
# This script installs INTEGRITY
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/InstallFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="11.4.4"
|
version="11.4.4"
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/integrity/ghs_$version.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/integrity/ghs_$version.tar.gz"
|
||||||
@@ -46,10 +47,10 @@ appPrefix=""
|
|||||||
|
|
||||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||||
|
|
||||||
echo "export INTEGRITY_BSP=platform-cortex-a9" >> ~/.bashrc
|
SetEnvVar "INTEGRITY_BSP" "platform-cortex-a9"
|
||||||
echo "export INTEGRITY_PATH=$targetFolder/comp_201654" >> ~/.bashrc
|
SetEnvVar "INTEGRITY_PATH" "$targetFolder/comp_201654"
|
||||||
echo "export INTEGRITY_DIR=$targetFolder/int1144" >> ~/.bashrc
|
SetEnvVar "INTEGRITY_DIR" "$targetFolder/int1144"
|
||||||
echo "export INTEGRITY_GL_INC_DIR=\$INTEGRITY_DIR/INTEGRITY-include/Vivante/sdk/inc" >> ~/.bashrc
|
SetEnvVar "INTEGRITY_GL_INC_DIR" "\$INTEGRITY_DIR/INTEGRITY-include/Vivante/sdk/inc"
|
||||||
echo "export INTEGRITY_GL_LIB_DIR=\$INTEGRITY_DIR/libs/Vivante" >> ~/.bashrc
|
SetEnvVar "INTEGRITY_GL_LIB_DIR" "\$INTEGRITY_DIR/libs/Vivante"
|
||||||
|
|
||||||
echo "INTEGRITY = $version" >> ~/versions.txt
|
echo "INTEGRITY = $version" >> ~/versions.txt
|
||||||
69
coin/provisioning/common/linux/open62541.sh
Executable file
69
coin/provisioning/common/linux/open62541.sh
Executable file
@@ -0,0 +1,69 @@
|
|||||||
|
#!/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
set +e
|
||||||
|
|
||||||
|
# We need to source to be able to use cmake in the shell
|
||||||
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
|
source ~/.profile
|
||||||
|
else
|
||||||
|
source ~/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
TEMPDIR=$(mktemp --directory) || echo "Failed to create temporary directory"
|
||||||
|
trap "sudo rm -fr $TEMPDIR" EXIT
|
||||||
|
cd $TEMPDIR
|
||||||
|
|
||||||
|
sudo pip install --upgrade pip
|
||||||
|
sudo pip install six
|
||||||
|
|
||||||
|
git clone https://github.com/open62541/open62541.git open62541
|
||||||
|
cd open62541
|
||||||
|
git checkout ba3b55ab4afafe6bc9d2cb922eafd51c6cee4629
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
cmake -DUA_ENABLE_AMALGAMATION=ON -DUA_ENABLE_METHODCALLS=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DLIB_INSTALL_DIR:PATH=/usr/local/lib/open62541 ..
|
||||||
|
make
|
||||||
|
|
||||||
|
sudo make install
|
||||||
|
sudo /sbin/ldconfig
|
||||||
|
|
||||||
|
SetEnvVar "QTOPCUA_OPEN62541_LIB_PATH" "/usr/local/lib/open62541"
|
||||||
|
SetEnvVar "QTOPCUA_OPEN62541_INCLUDE_PATH" "/usr/local/include/open62541"
|
||||||
|
|
||||||
44
coin/provisioning/common/openssl_for_android_linux.sh → coin/provisioning/common/linux/openssl_for_android_linux.sh
Normal file → Executable file
44
coin/provisioning/common/openssl_for_android_linux.sh → coin/provisioning/common/linux/openssl_for_android_linux.sh
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -36,8 +36,8 @@
|
|||||||
# This script install OpenSSL from sources.
|
# This script install OpenSSL from sources.
|
||||||
# Requires GCC and Perl to be in PATH.
|
# Requires GCC and Perl to be in PATH.
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
version="1.0.2g"
|
version="1.0.2g"
|
||||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
||||||
@@ -50,36 +50,16 @@ sha="36af23887402a5ea4ebef91df8e61654906f58f2"
|
|||||||
# QTQAINFRA-1436
|
# QTQAINFRA-1436
|
||||||
opensslHome="${installFolder}openssl-1.0.2"
|
opensslHome="${installFolder}openssl-1.0.2"
|
||||||
|
|
||||||
ExceptionDownload=99
|
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
||||||
ExceptionTar=100
|
|
||||||
ExceptionConfig=101
|
|
||||||
|
|
||||||
try
|
tar -xzf "$targetFile" -C "$installFolder"
|
||||||
(
|
# This rename should be removed once hard coded path from Coin is fixed. (QTQAINFRA-1436)
|
||||||
(DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile") || throw $ExceptionDownload
|
mv "${opensslHome}g" "${opensslHome}"
|
||||||
|
pushd "$opensslHome"
|
||||||
|
|
||||||
tar -xzf "$targetFile" -C "$installFolder" || throw $ExceptionTar
|
echo "Running configure"
|
||||||
# This rename should be removed once hard coded path from Coin is fixed. (QTQAINFRA-1436)
|
perl Configure shared android
|
||||||
mv "${opensslHome}g" "${opensslHome}"
|
|
||||||
pushd "$opensslHome"
|
|
||||||
perl Configure shared android || throw $ExceptionConfig
|
|
||||||
|
|
||||||
echo "export OPENSSL_ANDROID_HOME=$opensslHome" >> ~/.bashrc
|
SetEnvVar "OPENSSL_ANDROID_HOME" "$opensslHome"
|
||||||
echo "OpenSSL for Android = $version" >> ~/versions.txt
|
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionDownload)
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionTar)
|
|
||||||
echo "Failed to extract $targetFile"
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionConfig)
|
|
||||||
echo "Failed to run 'config'."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
}
|
echo "OpenSSL for Android = $version" >> ~/versions.txt
|
||||||
66
coin/provisioning/common/linux/qnx_660.sh
Executable file
66
coin/provisioning/common/linux/qnx_660.sh
Executable file
@@ -0,0 +1,66 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs QNX 6.6.0.
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
targetFolder="/opt/"
|
||||||
|
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/linux/qnx660.tar.gz"
|
||||||
|
sha1="E292CCAEF447AC1AA4DAD7802D604A5531ACD8D0"
|
||||||
|
folderName="qnx660"
|
||||||
|
targetFile="qnx660.tar.gz"
|
||||||
|
wget --tries=5 --waitretry=5 --progress=dot:giga --output-document="$targetFile" "$sourceFile"
|
||||||
|
echo "$sha1 $targetFile" | sha1sum --check
|
||||||
|
if [ ! -d "$targetFolder" ]; then
|
||||||
|
mkdir -p $targetFolder
|
||||||
|
fi
|
||||||
|
sudo tar -C $targetFolder -xvzf $targetFile
|
||||||
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
|
|
||||||
|
# Verify that we have last file in tar
|
||||||
|
if [ ! -f $targetFolder/$folderName/qnx660-env.sh ]; then
|
||||||
|
echo "Installation failed!"
|
||||||
|
exit -1
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -rf $targetFile
|
||||||
|
|
||||||
|
# Set env variables
|
||||||
|
SetEnvVar "QNX_660" "$targetFolder$folderName"
|
||||||
|
|
||||||
|
echo "QNX SDP = 6.6.0" >> ~/versions.txt
|
||||||
13
coin/provisioning/common/qnx_700.sh → coin/provisioning/common/linux/qnx_700.sh
Normal file → Executable file
13
coin/provisioning/common/qnx_700.sh → coin/provisioning/common/linux/qnx_700.sh
Normal file → Executable file
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -36,15 +36,18 @@
|
|||||||
# This script installs QNX 7.
|
# This script installs QNX 7.
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
targetFolder="/opt/"
|
targetFolder="/opt/"
|
||||||
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx700.tar.xz"
|
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx700.tar.xz"
|
||||||
sha1="949a87c5f00d0756956cb4b1b3b213ecaeee9113"
|
sha1="949a87c5f00d0756956cb4b1b3b213ecaeee9113"
|
||||||
folderName="qnx700"
|
folderName="qnx700"
|
||||||
targetFile="qnx700.tar.xz"
|
targetFile="qnx700.tar.xz"
|
||||||
wget --tries=5 --waitretry=5 --output-document="$targetFile" "$sourceFile"
|
wget --tries=5 --waitretry=5 --progress=dot:giga --output-document="$targetFile" "$sourceFile"
|
||||||
echo "$sha1 $targetFile" | sha1sum --check
|
echo "$sha1 $targetFile" | sha1sum --check
|
||||||
if [ ! -d "$targetFolder" ]; then
|
if [ ! -d "$targetFolder" ]; then
|
||||||
mkdir -p $targetFolder
|
mkdir -p $targetFolder
|
||||||
fi
|
fi
|
||||||
sudo tar -C $targetFolder -Jxf $targetFile
|
sudo tar -C $targetFolder -Jxf $targetFile
|
||||||
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
||||||
@@ -56,6 +59,8 @@ if [ ! -f $targetFolder/$folderName/qnxsdp-env.sh ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf $targetFile
|
rm -rf $targetFile
|
||||||
|
|
||||||
# Set env variables
|
# Set env variables
|
||||||
echo "export QNX_700=$targetFolder$folderName" >> ~/.bashrc
|
SetEnvVar "QNX_700" "$targetFolder$folderName"
|
||||||
|
|
||||||
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -33,48 +33,59 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# This script modifies system settings for automated use
|
# This script receives URLs to a compressed file. It then downloads it,
|
||||||
|
# uncompresses it and installs it by default
|
||||||
|
# to /Applications/. This can be overridden by a target parameter.
|
||||||
|
|
||||||
# shellcheck source=../common/try_catch.sh
|
set -ex
|
||||||
source "${BASH_SOURCE%/*}/../common/try_catch.sh"
|
|
||||||
|
|
||||||
NTS_IP=10.212.2.216
|
# shellcheck source=DownloadURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
|
||||||
ExceptionGsettings1=100
|
function InstallAppFromCompressedFileFromURL {
|
||||||
ExceptionGsettings2=101
|
url=$1
|
||||||
ExceptionGsettings3=102
|
url_alt=$2
|
||||||
ExceptionNTS=103
|
expectedSha1=$3
|
||||||
|
appPrefix=$4
|
||||||
|
target=$5
|
||||||
|
|
||||||
try
|
if [ "" == "$target" ]; then
|
||||||
(
|
target="/Applications/"
|
||||||
echo "Timeout for blanking the screen (0 = never)"
|
fi
|
||||||
gsettings set org.gnome.desktop.session idle-delay 0 || throw $ExceptionGsettings1
|
|
||||||
echo "Prevents screen lock when screesaver goes active."
|
|
||||||
gsettings set org.gnome.desktop.screensaver lock-enabled false || throw $ExceptionGsettings2
|
|
||||||
echo "Disable questions on shutdown."
|
|
||||||
gsettings set com.canonical.indicator.session suppress-logout-restart-shutdown true || throw $ExceptionGsettings3
|
|
||||||
|
|
||||||
echo "Set Network Test Server address to $NTS_IP in /etc/hosts"
|
basefilename=${url##*/}
|
||||||
echo "$NTS_IP qt-test-server qt-test-server.qt-test-net" | sudo tee -a /etc/hosts || throw $ExceptionNTS
|
extension=${basefilename##*.}
|
||||||
)
|
filename=${basefilename%.*}
|
||||||
catch || {
|
if [ "$extension" == "gz" ] && [ "${filename##*.}" == "tar" ]; then
|
||||||
case $ex_code in
|
extension="tar.gz"
|
||||||
$ExceptionGsettings1)
|
fi
|
||||||
echo "Failed to disable black screen."
|
|
||||||
exit 1;
|
echo "Extension for file: $extension"
|
||||||
|
echo "Creating temporary file and directory"
|
||||||
|
targetFile=$(mktemp "$TMPDIR$(uuidgen).$extension")
|
||||||
|
# macOS 10.10 mktemp does require prefix
|
||||||
|
if [[ $OSTYPE == "darwin14" ]]; then
|
||||||
|
targetDirectory=$(mktemp -d -t '10.10')
|
||||||
|
else
|
||||||
|
targetDirectory=$(mktemp -d)
|
||||||
|
fi
|
||||||
|
(DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile")
|
||||||
|
echo "Uncompress $targetFile"
|
||||||
|
case $extension in
|
||||||
|
"tar.gz")
|
||||||
|
tar -xzf "$targetFile" --directory "$targetDirectory"
|
||||||
;;
|
;;
|
||||||
$ExceptionGsettings2)
|
"zip")
|
||||||
echo "Failed to prevent screen lock."
|
unzip -q "$targetFile" -d "$targetDirectory"
|
||||||
exit 1;
|
|
||||||
;;
|
;;
|
||||||
$ExceptionGsettings3)
|
*)
|
||||||
echo "Failed to disable questions on shutdown."
|
exit 1
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionNTS)
|
|
||||||
echo "Failed to set network teset server address into /etc/hosts."
|
|
||||||
exit 1;
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
echo "Moving app to '$target'"
|
||||||
|
sudo mv "$targetDirectory/$appPrefix/"* "$target"
|
||||||
|
echo "Removing file '$targetFile'"
|
||||||
|
rm "$targetFile"
|
||||||
|
echo "Removing directory '$targetDirectory'"
|
||||||
|
rm -rf "$targetDirectory"
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -33,31 +33,27 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
source "${BASH_SOURCE%/*}/../common/DownloadURL.sh"
|
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
packageEpel="epel-release-latest-7.noarch.rpm"
|
function InstallPKGFromURL {
|
||||||
OfficialUrl="https://dl.fedoraproject.org/pub/epel/$packageEpel"
|
url=$1
|
||||||
CachedUrl="http://ci-files01-hki.intra.qt.io/input/redhat/$packageEpel"
|
url_alt=$2
|
||||||
SHA1="5512b80e5b71f2370d8419fa16a0bc14c5edf854"
|
expectedSha1=$3
|
||||||
|
targetDirectory=$4
|
||||||
DownloadURL $OfficialUrl $CachedUrl $SHA1 ./$packageEpel
|
|
||||||
sudo rpm -Uvh $packageEpel
|
|
||||||
sudo rm -f $packageEpel
|
|
||||||
|
|
||||||
# install python3
|
|
||||||
sudo yum install -y python34-devel
|
|
||||||
|
|
||||||
# install pip3
|
|
||||||
|
|
||||||
packagePip="get-pip.py"
|
|
||||||
OfficialUrlPip="https://bootstrap.pypa.io/$packagePip"
|
|
||||||
CachedUrlPip="http://ci-files01-hki.intra.qt.io/input/redhat/$packagePip"
|
|
||||||
SHA1Pip="3d45cef22b043b2b333baa63abaa99544e9c031d"
|
|
||||||
|
|
||||||
DownloadURL $OfficialUrlPip $CachedUrlPip $SHA1Pip ./$packagePip
|
|
||||||
sudo python3 $packagePip
|
|
||||||
sudo rm -f $packagePip
|
|
||||||
sudo pip3 install virtualenv
|
|
||||||
|
|
||||||
|
echo "Creating temporary file"
|
||||||
|
targetFile=$(mktemp "$TMPDIR$(uuidgen).pkg")
|
||||||
|
echo "Downloading PKG from primary URL '$url'"
|
||||||
|
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || (
|
||||||
|
echo "Failed to download '$url' multiple times"
|
||||||
|
echo "Downloading PKG from alternative URL '$url_alt'"
|
||||||
|
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt"
|
||||||
|
)
|
||||||
|
echo "Checking SHA1 on PKG '$targetFile'"
|
||||||
|
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
||||||
|
/usr/bin/shasum --check $targetFile.sha1
|
||||||
|
echo "Run installer on PKG"
|
||||||
|
sudo installer -package "$targetFile" -target "$targetDirectory"
|
||||||
|
echo "Removing file '$targetFile'"
|
||||||
|
rm "$targetFile"
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -39,6 +39,8 @@
|
|||||||
|
|
||||||
# shellcheck source=./InstallAppFromCompressedFileFromURL.sh
|
# shellcheck source=./InstallAppFromCompressedFileFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
|
source "${BASH_SOURCE%/*}/InstallAppFromCompressedFileFromURL.sh"
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/osx_10.11_el_capitan/cmake-3.6.2-Darwin-x86_64.tar.gz"
|
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/osx_10.11_el_capitan/cmake-3.6.2-Darwin-x86_64.tar.gz"
|
||||||
AltUrl="https://cmake.org/files/v3.6/cmake-3.6.2-Darwin-x86_64.tar.gz"
|
AltUrl="https://cmake.org/files/v3.6/cmake-3.6.2-Darwin-x86_64.tar.gz"
|
||||||
@@ -47,5 +49,6 @@ appPrefix="cmake-3.6.2-Darwin-x86_64"
|
|||||||
|
|
||||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
||||||
|
|
||||||
echo "export PATH=/Applications/CMake.app/Contents/bin:\$PATH" >> ~/.bashrc
|
SetEnvVar "PATH" "/Applications/CMake.app/Contents/bin:\$PATH"
|
||||||
|
|
||||||
echo "CMake = 3.6.2" >> ~/versions.txt
|
echo "CMake = 3.6.2" >> ~/versions.txt
|
||||||
3
coin/provisioning/common/macos/disable_update_downloads.sh
Executable file
3
coin/provisioning/common/macos/disable_update_downloads.sh
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -boolean FALSE
|
||||||
|
|
||||||
73
coin/provisioning/common/macos/fbx_macos.sh
Executable file
73
coin/provisioning/common/macos/fbx_macos.sh
Executable file
@@ -0,0 +1,73 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs FBX SDK
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# shellcheck source=../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
fileName="fbx20161_2_fbxsdk_clang_mac.pkg.tgz"
|
||||||
|
targetFolder="/opt/fbx"
|
||||||
|
cachedUrl="/net/ci-files01-hki.intra.qt.io/hdd/www/input/fbx/$fileName"
|
||||||
|
officialUrl="http://download.autodesk.com/us/fbx_release_older/2016.1.2/$fileName"
|
||||||
|
sha1="f82535423c700c605320c52e13e781c92208ec6b"
|
||||||
|
targetFolder="/tmp"
|
||||||
|
targetFile="$targetFolder/$fileName"
|
||||||
|
installer="$targetFolder/fbx20161_2_fbxsdk_clang_macos.pkg"
|
||||||
|
|
||||||
|
ExceptionExtractPrimaryUrl=100
|
||||||
|
|
||||||
|
echo "Extracting '$cachedUrl'"
|
||||||
|
tar -xzf "$cachedUrl" -C "$targetFolder" || (
|
||||||
|
echo "Failed to uncompress from '$cachedUrl'"
|
||||||
|
echo "Downloading from '$officialUrl'"
|
||||||
|
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$officialUrl"
|
||||||
|
echo "Checking SHA1 on PKG '$targetFile'"
|
||||||
|
echo "$sha1 *$targetFile" > $targetFile.sha1
|
||||||
|
shasum --check $targetFile.sha1
|
||||||
|
echo "Extracting '$targetFile'"
|
||||||
|
tar -xzf "$targetFile" -C "$targetFolder"
|
||||||
|
)
|
||||||
|
|
||||||
|
rm -rf "$targetFile"
|
||||||
|
echo "Running installer for '$installer'"
|
||||||
|
sudo installer -pkg "$installer" -target "/"
|
||||||
|
|
||||||
|
# Set env variables
|
||||||
|
SetEnvVar "FBXSDK" "/Applications/Autodesk/FBX\ SDK/2016.1.2/"
|
||||||
|
|
||||||
|
echo "FBX SDK = 2016.1.2" >> ~/versions.txt
|
||||||
|
|
||||||
62
coin/provisioning/common/macos/install-commandlinetools.sh
Executable file
62
coin/provisioning/common/macos/install-commandlinetools.sh
Executable file
@@ -0,0 +1,62 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# Command line tools is need by homebrew
|
||||||
|
|
||||||
|
function InstallCommandLineTools {
|
||||||
|
url=$1
|
||||||
|
url_alt=$2
|
||||||
|
expectedSha1=$3
|
||||||
|
packageName=$4
|
||||||
|
version=$5
|
||||||
|
|
||||||
|
DownloadURL $url $url_alt $expectedSha1 /tmp/$packageName
|
||||||
|
echo "Mounting $packageName"
|
||||||
|
hdiutil attach /tmp/$packageName
|
||||||
|
cd "/Volumes/Command Line Developer Tools"
|
||||||
|
echo "Installing"
|
||||||
|
sudo installer -verbose -pkg *.pkg -target /
|
||||||
|
cd /
|
||||||
|
# Let's fait for 5 second before unmounting. Sometimes resource is busy and cant be unmounted
|
||||||
|
sleep 3
|
||||||
|
echo "Unmounting"
|
||||||
|
umount /Volumes/Command\ Line\ Developer\ Tools/
|
||||||
|
echo "Removing $packageName"
|
||||||
|
rm /tmp/$packageName
|
||||||
|
|
||||||
|
echo "Command Line Tools = $version" >> ~/versions.txt
|
||||||
|
}
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -44,48 +44,18 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
# shellcheck source=../common/try_catch.sh
|
function InstallXCode() {
|
||||||
source "${BASH_SOURCE%/*}/try_catch.sh"
|
|
||||||
|
|
||||||
function InstallXCode()
|
|
||||||
{
|
|
||||||
ExceptionCPIO=103
|
|
||||||
ExceptionAcceptLicense=105
|
|
||||||
ExceptionDeveloperMode=113
|
|
||||||
|
|
||||||
sourceFile=$1
|
sourceFile=$1
|
||||||
version=$2
|
version=$2
|
||||||
|
|
||||||
try
|
echo "Uncompressing and installing '$sourceFile'"
|
||||||
(
|
xzcat < "$sourceFile" | (cd /Applications/ && sudo cpio -dmi)
|
||||||
echo "Uncompressing and installing '$sourceFile'"
|
|
||||||
xzcat < "$sourceFile" | (cd /Applications/ && sudo cpio -dmi) || throw $ExceptionCPIO
|
|
||||||
|
|
||||||
echo "Accept license"
|
echo "Accept license"
|
||||||
sudo xcodebuild -license accept || throw $ExceptionAcceptLicense
|
sudo xcodebuild -license accept
|
||||||
|
|
||||||
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
|
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
|
||||||
sudo /usr/sbin/DevToolsSecurity -enable || throw $ExceptionDeveloperMode
|
sudo /usr/sbin/DevToolsSecurity -enable
|
||||||
|
|
||||||
echo "Xcode = $version" >> ~/versions.txt
|
|
||||||
)
|
|
||||||
catch || {
|
|
||||||
case $ex_code in
|
|
||||||
$ExceptionCPIO)
|
|
||||||
echo "Failed to unarchive .cpio."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionDeveloperMode)
|
|
||||||
echo "Failed to enable developer mode."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
$ExceptionAcceptLicense)
|
|
||||||
echo "Failed to accept license."
|
|
||||||
exit 1;
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
|
echo "Xcode = $version" >> ~/versions.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
63
coin/provisioning/common/macos/java.sh
Executable file
63
coin/provisioning/common/macos/java.sh
Executable file
@@ -0,0 +1,63 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs JDK
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
echo "Installing Java Development Kit"
|
||||||
|
|
||||||
|
targetFile=jdk-8u102-macosx-x64.dmg
|
||||||
|
|
||||||
|
url=ci-files01-hki.intra.qt.io:/hdd/www/input/mac
|
||||||
|
# url_alt=http://download.oracle.com/otn-pub/java/jdk/8u102-b14/jdk-8u102-macosx-x64.dmg
|
||||||
|
|
||||||
|
echo "Mounting $targetFile"
|
||||||
|
sudo mount "$url" /Volumes
|
||||||
|
|
||||||
|
sudo cp "/Volumes/$targetFile" /tmp
|
||||||
|
sudo umount /Volumes
|
||||||
|
sudo hdiutil attach "/tmp/$targetFile"
|
||||||
|
|
||||||
|
echo Installing JDK
|
||||||
|
cd /Volumes/JDK\ 8\ Update\ 102/ && sudo installer -package JDK\ 8\ Update\ 102.pkg -target /
|
||||||
|
|
||||||
|
echo "Unmounting $targetFile"
|
||||||
|
sudo hdiutil unmount /Volumes/JDK\ 8\ Update\ 102/ -force
|
||||||
|
|
||||||
|
echo "Disable auto update"
|
||||||
|
sudo defaults write /Library/Preferences/com.oracle.java.Java-Updater JavaAutoUpdateEnabled -bool false
|
||||||
|
|
||||||
|
echo "JDK Version = 8 update 102" >> ~/versions.txt
|
||||||
11
coin/provisioning/common/macos/pip.sh
Executable file
11
coin/provisioning/common/macos/pip.sh
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
function InstallPip {
|
||||||
|
|
||||||
|
python=$1
|
||||||
|
|
||||||
|
# Will install pip utility for python
|
||||||
|
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
|
sudo "$python" get-pip.py
|
||||||
|
rm get-pip.py
|
||||||
|
}
|
||||||
59
coin/provisioning/common/macos/python2.sh
Executable file
59
coin/provisioning/common/macos/python2.sh
Executable file
@@ -0,0 +1,59 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs python2
|
||||||
|
|
||||||
|
# shellcheck source=./InstallPKGFromURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
||||||
|
# shellcheck source=./../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
# shellcheck source=./pip.sh
|
||||||
|
source "${BASH_SOURCE%/*}/pip.sh"
|
||||||
|
|
||||||
|
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-2.7.14-macosx10.6.pkg"
|
||||||
|
AltUrl="https://www.python.org/ftp/python/2.7.14/python-2.7.14-macosx10.6.pkg"
|
||||||
|
SHA1="fa2bb77243ad0cb611aa3295204fab403bb0fa09"
|
||||||
|
DestDir="/"
|
||||||
|
|
||||||
|
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||||
|
|
||||||
|
InstallPip python2.7
|
||||||
|
|
||||||
|
/Library/Frameworks/Python.framework/Versions/2.7/bin/pip install virtualenv
|
||||||
|
|
||||||
|
SetEnvVar "PATH" "/Library/Frameworks/Python.framework/Versions/2.7/bin/:\$PATH"
|
||||||
|
|
||||||
|
echo "python2 = 2.7.14" >> ~/versions.txt
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -36,7 +36,12 @@
|
|||||||
|
|
||||||
# This script installs python3
|
# This script installs python3
|
||||||
|
|
||||||
|
# shellcheck source=./InstallPKGFromURL.sh
|
||||||
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
source "${BASH_SOURCE%/*}/InstallPKGFromURL.sh"
|
||||||
|
# shellcheck source=./../unix/SetEnvVar.sh
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
# shellcheck source=./pip.sh
|
||||||
|
source "${BASH_SOURCE%/*}/pip.sh"
|
||||||
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.6.1-macosx10.6.pkg"
|
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mac/python-3.6.1-macosx10.6.pkg"
|
||||||
AltUrl="https://www.python.org/ftp/python/3.6.1/python-3.6.1-macosx10.6.pkg"
|
AltUrl="https://www.python.org/ftp/python/3.6.1/python-3.6.1-macosx10.6.pkg"
|
||||||
@@ -45,8 +50,12 @@ DestDir="/"
|
|||||||
|
|
||||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
||||||
|
|
||||||
|
InstallPip python3.6
|
||||||
|
|
||||||
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install virtualenv
|
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install virtualenv
|
||||||
|
|
||||||
echo "export PYTHON3_PATH=/Library/Frameworks/Python.framework/Versions/3.6/bin" >> ~/.bashrc
|
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.6/bin"
|
||||||
echo "export PIP3_PATH=/Library/Frameworks/Python.framework/Versions/3.6/bin" >> ~/.bashrc
|
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.6/bin"
|
||||||
|
|
||||||
echo "python3 = 3.6.1" >> ~/versions.txt
|
echo "python3 = 3.6.1" >> ~/versions.txt
|
||||||
|
|
||||||
49
coin/provisioning/common/macos/sha1sum-compatibility.sh
Executable file
49
coin/provisioning/common/macos/sha1sum-compatibility.sh
Executable file
@@ -0,0 +1,49 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# On macOS the sha1 tool is named 'shasum' while on all other unix systems it is called 'sha1sum'.
|
||||||
|
# In order to make all unix provioning scripts run on macOS without special case handling
|
||||||
|
# a symbolic link is created.
|
||||||
|
# The shasum tool is a perl script which does some globbing to determine the perl version. The
|
||||||
|
# symbolic link has to point directly to the binary including the perl version.
|
||||||
|
# Additionally the CI seems to have multiple parallel perl versions installed which causes
|
||||||
|
# multiple shasum tools to be present (shasum5.16, shasum5.18).
|
||||||
|
#
|
||||||
|
# Currently this is
|
||||||
|
# /usr/local/bin/sha1sum -> /usr/bin/shasum5.18
|
||||||
|
|
||||||
|
[ -d /usr/local/bin ] || sudo mkdir -p /usr/local/bin
|
||||||
|
SHASUM_TOOLNAME=$(ls -r /usr/bin/shasum?.* | head -n1)
|
||||||
|
sudo ln -s "${SHASUM_TOOLNAME}" /usr/local/bin/sha1sum
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Will install pip utility for python
|
|
||||||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
|
||||||
sudo python get-pip.py
|
|
||||||
rm get-pip.py
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
$installer = "c:\users\qt\downloads\rubyinstaller-2.3.1.exe"
|
|
||||||
|
|
||||||
Download https://dl.bintray.com/oneclick/rubyinstaller/rubyinstaller-2.3.1.exe http://ci-files01-hki.intra.qt.io/input/ruby/rubyinstaller-2.3.1.exe $installer
|
|
||||||
Verify-Checksum $installer "FF377F6F313849C3B0CD72EEC1EFFA436F0E4A36"
|
|
||||||
& $installer /DIR=C:\ruby /VERYSILENT
|
|
||||||
2
coin/provisioning/common/shared/http_proxy.txt
Normal file
2
coin/provisioning/common/shared/http_proxy.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
proxy="http://proxy.intra.qt.io:3128"
|
||||||
|
|
||||||
61
coin/provisioning/common/unix/DownloadURL.sh
Executable file
61
coin/provisioning/common/unix/DownloadURL.sh
Executable file
@@ -0,0 +1,61 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# A helper script used for downloading a file from a URL or an alternative
|
||||||
|
# URL. Also the SHA1 is checked for the file. Target filename should also
|
||||||
|
# be given.
|
||||||
|
#
|
||||||
|
# If called directly from another script, it will exit the parent script
|
||||||
|
# as well, if not called in its own subshell with parentheses.
|
||||||
|
|
||||||
|
function DownloadURL {
|
||||||
|
url=$1
|
||||||
|
url_alt=$2
|
||||||
|
expectedSha1=$3
|
||||||
|
targetFile=$4
|
||||||
|
|
||||||
|
echo "Downloading from primary URL '$url'"
|
||||||
|
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" || (
|
||||||
|
echo "Failed to download '$url' multiple times"
|
||||||
|
echo "Downloading from alternative URL '$url_alt'"
|
||||||
|
curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url_alt"
|
||||||
|
)
|
||||||
|
|
||||||
|
echo "Checking SHA1 on PKG '$targetFile'"
|
||||||
|
echo "$expectedSha1 *$targetFile" > $targetFile.sha1
|
||||||
|
sha1sum --check $targetFile.sha1
|
||||||
|
rm -f $targetFile.sha1
|
||||||
|
}
|
||||||
|
|
||||||
65
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/patch_qnx.sh → coin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh
Normal file → Executable file
65
coin/provisioning/qtci-linux-RHEL-6.6-x86_64/patch_qnx.sh → coin/provisioning/common/unix/InstallFromCompressedFileFromURL.sh
Normal file → Executable file
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2016 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the test suite of the Qt Toolkit.
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
@@ -33,32 +33,47 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
# Patch QNX SDK due to issues in the standard library.
|
|
||||||
# The patches are available here:
|
|
||||||
# http://www.qnx.com/download/feature.html?programid=27555
|
|
||||||
# A copy of the patch must be in the root of the Coin path in
|
|
||||||
# provisioning/qnx/patch-660-4367-RS6069_cpp-headers.zip
|
|
||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
sha1="57a11ffe4434ad567b3c36f7b828dbb468a9e565"
|
|
||||||
|
|
||||||
function InstallZipPackageFromURL {
|
# shellcheck source=DownloadURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
||||||
|
|
||||||
|
function InstallFromCompressedFileFromURL {
|
||||||
url=$1
|
url=$1
|
||||||
expectedSha1=$2
|
url_alt=$2
|
||||||
targetDirectory=$3
|
expectedSha1=$3
|
||||||
|
installDirectory=$4
|
||||||
|
appPrefix=$5
|
||||||
|
|
||||||
targetFile=`mktemp`
|
basefilename=${url##*/}
|
||||||
wget --tries=5 --waitretry=5 --output-document=$targetFile $url
|
extension=${basefilename##*.}
|
||||||
echo "$expectedSha1 $targetFile" | sha1sum --check
|
filename=${basefilename%.*}
|
||||||
|
if [ "$extension" == "gz" ] && [ "${filename##*.}" == "tar" ]; then
|
||||||
tempDir=`mktemp -d`
|
extension="tar.gz"
|
||||||
/usr/bin/unzip -o -d $tempDir $targetFile
|
fi
|
||||||
trap "sudo rm -fr $targetFile $tempDir" EXIT
|
echo "Extension for file: $extension"
|
||||||
|
echo "Creating temporary file and directory"
|
||||||
sudo cp -rafv $tempDir/patches/660-4367/target/* /opt/qnx660/target/
|
targetFile=$(mktemp "$TMPDIR$(uuidgen)XXXXX.$extension")
|
||||||
|
targetDirectory=$(mktemp -d)
|
||||||
|
DownloadURL "$url" "$url_alt" "$expectedSha1" "$targetFile"
|
||||||
|
echo "Uncompress $targetFile"
|
||||||
|
case $extension in
|
||||||
|
"tar.gz")
|
||||||
|
tar -xzf "$targetFile" --directory "$targetDirectory"
|
||||||
|
;;
|
||||||
|
"zip")
|
||||||
|
unzip "$targetFile" -d "$targetDirectory"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
echo "Moving app to $installDirectory"
|
||||||
|
sudo mkdir -p "$installDirectory"
|
||||||
|
sudo mv "$targetDirectory/$appPrefix/"* "$installDirectory"
|
||||||
|
echo "Removing file '$targetFile'"
|
||||||
|
rm "$targetFile"
|
||||||
|
echo "Removing directory '$targetDirectory'"
|
||||||
|
rm -rf "$targetDirectory"
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Patching QNX"
|
|
||||||
|
|
||||||
baseBinaryPackageURL="http://ci-files01-hki.intra.qt.io/input/qnx/patch-660-4367-RS6069_cpp-headers.zip"
|
|
||||||
InstallZipPackageFromURL $baseBinaryPackageURL $sha1 "/opt/qnx660/target/"
|
|
||||||
51
coin/provisioning/common/unix/SetEnvVar.sh
Executable file
51
coin/provisioning/common/unix/SetEnvVar.sh
Executable file
@@ -0,0 +1,51 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# A helper script used for setting environment variables on Unix systems
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
function SetEnvVar {
|
||||||
|
name=$1
|
||||||
|
path=$2
|
||||||
|
|
||||||
|
echo "Setting environment variable $name to $path."
|
||||||
|
|
||||||
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
|
echo "export $name=$path" >> ~/.profile
|
||||||
|
else
|
||||||
|
echo "export $name=$path" >> ~/.bashrc
|
||||||
|
fi
|
||||||
|
}
|
||||||
20
coin/provisioning/common/01-macos-removethemall.sh → coin/provisioning/common/unix/check_and_set_proxy.sh
Normal file → Executable file
20
coin/provisioning/common/01-macos-removethemall.sh → coin/provisioning/common/unix/check_and_set_proxy.sh
Normal file → Executable file
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/usr/bin/env bash
|
||||||
#############################################################################
|
#############################################################################
|
||||||
##
|
##
|
||||||
## Copyright (C) 2016 The Qt Company Ltd.
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
## Contact: http://www.qt.io/licensing/
|
## Contact: http://www.qt.io/licensing/
|
||||||
##
|
##
|
||||||
## This file is part of the test suite of the Qt Toolkit.
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
@@ -32,18 +32,8 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
function RemoveDir {
|
set -ex
|
||||||
param=$1
|
|
||||||
|
|
||||||
if [ ! -d $param ]
|
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
||||||
then
|
|
||||||
echo "'$param' don't exists"
|
|
||||||
else
|
|
||||||
echo "Removing $param..."
|
|
||||||
sudo rm -fr $param
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Remove Android
|
(wget -q -e "http_proxy=$proxy" --spider proxy.intra.qt.io && echo "Setting http_proxy to $proxy" && export http_proxy=$proxy) || echo "Proxy not detected at $proxy"
|
||||||
param="/opt/android"
|
|
||||||
RemoveDir $param
|
|
||||||
40
coin/provisioning/common/unix/disable-ntp_macos.sh
Executable file
40
coin/provisioning/common/unix/disable-ntp_macos.sh
Executable file
@@ -0,0 +1,40 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
echo "Disable Network Time Protocol (NTP)"
|
||||||
|
echo "sudo launchctl unload /System/Library/LaunchDaemons/org.ntp.ntpd.plist" >> /Users/qt/.bash_profile
|
||||||
|
|
||||||
@@ -40,8 +40,10 @@
|
|||||||
# In case of Linux, we expect to get the values as args
|
# In case of Linux, we expect to get the values as args
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
source "${BASH_SOURCE%/*}/check_and_set_proxy.sh"
|
||||||
|
|
||||||
BASEDIR=$(dirname "$0")
|
BASEDIR=$(dirname "$0")
|
||||||
. $BASEDIR/sw_versions.txt
|
. $BASEDIR/../shared/sw_versions.txt
|
||||||
url=$1
|
url=$1
|
||||||
sha1=$2
|
sha1=$2
|
||||||
version=$3
|
version=$3
|
||||||
@@ -58,12 +60,7 @@ zip="libclang.7z"
|
|||||||
destination="/usr/local/libclang-$version"
|
destination="/usr/local/libclang-$version"
|
||||||
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$zip" "$url"
|
curl --fail -L --retry 5 --retry-delay 5 -o "$zip" "$url"
|
||||||
_shasum=sha1sum
|
echo "$sha1 $zip" | sha1sum --check
|
||||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
||||||
echo "DARWIN"
|
|
||||||
_shasum=/usr/bin/shasum
|
|
||||||
fi
|
|
||||||
echo "$sha1 $zip" | $_shasum --check
|
|
||||||
7z x $zip -o/tmp/
|
7z x $zip -o/tmp/
|
||||||
rm -rf $zip
|
rm -rf $zip
|
||||||
|
|
||||||
55
coin/provisioning/common/unix/mqtt_broker.sh
Normal file
55
coin/provisioning/common/unix/mqtt_broker.sh
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the test suite of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script installs paho testing broker
|
||||||
|
|
||||||
|
# shellcheck source=./InstallFromCompressedFileFromURL.sh
|
||||||
|
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
||||||
|
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
||||||
|
|
||||||
|
CommitSHA="c342c09dadc7a664d0a8befad1ca031f5a0b0bc0"
|
||||||
|
PrimaryUrl="http://ci-files01-hki.ci.local/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
||||||
|
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
|
||||||
|
SHA1="532fe145096cdd8d679f425cbfd883289150c968"
|
||||||
|
targetFolder="/opt/paho_broker"
|
||||||
|
appPrefix="paho.mqtt.testing-$CommitSHA"
|
||||||
|
|
||||||
|
sudo rm -fr "$targetFolder"
|
||||||
|
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
||||||
|
|
||||||
|
echo "Adding MQTT broker path to environment"
|
||||||
|
SetEnvVar "MQTT_TEST_BROKER_LOCATION" "$targetFolder/interoperability/startbroker.py"
|
||||||
|
|
||||||
|
echo "MQTT_BROKER = $CommitSHA" >> ~/versions.txt
|
||||||
167
coin/provisioning/common/unix/squishInstall.sh
Executable file
167
coin/provisioning/common/unix/squishInstall.sh
Executable file
@@ -0,0 +1,167 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# This script will install squish package for Linux and Mac.
|
||||||
|
# Squish is need by Release Test Automation (RTA)
|
||||||
|
|
||||||
|
version="6.3.0"
|
||||||
|
# Branch version without dot
|
||||||
|
qtBranch="59x"
|
||||||
|
squishFolder="/opt/squish"
|
||||||
|
squishUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/$qtBranch/"
|
||||||
|
squishFile="squish-$version-qt$qtBranch-linux64.run"
|
||||||
|
if uname -a |grep -q Darwin; then
|
||||||
|
squishFile="squish-$version-qt$qtBranch-macx86_64.dmg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
squishLicenseUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
|
||||||
|
squishLicenseFile=".squish-3-license.tar.gz"
|
||||||
|
|
||||||
|
testSuite="suite_test_squish"
|
||||||
|
testSuiteUrl="ci-files01-hki.intra.qt.io:/hdd/www/input/squish/coin/"
|
||||||
|
|
||||||
|
# These checks can be removed when Vanilla OS for all linux and Mac are in
|
||||||
|
if [ -d "$squishFolder" ]; then
|
||||||
|
echo "Move old squish to /tmp"
|
||||||
|
sudo mv "$squishFolder" "/tmp/squish_$(date)"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "/etc/profile.d/squish_env.sh" ]; then
|
||||||
|
echo "Remove /etc/profile.d/squish_env.sh"
|
||||||
|
sudo rm -f "/etc/profile.d/squish_env.sh"
|
||||||
|
export SQUISH_LICENSEKEY_DIR=$HOME
|
||||||
|
fi
|
||||||
|
|
||||||
|
function MountAndInstall {
|
||||||
|
url=$1
|
||||||
|
targetDirectory=$2
|
||||||
|
targetFile=$3
|
||||||
|
|
||||||
|
# Check which platform
|
||||||
|
if uname -a |grep -q Darwin; then
|
||||||
|
usersGroup="staff"
|
||||||
|
mountFolder="/Volumes"
|
||||||
|
squishLicenseDir="/Users/qt"
|
||||||
|
elif uname -a |grep -q "el6\|el7"; then
|
||||||
|
usersGroup="qt"
|
||||||
|
mountFolder="/tmp"
|
||||||
|
squishLicenseDir="/root"
|
||||||
|
elif uname -a |grep -q "Ubuntu"; then
|
||||||
|
usersGroup="users"
|
||||||
|
mountFolder="/tmp"
|
||||||
|
squishLicenseDir="/home/qt"
|
||||||
|
else
|
||||||
|
usersGroup="users"
|
||||||
|
mountFolder="/tmp"
|
||||||
|
squishLicenseDir="/root"
|
||||||
|
fi
|
||||||
|
|
||||||
|
targetFileMount="$mountFolder"/"$targetFile"
|
||||||
|
|
||||||
|
echo "Mounting $url to $mountFolder"
|
||||||
|
sudo mount "$url" $mountFolder
|
||||||
|
echo "Create $targetDirectory if needed"
|
||||||
|
if [ ! -d "/opt" ]; then
|
||||||
|
sudo mkdir "/opt"
|
||||||
|
fi
|
||||||
|
if [ ! -d "$targetDirectory" ]; then
|
||||||
|
sudo mkdir "$targetDirectory"
|
||||||
|
fi
|
||||||
|
echo "Uncompress $targetFile"
|
||||||
|
if [[ $targetFile == *.tar.gz ]]; then
|
||||||
|
if [[ $targetFile == .squish-3-license.* ]]; then
|
||||||
|
target="$squishLicenseDir"
|
||||||
|
# Squish license need to be exists also in users home directory, because squish check it before it starts running tests
|
||||||
|
sudo tar -xzf "$targetFileMount" --directory "$HOME"
|
||||||
|
else
|
||||||
|
target="$targetDirectory"
|
||||||
|
fi
|
||||||
|
sudo tar -xzf "$targetFileMount" --directory "$target"
|
||||||
|
echo "Unmounting $mountFolder"
|
||||||
|
sudo umount $mountFolder
|
||||||
|
elif [[ $targetFile == *.dmg ]]; then
|
||||||
|
echo "'dmg-file', no need to uncompress"
|
||||||
|
sudo cp $targetFileMount /tmp
|
||||||
|
sudo umount $mountFolder
|
||||||
|
sudo hdiutil attach "/tmp/$targetFile"
|
||||||
|
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory"
|
||||||
|
sudo hdiutil unmount /Volumes/froglogic\ Squish/
|
||||||
|
elif [[ $targetFile == *.run ]]; then
|
||||||
|
echo "'run-file', no need to uncompress"
|
||||||
|
sudo cp $targetFileMount $targetDirectory
|
||||||
|
sudo umount $mountFolder
|
||||||
|
sudo $targetDirectory/$targetFile unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
||||||
|
sudo rm -fr "$targetDirectory/$targetFile"
|
||||||
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
|
sudo mkdir /usr/lib/tcl8.6
|
||||||
|
sudo cp "$targetDirectory/package/tcl/lib/tcl8.6/init.tcl" /usr/lib/tcl8.6/
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Changing ownerships"
|
||||||
|
sudo chown -R qt:$usersGroup "$targetDirectory"
|
||||||
|
sudo chown qt:$usersGroup "$HOME/.squish-3-license"
|
||||||
|
}
|
||||||
|
|
||||||
|
echo "Set commands for environment variables in .bashrc"
|
||||||
|
|
||||||
|
if uname -a |grep -q "Ubuntu"; then
|
||||||
|
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.profile
|
||||||
|
echo "export PATH=\$PATH:$squishFolder/squish-$version/bin" >> ~/.profile
|
||||||
|
else
|
||||||
|
echo "export SQUISH_PATH=$squishFolder/package" >> ~/.bashrc
|
||||||
|
echo "export PATH=\$PATH:$squishFolder/squish-$version/bin" >> ~/.bashrc
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Installing squish license to home directory.."
|
||||||
|
MountAndInstall "$squishLicenseUrl" "$squishFolder" "$squishLicenseFile"
|
||||||
|
|
||||||
|
echo "Installing squish $version.."
|
||||||
|
MountAndInstall "$squishUrl" "$squishFolder" "$squishFile"
|
||||||
|
|
||||||
|
echo "Installing test suite for squish"
|
||||||
|
MountAndInstall "$testSuiteUrl" "$squishFolder" "$testSuite.tar.gz"
|
||||||
|
|
||||||
|
echo "Verifying Squish Installation"
|
||||||
|
if "$squishFolder/package/bin/squishrunner" --testsuite "$squishFolder/$testSuite" | grep "Squish test run successfully" ; then
|
||||||
|
echo "Squish installation tested successfully"
|
||||||
|
else
|
||||||
|
echo "Squish test failed! Package wasn't installed correctly."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
58
coin/provisioning/common/windows/03-conan.ps1
Normal file
58
coin/provisioning/common/windows/03-conan.ps1
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
$scriptsPath = "C:\Python27\Scripts"
|
||||||
|
|
||||||
|
Run-Executable "$scriptsPath\pip.exe" "install --upgrade conan==0.24.0"
|
||||||
|
|
||||||
|
# Use Qt Project repository by default
|
||||||
|
Run-Executable "$scriptsPath\conan.exe" "remote add qtproject https://api.bintray.com/conan/qtproject/conan --insert"
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "CI_CONAN_BUILDINFO_DIR" "C:\Utils\conanbuildinfos"
|
||||||
|
|
||||||
|
function Run-Conan-Install
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$ConanfilesDir,
|
||||||
|
[string]$BuildinfoDir,
|
||||||
|
[string]$Arch,
|
||||||
|
[string]$Compiler,
|
||||||
|
[string]$CompilerVersion,
|
||||||
|
[string]$CompilerRuntime,
|
||||||
|
[string]$CompilerLibcxx
|
||||||
|
)
|
||||||
|
|
||||||
|
if ($CompilerRuntime) {
|
||||||
|
$extraArgs = "-s compiler.runtime=$($CompilerRuntime)"
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($CompilerLibcxx) {
|
||||||
|
$extraArgs = "-s compiler.libcxx=$($CompilerLibcxx)"
|
||||||
|
}
|
||||||
|
|
||||||
|
$manifestsDir = "$PSScriptRoot\conan_manifests"
|
||||||
|
|
||||||
|
Get-ChildItem -Path "$ConanfilesDir\*.txt" |
|
||||||
|
ForEach-Object {
|
||||||
|
$conanfile = $_.FullName
|
||||||
|
$outpwd = "C:\Utils\conanbuildinfos\$($BuildinfoDir)\$($_.BaseName)"
|
||||||
|
New-Item $outpwd -Type directory -Force
|
||||||
|
|
||||||
|
for ($i = 1; $i -le 5; $i++) {
|
||||||
|
try {
|
||||||
|
Push-Location $outpwd
|
||||||
|
Run-Executable "$scriptsPath\conan.exe" "install -f $conanfile --no-imports --verify $manifestsDir", `
|
||||||
|
'-s', ('compiler="' + $Compiler + '"'), `
|
||||||
|
"-s os=Windows -s arch=$Arch -s compiler.version=$CompilerVersion $extraArgs" `
|
||||||
|
break;
|
||||||
|
} catch {
|
||||||
|
if ($i -eq 5) {
|
||||||
|
throw "Could not install conan content"
|
||||||
|
}
|
||||||
|
} finally {
|
||||||
|
Pop-Location
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Copy-Item -Path $conanfile -Destination "$outpwd\conanfile.txt"
|
||||||
|
}
|
||||||
|
}
|
||||||
11
coin/provisioning/common/windows/3dstudio_3rdparty.ps1
Normal file
11
coin/provisioning/common/windows/3dstudio_3rdparty.ps1
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
$zip = "c:\users\qt\downloads\Qt3DStudio-3rdparty-win64-CI.zip"
|
||||||
|
$url = "http://ci-files01-hki.intra.qt.io/input/3rdparty/Qt3DStudio-3rdparty-win64-CI.zip"
|
||||||
|
|
||||||
|
Download $url $url $zip
|
||||||
|
Verify-Checksum $zip "08D740D2EFB4CBCDE7D012908B89AA48DE5CD4E1"
|
||||||
|
Extract-Zip $zip C:\Utils\Qt3DStudio3rdparty
|
||||||
|
Remove-Item -Path $zip
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "QT3DSTUDIO_3RDPARTY_DIR" "C:/Utils/Qt3DStudio3rdparty"
|
||||||
@@ -30,7 +30,8 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script allows the Windows Remote Desktop Access
|
# This script allows the Windows Remote Desktop Access
|
||||||
|
|
||||||
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f
|
Run-Executable "reg.exe" "add `"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server`" /v fDenyTSConnections /t REG_DWORD /d 0 /f"
|
||||||
69
coin/provisioning/common/windows/android-openssl.ps1
Normal file
69
coin/provisioning/common/windows/android-openssl.ps1
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# Requires: 7z, perl and msys
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# OpenSSL need to be configured from sources for Android build in windows 7
|
||||||
|
# Msys need to be installed to target machine
|
||||||
|
# More info and building instructions can be found from http://doc.qt.io/qt-5/opensslsupport.html
|
||||||
|
|
||||||
|
$version = "1.0.2j"
|
||||||
|
$zip = "c:\users\qt\downloads\openssl-$version.tar.gz"
|
||||||
|
$sha1 = "bdfbdb416942f666865fa48fe13c2d0e588df54f"
|
||||||
|
$destination = "C:\Utils\openssl-android-master"
|
||||||
|
|
||||||
|
Download https://www.openssl.org/source/openssl-$version.tar.gz \\ci-files01-hki.intra.qt.io\provisioning\openssl\openssl-$version.tar.gz $zip
|
||||||
|
Verify-Checksum $zip $sha1
|
||||||
|
|
||||||
|
Extract-7Zip $zip C:\Utils
|
||||||
|
Extract-7Zip C:\Utils\openssl-$version.tar C:\Utils
|
||||||
|
Rename-Item C:\Utils\openssl-$version $destination
|
||||||
|
Remove-Item -Path $zip
|
||||||
|
Remove-Item C:\Utils\openssl-$version.tar
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "CC" "C:\utils\android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-gcc"
|
||||||
|
Set-EnvironmentVariable "AR" "C:\utils\android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\prebuilt\windows\bin\arm-linux-androideabi-ar"
|
||||||
|
Set-EnvironmentVariable "ANDROID_DEV" "C:\utils\android-ndk-r10e\platforms\android-18\arch-arm\usr"
|
||||||
|
|
||||||
|
# Make sure configure for openssl has a "make" and "perl" available
|
||||||
|
$env:PATH = $env:PATH + ";C:\msys\1.0\bin;C:\strawberry\perl\bin"
|
||||||
|
|
||||||
|
Write-Host "Configuring OpenSSL $version for Android..."
|
||||||
|
Push-Location $destination
|
||||||
|
Run-Executable "C:\msys\1.0\bin\bash.exe" "-c `"c:/strawberry/perl/bin/perl Configure shared android`""
|
||||||
|
Pop-Location
|
||||||
|
|
||||||
|
# Following command is needed when using version 1.1.0. With version 1.1.0 msys is not needed.
|
||||||
|
# C:\mingw530\bin\mingw32-make.exe include\openssl\opensslconf.h
|
||||||
100
coin/provisioning/common/windows/android.ps1
Normal file
100
coin/provisioning/common/windows/android.ps1
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs Android sdk and ndk
|
||||||
|
# It also runs update for SDK API level 21, latest SDK tools, latest platform-tools and build-tools version $sdkBuildToolsVersion
|
||||||
|
# Android 16 is the minimum requirement for Qt 5.7 applications, but we need something more recent than that for building Qt itself.
|
||||||
|
# E.g The Bluetooth features that require Android 21 will disable themselves dynamically when running on an Android 16 device.
|
||||||
|
# That's why we need to use Andoid-21 API version in Qt 5.9.
|
||||||
|
|
||||||
|
# NDK
|
||||||
|
$ndkVersion = "r10e"
|
||||||
|
$ndkCachedUrl = "\\ci-files01-hki.intra.qt.io\provisioning\android\android-ndk-$ndkVersion-windows-x86.zip"
|
||||||
|
$ndkOfficialUrl = "https://dl.google.com/android/repository/android-ndk-$ndkVersion-windows-x86.zip"
|
||||||
|
$ndkChecksum = "1d0b8f2835be741f3048fb03c0a3e9f71ab7f357"
|
||||||
|
$ndkFolder = "c:\utils\android-ndk-$ndkVersion"
|
||||||
|
$ndkZip = "c:\Windows\Temp\android_ndk_$ndkVersion.zip"
|
||||||
|
|
||||||
|
# SDK
|
||||||
|
$sdkVersion = "r24.4.1"
|
||||||
|
$sdkApi = "ANDROID_API_VERSION"
|
||||||
|
$sdkApiLevel = "android-21"
|
||||||
|
$sdkBuildToolsVersion = "23.0.3"
|
||||||
|
$sdkCachedUrl= "\\ci-files01-hki.intra.qt.io\provisioning\android\android-sdk_$sdkVersion-windows.zip"
|
||||||
|
$sdkOfficialUrl = "https://dl.google.com/android/android-sdk_$sdkVersion-windows.zip"
|
||||||
|
$sdkChecksum = "66b6a6433053c152b22bf8cab19c0f3fef4eba49"
|
||||||
|
$sdkFolder = "c:\utils\android-sdk-windows"
|
||||||
|
$sdkZip = "c:\Windows\Temp\android_sdk_$sdkVersion.zip"
|
||||||
|
|
||||||
|
function Install($1, $2, $3, $4) {
|
||||||
|
$cacheUrl = $1
|
||||||
|
$zip = $2
|
||||||
|
$checksum = $3
|
||||||
|
$offcialUrl = $4
|
||||||
|
|
||||||
|
Download $offcialUrl $cacheUrl $zip
|
||||||
|
Verify-Checksum $zip "$checksum"
|
||||||
|
Extract-Zip $zip C:\Utils
|
||||||
|
}
|
||||||
|
|
||||||
|
function SdkUpdate ($1, $2) {
|
||||||
|
Write-Host "Running Android SDK update for $1..."
|
||||||
|
cmd /c "echo y |$1\tools\android update sdk --no-ui --all --filter $2"
|
||||||
|
}
|
||||||
|
|
||||||
|
Write-Host "Installing Android ndk $nkdVersion"
|
||||||
|
Install $ndkCachedUrl $ndkZip $ndkChecksum $ndkOfficialUrl
|
||||||
|
Set-EnvironmentVariable "ANDROID_NDK_HOME" $ndkFolder
|
||||||
|
Set-EnvironmentVariable "ANDROID_NDK_ROOT" $ndkFolder
|
||||||
|
|
||||||
|
#Write-Host "Installing Android sdk $sdkVersion"
|
||||||
|
Install $sdkCachedUrl $sdkZip $sdkChecksum $sdkOfficialUrl
|
||||||
|
Set-EnvironmentVariable "ANDROID_SDK_HOME" $sdkFolder
|
||||||
|
Set-EnvironmentVariable "ANDROID_API_VERSION" $sdkApiLevel
|
||||||
|
|
||||||
|
# SDK update
|
||||||
|
SdkUpdate $sdkFolder $sdkApiLevel
|
||||||
|
SdkUpdate $sdkFolder tools
|
||||||
|
SdkUpdate $sdkFolder platform-tools
|
||||||
|
SdkUpdate $sdkFolder build-tools-$sdkBuildToolsVersion
|
||||||
|
|
||||||
|
# kill adb. This process prevents provisioning to continue
|
||||||
|
$p = Get-Process -Name "adb" -ErrorAction:SilentlyContinue
|
||||||
|
if ($p -ne $null) {
|
||||||
|
Write-Host "Stopping adb.exe"
|
||||||
|
Stop-Process -Force $p
|
||||||
|
} else {
|
||||||
|
Write-Host "adb.exe not running"
|
||||||
|
}
|
||||||
@@ -40,7 +40,7 @@ $zip = "c:\users\qt\downloads\cmake-" + $version + "-win32-x86.zip"
|
|||||||
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
|
$officialurl = "https://cmake.org/files/v" + $majorminorversion + "/cmake-" + $version + "-win32-x86.zip"
|
||||||
$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
|
$cachedurl = "\\ci-files01-hki.intra.qt.io\provisioning\cmake\cmake-" + $version + "-win32-x86.zip"
|
||||||
|
|
||||||
echo "Removing old cmake"
|
Write-Host "Removing old cmake"
|
||||||
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
Remove-Item "C:\CMake" -Force -Recurse -ErrorAction SilentlyContinue
|
||||||
|
|
||||||
Download $officialurl $cachedurl $zip
|
Download $officialurl $cachedurl $zip
|
||||||
@@ -52,5 +52,5 @@ Rename-Item $defaultinstallfolder C:\CMake
|
|||||||
|
|
||||||
Add-Path "C:\CMake\bin"
|
Add-Path "C:\CMake\bin"
|
||||||
|
|
||||||
echo "CMake = $version" >> ~\versions.txt
|
Write-Output "CMake = $version" >> ~\versions.txt
|
||||||
|
|
||||||
@@ -30,8 +30,6 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script disables the automatic Windows updates
|
Get-WmiObject Win32_OSRecoveryConfiguration -EnableAllPrivileges | Set-WmiInstance -Arguments @{ AutoReboot=$False }
|
||||||
|
|
||||||
stop-service wuauserv
|
|
||||||
set-service wuauserv –startup disabled
|
|
||||||
4
coin/provisioning/common/windows/disable-ntp.ps1
Normal file
4
coin/provisioning/common/windows/disable-ntp.ps1
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# Disable the NTP from syncing
|
||||||
|
Run-Executable "w32tm.exe" "/config /syncfromflags:NO"
|
||||||
@@ -30,10 +30,11 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script prevents Windows from going to sleep
|
# This script prevents Windows from going to sleep
|
||||||
|
|
||||||
powercfg -change -monitor-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -monitor-timeout-ac 0"
|
||||||
powercfg -change -standby-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -standby-timeout-ac 0"
|
||||||
powercfg -change -disk-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -disk-timeout-ac 0"
|
||||||
powercfg -change -hibernate-timeout-ac 0
|
Run-Executable "powercfg.exe" "-change -hibernate-timeout-ac 0"
|
||||||
@@ -30,7 +30,8 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script disables the Windows UAC
|
# This script disables the Windows UAC
|
||||||
|
|
||||||
C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
|
Run-Executable "reg.exe" "ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f"
|
||||||
8
coin/provisioning/common/windows/disable-windefender.ps1
Normal file
8
coin/provisioning/common/windows/disable-windefender.ps1
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Turning off win defender.
|
||||||
|
#
|
||||||
|
# If disabled manually, windows will automatically enable it after
|
||||||
|
# some period of time. Disabling it speeds up the builds.
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
Run-Executable "reg.exe" "ADD `"HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender`" /V DisableAntiSpyware /T REG_dWORD /D 1 /F"
|
||||||
54
coin/provisioning/common/windows/disable-windows-updates.ps1
Normal file
54
coin/provisioning/common/windows/disable-windows-updates.ps1
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
# This script disables the automatic Windows updates
|
||||||
|
|
||||||
|
$service = get-service wuauserv
|
||||||
|
if (-not $service) {
|
||||||
|
Write-Host "Windows Update service not found."
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($service.Status -eq "Stopped") {
|
||||||
|
Write-Host "Windows Update service already stopped."
|
||||||
|
} else {
|
||||||
|
Write-Host "Stopping Windows Update service."
|
||||||
|
Stop-Service -Name "wuauserv" -Force
|
||||||
|
}
|
||||||
|
|
||||||
|
$startup = Get-WmiObject Win32_Service | Where-Object {$_.Name -eq "wuauserv"} | Select -ExpandProperty "StartMode"
|
||||||
|
if ($startup -ne "Disabled") {
|
||||||
|
set-service wuauserv -startup disabled
|
||||||
|
} else {
|
||||||
|
Write-Host "Windows Update service startup already disabled."
|
||||||
|
}
|
||||||
19
coin/provisioning/common/windows/dxsdk.ps1
Normal file
19
coin/provisioning/common/windows/dxsdk.ps1
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs DirectX SDK
|
||||||
|
|
||||||
|
$package = "DXSDK_Jun10.exe"
|
||||||
|
|
||||||
|
$cacheUrl = "\\ci-files01-hki.intra.qt.io\provisioning\windows\$package"
|
||||||
|
$officialUrl = "https://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/$package"
|
||||||
|
$sdkChecksum = "8fe98c00fde0f524760bb9021f438bd7d9304a69"
|
||||||
|
$exe = "C:\Windows\Temp\$package"
|
||||||
|
|
||||||
|
Download $officialUrl $cachedUrl $exe
|
||||||
|
|
||||||
|
Write-Host "Installing DirectX SDK"
|
||||||
|
Run-Executable $exe "/u"
|
||||||
|
|
||||||
|
Remove-Item -Path $exe
|
||||||
|
|
||||||
|
Write-Output "DirectX SDK = 9.29.1962 (Jun 10)" >> ~\versions.txt
|
||||||
39
coin/provisioning/common/windows/exceutequeueditems.ps1
Normal file
39
coin/provisioning/common/windows/exceutequeueditems.ps1
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
#############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2018 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
|
||||||
|
|
||||||
|
if( (is64bitWinHost) -eq 1 ) {
|
||||||
|
Start-Process -NoNewWindow -FilePath "C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319\ngen.exe" -ArgumentList ExecuteQueuedItems -Wait
|
||||||
|
}
|
||||||
66
coin/provisioning/common/windows/fbx_windows.ps1
Normal file
66
coin/provisioning/common/windows/fbx_windows.ps1
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
#############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# This script will install FBX SDK
|
||||||
|
|
||||||
|
$version = "2016.1.2"
|
||||||
|
|
||||||
|
$name = "fbx20161_2_fbxsdk_vs2015_win"
|
||||||
|
$packageName = "$name.7z"
|
||||||
|
$installerName = "$name.exe"
|
||||||
|
$cacheUrl = "\\ci-files01-hki.intra.qt.io\provisioning\fbx\$packageName"
|
||||||
|
$sha1 = "3690400625672bef6369bcf90dcde4d78b493b24"
|
||||||
|
|
||||||
|
# The executable is an interactive installer only. We can't run it in a script silently.
|
||||||
|
# $officialUrl = "http://download.autodesk.com/us/fbx_release_older/2016.1.2/$installerName"
|
||||||
|
# This sha is for the executable
|
||||||
|
# $sha1 = "54f581c7c19cf5a08cf5e7bc62b8cc7f0617558e"
|
||||||
|
|
||||||
|
#$targetFile = "C:\Windows\Temp\$packageName"
|
||||||
|
$targetFolder = "C:\Program Files\"
|
||||||
|
|
||||||
|
#Write-Host "Downloading '$installerName'"
|
||||||
|
#Download $officialUrl $cacheUrl $targetFile
|
||||||
|
#Verify-Checksum $targetFile $sha1
|
||||||
|
|
||||||
|
Write-Host "Extracting '$cacheUrl'"
|
||||||
|
Extract-7Zip $cacheUrl $targetFolder
|
||||||
|
|
||||||
|
#Remove-Item -Recurse -Force "$packageName"
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "FBXSDK" "$targetFolder\Autodesk\FBX\FBX SDK\2016.1.2"
|
||||||
|
|
||||||
|
Write-Output "FBX SDK = $version" >> ~\versions.txt
|
||||||
|
|
||||||
@@ -5,13 +5,32 @@ function Verify-Checksum
|
|||||||
[string]$Expected=$(throw("Checksum required")),
|
[string]$Expected=$(throw("Checksum required")),
|
||||||
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
||||||
)
|
)
|
||||||
|
Write-Host "Verifying checksum of $File"
|
||||||
$fs = new-object System.IO.FileStream $File, "Open"
|
$fs = new-object System.IO.FileStream $File, "Open"
|
||||||
$algo = [type]"System.Security.Cryptography.$Algorithm"
|
$algo = [type]"System.Security.Cryptography.$Algorithm"
|
||||||
$crypto = $algo::Create()
|
$crypto = $algo::Create()
|
||||||
$hash = [BitConverter]::ToString($crypto.ComputeHash($fs)).Replace("-", "")
|
$hash = [BitConverter]::ToString($crypto.ComputeHash($fs)).Replace("-", "")
|
||||||
$fs.Close()
|
$fs.Close()
|
||||||
if ($hash -ne $Expected) {
|
if ($hash -ne $Expected) {
|
||||||
Write-Error "Checksum verification failed, got: '$hash' expected: '$Expected'"
|
throw "Checksum verification failed, got: '$hash' expected: '$Expected'"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Run-Executable
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$Executable=$(throw("You must specify a program to run.")),
|
||||||
|
[string[]]$Arguments
|
||||||
|
)
|
||||||
|
if ([string]::IsNullOrEmpty($Arguments)) {
|
||||||
|
Write-Host "Running `"$Executable`""
|
||||||
|
$p = Start-Process -FilePath "$Executable" -Wait -PassThru
|
||||||
|
} else {
|
||||||
|
Write-Host "Running `"$Executable`" with arguments `"$Arguments`""
|
||||||
|
$p = Start-Process -FilePath "$Executable" -ArgumentList $Arguments -Wait -PassThru
|
||||||
|
}
|
||||||
|
if ($p.ExitCode -ne 0) {
|
||||||
|
throw "Process $($Executable) exited with exit code $($p.ExitCode)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -21,24 +40,21 @@ function Extract-7Zip
|
|||||||
[string]$Source,
|
[string]$Source,
|
||||||
[string]$Destination
|
[string]$Destination
|
||||||
)
|
)
|
||||||
echo "Extracting '$Source' to '$Destination'..."
|
Write-Host "Extracting '$Source' to '$Destination'..."
|
||||||
|
|
||||||
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
if ((Get-Command "7z.exe" -ErrorAction SilentlyContinue) -eq $null) {
|
||||||
$zipExe = join-path (${env:ProgramFiles(x86)}, ${env:ProgramFiles} -ne $null)[0] '7-zip\7z.exe'
|
$zipExe = join-path (${env:ProgramFiles(x86)}, ${env:ProgramFiles}, ${env:ProgramW6432} -ne $null)[0] '7-zip\7z.exe'
|
||||||
if (-not (test-path $zipExe)) {
|
if (-not (test-path $zipExe)) {
|
||||||
$zipExe = join-path ${env:ProgramW6432} '7-zip\7z.exe'
|
$zipExe = "C:\Utils\sevenzip\7z.exe"
|
||||||
if (-not (test-path $zipExe)) {
|
if (-not (test-path $zipExe)) {
|
||||||
$zipExe = "C:\Utils\sevenzip\7z.exe"
|
throw "Could not find 7-zip."
|
||||||
if (-not (test-path $zipExe)) {
|
|
||||||
throw "Could not find 7-zip."
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$zipExe = "7z.exe"
|
$zipExe = "7z.exe"
|
||||||
}
|
}
|
||||||
|
|
||||||
& $zipExe x $Source "-o$Destination" -y
|
Run-Executable "$zipExe" "x -y `"-o$Destination`" `"$Source`""
|
||||||
}
|
}
|
||||||
|
|
||||||
function Extract-Zip
|
function Extract-Zip
|
||||||
@@ -47,7 +63,7 @@ function Extract-Zip
|
|||||||
[string]$Source,
|
[string]$Source,
|
||||||
[string]$Destination
|
[string]$Destination
|
||||||
)
|
)
|
||||||
echo "Extracting '$Source' to '$Destination'..."
|
Write-Host "Extracting '$Source' to '$Destination'..."
|
||||||
|
|
||||||
New-Item -ItemType Directory -Force -Path $Destination
|
New-Item -ItemType Directory -Force -Path $Destination
|
||||||
$shell = new-object -com shell.application
|
$shell = new-object -com shell.application
|
||||||
@@ -66,7 +82,7 @@ function Extract-Dev-Folders-From-Zip
|
|||||||
|
|
||||||
$shell = new-object -com shell.application
|
$shell = new-object -com shell.application
|
||||||
|
|
||||||
echo "Extracting contents of $package"
|
Write-Host "Extracting contents of $package"
|
||||||
foreach ($subDir in "lib", "include", "bin", "share") {
|
foreach ($subDir in "lib", "include", "bin", "share") {
|
||||||
$zip = $shell.Namespace($package + "\" + $zipDir + "\" + $subDir)
|
$zip = $shell.Namespace($package + "\" + $zipDir + "\" + $subDir)
|
||||||
if ($zip) {
|
if ($zip) {
|
||||||
@@ -97,12 +113,14 @@ function Download
|
|||||||
)
|
)
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
try {
|
try {
|
||||||
|
Write-Host "Downloading from cached location ($CachedUrl) to $Destination"
|
||||||
if ($CachedUrl.StartsWith("http")) {
|
if ($CachedUrl.StartsWith("http")) {
|
||||||
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
|
Invoke-WebRequest -UseBasicParsing $CachedUrl -OutFile $Destination
|
||||||
} else {
|
} else {
|
||||||
Copy-Item $CachedUrl $Destination
|
Copy-Item $CachedUrl $Destination
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
|
Write-Host "Cached download failed: Downloading from official location: $OfficialUrl"
|
||||||
Invoke-WebRequest -UseBasicParsing $OfficialUrl -OutFile $Destination
|
Invoke-WebRequest -UseBasicParsing $OfficialUrl -OutFile $Destination
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -112,18 +130,33 @@ function Add-Path
|
|||||||
Param (
|
Param (
|
||||||
[string]$Path
|
[string]$Path
|
||||||
)
|
)
|
||||||
echo "Adding $Path to Path"
|
Write-Host "Adding $Path to Path"
|
||||||
|
|
||||||
$oldPath = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
|
$oldPath = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
|
||||||
[Environment]::SetEnvironmentVariable("Path", $oldPath + ";$Path", [EnvironmentVariableTarget]::Machine)
|
[Environment]::SetEnvironmentVariable("Path", $oldPath + ";$Path", [EnvironmentVariableTarget]::Machine)
|
||||||
|
$Env:PATH = [System.Environment]::GetEnvironmentVariable('Path', 'Machine')
|
||||||
}
|
}
|
||||||
|
|
||||||
function is64bitWinHost
|
function Set-EnvironmentVariable
|
||||||
{
|
{
|
||||||
if(($env:PROCESSOR_ARCHITECTURE -eq "AMD64") -or ($env:PROCESSOR_ARCHITEW6432 -eq "AMD64")) {
|
Param (
|
||||||
return 1
|
[string]$Key = $(BadParam("a key")),
|
||||||
}
|
[string]$Value = $(BadParam("a value."))
|
||||||
else {
|
)
|
||||||
return 0
|
Write-Host "Setting environment variable `"$($Key)`" to `"$($Value)`""
|
||||||
}
|
|
||||||
|
[Environment]::SetEnvironmentVariable($Key, $Value, [EnvironmentVariableTarget]::Machine)
|
||||||
|
}
|
||||||
|
|
||||||
|
function Is64BitWinHost
|
||||||
|
{
|
||||||
|
return [environment]::Is64BitOperatingSystem
|
||||||
|
}
|
||||||
|
|
||||||
|
function isProxyEnabled {
|
||||||
|
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyEnable
|
||||||
|
}
|
||||||
|
|
||||||
|
function getProxy {
|
||||||
|
return (Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings').proxyServer
|
||||||
}
|
}
|
||||||
45
coin/provisioning/common/windows/icu.ps1
Normal file
45
coin/provisioning/common/windows/icu.ps1
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
############################################################################
|
||||||
|
##
|
||||||
|
## Copyright (C) 2017 The Qt Company Ltd.
|
||||||
|
## Contact: http://www.qt.io/licensing/
|
||||||
|
##
|
||||||
|
## This file is part of the provisioning scripts of the Qt Toolkit.
|
||||||
|
##
|
||||||
|
## $QT_BEGIN_LICENSE:LGPL21$
|
||||||
|
## Commercial License Usage
|
||||||
|
## Licensees holding valid commercial Qt licenses may use this file in
|
||||||
|
## accordance with the commercial license agreement provided with the
|
||||||
|
## Software or, alternatively, in accordance with the terms contained in
|
||||||
|
## a written agreement between you and The Qt Company. For licensing terms
|
||||||
|
## and conditions see http://www.qt.io/terms-conditions. For further
|
||||||
|
## information use the contact form at http://www.qt.io/contact-us.
|
||||||
|
##
|
||||||
|
## GNU Lesser General Public License Usage
|
||||||
|
## Alternatively, this file may be used under the terms of the GNU Lesser
|
||||||
|
## General Public License version 2.1 or version 3 as published by the Free
|
||||||
|
## Software Foundation and appearing in the file LICENSE.LGPLv21 and
|
||||||
|
## LICENSE.LGPLv3 included in the packaging of this file. Please review the
|
||||||
|
## following information to ensure the GNU Lesser General Public License
|
||||||
|
## requirements will be met: https://www.gnu.org/licenses/lgpl.html and
|
||||||
|
## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
|
||||||
|
##
|
||||||
|
## As a special exception, The Qt Company gives you certain additional
|
||||||
|
## rights. These rights are described in The Qt Company LGPL Exception
|
||||||
|
## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
|
||||||
|
##
|
||||||
|
## $QT_END_LICENSE$
|
||||||
|
##
|
||||||
|
############################################################################
|
||||||
|
|
||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
# This script installs ICU.
|
||||||
|
|
||||||
|
$version = "53_1"
|
||||||
|
|
||||||
|
if (Is64BitWinHost) {
|
||||||
|
|
||||||
|
# FIXME: do we really want to use the 4.8.2 ICU build?
|
||||||
|
Set-EnvironmentVariable "CI_ICU_PATH_Mingw49" "C:\Utils\icu_53_1_Mingw_builds_4_8_2_posix_seh_64_devel\icu53_1"
|
||||||
|
|
||||||
|
}
|
||||||
@@ -31,16 +31,15 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script will install Dependency Walker 2.2.6000
|
# This script will install Dependency Walker 2.2.6000
|
||||||
|
|
||||||
$version = "2.2.6000"
|
$version = "2.2.6000"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "_x64"
|
$arch = "_x64"
|
||||||
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
$sha1 = "4831D2A8376D64110FF9CD18799FE6C69509D3EA"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "_x86"
|
$arch = "_x86"
|
||||||
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
|
$sha1 = "bfec714057e8449b0246051be99ba46a7760bab9"
|
||||||
}
|
}
|
||||||
@@ -49,15 +48,15 @@ $url_official = "http://www.dependencywalker.com/depends22" + $arch + ".zip"
|
|||||||
$dependsPackage = "C:\Windows\Temp\depends-$version.zip"
|
$dependsPackage = "C:\Windows\Temp\depends-$version.zip"
|
||||||
|
|
||||||
$TARGETDIR = "C:\Utils\dependencywalker"
|
$TARGETDIR = "C:\Utils\dependencywalker"
|
||||||
if(!(Test-Path -Path $TARGETDIR )){
|
if (!(Test-Path -Path $TARGETDIR )) {
|
||||||
New-Item -ItemType directory -Path $TARGETDIR
|
New-Item -ItemType directory -Path $TARGETDIR
|
||||||
}
|
}
|
||||||
Download $url_official $url_cache $dependsPackage
|
Download $url_official $url_cache $dependsPackage
|
||||||
Verify-Checksum $dependsPackage $sha1
|
Verify-Checksum $dependsPackage $sha1
|
||||||
|
|
||||||
Get-ChildItem $dependsPackage | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname "-o$TARGETDIR"}
|
Extract-7Zip $dependsPackage $TARGETDIR
|
||||||
|
|
||||||
echo "Cleaning $dependsPackage.."
|
Write-Host "Cleaning $dependsPackage.."
|
||||||
Remove-Item -Recurse -Force "$dependsPackage"
|
Remove-Item -Recurse -Force -Path "$dependsPackage"
|
||||||
|
|
||||||
echo "Dependency Walker = $version" >> ~\versions.txt
|
Write-Output "Dependency Walker = $version" >> ~\versions.txt
|
||||||
@@ -30,16 +30,15 @@
|
|||||||
## $QT_END_LICENSE$
|
## $QT_END_LICENSE$
|
||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# Install Git version 2.13.0
|
# Install Git version 2.13.0
|
||||||
|
|
||||||
$version = "2.13.0"
|
$version = "2.13.0"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "-64-bit"
|
$arch = "-64-bit"
|
||||||
$sha1 = "E1D7C6E5E16ACAF3C108064A2ED158F604FA29A7"
|
$sha1 = "E1D7C6E5E16ACAF3C108064A2ED158F604FA29A7"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "-32-bit"
|
$arch = "-32-bit"
|
||||||
$sha1 = "03c7df2e4ef61ea6b6f9c0eb7e6d5151d9682aec"
|
$sha1 = "03c7df2e4ef61ea6b6f9c0eb7e6d5151d9682aec"
|
||||||
}
|
}
|
||||||
@@ -47,11 +46,11 @@ $gitPackage = "C:\Windows\Temp\Git-" + $version + $arch + ".exe"
|
|||||||
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
|
$url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\Git-" + $version + $arch + ".exe"
|
||||||
$url_official = "https://github.com/git-for-windows/git/releases/download/v" + $version + ".windows.1/Git-" + $version + $arch + ".exe"
|
$url_official = "https://github.com/git-for-windows/git/releases/download/v" + $version + ".windows.1/Git-" + $version + $arch + ".exe"
|
||||||
|
|
||||||
echo "Fetching Git $version..."
|
Write-Host "Fetching Git $version..."
|
||||||
Download $url_official $url_cache $gitPackage
|
Download $url_official $url_cache $gitPackage
|
||||||
Verify-Checksum $gitPackage $sha1
|
Verify-Checksum $gitPackage $sha1
|
||||||
echo "Installing Git $version..."
|
Write-Host "Installing Git $version..."
|
||||||
cmd /c "$gitPackage /SILENT /COMPONENTS="icons,ext\reg\shellhere,assoc,assoc_sh""
|
Run-Executable "$gitPackage" "/SILENT /COMPONENTS=`"icons,ext\reg\shellhere,assoc,assoc_sh`""
|
||||||
remove-item $gitPackage
|
Remove-Item -Path $gitPackage
|
||||||
|
|
||||||
echo "Git = $version" >> ~\versions.txt
|
Write-Output "Git = $version" >> ~\versions.txt
|
||||||
@@ -31,18 +31,17 @@
|
|||||||
##
|
##
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
# This script will install Java SE
|
# This script will install Java SE
|
||||||
|
|
||||||
$installdir = "C:\Program Files\Java\jdk1.8.0_144"
|
$installdir = "C:\Program Files\Java\jdk1.8.0_144"
|
||||||
|
|
||||||
$version = "8u144"
|
$version = "8u144"
|
||||||
if( (is64bitWinHost) -eq 1 ) {
|
if (Is64BitWinHost) {
|
||||||
$arch = "x64"
|
$arch = "x64"
|
||||||
$sha1 = "adb03bc3f4b40bcb3227687860798981d58e1858"
|
$sha1 = "adb03bc3f4b40bcb3227687860798981d58e1858"
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
$arch = "i586"
|
$arch = "i586"
|
||||||
$sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
|
$sha1 = "3b9ab95914514eaefd72b815c5d9dd84c8e216fc"
|
||||||
}
|
}
|
||||||
@@ -51,28 +50,31 @@ $url_cache = "\\ci-files01-hki.intra.qt.io\provisioning\windows\jdk-" + $version
|
|||||||
$official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
|
$official_url = "http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-" + $version + "-windows-" + $arch + ".exe"
|
||||||
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
$javaPackage = "C:\Windows\Temp\jdk-$version.exe"
|
||||||
|
|
||||||
echo "Fetching Java SE $version..."
|
Write-Host "Fetching Java SE $version..."
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
try {
|
try {
|
||||||
echo "...from local cache"
|
Write-Host "...from local cache"
|
||||||
Invoke-WebRequest -UseBasicParsing $url_cache -OutFile $javaPackage
|
Download $url_cache $url_cache $javaPackage
|
||||||
} catch {
|
} catch {
|
||||||
echo "...from oracle.com"
|
Write-Host "...from oracle.com"
|
||||||
$client = new-object System.Net.WebClient
|
$client = new-object System.Net.WebClient
|
||||||
$cookie = "oraclelicense=accept-securebackup-cookie"
|
$cookie = "oraclelicense=accept-securebackup-cookie"
|
||||||
$client.Headers.Add("Cookie", $cookie)
|
$client.Headers.Add("Cookie", $cookie)
|
||||||
$client.DownloadFile($official_url, $javaPackage)
|
$client.DownloadFile($official_url, $javaPackage)
|
||||||
|
|
||||||
Invoke-WebRequest -UseBasicParsing $official_url -OutFile $javaPackage
|
Download $official_url $official_url $javaPackage
|
||||||
}
|
}
|
||||||
|
|
||||||
Verify-Checksum $javaPackage $sha1
|
Verify-Checksum $javaPackage $sha1
|
||||||
|
|
||||||
cmd /c "$javaPackage /s SPONSORS=0"
|
Run-Executable "$javaPackage" "/s SPONSORS=0"
|
||||||
echo "Cleaning $javaPackage.."
|
Write-Host "Cleaning $javaPackage.."
|
||||||
Remove-Item -Recurse -Force "$javaPackage"
|
Remove-Item -Recurse -Force -Path "$javaPackage"
|
||||||
|
|
||||||
[Environment]::SetEnvironmentVariable("JAVA_HOME", "$installdir", [EnvironmentVariableTarget]::Machine)
|
Write-Host "Remove Java update from startup"
|
||||||
|
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run" /v SunJavaUpdateSched /f
|
||||||
|
|
||||||
|
Set-EnvironmentVariable "JAVA_HOME" "$installdir"
|
||||||
Add-Path "$installdir\bin"
|
Add-Path "$installdir\bin"
|
||||||
|
|
||||||
echo "Java SE = $version $arch" >> ~\versions.txt
|
Write-Output "Java SE = $version $arch" >> ~\versions.txt
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
##
|
##
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
. "$PSScriptRoot\..\common\helpers.ps1"
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
function InstallMinGW
|
function InstallMinGW
|
||||||
{
|
{
|
||||||
@@ -55,14 +55,13 @@ function InstallMinGW
|
|||||||
Download $url_official $url_cache $mingwPackage
|
Download $url_official $url_cache $mingwPackage
|
||||||
Verify-Checksum $mingwPackage $sha1
|
Verify-Checksum $mingwPackage $sha1
|
||||||
|
|
||||||
Get-ChildItem $mingwPackage | % {& "C:\Utils\sevenzip\7z.exe" "x" $_.fullname "-o$TARGETDIR"}
|
Extract-7Zip $mingwPackage $TARGETDIR
|
||||||
|
|
||||||
echo "Adding MinGW environment variable."
|
Set-EnvironmentVariable "$envvar" ("$targetdir\mingw" + $win_arch.Substring($win_arch.get_Length()-2))
|
||||||
[Environment]::SetEnvironmentVariable("$envvar", "$targetdir\mingw32", [EnvironmentVariableTarget]::Machine)
|
|
||||||
|
|
||||||
echo "Cleaning $mingwPackage.."
|
Write-Host "Cleaning $mingwPackage.."
|
||||||
Remove-Item -Recurse -Force "$mingwPackage"
|
Remove-Item -Recurse -Force -Path "$mingwPackage"
|
||||||
|
|
||||||
echo "MinGW = $version $release" >> ~\versions.txt
|
Write-Output "MinGW = $version $release" >> ~\versions.txt
|
||||||
|
|
||||||
}
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user