mirror of
git://code.qt.io/qt/qt5.git
synced 2025-12-24 00:46:22 +08:00
Compare commits
7 Commits
wip/emulat
...
v5.6.1-1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4566f0ac50 | ||
|
|
adf7bcc0b1 | ||
|
|
d216c70d07 | ||
|
|
a5a1899f04 | ||
|
|
75cf7131d6 | ||
|
|
683bb7e19e | ||
|
|
f404267506 |
@@ -9,13 +9,8 @@
|
|||||||
|
|
||||||
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
# ==[ Footers: Uncomment and edit where applicable ]===================|
|
||||||
#
|
#
|
||||||
# One task per entry. Add a space after the colon.
|
# One task per entry. Remember space after colon.
|
||||||
# Use Fixes to automatically close an issue, and Task-number to
|
|
||||||
# reference it without further action.
|
|
||||||
# You do not need both for the same issue.
|
|
||||||
#Fixes:
|
|
||||||
#Task-number:
|
#Task-number:
|
||||||
#Coverity-Id:
|
|
||||||
#
|
#
|
||||||
# ==[ Please wrap at 72 characters ]===================================|
|
# ==[ Please wrap at 72 characters ]===================================|
|
||||||
#
|
#
|
||||||
|
|||||||
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -1,6 +1,6 @@
|
|||||||
.tag export-subst
|
.tag export-subst
|
||||||
.gitignore export-ignore
|
.gitignore export-ignore
|
||||||
.gitattributes export-ignore
|
.gitattributes export-ignore
|
||||||
.commit-template export-ignore eol=lf
|
.commit-template export-ignore
|
||||||
init-repository export-ignore
|
init-repository export-ignore
|
||||||
README.git export-ignore
|
README.git export-ignore
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,4 +1,3 @@
|
|||||||
Makefile
|
Makefile
|
||||||
.qmake.cache
|
.qmake.cache
|
||||||
.qmake.super
|
.qmake.super
|
||||||
*.pro.user*
|
|
||||||
|
|||||||
185
.gitmodules
vendored
185
.gitmodules
vendored
@@ -1,68 +1,66 @@
|
|||||||
[submodule "qtbase"]
|
[submodule "qtbase"]
|
||||||
path = qtbase
|
path = qtbase
|
||||||
url = ../qtbase.git
|
url = ../qtbase.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtsvg"]
|
[submodule "qtsvg"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtsvg
|
path = qtsvg
|
||||||
url = ../qtsvg.git
|
url = ../qtsvg.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtdeclarative"]
|
[submodule "qtdeclarative"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtsvg
|
recommends = qtsvg qtxmlpatterns
|
||||||
path = qtdeclarative
|
path = qtdeclarative
|
||||||
url = ../qtdeclarative.git
|
url = ../qtdeclarative.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtactiveqt"]
|
[submodule "qtactiveqt"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtactiveqt
|
path = qtactiveqt
|
||||||
url = ../qtactiveqt.git
|
url = ../qtactiveqt.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qttools"]
|
[submodule "qttools"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtactiveqt
|
recommends = qtdeclarative qtactiveqt qtwebkit
|
||||||
path = qttools
|
path = qttools
|
||||||
url = ../qttools.git
|
url = ../qttools.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = essential
|
||||||
[submodule "qtxmlpatterns"]
|
[submodule "qtxmlpatterns"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
|
||||||
path = qtxmlpatterns
|
path = qtxmlpatterns
|
||||||
url = ../qtxmlpatterns.git
|
url = ../qtxmlpatterns.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qttranslations"]
|
[submodule "qttranslations"]
|
||||||
depends = qttools
|
depends = qttools
|
||||||
path = qttranslations
|
path = qttranslations
|
||||||
url = ../qttranslations.git
|
url = ../qttranslations.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = essential
|
||||||
priority = 30
|
priority = 30
|
||||||
[submodule "qtdoc"]
|
[submodule "qtdoc"]
|
||||||
depends = qtdeclarative qttools
|
depends = qtdeclarative
|
||||||
recommends = qtmultimedia qtquickcontrols qtquickcontrols2
|
|
||||||
path = qtdoc
|
path = qtdoc
|
||||||
url = ../qtdoc.git
|
url = ../qtdoc.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = essential
|
||||||
priority = 40
|
priority = 40
|
||||||
[submodule "qtrepotools"]
|
[submodule "qtrepotools"]
|
||||||
@@ -70,7 +68,22 @@
|
|||||||
url = ../qtrepotools.git
|
url = ../qtrepotools.git
|
||||||
branch = master
|
branch = master
|
||||||
status = essential
|
status = essential
|
||||||
project = -
|
qt = false
|
||||||
|
[submodule "qtwebkit"]
|
||||||
|
depends = qtbase
|
||||||
|
recommends = qtdeclarative qtlocation qtmultimedia qtsensors qtwebchannel qtxmlpatterns
|
||||||
|
path = qtwebkit
|
||||||
|
url = ../qtwebkit.git
|
||||||
|
branch = 5.6.1
|
||||||
|
status = obsolete
|
||||||
|
project = WebKit.pro
|
||||||
|
priority = 20
|
||||||
|
[submodule "qtwebkit-examples"]
|
||||||
|
depends = qtwebkit qttools
|
||||||
|
path = qtwebkit-examples
|
||||||
|
url = ../qtwebkit-examples.git
|
||||||
|
branch = 5.6.1
|
||||||
|
status = obsolete
|
||||||
[submodule "qtqa"]
|
[submodule "qtqa"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtqa
|
path = qtqa
|
||||||
@@ -80,17 +93,17 @@
|
|||||||
priority = 50
|
priority = 50
|
||||||
[submodule "qtlocation"]
|
[submodule "qtlocation"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtquickcontrols qtquickcontrols2 qtserialport
|
recommends = qtdeclarative qtquickcontrols qtserialport qtsystems
|
||||||
path = qtlocation
|
path = qtlocation
|
||||||
url = ../qtlocation.git
|
url = ../qtlocation.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtsystems"]
|
[submodule "qtsystems"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
@@ -123,185 +136,135 @@
|
|||||||
recommends = qtdeclarative qtandroidextras
|
recommends = qtdeclarative qtandroidextras
|
||||||
path = qtconnectivity
|
path = qtconnectivity
|
||||||
url = ../qtconnectivity.git
|
url = ../qtconnectivity.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qt3d"]
|
[submodule "qt3d"]
|
||||||
depends = qtbase
|
depends = qtdeclarative qtimageformats
|
||||||
recommends = qtdeclarative qtimageformats qtgamepad
|
|
||||||
path = qt3d
|
path = qt3d
|
||||||
url = ../qt3d.git
|
url = ../qt3d.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = preview
|
||||||
[submodule "qtimageformats"]
|
[submodule "qtimageformats"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtimageformats
|
path = qtimageformats
|
||||||
url = ../qtimageformats.git
|
url = ../qtimageformats.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
|
[submodule "qtquick1"]
|
||||||
|
depends = qtscript
|
||||||
|
recommends = qtsvg qtxmlpatterns
|
||||||
|
path = qtquick1
|
||||||
|
url = ../qtquick1.git
|
||||||
|
branch = 5.6.1
|
||||||
|
status = obsolete
|
||||||
[submodule "qtgraphicaleffects"]
|
[submodule "qtgraphicaleffects"]
|
||||||
depends = qtdeclarative
|
depends = qtdeclarative
|
||||||
path = qtgraphicaleffects
|
path = qtgraphicaleffects
|
||||||
url = ../qtgraphicaleffects.git
|
url = ../qtgraphicaleffects.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = essential
|
||||||
[submodule "qtserialbus"]
|
[submodule "qtserialbus"]
|
||||||
depends = qtserialport
|
depends = qtserialport
|
||||||
path = qtserialbus
|
path = qtserialbus
|
||||||
url = ../qtserialbus.git
|
url = ../qtserialbus.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = preview
|
||||||
[submodule "qtserialport"]
|
[submodule "qtserialport"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtserialport
|
path = qtserialport
|
||||||
url = ../qtserialport.git
|
url = ../qtserialport.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtx11extras"]
|
[submodule "qtx11extras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtx11extras
|
path = qtx11extras
|
||||||
url = ../qtx11extras.git
|
url = ../qtx11extras.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtmacextras"]
|
[submodule "qtmacextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtmacextras
|
path = qtmacextras
|
||||||
url = ../qtmacextras.git
|
url = ../qtmacextras.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtandroidextras"]
|
[submodule "qtandroidextras"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
path = qtandroidextras
|
path = qtandroidextras
|
||||||
url = ../qtandroidextras.git
|
url = ../qtandroidextras.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
|
[submodule "qtenginio"]
|
||||||
|
depends = qtdeclarative
|
||||||
|
path = qtenginio
|
||||||
|
url = ../qtenginio.git
|
||||||
|
branch = 5.6.1
|
||||||
|
status = deprecated
|
||||||
[submodule "qtwebsockets"]
|
[submodule "qtwebsockets"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative
|
recommends = qtdeclarative
|
||||||
path = qtwebsockets
|
path = qtwebsockets
|
||||||
url = ../qtwebsockets.git
|
url = ../qtwebsockets.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtwebengine"]
|
[submodule "qtwebengine"]
|
||||||
depends = qtdeclarative
|
depends = qtquickcontrols qtwebchannel
|
||||||
recommends = qtquickcontrols qtquickcontrols2 qtlocation qtwebchannel qttools
|
recommends = qtlocation
|
||||||
path = qtwebengine
|
path = qtwebengine
|
||||||
url = ../qtwebengine.git
|
url = ../qtwebengine.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
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.12.9
|
branch = 5.6.1
|
||||||
status = addon
|
status = addon
|
||||||
[submodule "qtquickcontrols2"]
|
[submodule "qtquickcontrols2"]
|
||||||
depends = qtgraphicaleffects
|
depends = qtquickcontrols
|
||||||
recommends = qtimageformats
|
|
||||||
path = qtquickcontrols2
|
path = qtquickcontrols2
|
||||||
url = ../qtquickcontrols2.git
|
url = ../qtquickcontrols2.git
|
||||||
branch = 5.12.9
|
branch = 5.6.1
|
||||||
status = essential
|
status = preview
|
||||||
[submodule "qtpurchasing"]
|
[submodule "qtpurchasing"]
|
||||||
depends = qtbase
|
depends = qtbase
|
||||||
recommends = qtdeclarative qtandroidextras
|
recommends = qtdeclarative
|
||||||
path = qtpurchasing
|
path = qtpurchasing
|
||||||
url = ../qtpurchasing.git
|
url = ../qtpurchasing.git
|
||||||
branch = 5.12.9
|
branch = dev
|
||||||
status = addon
|
status = ignore
|
||||||
[submodule "qtcharts"]
|
|
||||||
depends = qtbase
|
|
||||||
recommends = qtdeclarative qtmultimedia
|
|
||||||
path = qtcharts
|
|
||||||
url = ../qtcharts.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtdatavis3d"]
|
|
||||||
depends = qtbase
|
|
||||||
recommends = qtdeclarative qtmultimedia
|
|
||||||
path = qtdatavis3d
|
|
||||||
url = ../qtdatavis3d.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtvirtualkeyboard"]
|
|
||||||
depends = qtbase qtdeclarative qtsvg
|
|
||||||
recommends = qtmultimedia qtquickcontrols
|
|
||||||
path = qtvirtualkeyboard
|
|
||||||
url = ../qtvirtualkeyboard.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtgamepad"]
|
|
||||||
depends = qtbase
|
|
||||||
recommends = qtdeclarative
|
|
||||||
path = qtgamepad
|
|
||||||
url = ../qtgamepad.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtscxml"]
|
|
||||||
depends = qtbase qtdeclarative
|
|
||||||
path = qtscxml
|
|
||||||
url = ../qtscxml.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtspeech"]
|
|
||||||
depends = qtbase
|
|
||||||
recommends = qtdeclarative qtmultimedia
|
|
||||||
path = qtspeech
|
|
||||||
url = ../qtspeech.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtnetworkauth"]
|
|
||||||
depends = qtbase
|
|
||||||
path = qtnetworkauth
|
|
||||||
url = ../qtnetworkauth.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtremoteobjects"]
|
|
||||||
depends = qtbase
|
|
||||||
recommends = qtdeclarative
|
|
||||||
path = qtremoteobjects
|
|
||||||
url = ../qtremoteobjects.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
[submodule "qtwebglplugin"]
|
|
||||||
depends = qtbase qtwebsockets
|
|
||||||
recommends = qtdeclarative
|
|
||||||
path = qtwebglplugin
|
|
||||||
url = ../qtwebglplugin.git
|
|
||||||
branch = 5.12.9
|
|
||||||
status = addon
|
|
||||||
|
|||||||
22
LGPL_EXCEPTION.txt
Normal file
22
LGPL_EXCEPTION.txt
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
The Qt Company Qt LGPL Exception version 1.1
|
||||||
|
|
||||||
|
As an additional permission to the GNU Lesser General Public License version
|
||||||
|
2.1, the object code form of a "work that uses the Library" may incorporate
|
||||||
|
material from a header file that is part of the Library. You may distribute
|
||||||
|
such object code under terms of your choice, provided that:
|
||||||
|
(i) the header files of the Library have not been modified; and
|
||||||
|
(ii) the incorporated material is limited to numerical parameters, data
|
||||||
|
structure layouts, accessors, macros, inline functions and
|
||||||
|
templates; and
|
||||||
|
(iii) you comply with the terms of Section 6 of the GNU Lesser General
|
||||||
|
Public License version 2.1.
|
||||||
|
|
||||||
|
Moreover, you may apply this exception to a modified version of the Library,
|
||||||
|
provided that such modification does not involve copying material from the
|
||||||
|
Library into the modified Library's header files unless such material is
|
||||||
|
limited to (i) numerical parameters; (ii) data structure layouts;
|
||||||
|
(iii) accessors; and (iv) small macros, templates and inline functions of
|
||||||
|
five lines or less in length.
|
||||||
|
|
||||||
|
Furthermore, you are not required to apply this additional permission to a
|
||||||
|
modified version of the Library.
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||||
Contact: http://www.qt.io/licensing/
|
Contact: http://www.qt.io/licensing/
|
||||||
|
|
||||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||||
GNU General Public License version 2, which is displayed below.
|
GNU General Public License version 2, which is displayed below.
|
||||||
|
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||||
Contact: http://www.qt.io/licensing/
|
Contact: http://www.qt.io/licensing/
|
||||||
|
|
||||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||||
GNU Lesser General Public License version 3. That license references
|
GNU Lesser General Public License version 3. That license references
|
||||||
the General Public License version 3, that is displayed below. Other
|
the General Public License version 3, that is displayed below. Other
|
||||||
portions of the Qt Toolkit may be licensed directly under this license.
|
portions of the Qt Toolkit may be licensed directly under this license.
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||||
Contact: http://www.qt.io/licensing/
|
Contact: http://www.qt.io/licensing/
|
||||||
|
|
||||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||||
GNU Lesser General Public License version 2.1, which is displayed below.
|
GNU Lesser General Public License version 2.1, which is displayed below.
|
||||||
|
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
The Qt Toolkit is Copyright (C) 2015 The Qt Company Ltd.
|
||||||
Contact: http://www.qt.io/licensing/
|
Contact: http://www.qt.io/licensing/
|
||||||
|
|
||||||
You may use, distribute and copy the Qt Toolkit under the terms of
|
You may use, distribute and copy the Qt GUI Toolkit under the terms of
|
||||||
GNU Lesser General Public License version 3, which is displayed below.
|
GNU Lesser General Public License version 3, which is displayed below.
|
||||||
This license makes reference to the version 3 of the GNU General
|
This license makes reference to the version 3 of the GNU General
|
||||||
Public License, which you can find in the LICENSE.GPLv3 file.
|
Public License, which you can find in the LICENSE.GPLv3 file.
|
||||||
|
|||||||
628
LICENSE.PREVIEW.COMMERCIAL
Normal file
628
LICENSE.PREVIEW.COMMERCIAL
Normal file
@@ -0,0 +1,628 @@
|
|||||||
|
TECHNOLOGY PREVIEW LICENSE AGREEMENT
|
||||||
|
|
||||||
|
For individuals and/or legal entities resident in the Americas (North
|
||||||
|
America, Central America and South America), the applicable licensing
|
||||||
|
terms are specified under the heading "Technology Preview License
|
||||||
|
Agreement: The Americas".
|
||||||
|
|
||||||
|
For individuals and/or legal entities not resident in The Americas, the
|
||||||
|
applicable licensing terms are specified under the heading "Technology
|
||||||
|
Preview License Agreement: Rest of the World".
|
||||||
|
|
||||||
|
|
||||||
|
TECHNOLOGY PREVIEW LICENSE AGREEMENT: The Americas
|
||||||
|
Agreement version 2.4
|
||||||
|
|
||||||
|
This Technology Preview License Agreement ("Agreement")is a legal agreement
|
||||||
|
between Digia USA, Inc. ("Digia"), with its registered office at 2350
|
||||||
|
Mission College Blvd., Suite 1020, Santa Clara, California 95054,
|
||||||
|
U.S.A. and you (either an individual or a legal entity) ("Licensee") for the
|
||||||
|
Licensed Software (as defined below).
|
||||||
|
|
||||||
|
1. DEFINITIONS
|
||||||
|
|
||||||
|
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||||
|
indirectly controlling such Party; (ii) which is under the same direct
|
||||||
|
or indirect ownership or control as such Party; or (iii) which is
|
||||||
|
directly or indirectly owned or controlled by such Party. For these
|
||||||
|
purposes, an entity shall be treated as being controlled by another if
|
||||||
|
that other entity has fifty percent (50 %) or more of the votes in such
|
||||||
|
entity, is able to direct its affairs and/or to control the composition
|
||||||
|
of its board of directors or equivalent body.
|
||||||
|
|
||||||
|
"Applications" shall mean Licensee's software products created using the
|
||||||
|
Licensed Software which may include portions of the Licensed Software.
|
||||||
|
|
||||||
|
"Term" shall mean the period of time six (6) months from the later of
|
||||||
|
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||||
|
initially delivered to Licensee by Digia. If no specific Effective Date
|
||||||
|
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||||
|
the date the Licensed Software was initially delivered to Licensee.
|
||||||
|
|
||||||
|
"Licensed Software" shall mean the computer software, "online" or
|
||||||
|
electronic documentation, associated media and printed materials,
|
||||||
|
including the source code, example programs and the documentation
|
||||||
|
delivered by Digia to Licensee in conjunction with this Agreement.
|
||||||
|
|
||||||
|
"Party" or "Parties" shall mean Licensee and/or Digia.
|
||||||
|
|
||||||
|
|
||||||
|
2. OWNERSHIP
|
||||||
|
|
||||||
|
The Licensed Software is protected by copyright laws and international
|
||||||
|
copyright treaties, as well as other intellectual property laws and
|
||||||
|
treaties. The Licensed Software is licensed, not sold.
|
||||||
|
|
||||||
|
If Licensee provides any findings, proposals, suggestions or other
|
||||||
|
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
|
||||||
|
shall own all right, title and interest including the intellectual
|
||||||
|
property rights in and to such Feedback, excluding however any existing
|
||||||
|
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||||
|
patents for such Feedback Licensee hereby grants to Digia and its
|
||||||
|
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||||
|
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||||
|
derivative works thereof, (ii) to make (and have made), use, import,
|
||||||
|
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||||
|
exploit any products or services of Digia containing Feedback, and
|
||||||
|
(iii) sublicense all the foregoing rights to third party licensees and
|
||||||
|
customers of Digia and/or its Affiliates.
|
||||||
|
|
||||||
|
|
||||||
|
3. VALIDITY OF THE AGREEMENT
|
||||||
|
|
||||||
|
By installing, copying, or otherwise using the Licensed Software,
|
||||||
|
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||||
|
does not agree to the terms of this Agreement, Licensee may not install,
|
||||||
|
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||||
|
of the terms and conditions of this Agreement, Digia grants Licensee the
|
||||||
|
right to use the Licensed Software in the manner provided below.
|
||||||
|
|
||||||
|
|
||||||
|
4. LICENSES
|
||||||
|
|
||||||
|
4.1. Using and Copying
|
||||||
|
|
||||||
|
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||||
|
license to use and copy the Licensed Software for sole purpose of
|
||||||
|
designing, developing and testing Applications, and evaluating and the
|
||||||
|
Licensed Software during the Term.
|
||||||
|
|
||||||
|
Licensee may install copies of the Licensed Software on an unlimited
|
||||||
|
number of computers provided that (a) if an individual, only such
|
||||||
|
individual; or (b) if a legal entity only its employees; use the
|
||||||
|
Licensed Software for the authorized purposes.
|
||||||
|
|
||||||
|
4.2 No Distribution or Modifications
|
||||||
|
|
||||||
|
Licensee may not disclose, modify, sell, market, commercialise,
|
||||||
|
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||||
|
copy of it or use the Licensed Software for any purpose that is not
|
||||||
|
expressly granted in this Section 4. Licensee may not alter or remove
|
||||||
|
any details of ownership, copyright, trademark or other property right
|
||||||
|
connected with the Licensed Software. Licensee may not distribute any
|
||||||
|
software statically or dynamically linked with the Licensed Software.
|
||||||
|
|
||||||
|
4.3 No Technical Support
|
||||||
|
|
||||||
|
Digia has no obligation to furnish Licensee with any technical support
|
||||||
|
whatsoever. Any such support is subject to separate agreement between
|
||||||
|
the Parties.
|
||||||
|
|
||||||
|
|
||||||
|
5. PRE-RELEASE CODE
|
||||||
|
The Licensed Software contains pre-release code that is not at the level
|
||||||
|
of performance and compatibility of a final, generally available,
|
||||||
|
product offering. The Licensed Software may not operate correctly and
|
||||||
|
may be substantially modified prior to the first commercial product
|
||||||
|
release, if any. Digia is not obligated to make this or any later
|
||||||
|
version of the Licensed Software commercially available. The License
|
||||||
|
Software is "Not for Commercial Use" and may only be used for the
|
||||||
|
purposes described in Section 4. The Licensed Software may not be used
|
||||||
|
in a live operating environment where it may be relied upon to perform
|
||||||
|
in the same manner as a commercially released product or with data that
|
||||||
|
has not been sufficiently backed up.
|
||||||
|
|
||||||
|
6. THIRD PARTY SOFTWARE
|
||||||
|
|
||||||
|
The Licensed Software may provide links to third party libraries or code
|
||||||
|
(collectively "Third Party Software") to implement various functions.
|
||||||
|
Third Party Software does not comprise part of the Licensed Software. In
|
||||||
|
some cases, access to Third Party Software may be included along with
|
||||||
|
the Licensed Software delivery as a convenience for development and
|
||||||
|
testing only. Such source code and libraries may be listed in the
|
||||||
|
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||||
|
documented in the Licensed Software where the Third Party Software is
|
||||||
|
used, as may be amended from time to time, do not comprise the Licensed
|
||||||
|
Software. Licensee acknowledges (1) that some part of Third Party
|
||||||
|
Software may require additional licensing of copyright and patents from
|
||||||
|
the owners of such, and (2) that distribution of any of the Licensed
|
||||||
|
Software referencing any portion of a Third Party Software may require
|
||||||
|
appropriate licensing from such third parties.
|
||||||
|
|
||||||
|
|
||||||
|
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||||
|
|
||||||
|
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||||
|
extent permitted by applicable law, Digia on behalf of itself and its
|
||||||
|
suppliers, disclaims all warranties and conditions, either express or
|
||||||
|
implied, including, but not limited to, implied warranties of
|
||||||
|
merchantability, fitness for a particular purpose, title and
|
||||||
|
non-infringement with regard to the Licensed Software.
|
||||||
|
|
||||||
|
|
||||||
|
8. LIMITATION OF LIABILITY
|
||||||
|
|
||||||
|
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
|
||||||
|
Licensee, whether in contract, tort or any other legal theory, based on
|
||||||
|
the Licensed Software, Digia's entire liability to Licensee and
|
||||||
|
Licensee's exclusive remedy shall be, at Digia's option, either (A)
|
||||||
|
return of the price Licensee paid for the Licensed Software, or (B)
|
||||||
|
repair or replacement of the Licensed Software, provided Licensee
|
||||||
|
returns to Digia all copies of the Licensed Software as originally
|
||||||
|
delivered to Licensee. Digia shall not under any circumstances be liable
|
||||||
|
to Licensee based on failure of the Licensed Software if the failure
|
||||||
|
resulted from accident, abuse or misapplication, nor shall Digia under
|
||||||
|
any circumstances be liable for special damages, punitive or exemplary
|
||||||
|
damages, damages for loss of profits or interruption of business or for
|
||||||
|
loss or corruption of data. Any award of damages from Digia to Licensee
|
||||||
|
shall not exceed the total amount Licensee has paid to Digia in
|
||||||
|
connection with this Agreement.
|
||||||
|
|
||||||
|
|
||||||
|
9. CONFIDENTIALITY
|
||||||
|
|
||||||
|
Each party acknowledges that during the Term of this Agreement it shall
|
||||||
|
have access to information about the other party's business, business
|
||||||
|
methods, business plans, customers, business relations, technology, and
|
||||||
|
other information, including the terms of this Agreement, that is
|
||||||
|
confidential and of great value to the other party, and the value of
|
||||||
|
which would be significantly reduced if disclosed to third parties (the
|
||||||
|
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||||
|
Party") receives Confidential Information from another party (the
|
||||||
|
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||||
|
employees and agents and employees and agents of its Affiliates to: (i)
|
||||||
|
maintain the Confidential Information in strict confidence; (ii) not
|
||||||
|
disclose the Confidential Information to a third party without the
|
||||||
|
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||||
|
indirectly, use the Confidential Information for any purpose other than
|
||||||
|
for exercising its rights and fulfilling its responsibilities pursuant
|
||||||
|
to this Agreement. Each party shall take reasonable measures to protect
|
||||||
|
the Confidential Information of the other party, which measures shall
|
||||||
|
not be less than the measures taken by such party to protect its own
|
||||||
|
confidential and proprietary information.
|
||||||
|
|
||||||
|
"Confidential Information" shall not include information that (a) is or
|
||||||
|
becomes generally known to the public through no act or omission of the
|
||||||
|
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||||
|
prior to the disclosure hereunder and was not subject to limitations on
|
||||||
|
disclosure or use; (c) is developed by the Receiving Party without
|
||||||
|
access to the Confidential Information of the Disclosing Party or by
|
||||||
|
persons who have not had access to the Confidential Information of the
|
||||||
|
Disclosing Party as proven by the written records of the Receiving
|
||||||
|
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||||
|
restrictions, by a third party not under an obligation of
|
||||||
|
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||||
|
disclose the information, in which case the Receiving Party shall assert
|
||||||
|
the privileged and confidential nature of the information and cooperate
|
||||||
|
fully with the Disclosing Party to protect against and prevent
|
||||||
|
disclosure of any Confidential Information and to limit the scope of
|
||||||
|
disclosure and the dissemination of disclosed Confidential Information
|
||||||
|
by all legally available means.
|
||||||
|
|
||||||
|
The obligations of the Receiving Party under this Section shall continue
|
||||||
|
during the Initial Term and for a period of five (5) years after
|
||||||
|
expiration or termination of this Agreement. To the extent that the
|
||||||
|
terms of the Non-Disclosure Agreement between Digia and Licensee
|
||||||
|
conflict with the terms of this Section 9, this Section 9 shall be
|
||||||
|
controlling over the terms of the Non-Disclosure Agreement.
|
||||||
|
|
||||||
|
|
||||||
|
10. GENERAL PROVISIONS
|
||||||
|
|
||||||
|
10.1 No Assignment
|
||||||
|
|
||||||
|
Licensee shall not be entitled to assign or transfer all or any of its
|
||||||
|
rights, benefits and obligations under this Agreement without the prior
|
||||||
|
written consent of Digia, which shall not be unreasonably withheld.
|
||||||
|
|
||||||
|
10.2 Termination
|
||||||
|
|
||||||
|
Digia may terminate the Agreement at any time immediately upon written
|
||||||
|
notice by Digia to Licensee if Licensee breaches this Agreement.
|
||||||
|
|
||||||
|
Upon termination of this Agreement, Licensee shall return to Digia all
|
||||||
|
copies of Licensed Software that were supplied by Digia. All other
|
||||||
|
copies of Licensed Software in the possession or control of Licensee
|
||||||
|
must be erased or destroyed. An officer of Licensee must promptly
|
||||||
|
deliver to Digia a written confirmation that this has occurred.
|
||||||
|
|
||||||
|
10.3 Surviving Sections
|
||||||
|
|
||||||
|
Any terms and conditions that by their nature or otherwise reasonably
|
||||||
|
should survive a cancellation or termination of this Agreement shall
|
||||||
|
also be deemed to survive. Such terms and conditions include, but are
|
||||||
|
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||||
|
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||||
|
|
||||||
|
10.4 Entire Agreement
|
||||||
|
|
||||||
|
This Agreement constitutes the complete agreement between the parties
|
||||||
|
and supersedes all prior or contemporaneous discussions,
|
||||||
|
representations, and proposals, written or oral, with respect to the
|
||||||
|
subject matters discussed herein, with the exception of the
|
||||||
|
non-disclosure agreement executed by the parties in connection with this
|
||||||
|
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||||
|
Section 9. No modification of this Agreement shall be effective unless
|
||||||
|
contained in a writing executed by an authorized representative of each
|
||||||
|
party. No term or condition contained in Licensee's purchase order shall
|
||||||
|
apply unless expressly accepted by Digia in writing. If any provision of
|
||||||
|
the Agreement is found void or unenforceable, the remainder shall remain
|
||||||
|
valid and enforceable according to its terms. If any remedy provided is
|
||||||
|
determined to have failed for its essential purpose, all limitations of
|
||||||
|
liability and exclusions of damages set forth in this Agreement shall
|
||||||
|
remain in effect.
|
||||||
|
|
||||||
|
10.5 Export Control
|
||||||
|
|
||||||
|
Licensee acknowledges that the Licensed Software may be subject to
|
||||||
|
export control restrictions of various countries. Licensee shall fully
|
||||||
|
comply with all applicable export license restrictions and requirements
|
||||||
|
as well as with all laws and regulations relating to the importation of
|
||||||
|
the Licensed Software and shall procure all necessary governmental
|
||||||
|
authorizations, including without limitation, all necessary licenses,
|
||||||
|
approvals, permissions or consents, where necessary for the
|
||||||
|
re-exportation of the Licensed Software.,
|
||||||
|
|
||||||
|
10.6 Governing Law and Legal Venue
|
||||||
|
|
||||||
|
This Agreement shall be governed by and construed in accordance with the
|
||||||
|
federal laws of the United States of America and the internal laws of
|
||||||
|
the State of New York without given effect to any choice of law rule
|
||||||
|
that would result in the application of the laws of any other
|
||||||
|
jurisdiction. The United Nations Convention on Contracts for the
|
||||||
|
International Sale of Goods (CISG) shall not apply. Each Party (a)
|
||||||
|
hereby irrevocably submits itself to and consents to the jurisdiction of
|
||||||
|
the United States District Court for the Southern District of New York
|
||||||
|
(or if such court lacks jurisdiction, the state courts of the State of
|
||||||
|
New York) for the purposes of any action, claim, suit or proceeding
|
||||||
|
between the Parties in connection with any controversy, claim, or
|
||||||
|
dispute arising out of or relating to this Agreement; and (b) hereby
|
||||||
|
waives, and agrees not to assert by way of motion, as a defense or
|
||||||
|
otherwise, in any such action, claim, suit or proceeding, any claim that
|
||||||
|
is not personally subject to the jurisdiction of such court(s), that the
|
||||||
|
action, claim, suit or proceeding is brought in an inconvenient forum or
|
||||||
|
that the venue of the action, claim, suit or proceeding is improper.
|
||||||
|
Notwithstanding the foregoing, nothing in this Section 9.6 is intended
|
||||||
|
to, or shall be deemed to, constitute a submission or consent to, or
|
||||||
|
selection of, jurisdiction, forum or venue for any action for patent
|
||||||
|
infringement, whether or not such action relates to this Agreement.
|
||||||
|
|
||||||
|
10.7 No Implied License
|
||||||
|
|
||||||
|
There are no implied licenses or other implied rights granted under this
|
||||||
|
Agreement, and all rights, save for those expressly granted hereunder,
|
||||||
|
shall remain with Digia and its licensors. In addition, no licenses or
|
||||||
|
immunities are granted to the combination of the Licensed Software with
|
||||||
|
any other software or hardware not delivered by Digia under this
|
||||||
|
Agreement.
|
||||||
|
|
||||||
|
10.8 Government End Users
|
||||||
|
|
||||||
|
A "U.S. Government End User" shall mean any agency or entity of the
|
||||||
|
government of the United States. The following shall apply if Licensee
|
||||||
|
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||||
|
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||||
|
consisting of "commercial computer software" and "commercial computer
|
||||||
|
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||||
|
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||||
|
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||||
|
the Licensed Software with only those rights set forth herein. The
|
||||||
|
Licensed Software (including related documentation) is provided to U.S.
|
||||||
|
Government End Users: (a) only as a commercial end item; and (b) only
|
||||||
|
pursuant to this Agreement.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
TECHNOLOGY PREVIEW LICENSE AGREEMENT: Rest of the World
|
||||||
|
Agreement version 2.4
|
||||||
|
|
||||||
|
This Technology Preview License Agreement ("Agreement") is a legal
|
||||||
|
agreement between Digia Finland Ltd ("Digia"), with its registered office at
|
||||||
|
Valimotie 21,FI-00380 Helsinki, Finland and you (either an individual or a
|
||||||
|
legal entity) ("Licensee") for the Licensed Software.
|
||||||
|
|
||||||
|
1. DEFINITIONS
|
||||||
|
|
||||||
|
"Affiliate" of a Party shall mean an entity (i) which is directly or
|
||||||
|
indirectly controlling such Party; (ii) which is under the same direct
|
||||||
|
or indirect ownership or control as such Party; or (iii) which is
|
||||||
|
directly or indirectly owned or controlled by such Party. For these
|
||||||
|
purposes, an entity shall be treated as being controlled by another if
|
||||||
|
that other entity has fifty percent (50 %) or more of the votes in such
|
||||||
|
entity, is able to direct its affairs and/or to control the composition
|
||||||
|
of its board of directors or equivalent body.
|
||||||
|
|
||||||
|
"Applications" shall mean Licensee's software products created using the
|
||||||
|
Licensed Software which may include portions of the Licensed Software.
|
||||||
|
|
||||||
|
"Term" shall mean the period of time six (6) months from the later of
|
||||||
|
(a) the Effective Date; or (b) the date the Licensed Software was
|
||||||
|
initially delivered to Licensee by Digia. If no specific Effective Date
|
||||||
|
is set forth in the Agreement, the Effective Date shall be deemed to be
|
||||||
|
the date the Licensed Software was initially delivered to Licensee.
|
||||||
|
|
||||||
|
"Licensed Software" shall mean the computer software, "online" or
|
||||||
|
electronic documentation, associated media and printed materials,
|
||||||
|
including the source code, example programs and the documentation
|
||||||
|
delivered by Digia to Licensee in conjunction with this Agreement.
|
||||||
|
|
||||||
|
"Party" or "Parties" shall mean Licensee and/or Digia.
|
||||||
|
|
||||||
|
|
||||||
|
2. OWNERSHIP
|
||||||
|
|
||||||
|
The Licensed Software is protected by copyright laws and international
|
||||||
|
copyright treaties, as well as other intellectual property laws and
|
||||||
|
treaties. The Licensed Software is licensed, not sold.
|
||||||
|
|
||||||
|
If Licensee provides any findings, proposals, suggestions or other
|
||||||
|
feedback ("Feedback") to Digia regarding the Licensed Software, Digia
|
||||||
|
shall own all right, title and interest including the intellectual
|
||||||
|
property rights in and to such Feedback, excluding however any existing
|
||||||
|
patent rights of Licensee. To the extent Licensee owns or controls any
|
||||||
|
patents for such Feedback Licensee hereby grants to Digia and its
|
||||||
|
Affiliates, a worldwide, perpetual, non-transferable, sublicensable,
|
||||||
|
royalty-free license to (i) use, copy and modify Feedback and to create
|
||||||
|
derivative works thereof, (ii) to make (and have made), use, import,
|
||||||
|
sell, offer for sale, lease, dispose, offer for disposal or otherwise
|
||||||
|
exploit any products or services of Digia containing Feedback, and
|
||||||
|
(iii) sublicense all the foregoing rights to third party licensees and
|
||||||
|
customers of Digia and/or its Affiliates.
|
||||||
|
|
||||||
|
3. VALIDITY OF THE AGREEMENT
|
||||||
|
|
||||||
|
By installing, copying, or otherwise using the Licensed Software,
|
||||||
|
Licensee agrees to be bound by the terms of this Agreement. If Licensee
|
||||||
|
does not agree to the terms of this Agreement, Licensee may not install,
|
||||||
|
copy, or otherwise use the Licensed Software. Upon Licensee's acceptance
|
||||||
|
of the terms and conditions of this Agreement, Digia grants Licensee the
|
||||||
|
right to use the Licensed Software in the manner provided below.
|
||||||
|
|
||||||
|
|
||||||
|
4. LICENSES
|
||||||
|
|
||||||
|
4.1. Using and Copying
|
||||||
|
|
||||||
|
Digia grants to Licensee a non-exclusive, non-transferable, time-limited
|
||||||
|
license to use and copy the Licensed Software for sole purpose of
|
||||||
|
designing, developing and testing Applications, and evaluating and the
|
||||||
|
Licensed Software during the Term.
|
||||||
|
|
||||||
|
Licensee may install copies of the Licensed Software on an unlimited
|
||||||
|
number of computers provided that (a) if an individual, only such
|
||||||
|
individual; or (b) if a legal entity only its employees; use the
|
||||||
|
Licensed Software for the authorized purposes.
|
||||||
|
|
||||||
|
4.2 No Distribution or Modifications
|
||||||
|
|
||||||
|
Licensee may not disclose, modify, sell, market, commercialise,
|
||||||
|
distribute, loan, rent, lease, or license the Licensed Software or any
|
||||||
|
copy of it or use the Licensed Software for any purpose that is not
|
||||||
|
expressly granted in this Section 4. Licensee may not alter or remove
|
||||||
|
any details of ownership, copyright, trademark or other property right
|
||||||
|
connected with the Licensed Software. Licensee may not distribute any
|
||||||
|
software statically or dynamically linked with the Licensed Software.
|
||||||
|
|
||||||
|
4.3 No Technical Support
|
||||||
|
|
||||||
|
Digia has no obligation to furnish Licensee with any technical support
|
||||||
|
whatsoever. Any such support is subject to separate agreement between
|
||||||
|
the Parties.
|
||||||
|
|
||||||
|
|
||||||
|
5. PRE-RELEASE CODE
|
||||||
|
|
||||||
|
The Licensed Software contains pre-release code that is not at the level
|
||||||
|
of performance and compatibility of a final, generally available,
|
||||||
|
product offering. The Licensed Software may not operate correctly and
|
||||||
|
may be substantially modified prior to the first commercial product
|
||||||
|
release, if any. Digia is not obligated to make this or any later
|
||||||
|
version of the Licensed Software commercially available. The License
|
||||||
|
Software is "Not for Commercial Use" and may only be used for the
|
||||||
|
purposes described in Section 4. The Licensed Software may not be used
|
||||||
|
in a live operating environment where it may be relied upon to perform
|
||||||
|
in the same manner as a commercially released product or with data that
|
||||||
|
has not been sufficiently backed up.
|
||||||
|
|
||||||
|
6. THIRD PARTY SOFTWARE
|
||||||
|
|
||||||
|
The Licensed Software may provide links to third party libraries or code
|
||||||
|
(collectively "Third Party Software") to implement various functions.
|
||||||
|
Third Party Software does not comprise part of the Licensed Software. In
|
||||||
|
some cases, access to Third Party Software may be included along with
|
||||||
|
the Licensed Software delivery as a convenience for development and
|
||||||
|
testing only. Such source code and libraries may be listed in the
|
||||||
|
".../src/3rdparty" source tree delivered with the Licensed Software or
|
||||||
|
documented in the Licensed Software where the Third Party Software is
|
||||||
|
used, as may be amended from time to time, do not comprise the Licensed
|
||||||
|
Software. Licensee acknowledges (1) that some part of Third Party
|
||||||
|
Software may require additional licensing of copyright and patents from
|
||||||
|
the owners of such, and (2) that distribution of any of the Licensed
|
||||||
|
Software referencing any portion of a Third Party Software may require
|
||||||
|
appropriate licensing from such third parties.
|
||||||
|
|
||||||
|
|
||||||
|
7. LIMITED WARRANTY AND WARRANTY DISCLAIMER
|
||||||
|
|
||||||
|
The Licensed Software is licensed to Licensee "as is". To the maximum
|
||||||
|
extent permitted by applicable law, Digia on behalf of itself and its
|
||||||
|
suppliers, disclaims all warranties and conditions, either express or
|
||||||
|
implied, including, but not limited to, implied warranties of
|
||||||
|
merchantability, fitness for a particular purpose, title and
|
||||||
|
non-infringement with regard to the Licensed Software.
|
||||||
|
|
||||||
|
|
||||||
|
8. LIMITATION OF LIABILITY
|
||||||
|
|
||||||
|
If, Digia's warranty disclaimer notwithstanding, Digia is held liable to
|
||||||
|
Licensee, whether in contract, tort or any other legal theory, based on
|
||||||
|
the Licensed Software, Digia's entire liability to Licensee and
|
||||||
|
Licensee's exclusive remedy shall be, at Digia's option, either (A)
|
||||||
|
return of the price Licensee paid for the Licensed Software, or (B)
|
||||||
|
repair or replacement of the Licensed Software, provided Licensee
|
||||||
|
returns to Digia all copies of the Licensed Software as originally
|
||||||
|
delivered to Licensee. Digia shall not under any circumstances be liable
|
||||||
|
to Licensee based on failure of the Licensed Software if the failure
|
||||||
|
resulted from accident, abuse or misapplication, nor shall Digia under
|
||||||
|
any circumstances be liable for special damages, punitive or exemplary
|
||||||
|
damages, damages for loss of profits or interruption of business or for
|
||||||
|
loss or corruption of data. Any award of damages from Digia to Licensee
|
||||||
|
shall not exceed the total amount Licensee has paid to Digia in
|
||||||
|
connection with this Agreement.
|
||||||
|
|
||||||
|
|
||||||
|
9. CONFIDENTIALITY
|
||||||
|
|
||||||
|
Each party acknowledges that during the Term of this Agreement it shall
|
||||||
|
have access to information about the other party's business, business
|
||||||
|
methods, business plans, customers, business relations, technology, and
|
||||||
|
other information, including the terms of this Agreement, that is
|
||||||
|
confidential and of great value to the other party, and the value of
|
||||||
|
which would be significantly reduced if disclosed to third parties (the
|
||||||
|
"Confidential Information"). Accordingly, when a party (the "Receiving
|
||||||
|
Party") receives Confidential Information from another party (the
|
||||||
|
"Disclosing Party"), the Receiving Party shall, and shall obligate its
|
||||||
|
employees and agents and employees and agents of its Affiliates to: (i)
|
||||||
|
maintain the Confidential Information in strict confidence; (ii) not
|
||||||
|
disclose the Confidential Information to a third party without the
|
||||||
|
Disclosing Party's prior written approval; and (iii) not, directly or
|
||||||
|
indirectly, use the Confidential Information for any purpose other than
|
||||||
|
for exercising its rights and fulfilling its responsibilities pursuant
|
||||||
|
to this Agreement. Each party shall take reasonable measures to protect
|
||||||
|
the Confidential Information of the other party, which measures shall
|
||||||
|
not be less than the measures taken by such party to protect its own
|
||||||
|
confidential and proprietary information.
|
||||||
|
|
||||||
|
"Confidential Information" shall not include information that (a) is or
|
||||||
|
becomes generally known to the public through no act or omission of the
|
||||||
|
Receiving Party; (b) was in the Receiving Party's lawful possession
|
||||||
|
prior to the disclosure hereunder and was not subject to limitations on
|
||||||
|
disclosure or use; (c) is developed by the Receiving Party without
|
||||||
|
access to the Confidential Information of the Disclosing Party or by
|
||||||
|
persons who have not had access to the Confidential Information of the
|
||||||
|
Disclosing Party as proven by the written records of the Receiving
|
||||||
|
Party; (d) is lawfully disclosed to the Receiving Party without
|
||||||
|
restrictions, by a third party not under an obligation of
|
||||||
|
confidentiality; or (e) the Receiving Party is legally compelled to
|
||||||
|
disclose the information, in which case the Receiving Party shall assert
|
||||||
|
the privileged and confidential nature of the information and cooperate
|
||||||
|
fully with the Disclosing Party to protect against and prevent
|
||||||
|
disclosure of any Confidential Information and to limit the scope of
|
||||||
|
disclosure and the dissemination of disclosed Confidential Information
|
||||||
|
by all legally available means.
|
||||||
|
|
||||||
|
The obligations of the Receiving Party under this Section shall continue
|
||||||
|
during the Initial Term and for a period of five (5) years after
|
||||||
|
expiration or termination of this Agreement. To the extent that the
|
||||||
|
terms of the Non-Disclosure Agreement between Digia and Licensee
|
||||||
|
conflict with the terms of this Section 9, this Section 9 shall be
|
||||||
|
controlling over the terms of the Non-Disclosure Agreement.
|
||||||
|
|
||||||
|
|
||||||
|
10. GENERAL PROVISIONS
|
||||||
|
|
||||||
|
10.1 No Assignment
|
||||||
|
|
||||||
|
Licensee shall not be entitled to assign or transfer all or any of its
|
||||||
|
rights, benefits and obligations under this Agreement without the prior
|
||||||
|
written consent of Digia, which shall not be unreasonably withheld.
|
||||||
|
|
||||||
|
10.2 Termination
|
||||||
|
|
||||||
|
Digia may terminate the Agreement at any time immediately upon written
|
||||||
|
notice by Digia to Licensee if Licensee breaches this Agreement.
|
||||||
|
|
||||||
|
Upon termination of this Agreement, Licensee shall return to Digia all
|
||||||
|
copies of Licensed Software that were supplied by Digia. All other
|
||||||
|
copies of Licensed Software in the possession or control of Licensee
|
||||||
|
must be erased or destroyed. An officer of Licensee must promptly
|
||||||
|
deliver to Digia a written confirmation that this has occurred.
|
||||||
|
|
||||||
|
10.3 Surviving Sections
|
||||||
|
|
||||||
|
Any terms and conditions that by their nature or otherwise reasonably
|
||||||
|
should survive a cancellation or termination of this Agreement shall
|
||||||
|
also be deemed to survive. Such terms and conditions include, but are
|
||||||
|
not limited to the following Sections: 2, 5, 6, 7, 8, 9, 10.2, 10.3, 10.4,
|
||||||
|
10.5, 10.6, 10.7, and 10.8 of this Agreement.
|
||||||
|
|
||||||
|
10.4 Entire Agreement
|
||||||
|
|
||||||
|
This Agreement constitutes the complete agreement between the parties
|
||||||
|
and supersedes all prior or contemporaneous discussions,
|
||||||
|
representations, and proposals, written or oral, with respect to the
|
||||||
|
subject matters discussed herein, with the exception of the
|
||||||
|
non-disclosure agreement executed by the parties in connection with this
|
||||||
|
Agreement ("Non-Disclosure Agreement"), if any, shall be subject to
|
||||||
|
Section 9. No modification of this Agreement shall be effective unless
|
||||||
|
contained in a writing executed by an authorized representative of each
|
||||||
|
party. No term or condition contained in Licensee's purchase order shall
|
||||||
|
apply unless expressly accepted by Digia in writing. If any provision of
|
||||||
|
the Agreement is found void or unenforceable, the remainder shall remain
|
||||||
|
valid and enforceable according to its terms. If any remedy provided is
|
||||||
|
determined to have failed for its essential purpose, all limitations of
|
||||||
|
liability and exclusions of damages set forth in this Agreement shall
|
||||||
|
remain in effect.
|
||||||
|
|
||||||
|
10.5 Export Control
|
||||||
|
|
||||||
|
Licensee acknowledges that the Licensed Software may be subject to
|
||||||
|
export control restrictions of various countries. Licensee shall fully
|
||||||
|
comply with all applicable export license restrictions and requirements
|
||||||
|
as well as with all laws and regulations relating to the importation of
|
||||||
|
the Licensed Software and shall procure all necessary governmental
|
||||||
|
authorizations, including without limitation, all necessary licenses,
|
||||||
|
approvals, permissions or consents, where necessary for the
|
||||||
|
re-exportation of the Licensed Software.,
|
||||||
|
|
||||||
|
10.6 Governing Law and Legal Venue
|
||||||
|
|
||||||
|
This Agreement shall be construed and interpreted in accordance with the
|
||||||
|
laws of Finland, excluding its choice of law provisions. Any disputes
|
||||||
|
arising out of or relating to this Agreement shall be resolved in
|
||||||
|
arbitration under the Rules of Arbitration of the Chamber of Commerce of
|
||||||
|
Helsinki, Finland. The arbitration tribunal shall consist of one (1), or
|
||||||
|
if either Party so requires, of three (3), arbitrators. The award shall
|
||||||
|
be final and binding and enforceable in any court of competent
|
||||||
|
jurisdiction. The arbitration shall be held in Helsinki, Finland and the
|
||||||
|
process shall be conducted in the English language.
|
||||||
|
|
||||||
|
10.7 No Implied License
|
||||||
|
|
||||||
|
There are no implied licenses or other implied rights granted under this
|
||||||
|
Agreement, and all rights, save for those expressly granted hereunder,
|
||||||
|
shall remain with Digia and its licensors. In addition, no licenses or
|
||||||
|
immunities are granted to the combination of the Licensed Software with
|
||||||
|
any other software or hardware not delivered by Digia under this
|
||||||
|
Agreement.
|
||||||
|
|
||||||
|
10.8 Government End Users
|
||||||
|
|
||||||
|
A "U.S. Government End User" shall mean any agency or entity of the
|
||||||
|
government of the United States. The following shall apply if Licensee
|
||||||
|
is a U.S. Government End User. The Licensed Software is a "commercial
|
||||||
|
item," as that term is defined in 48 C.F.R. 2.101 (Oct. 1995),
|
||||||
|
consisting of "commercial computer software" and "commercial computer
|
||||||
|
software documentation," as such terms are used in 48 C.F.R. 12.212
|
||||||
|
(Sept. 1995). Consistent with 48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1
|
||||||
|
through 227.7202-4 (June 1995), all U.S. Government End Users acquire
|
||||||
|
the Licensed Software with only those rights set forth herein. The
|
||||||
|
Licensed Software (including related documentation) is provided to U.S.
|
||||||
|
Government End Users: (a) only as a commercial end item; and (b) only
|
||||||
|
pursuant to this Agreement.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
39
README
39
README
@@ -10,21 +10,46 @@ HOW TO BUILD QT5
|
|||||||
|
|
||||||
- Perl 5.8 or later
|
- Perl 5.8 or later
|
||||||
- Python 2.7 or later
|
- Python 2.7 or later
|
||||||
- C++ compiler supporting the C++11 standard
|
- C++ compiler supporting the C++98 standard
|
||||||
|
|
||||||
For other platform specific requirements,
|
For other platform specific requirements,
|
||||||
please see section "Setting up your machine" on:
|
please see section "Setting up your machine" on:
|
||||||
http://wiki.qt.io/Get_The_Source
|
http://wiki.qt.io/Get_The_Source
|
||||||
|
|
||||||
|
Optional requirements
|
||||||
|
---------------------
|
||||||
|
|
||||||
|
- OpenSSL for SSL sockets or HTTPS
|
||||||
|
- Wayland
|
||||||
|
|
||||||
|
New dependencies in Qt 5
|
||||||
|
------------------------
|
||||||
|
|
||||||
|
Linux: On systems running X11, the XCB libraries are required for
|
||||||
|
the platform plugin to build. qtbase/src/plugins/platforms/xcb/README
|
||||||
|
lists the required packages.
|
||||||
|
|
||||||
|
Qt 5 can make use of the ICU libraries providing Unicode and Globalization
|
||||||
|
support (see http://site.icu-project.org/). They are required for building
|
||||||
|
QtWebKit.
|
||||||
|
On Linux, they will be auto-detected.
|
||||||
|
On Windows, they need to be manually installed and the "include" and "lib"
|
||||||
|
folders of the ICU installation must be appended to the INCLUDE and LIB
|
||||||
|
environment variables after calling the Windows SDK setup script.
|
||||||
|
The "bin" folder of the ICU installation should be appended to the PATH
|
||||||
|
environment variable in order to for the DLLs to be found at run-time.
|
||||||
|
|
||||||
Licensing:
|
Licensing:
|
||||||
----------
|
----------
|
||||||
|
|
||||||
Opensource users:
|
Opensource users:
|
||||||
|
|
||||||
|
<source_package> = qt-everywhere-opensource-src-<version>
|
||||||
<license> = -opensource
|
<license> = -opensource
|
||||||
|
|
||||||
Commercial users:
|
Commercial users:
|
||||||
|
|
||||||
|
<source_package> = qt-everywhere-enterprise-src-<version>
|
||||||
<license> = -commercial
|
<license> = -commercial
|
||||||
|
|
||||||
Linux, Mac:
|
Linux, Mac:
|
||||||
@@ -37,10 +62,8 @@ HOW TO BUILD QT5
|
|||||||
Windows:
|
Windows:
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Open a command prompt.
|
Open a Windows SDK (7.0, 7.1 or later) command prompt. Ensure that the
|
||||||
Ensure that the following tools can be found in the path:
|
following tools can be found in the path:
|
||||||
* Supported compiler (Visual Studio 2012 or later,
|
|
||||||
MinGW-builds gcc 4.9 or later)
|
|
||||||
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
* Perl version 5.12 or later [http://www.activestate.com/activeperl/]
|
||||||
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
* Python version 2.7 or later [http://www.activestate.com/activepython/]
|
||||||
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
* Ruby version 1.9.3 or later [http://rubyinstaller.org/]
|
||||||
@@ -87,11 +110,11 @@ HOW TO BUILD QT5
|
|||||||
default in the build system.
|
default in the build system.
|
||||||
|
|
||||||
It is possible to build selected modules with their dependencies by doing
|
It is possible to build selected modules with their dependencies by doing
|
||||||
a `make module-<foo>'. For example, to build only qtdeclarative,
|
a `make module-<foo>'. For example, to build only qtscript and qtwebkit,
|
||||||
and the modules it depends on:
|
and the modules they depend on:
|
||||||
|
|
||||||
./configure -prefix $PWD/qtbase <license>
|
./configure -prefix $PWD/qtbase <license>
|
||||||
make -j4 module-qtdeclarative
|
make -j4 module-qtscript module-qtwebkit
|
||||||
|
|
||||||
This can save a lot of time if you are only interested in a subset of Qt5.
|
This can save a lot of time if you are only interested in a subset of Qt5.
|
||||||
|
|
||||||
|
|||||||
@@ -1,82 +0,0 @@
|
|||||||
# Copyright (C) 2016 Olivier Goffart <ogoffart@woboq.com>
|
|
||||||
#
|
|
||||||
# You may use this file under the terms of the 3-clause BSD license.
|
|
||||||
# See the file LICENSE from this package for details.
|
|
||||||
|
|
||||||
# This is the clang-format configuration style to be used by Qt,
|
|
||||||
# based on the rules from https://wiki.qt.io/Qt_Coding_Style and
|
|
||||||
# https://wiki.qt.io/Coding_Conventions
|
|
||||||
|
|
||||||
---
|
|
||||||
# Webkit style was loosely based on the Qt style
|
|
||||||
BasedOnStyle: WebKit
|
|
||||||
|
|
||||||
Standard: Cpp11
|
|
||||||
|
|
||||||
# Column width is limited to 100 in accordance with Qt Coding Style.
|
|
||||||
# https://wiki.qt.io/Qt_Coding_Style
|
|
||||||
# Note that this may be changed at some point in the future.
|
|
||||||
ColumnLimit: 100
|
|
||||||
# How much weight do extra characters after the line length limit have.
|
|
||||||
# PenaltyExcessCharacter: 4
|
|
||||||
|
|
||||||
# Disable reflow of qdoc comments: indentation rules are different.
|
|
||||||
# Translation comments are also excluded.
|
|
||||||
CommentPragmas: "^!|^:"
|
|
||||||
|
|
||||||
# We want a space between the type and the star for pointer types.
|
|
||||||
PointerBindsToType: false
|
|
||||||
|
|
||||||
# We use template< without space.
|
|
||||||
SpaceAfterTemplateKeyword: false
|
|
||||||
|
|
||||||
# We want to break before the operators, but not before a '='.
|
|
||||||
BreakBeforeBinaryOperators: NonAssignment
|
|
||||||
|
|
||||||
# Braces are usually attached, but not after functions or class declarations.
|
|
||||||
BreakBeforeBraces: Custom
|
|
||||||
BraceWrapping:
|
|
||||||
AfterClass: true
|
|
||||||
AfterControlStatement: false
|
|
||||||
AfterEnum: false
|
|
||||||
AfterFunction: true
|
|
||||||
AfterNamespace: false
|
|
||||||
AfterObjCDeclaration: false
|
|
||||||
AfterStruct: false
|
|
||||||
AfterUnion: false
|
|
||||||
BeforeCatch: false
|
|
||||||
BeforeElse: false
|
|
||||||
IndentBraces: false
|
|
||||||
|
|
||||||
# When constructor initializers do not fit on one line, put them each on a new line.
|
|
||||||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
|
||||||
# Indent initializers by 4 spaces
|
|
||||||
ConstructorInitializerIndentWidth: 4
|
|
||||||
|
|
||||||
# Indent width for line continuations.
|
|
||||||
ContinuationIndentWidth: 8
|
|
||||||
|
|
||||||
# No indentation for namespaces.
|
|
||||||
NamespaceIndentation: None
|
|
||||||
|
|
||||||
# Horizontally align arguments after an open bracket.
|
|
||||||
# The coding style does not specify the following, but this is what gives
|
|
||||||
# results closest to the existing code.
|
|
||||||
AlignAfterOpenBracket: true
|
|
||||||
AlwaysBreakTemplateDeclarations: true
|
|
||||||
|
|
||||||
# Ideally we should also allow less short function in a single line, but
|
|
||||||
# clang-format does not handle that.
|
|
||||||
AllowShortFunctionsOnASingleLine: Inline
|
|
||||||
|
|
||||||
# The coding style specifies some include order categories, but also tells to
|
|
||||||
# separate categories with an empty line. It does not specify the order within
|
|
||||||
# the categories. Since the SortInclude feature of clang-format does not
|
|
||||||
# re-order includes separated by empty lines, the feature is not used.
|
|
||||||
SortIncludes: false
|
|
||||||
|
|
||||||
# macros for which the opening brace stays attached.
|
|
||||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE ]
|
|
||||||
|
|
||||||
# Break constructor initializers before the colon and after the commas.
|
|
||||||
BreakConstructorInitializers: BeforeColon
|
|
||||||
@@ -3,14 +3,7 @@ Continuous Integration
|
|||||||
|
|
||||||
This directory contains files used by Qt's Continuous Integration system (Coin).
|
This directory contains files used by Qt's Continuous Integration system (Coin).
|
||||||
|
|
||||||
pre-provisioning
|
|
||||||
----------------
|
|
||||||
Contains scripts which are used to install software to tier1 machines manually.
|
|
||||||
E.g. Visual studio installation takes too long to be included to automatic provisioning of tier2 templates.
|
|
||||||
|
|
||||||
provisioning
|
provisioning
|
||||||
------------
|
------------
|
||||||
Contains scripts that apply to different test machines in order to run automatic tests on them.
|
Contains scripts that apply to different test machines in order to run automatic tests on them.
|
||||||
For Windows scripts, make sure that the machine has "Set-ExecutionPolicy RemoteSigned -Force" set.
|
|
||||||
(Run as admin in PowerShell)
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,181 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -developer-build -release -angle -qtnamespace TestNamespace -qtlibinfix TestInfix -nomake tests -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-7-x86-3'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -developer-build -release -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Features: ['Packaging']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86%'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Features: ['Packaging']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-x86-msvc2015'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -nomake examples -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-arm-msvc2015'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Features: ['Packaging']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -debug-and-release -release -force-debug-info -nomake tests -opengl dynamic -nomake examples -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64%'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch x86'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-16.04-x86_64-2'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -R . -qtlibinfix TestInfix -qtnamespace TestNamespace -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -force-debug-info -nomake tests -no-widgets -nomake examples -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['OutOfSourceBuild', 'Documentation']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -R . -qtlibinfix TestInfix -qtnamespace TestNamespace -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -no-gui -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -no-opengl -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
|
||||||
Compiler: 'ICC_18'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-pch -system-sqlite -R . -platform linux-icc-64 -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
|
||||||
Target os: 'WebAssembly'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -release -static -nomake tests -nomake examples -no-sql-mysql -no-pch -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -no-feature-thread -xplatform wasm-emscripten'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-SLES-12-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-SLES-15-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -no-sql-mysql -no-pch -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-libudev -no-use-gold-linker -force-debug-info -separate-debug-info -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -qt-libjpeg -qt-libpng -qt-xcb -sysconfdir /etc/xdg -qt-pcre -qt-harfbuzz -R . -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib QMAKE_LFLAGS_APP+=-s'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['Packaging']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -separate-debug-info -nomake tests -nomake examples -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.14-x86_64'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -release -separate-debug-info -nomake tests -no-sql-mysql -plugin-sql-psql -plugin-sql-sqlite -sysconfdir /Library/Preferences/Qt -I/usr/local/opt/openssl/include'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.12-x86_64-9'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -developer-build -release -no-pch -no-framework -qtnamespace TestNamespace -nomake tests -nomake examples -I/usr/local/opt/openssl/include'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'IOS_ANY'
|
|
||||||
Target arch: 'multi'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -no-icu -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -static -xplatform macx-ios-clang'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'TvOS_ANY'
|
|
||||||
Target arch: 'multi'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -xplatform macx-tvos-clang'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'WatchOS_ANY'
|
|
||||||
Target arch: 'multi'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -debug-and-release -nomake tests -nomake examples -no-sql-mysql -no-sql-psql -plugin-sql-sqlite -xplatform macx-watchos-clang'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch x86'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-use-gold-linker -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch x86'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['TestOnly', 'LicenseCheck']
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'INTEGRITY_11_04'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -xplatform integrity-armv7-imx6'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -no-sql-mysql -qpa qnx -xplatform qnx-armle-v7-qcc'
|
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
Version: 2
|
|
||||||
Module only: True
|
|
||||||
Configurations:
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -nomake examples -nomake tests -accessibility -static -no-sql-sqlite -no-icu -mp -openssl-linked OPENSSL_LIBS="-llibssl_static -llibcrypto_static -lUser32 -lWs2_32 -lAdvapi32 -lCrypt32" -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -prefix c:\Users\qt\work\install'
|
|
||||||
Environment variables: ['TARGET_ARCHITECTURE=amd64_x86', 'PATH=%PATH%;%CI_JOM_PATH%;C:\Utils\gnuwin32\bin;']
|
|
||||||
Environment script: ['%ProgramFiles(x86)%\Microsoft Visual Studio 14.0\VC\vcvarsall.bat', 'amd64_x86']
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -nomake examples -nomake tests -accessibility -static -no-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -no-cups -no-freetype -prefix /Users/qt/work/install'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -nomake examples -nomake tests -accessibility -static -no-sql-sqlite -qt-zlib -qt-libpng -qt-libjpeg -no-cups -openssl-linked -qt-xcb -no-icu -no-libudev -qt-pcre -no-glib -no-egl -no-sm -qt-harfbuzz -prefix /home/qt/work/install OPENSSL_LIBS="{{.Env.OPENSSL_HOME}}/lib/libssl.a {{.Env.OPENSSL_HOME}}/lib/libcrypto.a -ldl -lpthread" -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/libs'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Documentation', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -nomake tests -qt-zlib -qt-libpng -qt-libjpeg -openssl -I {{.Env.OPENSSL_HOME}}/include -L {{.Env.OPENSSL_HOME}}/lib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['TestOnly', 'LicenseCheck']
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
qt5.yaml
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
qt5.yaml
|
|
||||||
@@ -1,126 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2015 -xplatform winrt-x64-msvc2015'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-x86-msvc2017'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-7-x86-3'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-arm-msvc2017'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -force-debug-info -no-sql-mysql -platform win32-msvc2017 -xplatform winrt-x64-msvc2017'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch armeabi-v7a -xplatform android-clang'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -no-use-gold-linker -sysconfdir /etc/xdg -opengl es2 -openssl -I {{.Env.OPENSSL_ANDROID_HOME}}/include -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host linux-x86_64 -android-arch arm64-v8a -xplatform android-clang'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch armeabi-v7a'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -opengl es2 -sysconfdir /etc/xdg -openssl -I c:\utils\openssl-android-master\include -xplatform android-clang -android-sdk C:\Utils\Android -android-ndk c:\Utils\Android\android-ndk-r19c -android-arch arm64-v8a'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch armeabi-v7a'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'Android_ANY'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'Clang'
|
|
||||||
Target compiler: 'Clang'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-dbus -no-qpa-platform-guard -opengl es2 -sysconfdir /etc/xdg -openssl -I /usr/local/opt/openssl/include -xplatform android-clang -android-sdk /opt/android/sdk -android-ndk /opt/android/android-ndk-r19c -android-ndk-host darwin-x86_64 -android-arch arm64-v8a'
|
|
||||||
-
|
|
||||||
Template: 'qtci-macos-10.13-x86_64-2'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'x86'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /Users/qt/work/install -release -nomake tests -nomake examples -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-qcc'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-armle-v7-qcc'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'armv8'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -opengl es2 -nomake tests -nomake examples -no-sql-mysql -xplatform qnx-aarch64le-qcc'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'x86_64'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -nomake tests -nomake examples -no-sql-mysql -opengl es2 -xplatform qnx-x86-64-qcc'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'armv8'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-aarch64le-qcc'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Target os: 'QNX_700'
|
|
||||||
Target arch: 'x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -nomake tests -nomake examples -no-sql-mysql -no-use-gold-linker -opengl es2 -qpa qnx -xplatform qnx-x86-64-qcc'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Target arch: 'x86_64'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -static -nomake tests -nomake examples -no-icu -force-debug-info -platform win32-msvc2015 -xplatform winrt-x64-msvc2015'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-openSUSE-42.3-x86_64'
|
|
||||||
Target os: 'WebAssembly'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -developer-build -static -nomake tests -nomake examples -no-pch -no-feature-thread -no-dbus -no-headersclean -no-ssl -no-warnings-are-errors -xplatform wasm-emscripten'
|
|
||||||
@@ -1,6 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Target os: 'WinRT_10'
|
|
||||||
Target arch: 'x86_64'
|
|
||||||
Compiler: 'MSVC2015'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -static -nomake tests -nomake examples -no-icu -force-debug-info -platform win32-msvc2015 -xplatform winrt-x64-msvc2015'
|
|
||||||
@@ -1,24 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake tests -nomake examples -no-xcb -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'armv7'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -R . -developer-build -device linux-imx7-g++ -device-option CROSS_COMPILE=/opt/yocto-armv7/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi- -device-option DISTRO_OPTS="hard-float boot2qt" -extprefix /home/qt/work/install -mysql_config /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi/usr/bin/mysql_config -no-xcb -nomake examples -nomake tests -openssl -prefix /home/qt/work/install -psql_config /dev/null -sysroot /opt/yocto-armv7/sysroots/armv7ahf-neon-poky-linux-gnueabi -tslib -verbose'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-Ubuntu-18.04-x86_64'
|
|
||||||
Target os: 'QEMU'
|
|
||||||
Target arch: 'arm64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -developer-build -nomake examples -nomake tests -R . -openssl -device linux-generic-g++ -device-option CROSS_COMPILE=/opt/yocto-arm64/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux- -device-option DISTRO_OPTS=boot2qt -sysroot /opt/yocto-arm64/sysroots/aarch64-poky-linux -extprefix /home/qt/work/install -mysql_config /opt/yocto-arm64/sysroots/aarch64-poky-linux/usr/bin/mysql_config -psql_config /dev/null -tslib -no-xcb'
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -developer-build -nomake tests -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x64% -L %POSTGRESQL_LIB_x64% -platform win32-g++'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86_64-10'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -static -nomake tests -nomake examples -no-icu -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x64% -L %OPENSSL_LIB_x64% -plugin-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x64% -L %MYSQL_LIB_x64% -platform win32-g++'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-7.4-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -static -nomake tests -nomake examples -no-use-gold-linker -no-icu -no-fontconfig -qt-freetype -no-opengl -qpa offscreen -no-xcb -qt-libpng -no-vulkan'
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86-3'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
|
||||||
-
|
|
||||||
Template: 'qtci-linux-RHEL-6.6-x86_64'
|
|
||||||
Compiler: 'GCC'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix /home/qt/work/install -release -force-debug-info -nomake examples -nomake tests'
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-7-x86-3'
|
|
||||||
Compiler: 'Mingw73'
|
|
||||||
Features: ['Packaging', 'DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -debug-and-release -nomake tests -nomake examples -opengl dynamic -openssl -I %OPENSSL_INCLUDE_x86% -L %OPENSSL_LIB_x86% -no-sql-mysql -plugin-sql-sqlite -plugin-sql-odbc -I %MYSQL_INCLUDE_x86% -L %MYSQL_LIB_x86% -plugin-sql-psql -I %POSTGRESQL_INCLUDE_x86% -L %POSTGRESQL_LIB_x86% -platform win32-g++'
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
-
|
|
||||||
Template: 'qtci-windows-7-x86_64-4'
|
|
||||||
Compiler: 'MSVC2013'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-8.1-x86_64'
|
|
||||||
Compiler: 'MSVC2013'
|
|
||||||
Features: ['DisableTests']
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
|
||||||
-
|
|
||||||
Template: 'qtci-windows-10-x86-3'
|
|
||||||
Compiler: 'MSVC2017'
|
|
||||||
Configure arguments: '-opensource -confirm-license -verbose -prefix c:\Users\qt\work\install -release -force-debug-info -opengl dynamic -nomake examples -nomake tests'
|
|
||||||
@@ -1,48 +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\..\common\helpers.ps1"
|
|
||||||
|
|
||||||
# This script will install Visual Studio 2017 Build Tools
|
|
||||||
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
|
||||||
|
|
||||||
$version = "2017_version_15.0"
|
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
|
||||||
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
|
||||||
|
|
||||||
Download $url_cache $url_cache $msvcPackage
|
|
||||||
Verify-Checksum $msvcPackage $sha1
|
|
||||||
cmd /c "$msvcPackage --all --passive --wait"
|
|
||||||
echo "Cleaning $msvcPackage.."
|
|
||||||
Remove-Item -Recurse -Force "$msvcPackage"
|
|
||||||
echo "Visual Studio Build Tools = $version" >> ~\versions.txt
|
|
||||||
@@ -1,58 +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\..\..\provisioning\common\helpers.ps1"
|
|
||||||
|
|
||||||
# Install Visual Studio $version with $update_version
|
|
||||||
# Original download page: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
|
|
||||||
$version = "2015"
|
|
||||||
$update_version = "3"
|
|
||||||
|
|
||||||
# Only way to install specific Visual studio release is to use feed.xml.
|
|
||||||
# Visual Studio $version setup will use the feed.xml that was available when $update_version released -> 'https://msdn.microsoft.com/en-us/library/mt653628.aspx'
|
|
||||||
# These parameters will install Visual Studio Enterprise Update $update_version (the original Update $update_version without any further Update $update_version-era updates)
|
|
||||||
$parameters = "/OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BBD3561-D764-4F39-AB8E-05356A122545/20160628.2/enu/feed.xml"
|
|
||||||
|
|
||||||
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
|
||||||
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/$msvc_web_installer.exe"
|
|
||||||
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
|
||||||
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
|
||||||
|
|
||||||
echo "Fetching Visual Studio $version update $update_version..."
|
|
||||||
Download $url_official $url_cache $package
|
|
||||||
Verify-Checksum $package $sha1
|
|
||||||
echo "Installing Visual studio $version update $update_version..."
|
|
||||||
cmd /c "$package $parameters /norestart /Quiet"
|
|
||||||
remove-item $package
|
|
||||||
|
|
||||||
echo "Visual Studio = $version update $update_version" >> ~\versions.txt
|
|
||||||
@@ -1,49 +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\..\common\helpers.ps1"
|
|
||||||
|
|
||||||
# This script will install Visual Studio 2017
|
|
||||||
|
|
||||||
$version = "2017"
|
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
|
||||||
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
|
||||||
|
|
||||||
|
|
||||||
Download $url_cache $url_cache $msvcPackage
|
|
||||||
Verify-Checksum $msvcPackage $sha1
|
|
||||||
cmd /c "$msvcPackage --all --norestart --quiet --wait --add Microsoft.VisualStudio.Component.VC.Tools.ARM"
|
|
||||||
echo "Cleaning $msvcPackage.."
|
|
||||||
Remove-Item -Recurse -Force "$msvcPackage"
|
|
||||||
echo "Visual Studio = $version" >> ~\versions.txt
|
|
||||||
@@ -1,48 +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\..\common\helpers.ps1"
|
|
||||||
|
|
||||||
# This script will install Visual Studio 2017 Build Tools
|
|
||||||
# https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017
|
|
||||||
|
|
||||||
$version = "2017_version_15.0"
|
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_build_tools_for_visual_studio_" + $version + "_x86_x64_10254482.exe"
|
|
||||||
$sha1 = "a31e099e5114fef80a21654689e6864afc544a16"
|
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
|
||||||
|
|
||||||
Download $url_cache $url_cache $msvcPackage
|
|
||||||
Verify-Checksum $msvcPackage $sha1
|
|
||||||
cmd /c "$msvcPackage --all --passive --wait"
|
|
||||||
echo "Cleaning $msvcPackage.."
|
|
||||||
Remove-Item -Recurse -Force "$msvcPackage"
|
|
||||||
echo "Visual Studio Build Tools = $version" >> ~\versions.txt
|
|
||||||
@@ -1,58 +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\..\..\provisioning\common\helpers.ps1"
|
|
||||||
|
|
||||||
# Install Visual Studio $version with $update_version
|
|
||||||
# Original download page: https://www.visualstudio.com/en-us/news/releasenotes/vs2015-update3-vs
|
|
||||||
$version = "2015"
|
|
||||||
$update_version = "3"
|
|
||||||
|
|
||||||
# Only way to install specific Visual studio release is to use feed.xml.
|
|
||||||
# Visual Studio $version setup will use the feed.xml that was available when $update_version released -> 'https://msdn.microsoft.com/en-us/library/mt653628.aspx'
|
|
||||||
# These parameters will install Visual Studio Enterprise Update $update_version (the original Update $update_version without any further Update $update_version-era updates)
|
|
||||||
$parameters = "/OverrideFeedURI http://download.microsoft.com/download/6/B/B/6BBD3561-D764-4F39-AB8E-05356A122545/20160628.2/enu/feed.xml"
|
|
||||||
|
|
||||||
$msvc_web_installer = "vs" + $version + "_" + $update_version
|
|
||||||
$package = "C:\Windows\temp\$msvc_web_installer.exe"
|
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/$msvc_web_installer.exe"
|
|
||||||
$url_official = "https://go.microsoft.com/fwlink/?LinkId=691129"
|
|
||||||
$sha1 = "68abf90424aff604a04d6c61fb52adcd2cab2266"
|
|
||||||
|
|
||||||
echo "Fetching Visual Studio $version update $update_version..."
|
|
||||||
Download $url_official $url_cache $package
|
|
||||||
Verify-Checksum $package $sha1
|
|
||||||
echo "Installing Visual studio $version update $update_version..."
|
|
||||||
cmd /c "$package $parameters /norestart /Quiet"
|
|
||||||
remove-item $package
|
|
||||||
|
|
||||||
echo "Visual Studio = $version update $update_version" >> ~\versions.txt
|
|
||||||
@@ -1,49 +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\..\common\helpers.ps1"
|
|
||||||
|
|
||||||
# This script will install Visual Studio 2017
|
|
||||||
|
|
||||||
$version = "2017"
|
|
||||||
$url_cache = "http://ci-files01-hki.intra.qt.io/input/windows/mu_visual_studio_professional_" + $version + "_x86_x64_10049787.exe"
|
|
||||||
$sha1 = "8d678d27735018a99dc22ddb5412e4e6868991ae"
|
|
||||||
$msvcPackage = "C:\Windows\Temp\$version.exe"
|
|
||||||
|
|
||||||
|
|
||||||
Download $url_cache $url_cache $msvcPackage
|
|
||||||
Verify-Checksum $msvcPackage $sha1
|
|
||||||
cmd /c "$msvcPackage --all --norestart --quiet --wait --add Microsoft.VisualStudio.Component.VC.Tools.ARM"
|
|
||||||
echo "Cleaning $msvcPackage.."
|
|
||||||
Remove-Item -Recurse -Force "$msvcPackage"
|
|
||||||
echo "Visual Studio = $version" >> ~\versions.txt
|
|
||||||
31
coin/provisioning/common/helpers.ps1
Normal file
31
coin/provisioning/common/helpers.ps1
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
function Verify-Checksum
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$File=$(throw("You must specify a filename to get the checksum of.")),
|
||||||
|
[string]$Expected=$(throw("Checksum required")),
|
||||||
|
[ValidateSet("sha1","md5")][string]$Algorithm="sha1"
|
||||||
|
)
|
||||||
|
$fs = new-object System.IO.FileStream $File, "Open"
|
||||||
|
$algo = [type]"System.Security.Cryptography.$Algorithm"
|
||||||
|
$crypto = $algo::Create()
|
||||||
|
$hash = [BitConverter]::ToString($crypto.ComputeHash($fs)).Replace("-", "")
|
||||||
|
$fs.Close()
|
||||||
|
if ($hash -ne $Expected) {
|
||||||
|
Write-Error "Checksum verification failed, got: '$hash' expected: '$Expected'"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Extract-Zip
|
||||||
|
{
|
||||||
|
Param (
|
||||||
|
[string]$Source,
|
||||||
|
[string]$Destination
|
||||||
|
)
|
||||||
|
echo "Extracting '$Source' to '$Destination'..."
|
||||||
|
|
||||||
|
New-Item -ItemType Directory -Force -Path $Destination
|
||||||
|
$shell = new-object -com shell.application
|
||||||
|
$zipfile = $shell.Namespace($Source)
|
||||||
|
$destinationFolder = $shell.Namespace($Destination)
|
||||||
|
$destinationFolder.CopyHere($zipfile.Items())
|
||||||
|
}
|
||||||
7
coin/provisioning/common/jom.ps1
Normal file
7
coin/provisioning/common/jom.ps1
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
. "$PSScriptRoot\helpers.ps1"
|
||||||
|
|
||||||
|
$zip = "c:\users\qt\downloads\jom_1_1_0.zip"
|
||||||
|
|
||||||
|
Invoke-WebRequest -UseBasicParsing http://download.qt.io/official_releases/jom/jom_1_1_0.zip -OutFile $zip
|
||||||
|
Verify-Checksum $zip "C4149FE706B25738B4C4E54C73E180B9CAB55832"
|
||||||
|
Extract-Zip $zip C:\Utils\Jom
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
#!/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 install Android sdk and ndk.
|
|
||||||
|
|
||||||
# It also runs update for SDK API, latest SDK tools, latest platform-tools and build-tools version
|
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/check_and_set_proxy.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/check_and_set_proxy.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
targetFolder="/opt/android"
|
|
||||||
sdkTargetFolder="$targetFolder/sdk"
|
|
||||||
|
|
||||||
basePath="http://ci-files01-hki.intra.qt.io/input/android"
|
|
||||||
|
|
||||||
toolsVersion="r26.1.1"
|
|
||||||
toolsFile="sdk-tools-linux-4333796.zip"
|
|
||||||
ndkVersion="r19c"
|
|
||||||
ndkFile="android-ndk-$ndkVersion-linux-x86_64.zip"
|
|
||||||
sdkBuildToolsVersion="28.0.3"
|
|
||||||
sdkApiLevel="android-28"
|
|
||||||
|
|
||||||
toolsSha1="8c7c28554a32318461802c1291d76fccfafde054"
|
|
||||||
ndkSha1="fd94d0be6017c6acbd193eb95e09cf4b6f61b834"
|
|
||||||
|
|
||||||
toolsTargetFile="/tmp/$toolsFile"
|
|
||||||
toolsSourceFile="$basePath/$toolsFile"
|
|
||||||
ndkTargetFile="/tmp/$ndkFile"
|
|
||||||
ndkSourceFile="$basePath/$ndkFile"
|
|
||||||
|
|
||||||
DownloadURL "$toolsSourceFile" "$toolsSourceFile" "$toolsSha1" "$toolsTargetFile"
|
|
||||||
DownloadURL "$ndkSourceFile" "$ndkSourceFile" "$ndkSha1" "$ndkTargetFile"
|
|
||||||
echo "Unzipping Android NDK to '$targetFolder'"
|
|
||||||
sudo unzip -q "$ndkTargetFile" -d "$targetFolder"
|
|
||||||
echo "Unzipping Android Tools to '$sdkTargetFolder'"
|
|
||||||
sudo unzip -q "$toolsTargetFile" -d "$sdkTargetFolder"
|
|
||||||
rm "$ndkTargetFile"
|
|
||||||
rm "$toolsTargetFile"
|
|
||||||
|
|
||||||
echo "Changing ownership of Android files."
|
|
||||||
if uname -a |grep -q "el7"; then
|
|
||||||
sudo chown -R qt:wheel "$targetFolder"
|
|
||||||
else
|
|
||||||
sudo chown -R qt:users "$targetFolder"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Running SDK manager for platforms;$sdkApiLevel, platform-tools and build-tools;$sdkBuildToolsVersion."
|
|
||||||
# shellcheck disable=SC2031
|
|
||||||
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" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
|
||||||
else
|
|
||||||
echo "y" |"$sdkTargetFolder/tools/bin/sdkmanager" "platforms;$sdkApiLevel" "platform-tools" "build-tools;$sdkBuildToolsVersion"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Checking the contents of Android SDK..."
|
|
||||||
ls -l "$sdkTargetFolder"
|
|
||||||
|
|
||||||
SetEnvVar "ANDROID_SDK_HOME" "$sdkTargetFolder"
|
|
||||||
SetEnvVar "ANDROID_NDK_HOME" "$targetFolder/android-ndk-$ndkVersion"
|
|
||||||
SetEnvVar "ANDROID_NDK_ROOT" "$targetFolder/android-ndk-$ndkVersion"
|
|
||||||
SetEnvVar "ANDROID_NDK_HOST" "linux-x86_64"
|
|
||||||
SetEnvVar "ANDROID_API_VERSION" "$sdkApiLevel"
|
|
||||||
|
|
||||||
# shellcheck disable=SC2129
|
|
||||||
echo "Android SDK tools = $toolsVersion" >> ~/versions.txt
|
|
||||||
echo "Android SDK Build Tools = $sdkBuildToolsVersion" >> ~/versions.txt
|
|
||||||
echo "Android SDK API level = $sdkApiLevel" >> ~/versions.txt
|
|
||||||
echo "Android NDK = $ndkVersion" >> ~/versions.txt
|
|
||||||
|
|
||||||
cd "$sdkTargetFolder/tools/bin"
|
|
||||||
./sdkmanager --install "emulator"
|
|
||||||
echo "y" | ./sdkmanager --install "system-images;android-21;google_apis;x86"
|
|
||||||
|
|
||||||
echo "Checking the contents of Android SDK again..."
|
|
||||||
ls -l "$sdkTargetFolder"
|
|
||||||
|
|
||||||
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,44 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
function waitLoop {
|
|
||||||
|
|
||||||
while sudo fuser /var/lib/dpkg/lock >/dev/null 2>&1 ; do
|
|
||||||
echo "Waiting for other software managers to finish..."
|
|
||||||
sleep 0.5
|
|
||||||
done
|
|
||||||
}
|
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2016 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 CMake 3.7.2
|
|
||||||
|
|
||||||
# CMake is needed for autotests that verify that Qt can be built with CMake
|
|
||||||
|
|
||||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
version="3.7.2"
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/cmake/cmake-3.7.2-Linux-x86_64.tar.gz"
|
|
||||||
AltUrl="https://cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
|
|
||||||
SHA1="915bc981aab354821fb9fd28374a720fdb3aa180"
|
|
||||||
targetFolder="/opt/cmake-$version"
|
|
||||||
appPrefix="cmake-$version-Linux-x86_64"
|
|
||||||
|
|
||||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
|
||||||
|
|
||||||
SetEnvVar "PATH" "$targetFolder/bin:\$PATH"
|
|
||||||
|
|
||||||
echo "CMake = $version" >> ~/versions.txt
|
|
||||||
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo chmod -x /etc/cron.daily/cracklib-runtime
|
|
||||||
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo chmod -x /etc/cron.daily/mlocate*
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
gsettings set org.gnome.desktop.notifications.application:/update-manager/ enable false
|
|
||||||
gsettings set org.gnome.desktop.notifications show-banners false
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
#!/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
|
|
||||||
elif cat /etc/os-release |grep "SUSE Linux Enterprise Server 15"; then
|
|
||||||
sudo timedatectl set-ntp false
|
|
||||||
else
|
|
||||||
(systemctl &>/dev/null && sudo systemctl disable ntpd) || sudo /sbin/chkconfig ntpd off
|
|
||||||
fi
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# We need to disable selinux while we are overwriting some binaries
|
|
||||||
# required by it. If this is not done, ICU provisioning will create
|
|
||||||
# template that is not booting.
|
|
||||||
|
|
||||||
sudo sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
|
|
||||||
@@ -1,71 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
|
|
||||||
. $(dirname "$0")/../../common/unix/DownloadURL.sh
|
|
||||||
|
|
||||||
|
|
||||||
localRepo=http://ci-files01-hki.intra.qt.io/input/docker
|
|
||||||
upstreamRepo=https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64
|
|
||||||
|
|
||||||
echo '
|
|
||||||
f4c941807310e3fa470dddfb068d599174a3daec containerd.io_1.2.10-3_amd64.deb
|
|
||||||
ee640d9258fd4d3f4c7017ab2a71da63cbbead55 docker-ce_19.03.4~3-0~ubuntu-bionic_amd64.deb
|
|
||||||
09402bf5dac40f0c50f1071b17f38f6584a42ad1 docker-ce-cli_19.03.4~3-0~ubuntu-bionic_amd64.deb
|
|
||||||
' \
|
|
||||||
| xargs -n2 | while read sha f
|
|
||||||
do
|
|
||||||
DownloadURL $localRepo/$f $upstreamRepo/$f $sha
|
|
||||||
done
|
|
||||||
|
|
||||||
sudo apt-get -y install ./containerd.io*.deb ./docker-ce*.deb ./docker-ce-cli*.deb
|
|
||||||
rm -f ./containerd.io*.deb ./docker-ce*.deb ./docker-ce-cli*.deb
|
|
||||||
|
|
||||||
sudo usermod -a -G docker $USER
|
|
||||||
sudo docker info
|
|
||||||
|
|
||||||
# Download and install the docker-compose extension from https://github.com/docker/compose/releases
|
|
||||||
f=docker-compose-$(uname -s)-$(uname -m)
|
|
||||||
DownloadURL \
|
|
||||||
$localRepo/$f \
|
|
||||||
https://github.com/docker/compose/releases/download/1.24.1/$f \
|
|
||||||
cfb3439956216b1248308141f7193776fcf4b9c9b49cbbe2fb07885678e2bb8a
|
|
||||||
sudo install -m 755 ./docker-compose* /usr/local/bin/docker-compose
|
|
||||||
rm ./docker-compose*
|
|
||||||
|
|
||||||
# Start testserver provisioning
|
|
||||||
source "${BASH_SOURCE%/*}/testserver/docker_testserver.sh"
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2019 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=../unix/InstallFromCompressedFileFromURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
|
|
||||||
version="1.38.16"
|
|
||||||
version_node="8.9.1"
|
|
||||||
urlEmscriptenCache="http://ci-files01-hki.intra.qt.io/input/emsdk/emscripten-$version.tar.gz"
|
|
||||||
urlEmscriptenExternal="https://github.com/kripken/emscripten/archive/$version.tar.gz"
|
|
||||||
urlEmscriptenLlvmCache="http://ci-files01-hki.intra.qt.io/input/emsdk/emscripten-llvm-e$version.tar.gz"
|
|
||||||
urlEmscriptenLlvmExternal="https://s3.amazonaws.com/mozilla-games/emscripten/packages/llvm/tag/linux_64bit/emscripten-llvm-e$version.tar.gz"
|
|
||||||
urlNodeCache="http://ci-files01-hki.intra.qt.io/input/emsdk/node-v$version_node-linux-x64.tar.xz"
|
|
||||||
urlNodeExternal="https://s3.amazonaws.com/mozilla-games/emscripten/packages/node-v$version_node-linux-x64.tar.xz"
|
|
||||||
sha1Emscripten="353ad7bf614f73b73ed1d05aedd66321d679e03d"
|
|
||||||
sha1EmscriptenLlvm="e132c26ad657c07f88cc550fd23f1d6f1b6c0673"
|
|
||||||
sha1Node="eaec5de2af934f7ebc7f9597983e71c5d5a9a726"
|
|
||||||
targetFolder="/opt/emsdk"
|
|
||||||
sudo mkdir "$targetFolder"
|
|
||||||
|
|
||||||
InstallFromCompressedFileFromURL "$urlEmscriptenCache" "$urlEmscriptenExternal" "$sha1Emscripten" "$targetFolder" ""
|
|
||||||
InstallFromCompressedFileFromURL "$urlEmscriptenLlvmCache" "$urlEmscriptenLlvmExternal" "$sha1EmscriptenLlvm" "$targetFolder" ""
|
|
||||||
InstallFromCompressedFileFromURL "$urlNodeCache" "$urlNodeExternal" "$sha1Node" "$targetFolder" ""
|
|
||||||
|
|
||||||
sudo chmod -R a+rwx "$targetFolder"
|
|
||||||
|
|
||||||
echo "Writing $targetFolder/.emscripten"
|
|
||||||
cat <<EOM >"$targetFolder/.emscripten"
|
|
||||||
LLVM_ROOT='$targetFolder/emscripten-llvm-e$version/'
|
|
||||||
EMSCRIPTEN_NATIVE_OPTIMIZER='$targetFolder/emscripten-llvm-e$version/optimizer'
|
|
||||||
BINARYEN_ROOT='$targetFolder/emscripten-llvm-e$version/binaryen'
|
|
||||||
NODE_JS='$targetFolder/node-v$version_node-linux-x64/bin/node'
|
|
||||||
EMSCRIPTEN_ROOT='$targetFolder/emscripten-$version'
|
|
||||||
SPIDERMONKEY_ENGINE = ''
|
|
||||||
V8_ENGINE = ''
|
|
||||||
TEMP_DIR = '/tmp'
|
|
||||||
COMPILER_ENGINE = NODE_JS
|
|
||||||
JS_ENGINES = [NODE_JS]
|
|
||||||
EOM
|
|
||||||
|
|
||||||
SetEnvVar "PATH" "\"$targetFolder/emscripten-llvm-e$version/:$targetFolder/node-v$version_node-linux-x64/bin:$targetFolder/emscripten-$version:\$PATH\""
|
|
||||||
SetEnvVar "EMSCRIPTEN" "$targetFolder/emscripten-$version"
|
|
||||||
SetEnvVar "EM_CONFIG" "$targetFolder/.emscripten"
|
|
||||||
|
|
||||||
echo "Emsdk = $version" >> ~/versions.txt
|
|
||||||
echo "Emsdk node = $version_node" >> ~/versions.txt
|
|
||||||
@@ -1,65 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.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,107 +0,0 @@
|
|||||||
#!/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 builds GCC from sources
|
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
function InstallGCC() {
|
|
||||||
version=$1
|
|
||||||
priority=$2
|
|
||||||
prebuiltSHA1=$3
|
|
||||||
sourcesSHA1=$4
|
|
||||||
|
|
||||||
tmpFolder="/tmp"
|
|
||||||
|
|
||||||
prebuiltGCC="http://ci-files01-hki.intra.qt.io/input/gcc/gcc-$version-prebuilt.tar.gz"
|
|
||||||
prebuiltTarget="$tmpFolder/gcc-$version-prebuilt.tar.gz"
|
|
||||||
installPrefix="/usr/local"
|
|
||||||
|
|
||||||
suffixVersion=$(echo "$version" | cut -d "." -f1,2)
|
|
||||||
sourceFile="gcc-$version.tar.xz"
|
|
||||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/gcc/$sourceFile"
|
|
||||||
officialUrl="ftp://ftp.mpi-sb.mpg.de/pub/gnu/mirror/gcc.gnu.org/pub/gcc/releases/gcc-$version/$sourceFile"
|
|
||||||
|
|
||||||
targetFile="$tmpFolder/$sourceFile"
|
|
||||||
buildFolder="$HOME/gcc_build"
|
|
||||||
|
|
||||||
echo "Fetching prebuilt GCC."
|
|
||||||
curl --fail -L --retry 5 --retry-delay 5 -o "$prebuiltTarget" "$prebuiltGCC" || (
|
|
||||||
echo "Fetching prebuilt GCC failed. Building from sources."
|
|
||||||
DownloadURL "$cachedUrl" "$officialUrl" "$sourcesSHA1" "$targetFile"
|
|
||||||
)
|
|
||||||
|
|
||||||
if [ -f "$prebuiltTarget" ]; then
|
|
||||||
echo "$prebuiltSHA1 *$prebuiltTarget" | sha1sum -c -
|
|
||||||
sudo tar -xzf "$prebuiltTarget" -C "$installPrefix"
|
|
||||||
rm -rf "$prebuiltTarget"
|
|
||||||
else
|
|
||||||
tar -C "$tmpFolder" -xJf "$targetFile"
|
|
||||||
mkdir -p "$buildFolder"
|
|
||||||
cd "$tmpFolder/gcc-$version"
|
|
||||||
sudo "$tmpFolder/gcc-$version/contrib/download_prerequisites"
|
|
||||||
cd "$buildFolder"
|
|
||||||
"$tmpFolder/gcc-$version/configure" --disable-bootstrap --enable-languages=c,c++,lto --prefix="$installPrefix" --program-suffix="-$suffixVersion"
|
|
||||||
make -j4
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
rm -rf "$targetFile"
|
|
||||||
sudo rm -rf "$tmpFolder/gcc-$version"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# openSUSE has update-alternatives under /usr/sbin and it has grouped the commands by means of master and slave links
|
|
||||||
if [ -f "/usr/sbin/update-alternatives" ]; then
|
|
||||||
sudo /usr/sbin/update-alternatives --install /usr/bin/gcc gcc "$installPrefix/bin/gcc-$suffixVersion" "$priority" \
|
|
||||||
--slave /usr/bin/g++ g++ "$installPrefix/bin/g++-$suffixVersion" \
|
|
||||||
--slave /usr/bin/cc cc "$installPrefix/bin/gcc-$suffixVersion" \
|
|
||||||
--slave /usr/bin/c++ c++ "$installPrefix/bin/g++-$suffixVersion"
|
|
||||||
else
|
|
||||||
sudo /usr/bin/update-alternatives --install /usr/bin/gcc gcc "$installPrefix/bin/gcc-$suffixVersion" "$priority"
|
|
||||||
sudo /usr/bin/update-alternatives --install /usr/bin/g++ g++ "$installPrefix/bin/g++-$suffixVersion" "$priority"
|
|
||||||
sudo /usr/bin/update-alternatives --install /usr/bin/cc cc "$installPrefix/bin/gcc-$suffixVersion" "$priority"
|
|
||||||
sudo /usr/bin/update-alternatives --install /usr/bin/c++ c++ "$installPrefix/bin/g++-$suffixVersion" "$priority"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "/usr/local/lib64" | sudo tee /etc/ld.so.conf.d/gcc-libraries.conf
|
|
||||||
echo "/usr/local/lib32" | sudo tee -a /etc/ld.so.conf.d/gcc-libraries.conf
|
|
||||||
sudo ldconfig -v
|
|
||||||
|
|
||||||
echo "GCC = $version" >> ~/versions.txt
|
|
||||||
}
|
|
||||||
@@ -1,58 +0,0 @@
|
|||||||
#!/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 INTEGRITY
|
|
||||||
|
|
||||||
# shellcheck source=../unix/InstallFromCompressedFileFromURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/InstallFromCompressedFileFromURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
version="11.4.4"
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/integrity/ghs_$version.tar.gz"
|
|
||||||
AltUrl="$PrimaryUrl" # we lack an external source for this
|
|
||||||
SHA1="4afa3c15e13c91734951b73f6b21388294c5d794"
|
|
||||||
targetFolder="/opt/ghs"
|
|
||||||
appPrefix=""
|
|
||||||
|
|
||||||
InstallFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$targetFolder" "$appPrefix"
|
|
||||||
|
|
||||||
SetEnvVar "INTEGRITY_BSP" "platform-cortex-a9"
|
|
||||||
SetEnvVar "INTEGRITY_PATH" "$targetFolder/comp_201654"
|
|
||||||
SetEnvVar "INTEGRITY_DIR" "$targetFolder/int1144"
|
|
||||||
SetEnvVar "INTEGRITY_GL_INC_DIR" "\$INTEGRITY_DIR/INTEGRITY-include/Vivante/sdk/inc"
|
|
||||||
SetEnvVar "INTEGRITY_GL_LIB_DIR" "\$INTEGRITY_DIR/libs/Vivante"
|
|
||||||
|
|
||||||
echo "INTEGRITY = $version" >> ~/versions.txt
|
|
||||||
@@ -1,73 +0,0 @@
|
|||||||
#!/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 install OpenSSL from sources.
|
|
||||||
# Requires GCC and Perl to be in PATH.
|
|
||||||
set -ex
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
exports_file="/tmp/export.sh"
|
|
||||||
# source previously made environmental variables.
|
|
||||||
if uname -a |grep -q "Ubuntu"; then
|
|
||||||
# shellcheck disable=SC1090
|
|
||||||
grep -e "^export" "$HOME/.profile" > $exports_file && source $exports_file
|
|
||||||
rm -rf "$exports_file"
|
|
||||||
else
|
|
||||||
# shellcheck disable=SC1090
|
|
||||||
grep -e "^export" "$HOME/.bashrc" > $exports_file && source $exports_file
|
|
||||||
rm -rf "$exports_file"
|
|
||||||
fi
|
|
||||||
|
|
||||||
version="1.1.1d"
|
|
||||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
|
||||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
|
||||||
targetFile="/tmp/openssl-$version.tar.gz"
|
|
||||||
sha="056057782325134b76d1931c48f2c7e6595d7ef4"
|
|
||||||
opensslHome="${HOME}/openssl/android/openssl-${version}"
|
|
||||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
|
||||||
mkdir -p "${HOME}/openssl/android/"
|
|
||||||
tar -xzf "$targetFile" -C "${HOME}/openssl/android/"
|
|
||||||
|
|
||||||
TOOLCHAIN=${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin
|
|
||||||
cd "$opensslHome"
|
|
||||||
PATH=$TOOLCHAIN:$PATH CC=clang ./Configure android-arm
|
|
||||||
PATH=$TOOLCHAIN:$PATH CC=clang make build_generated
|
|
||||||
|
|
||||||
SetEnvVar "OPENSSL_ANDROID_HOME" "$opensslHome"
|
|
||||||
|
|
||||||
echo "OpenSSL for Android = $version" >> ~/versions.txt
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
#!/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-patch4687-linux.tar.gz"
|
|
||||||
sha1="ffcf91489699c42ce9c1d74941f1829531752bbe"
|
|
||||||
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
|
|
||||||
@@ -1,67 +0,0 @@
|
|||||||
#!/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 7.
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
targetFolder="/opt/"
|
|
||||||
sourceFile="http://ci-files01-hki.intra.qt.io/input/qnx/qnx700-20180801-linux.tar.xz"
|
|
||||||
sha1="5d2c8f531823b1f7a2e20968dc698c187c7de94c"
|
|
||||||
folderName="qnx700"
|
|
||||||
targetFile="qnx700.tar.xz"
|
|
||||||
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 -Jxf $targetFile
|
|
||||||
sudo chown -R qt:users "$targetFolder"/"$folderName"
|
|
||||||
|
|
||||||
# Verify that we have last file in tar
|
|
||||||
if [ ! -f $targetFolder/$folderName/qnxsdp-env.sh ]; then
|
|
||||||
echo "Installation failed!"
|
|
||||||
exit -1
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -rf $targetFile
|
|
||||||
|
|
||||||
# Set env variables
|
|
||||||
SetEnvVar "QNX_700" "$targetFolder$folderName"
|
|
||||||
|
|
||||||
echo "QNX SDP = 7.0.0" >> ~/versions.txt
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo apt-get purge apport -y
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo apt -q -y remove update-notifier update-manager python3-distupgrade python3-update-manager ubuntu-release-upgrader-core update-manager-core
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
sudo apt-get remove update-manager
|
|
||||||
@@ -1,60 +0,0 @@
|
|||||||
#!/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 Squish Coco
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
|
|
||||||
version="4.2.2"
|
|
||||||
sha1="a44f0f039f3712c715eea63c4021d08bf17a44c6"
|
|
||||||
package="SquishCocoSetup_${version}_Linux_x86_64.run"
|
|
||||||
url="http://ci-files01-hki.intra.qt.io/input/coco//$package"
|
|
||||||
|
|
||||||
echo "Enable license for Coco"
|
|
||||||
|
|
||||||
DownloadURL "$url" "$url" "$sha1" "/tmp/$package"
|
|
||||||
sudo chmod 755 "/tmp/$package"
|
|
||||||
echo 1 | sudo "/tmp/$package" "--nox11"
|
|
||||||
|
|
||||||
/opt/SquishCoco/bin/cocolic --license-server=Qt-SRV-33.intra.qt.io:49344
|
|
||||||
|
|
||||||
echo "export PATH=/opt/SquishCoco/bin/:$PATH" >> ~/.bashrc
|
|
||||||
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
FROM ubuntu:16.04
|
|
||||||
ARG packages="apache2 libcgi-session-perl wget avahi-daemon"
|
|
||||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
|
||||||
EXPOSE 80 443
|
|
||||||
|
|
||||||
# install configurations and test data
|
|
||||||
RUN wget https://tools.ietf.org/rfc/rfc3252.txt
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
FROM ubuntu:16.04
|
|
||||||
ARG packages="gdebi-core wget avahi-daemon"
|
|
||||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
|
||||||
RUN wget http://ppa.launchpad.net/dajhorn/dante/ubuntu/pool/main/d/dante/dante-server_1.4.1-1_amd64.deb
|
|
||||||
RUN gdebi -n dante-server_1.4.1-1_amd64.deb
|
|
||||||
EXPOSE 1080-1081
|
|
||||||
|
|
||||||
# install configurations and test data
|
|
||||||
COPY danted /etc/init.d/
|
|
||||||
COPY danted-authenticating /etc/init.d/
|
|
||||||
@@ -1,93 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: danted
|
|
||||||
# Required-Start: $remote_fs $syslog
|
|
||||||
# Required-Stop: $remote_fs $syslog
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: SOCKS (v4 and v5) proxy daemon (danted)
|
|
||||||
### END INIT INFO
|
|
||||||
#
|
|
||||||
# dante SOCKS server init.d file. Based on /etc/init.d/skeleton:
|
|
||||||
# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
|
|
||||||
|
|
||||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
||||||
DAEMON=/usr/sbin/danted
|
|
||||||
NAME=danted
|
|
||||||
DESC="Dante SOCKS daemon"
|
|
||||||
PIDFILE=/var/run/$NAME.pid
|
|
||||||
CONFFILE=/etc/$NAME.conf
|
|
||||||
|
|
||||||
test -f $DAEMON || exit 0
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# This function makes sure that the Dante server can write to the pid-file.
|
|
||||||
touch_pidfile ()
|
|
||||||
{
|
|
||||||
if [ -r $CONFFILE ]; then
|
|
||||||
uid="`sed -n -e 's/[[:space:]]//g' -e 's/#.*//' -e '/^user\.privileged/{s/[^:]*://p;q;}' \
|
|
||||||
$CONFFILE`"
|
|
||||||
if [ -n "$uid" ]; then
|
|
||||||
touch $PIDFILE
|
|
||||||
chown $uid $PIDFILE
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
. /lib/lsb/init-functions
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
if ! egrep -cve '^ *(#|$)' \
|
|
||||||
-e '^(logoutput|user\.((not)?privileged|libwrap)):' $CONFFILE > /dev/null
|
|
||||||
then
|
|
||||||
echo "Not starting $DESC: not configured."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo -n "Starting $DESC: "
|
|
||||||
touch_pidfile
|
|
||||||
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON -- -D
|
|
||||||
echo "$NAME."
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
echo -n "Stopping $DESC: "
|
|
||||||
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON
|
|
||||||
echo "$NAME."
|
|
||||||
;;
|
|
||||||
reload|force-reload)
|
|
||||||
#
|
|
||||||
# If the daemon can reload its config files on the fly
|
|
||||||
# for example by sending it SIGHUP, do it here.
|
|
||||||
#
|
|
||||||
# If the daemon responds to changes in its config file
|
|
||||||
# directly anyway, make this a do-nothing entry.
|
|
||||||
#
|
|
||||||
echo "Reloading $DESC configuration files."
|
|
||||||
start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --exec $DAEMON -- -D
|
|
||||||
;;
|
|
||||||
restart)
|
|
||||||
#
|
|
||||||
# If the "reload" option is implemented, move the "force-reload"
|
|
||||||
# option to the "reload" entry above. If not, "force-reload" is
|
|
||||||
# just the same as "restart".
|
|
||||||
#
|
|
||||||
echo -n "Restarting $DESC: "
|
|
||||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON
|
|
||||||
sleep 1
|
|
||||||
touch_pidfile
|
|
||||||
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- -D
|
|
||||||
echo "$NAME."
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
N=/etc/init.d/$NAME
|
|
||||||
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
|
|
||||||
echo "Usage: $N {start|stop|restart|force-reload}" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
### BEGIN INIT INFO
|
|
||||||
# Provides: danted-authenticating
|
|
||||||
# Required-Start: $remote_fs $syslog
|
|
||||||
# Required-Stop: $remote_fs $syslog
|
|
||||||
# Default-Start: 2 3 4 5
|
|
||||||
# Default-Stop: 0 1 6
|
|
||||||
# Short-Description: SOCKS (v4 and v5) proxy daemon (danted)
|
|
||||||
### END INIT INFO
|
|
||||||
#
|
|
||||||
# dante SOCKS server init.d file. Based on /etc/init.d/skeleton:
|
|
||||||
# Version: @(#)skeleton 1.8 03-Mar-1998 miquels@cistron.nl
|
|
||||||
|
|
||||||
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|
||||||
DAEMON=/usr/sbin/danted
|
|
||||||
NAME=danted-authenticating
|
|
||||||
DESC="Dante SOCKS daemon"
|
|
||||||
PIDFILE=/var/run/$NAME.pid
|
|
||||||
CONFFILE=/etc/$NAME.conf
|
|
||||||
DANTED_ARGS="-D -f $CONFFILE"
|
|
||||||
|
|
||||||
test -f $DAEMON || exit 0
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# This function makes sure that the Dante server can write to the pid-file.
|
|
||||||
touch_pidfile ()
|
|
||||||
{
|
|
||||||
if [ -r $CONFFILE ]; then
|
|
||||||
uid="`sed -n -e 's/[[:space:]]//g' -e 's/#.*//' -e '/^user\.privileged/{s/[^:]*://p;q;}' \
|
|
||||||
$CONFFILE`"
|
|
||||||
if [ -n "$uid" ]; then
|
|
||||||
touch $PIDFILE
|
|
||||||
chown $uid $PIDFILE
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
. /lib/lsb/init-functions
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
if ! egrep -cve '^ *(#|$)' \
|
|
||||||
-e '^(logoutput|user\.((not)?privileged|libwrap)):' $CONFFILE > /dev/null
|
|
||||||
then
|
|
||||||
echo "Not starting $DESC: not configured."
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
echo -n "Starting $DESC: "
|
|
||||||
touch_pidfile
|
|
||||||
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE \
|
|
||||||
--exec $DAEMON -- $DANTED_ARGS
|
|
||||||
echo "$NAME."
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
echo -n "Stopping $DESC: "
|
|
||||||
start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON
|
|
||||||
echo "$NAME."
|
|
||||||
;;
|
|
||||||
reload|force-reload)
|
|
||||||
#
|
|
||||||
# If the daemon can reload its config files on the fly
|
|
||||||
# for example by sending it SIGHUP, do it here.
|
|
||||||
#
|
|
||||||
# If the daemon responds to changes in its config file
|
|
||||||
# directly anyway, make this a do-nothing entry.
|
|
||||||
#
|
|
||||||
echo "Reloading $DESC configuration files."
|
|
||||||
start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE \
|
|
||||||
--exec $DAEMON -- $DANTED_ARGS
|
|
||||||
;;
|
|
||||||
restart)
|
|
||||||
#
|
|
||||||
# If the "reload" option is implemented, move the "force-reload"
|
|
||||||
# option to the "reload" entry above. If not, "force-reload" is
|
|
||||||
# just the same as "restart".
|
|
||||||
#
|
|
||||||
echo -n "Restarting $DESC: "
|
|
||||||
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON
|
|
||||||
sleep 1
|
|
||||||
touch_pidfile
|
|
||||||
start-stop-daemon --start --quiet --pidfile $PIDFILE \
|
|
||||||
--exec $DAEMON -- $DANTED_ARGS
|
|
||||||
echo "$NAME."
|
|
||||||
;;
|
|
||||||
status)
|
|
||||||
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
N=/etc/init.d/$NAME
|
|
||||||
# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
|
|
||||||
echo "Usage: $N {start|stop|restart|force-reload}" >&2
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
@@ -1,69 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# Using SHA-1 of each server context as the tag of docker images. A tag labels a
|
|
||||||
# specific image version. It is used by docker compose file (docker-compose.yml)
|
|
||||||
# to launch the corresponding docker containers. If one of the server contexts
|
|
||||||
# (./apache2, ./danted, ...) gets changes, all the related compose files in
|
|
||||||
# qtbase should be updated as well.
|
|
||||||
#
|
|
||||||
# For example, here's how to get the SHA-1 of apache test server.
|
|
||||||
# find ./apache2 -type f -print0 | sort -z | xargs -r0 sha1sum | \
|
|
||||||
# awk '{ print $1 }' | sha1sum | awk '{ print $1 }'
|
|
||||||
|
|
||||||
testserver='apache2 squid vsftpd ftp-proxy danted'
|
|
||||||
|
|
||||||
for server in $testserver
|
|
||||||
do
|
|
||||||
context="${BASH_SOURCE%/*}/$server"
|
|
||||||
sha1=$(find $context -type f -print0 | sort -z | xargs -r0 sha1sum | awk '{ print $1 }' | \
|
|
||||||
sha1sum | awk '{ print $1 }')
|
|
||||||
sudo docker build -t qt-test-server-$server:$sha1 $context
|
|
||||||
|
|
||||||
# transition - The fixed tag is temporarily used by CI to pass the qtbase testing.
|
|
||||||
case $server in
|
|
||||||
apache2) fixed_tag="cc9ea678b92bdda33acb9fa0159bb4ad0f3cd947" ;;
|
|
||||||
squid) fixed_tag="577d99307eea9a8cccfec944d25be2bce2fe99cc" ;;
|
|
||||||
vsftpd) fixed_tag="18896604c7e90b543e56d80c8a8aabdb65a590d0" ;;
|
|
||||||
ftp-proxy) fixed_tag="2c6c8f1ab6a364b540c43d705fb6f15a585cb2af" ;;
|
|
||||||
danted) fixed_tag="327dd56c3c35db85b26fac93213a5a1918475bc7" ;;
|
|
||||||
esac
|
|
||||||
[ -z "$fixed_tag" ] || \
|
|
||||||
sudo docker tag qt-test-server-$server:$sha1 qt-test-server-$server:$fixed_tag
|
|
||||||
done
|
|
||||||
|
|
||||||
sudo docker images
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
FROM ubuntu:16.04
|
|
||||||
ARG packages="ftp-proxy avahi-daemon"
|
|
||||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
|
||||||
EXPOSE 2121
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
FROM ubuntu:16.04
|
|
||||||
ARG packages="squid avahi-daemon"
|
|
||||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
|
||||||
EXPOSE 3128-3130
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
FROM ubuntu:16.04
|
|
||||||
ARG packages="vsftpd ftp wget avahi-daemon"
|
|
||||||
RUN apt-get update && apt-get install -y $packages && dpkg -l $packages
|
|
||||||
EXPOSE 20-21
|
|
||||||
|
|
||||||
# install configurations and test data
|
|
||||||
RUN wget https://tools.ietf.org/rfc/rfc3252.txt
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
#!/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 needs to be called last during provisioning so that the software information will show up last in provision log.
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck disable=SC2129
|
|
||||||
echo "*********************************************" >> ~/versions.txt
|
|
||||||
echo "***** All installed packages *****" >> ~/versions.txt
|
|
||||||
apt list --installed >> ~/versions.txt
|
|
||||||
echo "*********************************************" >> ~/versions.txt
|
|
||||||
|
|
||||||
"$(dirname "$0")/version.sh"
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2016 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 will print all installed software to provision log.
|
|
||||||
# Script needs to be named so that it will be ran at last during provisioning
|
|
||||||
|
|
||||||
# Print all build machines versions to provision log
|
|
||||||
echo "*********************************************"
|
|
||||||
echo "***** SW VERSIONS *****"
|
|
||||||
cat ~/versions.txt
|
|
||||||
echo "*********************************************"
|
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
#!/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 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.
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
|
|
||||||
function InstallAppFromCompressedFileFromURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
appPrefix=$4
|
|
||||||
target=$5
|
|
||||||
|
|
||||||
if [ "" == "$target" ]; then
|
|
||||||
target="/Applications/"
|
|
||||||
fi
|
|
||||||
|
|
||||||
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")
|
|
||||||
# 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"
|
|
||||||
;;
|
|
||||||
"zip")
|
|
||||||
unzip -q "$targetFile" -d "$targetDirectory"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
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,59 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
function InstallPKGFromURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
targetDirectory=$4
|
|
||||||
|
|
||||||
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,54 +0,0 @@
|
|||||||
#!/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 CMake
|
|
||||||
|
|
||||||
# CMake is needed for autotests that verify that Qt can be built with CMake
|
|
||||||
|
|
||||||
# shellcheck 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/macos_10.13_high_sierra/cmake-3.11.3-Darwin-x86_64.tar.gz"
|
|
||||||
AltUrl="https://cmake.org/files/v3.11/cmake-3.11.3-Darwin-x86_64.tar.gz"
|
|
||||||
SHA1="3d13de8020ce560159fa5cecb669498c48552d96"
|
|
||||||
appPrefix="cmake-3.11.3-Darwin-x86_64"
|
|
||||||
|
|
||||||
InstallAppFromCompressedFileFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$appPrefix"
|
|
||||||
|
|
||||||
SetEnvVar "PATH" "/Applications/CMake.app/Contents/bin:\$PATH"
|
|
||||||
|
|
||||||
echo "CMake = 3.11.3" >> ~/versions.txt
|
|
||||||
@@ -1,38 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# Disable spotlight and and stop indexing
|
|
||||||
sudo mdutil -a -i off
|
|
||||||
sudo defaults write /.Spotlight-V100/VolumeConfiguration Exclusions -array "/Volumes"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -boolean FALSE
|
|
||||||
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
#!/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 FBX SDK
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
version="2016.1.2"
|
|
||||||
fileName="fbx20161_2_fbxsdk_clang_mac.pkg_nospace.tgz"
|
|
||||||
cachedUrl="/net/ci-files01-hki.intra.qt.io/hdd/www/input/fbx/$fileName"
|
|
||||||
# officialUrl="http://download.autodesk.com/us/fbx_release_older/$version/fbx20161_2_fbxsdk_clang_mac.pkg.tgz"
|
|
||||||
targetFolder="/tmp"
|
|
||||||
|
|
||||||
echo "Extracting '$cachedUrl'"
|
|
||||||
tar -xzf "$cachedUrl" -C "$targetFolder"
|
|
||||||
|
|
||||||
rm -rf "$targetFolder/$fileName"
|
|
||||||
echo "Copying preinstalled FBX SDK to Applications"
|
|
||||||
sudo cp -r "$targetFolder/Autodesk" /Applications
|
|
||||||
|
|
||||||
# Set env variables
|
|
||||||
SetEnvVar "FBXSDK" "/Applications/Autodesk/FBXSDK/2016.1.2/"
|
|
||||||
|
|
||||||
echo "FBX SDK = 2016.1.2" >> ~/versions.txt
|
|
||||||
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
|
|
||||||
# Will install homebrew package manager for macOS.
|
|
||||||
# WARNING: Requires commandlinetools
|
|
||||||
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
. "$(dirname "$0")"/../../common/unix/DownloadURL.sh
|
|
||||||
|
|
||||||
|
|
||||||
DownloadURL \
|
|
||||||
http://ci-files01-hki.intra.qt.io/input/mac/homebrew-install.c744a716f9845988d01e6e238eee7117b8c366c9.rb \
|
|
||||||
https://raw.githubusercontent.com/Homebrew/install/c744a716f9845988d01e6e238eee7117b8c366c9/install \
|
|
||||||
b9782cc0b550229de77b429b56ffce04157e60486ab9df00461ccf3dad565b0a \
|
|
||||||
/tmp/homebrew_install
|
|
||||||
/usr/bin/ruby /tmp/homebrew_install </dev/null
|
|
||||||
|
|
||||||
# No need to manually do `brew update`, the homebrew installer script does it.
|
|
||||||
### brew update
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
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 -pkg ./*.pkg -target / -allowUntrusted
|
|
||||||
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,77 +0,0 @@
|
|||||||
#!/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 Xcode
|
|
||||||
# Prerequisites: Have Xcode prefetched to local cache as xz compressed.
|
|
||||||
# This can be achieved by fetching Xcode_8.xip from Apple Store.
|
|
||||||
# Uncompress it with 'xar -xf Xcode_8.xip'
|
|
||||||
# Then get https://gist.githubusercontent.com/pudquick/ff412bcb29c9c1fa4b8d/raw/24b25538ea8df8d0634a2a6189aa581ccc6a5b4b/parse_pbzx2.py
|
|
||||||
# with which you can run 'python parse_pbzx2.py Content'.
|
|
||||||
# This will give you a file called "Content.part00.cpio.xz" that
|
|
||||||
# can be renamed to Xcode_8.xz for this script.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function InstallXCode() {
|
|
||||||
sourceFile=$1
|
|
||||||
version=$2
|
|
||||||
|
|
||||||
echo "Uncompressing and installing '$sourceFile'"
|
|
||||||
if [[ $sourceFile =~ tar ]]; then
|
|
||||||
cd /Applications/ && sudo tar -zxf "$sourceFile"
|
|
||||||
else
|
|
||||||
xzcat < "$sourceFile" | (cd /Applications/ && sudo cpio -dmi)
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Versioning application bundle"
|
|
||||||
majorVersion=$(echo $version | cut -d '.' -f 1)
|
|
||||||
versionedAppBundle="/Applications/Xcode${majorVersion}.app"
|
|
||||||
sudo mv /Applications/Xcode.app ${versionedAppBundle}
|
|
||||||
|
|
||||||
echo "Selecting Xcode"
|
|
||||||
sudo xcode-select --switch ${versionedAppBundle}
|
|
||||||
|
|
||||||
echo "Accept license"
|
|
||||||
sudo xcodebuild -license accept
|
|
||||||
|
|
||||||
echo "Install packages"
|
|
||||||
# -runFirstLaunch is valid in 9.x
|
|
||||||
sudo xcodebuild -runFirstLaunch || true
|
|
||||||
|
|
||||||
echo "Enabling developer mode, so that using lldb does not require interactive password entry"
|
|
||||||
sudo /usr/sbin/DevToolsSecurity -enable
|
|
||||||
|
|
||||||
echo "Xcode = $version" >> ~/versions.txt
|
|
||||||
}
|
|
||||||
@@ -1,63 +0,0 @@
|
|||||||
#!/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
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
class Libiodbc < Formula
|
|
||||||
desc "Database connectivity layer based on ODBC. (alternative to unixodbc)"
|
|
||||||
homepage "http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/"
|
|
||||||
url "https://github.com/openlink/iODBC/archive/v3.52.12.tar.gz"
|
|
||||||
sha256 "b2cab4f8fbd5388344d7ee0deb1a32310795b1e631c3505a5b515d90186e2516"
|
|
||||||
|
|
||||||
depends_on "autoconf" => :build
|
|
||||||
depends_on "automake" => :build
|
|
||||||
depends_on "libtool" => :build
|
|
||||||
|
|
||||||
conflicts_with "unixodbc", :because => "both install 'odbcinst.h' header"
|
|
||||||
|
|
||||||
def install
|
|
||||||
system "./autogen.sh"
|
|
||||||
system "./configure", "--prefix=#{prefix}"
|
|
||||||
system "make", "install"
|
|
||||||
end
|
|
||||||
|
|
||||||
test do
|
|
||||||
system bin/"iodbc-config", "--version"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
@@ -1,54 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# Install libiodbc
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
brew update
|
|
||||||
brew install ${BASH_SOURCE%/*}/libiodbc.rb
|
|
||||||
|
|
||||||
# CPLUS_INCLUDE_PATH is set so clang and configure can find libiodbc
|
|
||||||
|
|
||||||
read -r -a arr <<< $(brew list --versions libiodbc)
|
|
||||||
version=${arr[1]}
|
|
||||||
|
|
||||||
SetEnvVar "CPLUS_INCLUDE_PATH" "/usr/local/Cellar/libiodbc/$version/include${CPLUS_INCLUDE_PATH:+:}${CPLUS_INCLUDE_PATH}"
|
|
||||||
SetEnvVar "LIBRARY_PATH" "/usr/local/Cellar/libiodbc/$version/lib${LIBRARY_PATH:+:}${LIBRARY_PATH}"
|
|
||||||
|
|
||||||
echo "libiodbc = $version" >> ~/versions.txt
|
|
||||||
@@ -1,53 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2016 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 needs to be called last during provisioning so that the software information will show up last in provision log.
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
# Print all build machines versions to provision log
|
|
||||||
echo "*********************************************" >> ~/versions.txt
|
|
||||||
echo "***** macOS version *****" >> ~/versions.txt
|
|
||||||
sw_vers >> ~/versions.txt
|
|
||||||
echo "***** All installed packages *****" >> ~/versions.txt
|
|
||||||
echo "***** HomeBrew *****" >> ~/versions.txt
|
|
||||||
brew list --versions >> ~/versions.txt
|
|
||||||
echo "***** HomeBrew Casks*****" >> ~/versions.txt
|
|
||||||
brew cask list --versions >> ~/versions.txt
|
|
||||||
echo "***** Apple's installer *****" >> ~/versions.txt
|
|
||||||
pkgutil --pkgs >> ~/versions.txt
|
|
||||||
echo "*********************************************" >> ~/versions.txt
|
|
||||||
|
|
||||||
"$(dirname "$0")/version.sh"
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
#!/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
|
|
||||||
}
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
#!/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,65 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2017 The Qt Company Ltd.
|
|
||||||
## Copyright (C) 2017 Pelagicore AG
|
|
||||||
## 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 python3
|
|
||||||
|
|
||||||
# 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-3.6.1-macosx10.6.pkg"
|
|
||||||
AltUrl="https://www.python.org/ftp/python/3.6.1/python-3.6.1-macosx10.6.pkg"
|
|
||||||
SHA1="ae0c749544c2d573c3cc29c4c2d7d9a595db28f9"
|
|
||||||
DestDir="/"
|
|
||||||
|
|
||||||
InstallPKGFromURL "$PrimaryUrl" "$AltUrl" "$SHA1" "$DestDir"
|
|
||||||
|
|
||||||
InstallPip python3.6
|
|
||||||
|
|
||||||
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 install virtualenv wheel
|
|
||||||
|
|
||||||
SetEnvVar "PYTHON3_PATH" "/Library/Frameworks/Python.framework/Versions/3.6/bin"
|
|
||||||
SetEnvVar "PIP3_PATH" "/Library/Frameworks/Python.framework/Versions/3.6/bin"
|
|
||||||
|
|
||||||
# Install all needed packages in a special wheel cache directory
|
|
||||||
/Library/Frameworks/Python.framework/Versions/3.6/bin/pip3 wheel --wheel-dir $HOME/python3-wheels -r ${BASH_SOURCE%/*}/../shared/requirements.txt
|
|
||||||
SetEnvVar "PYTHON3_WHEEL_CACHE" "$HOME/python3-wheels"
|
|
||||||
|
|
||||||
echo "python3 = 3.6.1" >> ~/versions.txt
|
|
||||||
|
|
||||||
@@ -1,50 +0,0 @@
|
|||||||
#!/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
|
|
||||||
# shellcheck disable=SC2012
|
|
||||||
SHASUM_TOOLNAME=$(ls -r /usr/bin/shasum?.* | head -n1)
|
|
||||||
sudo ln -s "${SHASUM_TOOLNAME}" /usr/local/bin/sha1sum
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# Disable "Download newly available updates in the background" from App Store
|
|
||||||
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate AutomaticDownload -boolean FALSE
|
|
||||||
|
|
||||||
# Disable "Install system data files and security updates" from App Store
|
|
||||||
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CriticalUpdateInstall -boolean FALSE
|
|
||||||
@@ -1,43 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2016 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 will print all installed software to provision log.
|
|
||||||
# Script needs to be named so that it will be ran at last during provisioning
|
|
||||||
|
|
||||||
# Print all build machines versions to provision log
|
|
||||||
echo "*********************************************"
|
|
||||||
echo "***** SW VERSIONS *****"
|
|
||||||
cat ~/versions.txt
|
|
||||||
echo "*********************************************"
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
# Will install virtual env for python
|
|
||||||
sudo pip install virtualenv
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
proxy=http://proxy.intra.qt.io:3128
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
network_test_server_ip=10.212.2.216
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
# This file holds all python3 packages need for a certain qt module
|
|
||||||
# When adding new packages here, first add a comment with the name of the module
|
|
||||||
# Then all the packages. Duplicates are wanted as every module should install
|
|
||||||
# all packages it needs and shouldn't depend on a package from another module
|
|
||||||
#
|
|
||||||
# qtivi
|
|
||||||
antlr4-python3-runtime==4.7.1
|
|
||||||
argh==0.26.2
|
|
||||||
click==6.7
|
|
||||||
coloredlogs==10.0
|
|
||||||
humanfriendly==4.15.1
|
|
||||||
Jinja2==2.10.3
|
|
||||||
MarkupSafe==1.0
|
|
||||||
path.py==11.0.1
|
|
||||||
pathtools==0.1.2
|
|
||||||
PyYAML==5.1
|
|
||||||
six==1.11.0
|
|
||||||
typing==3.6.4
|
|
||||||
watchdog==0.8.3
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2019 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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
|
|
||||||
# A helper script used for downloading a file from a URL or an alternative
|
|
||||||
# URL. Also the SHA is checked for the file (SHA algorithm is autodetected
|
|
||||||
# based on the SHA length). Target filename should also be given.
|
|
||||||
|
|
||||||
############################ BOILERPLATE ###############################
|
|
||||||
command -v sha1sum >/dev/null || alias sha1sum='shasum -a 1'
|
|
||||||
command -v sha256sum >/dev/null || alias sha256sum='shasum -a 256'
|
|
||||||
command -v sha384sum >/dev/null || alias sha384sum='shasum -a 384'
|
|
||||||
command -v sha512sum >/dev/null || alias sha512sum='shasum -a 512'
|
|
||||||
########################################################################
|
|
||||||
|
|
||||||
|
|
||||||
Download () {
|
|
||||||
url="$1"
|
|
||||||
targetFile="$2"
|
|
||||||
|
|
||||||
command -v curl >/dev/null \
|
|
||||||
&& curl --fail -L --retry 5 --retry-delay 5 -o "$targetFile" "$url" \
|
|
||||||
|| wget --tries 5 -O "$targetFile" "$url"
|
|
||||||
}
|
|
||||||
|
|
||||||
VerifyHash () {
|
|
||||||
file=$1
|
|
||||||
expectedHash=$2
|
|
||||||
|
|
||||||
if [ ! -f "$file" ]
|
|
||||||
then return 2 # file does not exist
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
hashLength="$(echo "$expectedHash" | wc -c | sed 's/ *//g')"
|
|
||||||
# Use backticks because of bug with bash-3 (default on macOS),
|
|
||||||
# caused when there are unbalanced parentheses inside $()
|
|
||||||
# shellcheck disable=SC2006
|
|
||||||
hash=`case "$hashLength" in
|
|
||||||
41) sha1sum "$file" ;;
|
|
||||||
65) sha256sum "$file" ;;
|
|
||||||
97) sha384sum "$file" ;;
|
|
||||||
129) sha512sum "$file" ;;
|
|
||||||
*) echo "FATAL! Unknown hash length: $hashLength" 1>&2 && exit 1 ;;
|
|
||||||
esac | cut -d ' ' -f 1`
|
|
||||||
|
|
||||||
if [ ! "$expectedHash" = "$hash" ]
|
|
||||||
then
|
|
||||||
echo "FAIL! wrong file hash: $file $hash" 1>&2
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
echo "OK verified integrity of: $file"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Check if file already exists and is good, otherwise download it
|
|
||||||
DownloadURL () {
|
|
||||||
url=$1
|
|
||||||
url2=$2
|
|
||||||
expectedHash=$3
|
|
||||||
# Optional argument $4: destination filename
|
|
||||||
if [ x"$4" = x ]
|
|
||||||
then
|
|
||||||
# defaults to the last component of $url
|
|
||||||
targetFile=$(echo $url | sed 's|^.*/||')
|
|
||||||
else
|
|
||||||
targetFile=$4
|
|
||||||
fi
|
|
||||||
|
|
||||||
if VerifyHash "$targetFile" "$expectedHash"
|
|
||||||
then
|
|
||||||
echo "Skipping download, found and validated existing file: $targetFile"
|
|
||||||
else
|
|
||||||
echo "Downloading from primary URL: $url"
|
|
||||||
if ! Download "$url" "$targetFile"
|
|
||||||
then
|
|
||||||
echo "FAIL! to download, trying alternative URL: $url2" 1>&2
|
|
||||||
if ! Download "$url2" "$targetFile"
|
|
||||||
then
|
|
||||||
echo 'FAIL! to download even from alternative URL' 1>&2
|
|
||||||
return 1
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
VerifyHash "$targetFile" "$expectedHash"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
@@ -1,82 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
|
||||||
|
|
||||||
function InstallFromCompressedFileFromURL {
|
|
||||||
url=$1
|
|
||||||
url_alt=$2
|
|
||||||
expectedSha1=$3
|
|
||||||
installDirectory=$4
|
|
||||||
appPrefix=$5
|
|
||||||
|
|
||||||
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")
|
|
||||||
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"
|
|
||||||
;;
|
|
||||||
"xz")
|
|
||||||
tar -xf "$targetFile" --directory "$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"
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,51 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# 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
|
|
||||||
}
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
# shellcheck source=../shared/http_proxy.txt
|
|
||||||
source "${BASH_SOURCE%/*}/../shared/http_proxy.txt"
|
|
||||||
|
|
||||||
{ 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"
|
|
||||||
@@ -1,40 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
@@ -1,81 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2019 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=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
set -ex
|
|
||||||
|
|
||||||
breakpad_commit_sha="b988fa74ec18de6214b18f723e48331d9a7802ae"
|
|
||||||
breakpad_tar="breakpad_$breakpad_commit_sha.tar.gz"
|
|
||||||
breakpad_tar_url="http://ci-files01-hki.intra.qt.io/input/breakpad/$breakpad_tar"
|
|
||||||
breakpad_tar_sha="a2d404d2aebc947cdac5840a9bccd65dfafae24c"
|
|
||||||
|
|
||||||
linux_syscall_support_commit_sha1="93426bda6535943ff1525d0460aab5cc0870ccaf"
|
|
||||||
linux_syscall_support_tar="linux-syscall-support_$linux_syscall_support_commit_sha1.tar.gz"
|
|
||||||
linux_syscall_support_tar_url="http://ci-files01-hki.intra.qt.io/input/linux-syscall-support/$linux_syscall_support_tar"
|
|
||||||
linux_syscall_support_tar_sha="62565be0920f3661e138d68026b79fbbdc2a11e4"
|
|
||||||
|
|
||||||
targetBreakpad="/tmp/$breakpad_tar"
|
|
||||||
targetSyscall="/tmp/$linux_syscall_support_tar"
|
|
||||||
installFolder="$HOME"
|
|
||||||
breakpadHome="$HOME/breakpad"
|
|
||||||
|
|
||||||
# shellcheck disable=SC2015
|
|
||||||
( DownloadURL "$breakpad_tar_url" "$breakpad_tar_url" "$breakpad_tar_sha" "$targetBreakpad" ) && (
|
|
||||||
DownloadURL "$linux_syscall_support_tar_url" "$linux_syscall_support_tar_url" "$linux_syscall_support_tar_sha" "$targetSyscall"
|
|
||||||
) && (
|
|
||||||
tar -xzf "$targetBreakpad" -C "$installFolder"
|
|
||||||
tar -xzf "$targetSyscall" -C "/tmp"
|
|
||||||
mv "/tmp/linux-syscall-support/" "$breakpadHome/src/third_party/lss/"
|
|
||||||
rm -rf $targetBreakpad
|
|
||||||
rm -rf $targetSyscall
|
|
||||||
) || (
|
|
||||||
cd "$HOME"
|
|
||||||
git clone https://chromium.googlesource.com/breakpad/breakpad "$breakpadHome"
|
|
||||||
git clone https://chromium.googlesource.com/linux-syscall-support "$breakpadHome/src/third_party/lss"
|
|
||||||
cd "$breakpadHome"
|
|
||||||
git checkout "$breakpad_commit_sha"
|
|
||||||
cd "$breakpadHome/src/third_party/lss"
|
|
||||||
git checkout "$linux_syscall_support_commit_sha1"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
SetEnvVar "BREAKPAD_SOURCE_DIR" "$breakpadHome"
|
|
||||||
|
|
||||||
echo "breakpad = $breakpad_commit_sha" >> ~/versions.txt
|
|
||||||
echo "linux_syscall_support = $linux_syscall_support_commit_sha1" >> ~/versions.txt
|
|
||||||
@@ -1,97 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
#############################################################################
|
|
||||||
##
|
|
||||||
## Copyright (C) 2019 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 install OpenSSL from sources.
|
|
||||||
# Requires GCC and Perl to be in PATH.
|
|
||||||
set -ex
|
|
||||||
os="$1"
|
|
||||||
# shellcheck source=../unix/DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/DownloadURL.sh"
|
|
||||||
# shellcheck source=../unix/SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
version="1.1.1d"
|
|
||||||
officialUrl="https://www.openssl.org/source/openssl-$version.tar.gz"
|
|
||||||
cachedUrl="http://ci-files01-hki.intra.qt.io/input/openssl/openssl-$version.tar.gz"
|
|
||||||
targetFile="/tmp/openssl-$version.tar.gz"
|
|
||||||
sha="056057782325134b76d1931c48f2c7e6595d7ef4"
|
|
||||||
opensslHome="${HOME}/openssl-${version}"
|
|
||||||
opensslSource="${opensslHome}-src"
|
|
||||||
DownloadURL "$cachedUrl" "$officialUrl" "$sha" "$targetFile"
|
|
||||||
tar -xzf "$targetFile" -C "$HOME"
|
|
||||||
mv "$opensslHome" "$opensslSource"
|
|
||||||
cd "$opensslSource"
|
|
||||||
pwd
|
|
||||||
|
|
||||||
if [[ "$os" == "linux" ]]; then
|
|
||||||
./Configure --prefix="$opensslHome" shared no-ssl3-method enable-ec_nistp_64_gcc_128 linux-x86_64 "-Wa,--noexecstack"
|
|
||||||
make && make install_sw install_ssldirs
|
|
||||||
SetEnvVar "OPENSSL_HOME" "$opensslHome"
|
|
||||||
if uname -a |grep -q "Ubuntu"; then
|
|
||||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile
|
|
||||||
else
|
|
||||||
echo "export LD_LIBRARY_PATH=$opensslHome/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
|
|
||||||
fi
|
|
||||||
|
|
||||||
elif [ "$os" == "macos" ]; then
|
|
||||||
# Below target location has been hard coded into Coin.
|
|
||||||
# QTQAINFRA-1195
|
|
||||||
openssl_install_dir=/usr/local/openssl-$version
|
|
||||||
opensslTargetLocation="/usr/local/opt/openssl"
|
|
||||||
sudo ./Configure --prefix=$openssl_install_dir shared no-ssl3-method enable-ec_nistp_64_gcc_128 darwin64-x86_64-cc "-Wa,--noexecstack"
|
|
||||||
echo "Running 'make' for OpenSSL"
|
|
||||||
# shellcheck disable=SC2024
|
|
||||||
sudo make --silent > /tmp/openssl_make.log 2>&1
|
|
||||||
echo "Running 'make install' for OpenSSL"
|
|
||||||
# shellcheck disable=SC2024
|
|
||||||
sudo make --silent install > /tmp/openssl_make_install.log 2>&1
|
|
||||||
|
|
||||||
path=$(echo "$opensslTargetLocation" | sed -E 's/(.*)\/.*$/\1/')
|
|
||||||
sudo mkdir -p "$path"
|
|
||||||
sudo ln -s $openssl_install_dir $opensslTargetLocation
|
|
||||||
|
|
||||||
SetEnvVar "PATH" "\"$opensslTargetLocation/bin:\$PATH\""
|
|
||||||
SetEnvVar "MANPATH" "\"$opensslTargetLocation/share/man:\$MANPATH\""
|
|
||||||
|
|
||||||
SetEnvVar "OPENSSL_DIR" "\"$openssl_install_dir\""
|
|
||||||
SetEnvVar "OPENSSL_INCLUDE" "\"$openssl_install_dir/include\""
|
|
||||||
SetEnvVar "OPENSSL_LIB" "\"$openssl_install_dir/lib\""
|
|
||||||
|
|
||||||
security find-certificate -a -p /Library/Keychains/System.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem > /dev/null
|
|
||||||
security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain | sudo tee -a $opensslTargetLocation/ssl/cert.pem > /dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
echo "OpenSSL = $version" >> ~/versions.txt
|
|
||||||
@@ -1,75 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# shellcheck source=./DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
|
||||||
# shellcheck source=./SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
|
||||||
|
|
||||||
# This script will install Google's Protocal Buffers which is needed by Automotive Suite
|
|
||||||
|
|
||||||
version="3.6.1"
|
|
||||||
sha1="44b8ba225f3b4dc45fb56d5881ec6a91329802b6"
|
|
||||||
internalUrl="http://ci-files01-hki.intra.qt.io/input/automotive_suite/protobuf-all-$version.zip"
|
|
||||||
externalUrl="https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-all-$version.zip"
|
|
||||||
|
|
||||||
targetDir="$HOME/protobuf-$version"
|
|
||||||
targetFile="$targetDir.zip"
|
|
||||||
DownloadURL "$internalUrl" "$externalUrl" "$sha1" "$targetFile"
|
|
||||||
unzip "$targetFile" -d "$HOME"
|
|
||||||
sudo rm "$targetFile"
|
|
||||||
|
|
||||||
# devtoolset is needed when running configuration
|
|
||||||
if uname -a |grep -qv "Darwin"; then
|
|
||||||
export PATH="/opt/rh/devtoolset-4/root/usr/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "Configuring and building protobuf"
|
|
||||||
cd "$targetDir"
|
|
||||||
if uname -a |grep -q Darwin; then
|
|
||||||
./configure --prefix "$(xcrun --sdk macosx --show-sdk-path)/usr/local"
|
|
||||||
SetEnvVar PATH "\$PATH:$(xcrun --sdk macosx --show-sdk-path)/usr/local/bin"
|
|
||||||
else
|
|
||||||
./configure
|
|
||||||
fi
|
|
||||||
make
|
|
||||||
sudo make install
|
|
||||||
|
|
||||||
# Refresh shared library cache if OS isn't macOS
|
|
||||||
if uname -a |grep -qv "Darwin"; then
|
|
||||||
sudo ldconfig
|
|
||||||
fi
|
|
||||||
|
|
||||||
sudo rm -r "$targetDir"
|
|
||||||
@@ -1,78 +0,0 @@
|
|||||||
#!/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$
|
|
||||||
##
|
|
||||||
#############################################################################
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
# This same script is used to provision libclang to Linux and macOS.
|
|
||||||
# In case of Linux, we expect to get the values as args
|
|
||||||
set -e
|
|
||||||
|
|
||||||
# shellcheck source=./check_and_set_proxy.sh
|
|
||||||
source "${BASH_SOURCE%/*}/check_and_set_proxy.sh"
|
|
||||||
# shellcheck source=./SetEnvVar.sh
|
|
||||||
source "${BASH_SOURCE%/*}/SetEnvVar.sh"
|
|
||||||
# shellcheck source=./DownloadURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/DownloadURL.sh"
|
|
||||||
|
|
||||||
libclang_version=6.0
|
|
||||||
|
|
||||||
if uname -a |grep -q Darwin; then
|
|
||||||
version=$libclang_version
|
|
||||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-mac.7z"
|
|
||||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-mac.7z"
|
|
||||||
sha1="0af8ab8c1174faf4b721d079587190fc32ea8364"
|
|
||||||
else
|
|
||||||
version=$libclang_version
|
|
||||||
url="https://download.qt.io/development_releases/prebuilt/libclang/qt/libclang-release_${version//\./}-linux-Rhel7.2-gcc5.3-x86_64.7z"
|
|
||||||
url_cached="http://ci-files01-hki.intra.qt.io/input/libclang/qt/libclang-release_${version//\./}-linux-Rhel7.2-gcc5.3-x86_64.7z"
|
|
||||||
sha1="ef59b699f4fcce2e45108b3ff04cc7471c1c4abe"
|
|
||||||
fi
|
|
||||||
|
|
||||||
zip="/tmp/libclang.7z"
|
|
||||||
destination="/usr/local/libclang-$version"
|
|
||||||
|
|
||||||
DownloadURL $url_cached $url $sha1 $zip
|
|
||||||
7z x $zip -o/tmp/
|
|
||||||
rm -rf $zip
|
|
||||||
|
|
||||||
sudo mv /tmp/libclang "$destination"
|
|
||||||
|
|
||||||
echo "export LLVM_INSTALL_DIR=$destination" >> ~/.bash_profile
|
|
||||||
echo "libClang = $version" >> ~/versions.txt
|
|
||||||
|
|
||||||
# This is a hacked static build of libclang which requires special
|
|
||||||
# handling on the qdoc side.
|
|
||||||
SetEnvVar "QDOC_USE_STATIC_LIBCLANG" "1"
|
|
||||||
@@ -1,55 +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 installs paho testing broker
|
|
||||||
|
|
||||||
# shellcheck source=./InstallFromCompressedFileFromURL.sh
|
|
||||||
source "${BASH_SOURCE%/*}/InstallFromCompressedFileFromURL.sh"
|
|
||||||
source "${BASH_SOURCE%/*}/../unix/SetEnvVar.sh"
|
|
||||||
|
|
||||||
CommitSHA="20bad2475c27a6e1d24a56d90a9fceb40963261e"
|
|
||||||
PrimaryUrl="http://ci-files01-hki.intra.qt.io/input/mqtt_broker/paho.mqtt.testing-$CommitSHA.zip"
|
|
||||||
AltUrl="https://github.com/eclipse/paho.mqtt.testing/archive/$CommitSHA.zip"
|
|
||||||
SHA1="a0ac88715c2aebb9573a113dc13925a90da19233"
|
|
||||||
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
|
|
||||||
@@ -1,173 +0,0 @@
|
|||||||
#!/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.4.3"
|
|
||||||
# Branch version without dot
|
|
||||||
qtBranch="512x"
|
|
||||||
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 "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
|
|
||||||
|
|
||||||
function UnMount {
|
|
||||||
echo "Unmounting $mountFolder"
|
|
||||||
sudo diskutil unmount force "$mountFolder" || sudo umount -f "$mountFolder"
|
|
||||||
}
|
|
||||||
|
|
||||||
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"
|
|
||||||
UnMount
|
|
||||||
elif [[ $targetFile == *.dmg ]]; then
|
|
||||||
echo "'dmg-file', no need to uncompress"
|
|
||||||
sudo cp $targetFileMount /tmp
|
|
||||||
UnMount
|
|
||||||
sudo hdiutil attach "/tmp/$targetFile"
|
|
||||||
sudo /Volumes/froglogic\ Squish/Install\ Squish.app/Contents/MacOS/Squish unattended=1 targetdir="$targetDirectory/package" qtpath="$targetDirectory" > /dev/null 2>&1
|
|
||||||
mountFolder="/Volumes/froglogic Squish"
|
|
||||||
UnMount
|
|
||||||
elif [[ $targetFile == *.run ]]; then
|
|
||||||
echo "'run-file', no need to uncompress"
|
|
||||||
sudo cp $targetFileMount $targetDirectory
|
|
||||||
UnMount
|
|
||||||
sudo chmod +x $targetDirectory/$targetFile
|
|
||||||
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 provisioning scripts 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
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
. "$PSScriptRoot\helpers.ps1"
|
|
||||||
|
|
||||||
$zip = Get-DownloadLocation "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-7Zip $zip C:\Utils\Qt3DStudio3rdparty
|
|
||||||
Remove-Item -Path $zip
|
|
||||||
|
|
||||||
Set-EnvironmentVariable "QT3DSTUDIO_3RDPARTY_DIR" "C:/Utils/Qt3DStudio3rdparty"
|
|
||||||
@@ -1,37 +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 allows the Windows Remote Desktop Access
|
|
||||||
|
|
||||||
Run-Executable "reg.exe" "add `"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server`" /v fDenyTSConnections /t REG_DWORD /d 0 /f"
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user