on xenial help sign in
upgrade project to be clickable 7 compatible
2a4b92cLionel Duboeuf
README.md+3−3
@@ -22,10 +22,10 @@ Now, clone this repository to your computer: `git clone https://github.com/ubpor
22
22
23Move into this directory: `cd unity8`
23Move into this directory: `cd unity8`
24
24
25−Now you can use the full suite of tools provided by this repository's [clickable.json](clickable.json). For example:
25+Now you can use the full suite of tools provided by this repository's [clickable.yaml](clickable.yaml). For example:
26
26
27* `clickable ide qtcreator` will open QtCreator with this repository open as a project. You can edit and build the project this way, but running the tests will be a bit difficult.
27* `clickable ide qtcreator` will open QtCreator with this repository open as a project. You can edit and build the project this way, but running the tests will be a bit difficult.
28−* `clickable build-libs --debug` will build Lomiri in the same environment as it would receive in Ubuntu Touch.
28+* `clickable build --libs --verbose` will build Lomiri in the same environment as it would receive in Ubuntu Touch.
29−* `clickable test-libs` will run the entire Lomiri test suite. This test suite includes graphical tests (which are run on a virtual, invisible desktop) and non-graphical unit tests. These tests make sure Lomiri functions as prescribed and prevents new bugs from being added. You should run them before you create a PR on this repository. This command takes about 7 minutes on an Intel i7-8550U, so plan your time accordingly and use the next two options to reduce the number of times you need to run the whole test suite...
29+* `clickable test --libs` will run the entire Lomiri test suite. This test suite includes graphical tests (which are run on a virtual, invisible desktop) and non-graphical unit tests. These tests make sure Lomiri functions as prescribed and prevents new bugs from being added. You should run them before you create a PR on this repository. This command takes about 7 minutes on an Intel i7-8550U, so plan your time accordingly and use the next two options to reduce the number of times you need to run the whole test suite...
30* `clickable ide 'cd build/x86_64-linux-gnu/unity8/ && make tryShell'` and similar commands that replace the `Shell` with another test target defined in [tests/qmltests/CMakeLists.txt](tests/qmltests/CMakeLists.txt) allow trying out some Lomiri components in a mock environment. You can use this to try out your changes to Lomiri as you develop.
30* `clickable ide 'cd build/x86_64-linux-gnu/unity8/ && make tryShell'` and similar commands that replace the `Shell` with another test target defined in [tests/qmltests/CMakeLists.txt](tests/qmltests/CMakeLists.txt) allow trying out some Lomiri components in a mock environment. You can use this to try out your changes to Lomiri as you develop.
31* `clickable ide 'cd build/x86_64-linux-gnu/unity8/ && make xvfbtestShell'` and similar commands that replace the `Shell` with another test target defined in [tests/qmltests/CMakeLists.txt](tests/qmltests/CMakeLists.txt) allow running a single TestCase. You can remove the `xvfb` part of the make target to run the test case graphically, which might help you see what is causing the test to fail.
31* `clickable ide 'cd build/x86_64-linux-gnu/unity8/ && make xvfbtestShell'` and similar commands that replace the `Shell` with another test target defined in [tests/qmltests/CMakeLists.txt](tests/qmltests/CMakeLists.txt) allow running a single TestCase. You can remove the `xvfb` part of the make target to run the test case graphically, which might help you see what is causing the test to fail.
clickable.jsondeleted−158
@@ -1,158 +0,0 @@
1−{
2− "builder": "custom",
3− "build": "echo Run \\'clickable build-libs --debug\\' to build && false",
4− "restrict_arch": "amd64",
5− "libraries": {
6− "unity8": {
7− "builder": "cmake",
8− "src_dir": "${ROOT}",
9− "test": "make xvfballtests -j${NUM_PROCS}",
10− "dependencies_host": [
11− "android-headers",
12− "cmake",
13− "cmake-extras",
14− "dbus-test-runner",
15− "debhelper",
16− "dh-apparmor",
17− "doxyqml",
18− "g++:native",
19− "gdb",
20− "graphviz",
21− "gsettings-ubuntu-schemas",
22− "libandroid-properties-dev",
23− "libconnectivity-qt1-dev",
24− "libevdev-dev",
25− "libgeonames-dev",
26− "libgl1-mesa-dev",
27− "libgl1-mesa-dri",
28− "libgles2-mesa-dev",
29− "libglib2.0-dev",
30− "libgnome-desktop-3-12",
31− "libgnome-desktop-3-dev",
32− "libgsettings-qt-dev",
33− "libhardware-dev",
34− "liblightdm-qt5-3-dev",
35− "libpam0g-dev",
36− "libpulse-dev",
37− "libqmenumodel-dev",
38− "libqt5sql5-sqlite",
39− "libqt5svg5-dev",
40− "libqt5xmlpatterns5-dev",
41− "libqtdbusmock1-dev",
42− "libqtdbustest1-dev",
43− "libsystemsettings-dev",
44− "libubuntu-app-launch2-dev",
45− "libubuntu-download-manager-common-dev",
46− "libubuntugestures5-dev",
47− "libubuntugestures5-private-dev",
48− "libudev-dev",
49− "libudm-common-dev",
50− "libunity-api-dev",
51− "libusermetricsoutput1-dev",
52− "libx11-dev",
53− "libxcb1-dev",
54− "libxi-dev",
55− "pkg-config",
56− "python3-all:any",
57− "python3-setuptools:native",
58− "qml-module-qt-labs-folderlistmodel",
59− "qml-module-qt-labs-settings",
60− "qml-module-qtmultimedia",
61− "qml-module-qtqml-statemachine",
62− "qml-module-qtquick-layouts",
63− "qml-module-qtquick-xmllistmodel",
64− "qml-module-qtquick2",
65− "qml-module-qtsysteminfo",
66− "qml-module-qttest",
67− "qml-module-ubuntu-components",
68− "qml-module-ubuntu-layouts",
69− "qml-module-ubuntu-settings-components",
70− "qml-module-ubuntu-test",
71− "qtbase5-dev",
72− "qtbase5-dev-tools",
73− "qtbase5-private-dev",
74− "qtdbustest-runner",
75− "qtdeclarative5-dev",
76− "qtdeclarative5-dev-tools",
77− "qtdeclarative5-private-dev",
78− "qtdeclarative5-ubuntu-content1",
79− "ttf-ubuntu-font-family",
80− "ubports-wallpapers",
81− "xvfb"
82− ]
83− }
84− },
85− "dependencies_target": [
86− "android-headers",
87− "cmake",
88− "cmake-extras",
89− "dbus-test-runner",
90− "debhelper",
91− "dh-apparmor",
92− "doxyqml",
93− "g++:native",
94− "gdb",
95− "graphviz",
96− "gsettings-ubuntu-schemas",
97− "libandroid-properties-dev",
98− "libconnectivity-qt1-dev",
99− "libevdev-dev",
100− "libgeonames-dev",
101− "libgl1-mesa-dev",
102− "libgl1-mesa-dri",
103− "libgles2-mesa-dev",
104− "libglib2.0-dev",
105− "libgnome-desktop-3-12",
106− "libgnome-desktop-3-dev",
107− "libgsettings-qt-dev",
108− "libhardware-dev",
109− "liblightdm-qt5-3-dev",
110− "libpam0g-dev",
111− "libpulse-dev",
112− "libqmenumodel-dev",
113− "libqt5sql5-sqlite",
114− "libqt5svg5-dev",
115− "libqt5xmlpatterns5-dev",
116− "libqtdbusmock1-dev",
117− "libqtdbustest1-dev",
118− "libsystemsettings-dev",
119− "libubuntu-app-launch2-dev",
120− "libubuntu-download-manager-common-dev",
121− "libubuntugestures5-dev",
122− "libubuntugestures5-private-dev",
123− "libudev-dev",
124− "libudm-common-dev",
125− "libunity-api-dev",
126− "libusermetricsoutput1-dev",
127− "libx11-dev",
128− "libxcb1-dev",
129− "libxi-dev",
130− "pkg-config",
131− "python3-all:any",
132− "python3-setuptools:native",
133− "qml-module-qt-labs-folderlistmodel",
134− "qml-module-qt-labs-settings",
135− "qml-module-qtmultimedia",
136− "qml-module-qtqml-statemachine",
137− "qml-module-qtquick-layouts",
138− "qml-module-qtquick-xmllistmodel",
139− "qml-module-qtquick2",
140− "qml-module-qtsysteminfo",
141− "qml-module-qttest",
142− "qml-module-ubuntu-components",
143− "qml-module-ubuntu-layouts",
144− "qml-module-ubuntu-settings-components",
145− "qml-module-ubuntu-test",
146− "qtbase5-dev",
147− "qtbase5-dev-tools",
148− "qtbase5-private-dev",
149− "qtdbustest-runner",
150− "qtdeclarative5-dev",
151− "qtdeclarative5-dev-tools",
152− "qtdeclarative5-private-dev",
153− "qtdeclarative5-ubuntu-content1",
154− "ttf-ubuntu-font-family",
155− "ubports-wallpapers",
156− "xvfb"
157− ]
158− }
clickable.yamlnew file+153
@@ -0,0 +1,153 @@
1+clickable_minimum_required: '7'
2+builder: custom
3+build: echo Run \'clickable build --libs --verbose\' to build && false
4+restrict_arch: amd64
5+libraries:
6+ unity8:
7+ builder: cmake
8+ src_dir: "${ROOT}"
9+ test: make xvfballtests -j${NUM_PROCS}
10+ dependencies_host:
11+ - android-headers
12+ - cmake
13+ - cmake-extras
14+ - dbus-test-runner
15+ - debhelper
16+ - dh-apparmor
17+ - doxyqml
18+ - g++:native
19+ - gdb
20+ - graphviz
21+ - gsettings-ubuntu-schemas
22+ - libandroid-properties-dev
23+ - libconnectivity-qt1-dev
24+ - libevdev-dev
25+ - libgeonames-dev
26+ - libgl1-mesa-dev
27+ - libgl1-mesa-dri
28+ - libgles2-mesa-dev
29+ - libglib2.0-dev
30+ - libgnome-desktop-3-12
31+ - libgnome-desktop-3-dev
32+ - libgsettings-qt-dev
33+ - libhardware-dev
34+ - liblightdm-qt5-3-dev
35+ - libpam0g-dev
36+ - libpulse-dev
37+ - libqmenumodel-dev
38+ - libqt5sql5-sqlite
39+ - libqt5svg5-dev
40+ - libqt5xmlpatterns5-dev
41+ - libqtdbusmock1-dev
42+ - libqtdbustest1-dev
43+ - libsystemsettings-dev
44+ - libubuntu-app-launch2-dev
45+ - libubuntu-download-manager-common-dev
46+ - libubuntugestures5-dev
47+ - libubuntugestures5-private-dev
48+ - libudev-dev
49+ - libudm-common-dev
50+ - libunity-api-dev
51+ - libusermetricsoutput1-dev
52+ - libx11-dev
53+ - libxcb1-dev
54+ - libxi-dev
55+ - pkg-config
56+ - python3-all:any
57+ - python3-setuptools:native
58+ - qml-module-qt-labs-folderlistmodel
59+ - qml-module-qt-labs-settings
60+ - qml-module-qtmultimedia
61+ - qml-module-qtqml-statemachine
62+ - qml-module-qtquick-layouts
63+ - qml-module-qtquick-xmllistmodel
64+ - qml-module-qtquick2
65+ - qml-module-qtsysteminfo
66+ - qml-module-qttest
67+ - qml-module-ubuntu-components
68+ - qml-module-ubuntu-layouts
69+ - qml-module-ubuntu-settings-components
70+ - qml-module-ubuntu-test
71+ - qtbase5-dev
72+ - qtbase5-dev-tools
73+ - qtbase5-private-dev
74+ - qtdbustest-runner
75+ - qtdeclarative5-dev
76+ - qtdeclarative5-dev-tools
77+ - qtdeclarative5-private-dev
78+ - qtdeclarative5-ubuntu-content1
79+ - ttf-ubuntu-font-family
80+ - ubports-wallpapers
81+ - xvfb
82+dependencies_target:
83+ - android-headers
84+ - cmake
85+ - cmake-extras
86+ - dbus-test-runner
87+ - debhelper
88+ - dh-apparmor
89+ - doxyqml
90+ - g++:native
91+ - gdb
92+ - graphviz
93+ - gsettings-ubuntu-schemas
94+ - libandroid-properties-dev
95+ - libconnectivity-qt1-dev
96+ - libevdev-dev
97+ - libgeonames-dev
98+ - libgl1-mesa-dev
99+ - libgl1-mesa-dri
100+ - libgles2-mesa-dev
101+ - libglib2.0-dev
102+ - libgnome-desktop-3-12
103+ - libgnome-desktop-3-dev
104+ - libgsettings-qt-dev
105+ - libhardware-dev
106+ - liblightdm-qt5-3-dev
107+ - libpam0g-dev
108+ - libpulse-dev
109+ - libqmenumodel-dev
110+ - libqt5sql5-sqlite
111+ - libqt5svg5-dev
112+ - libqt5xmlpatterns5-dev
113+ - libqtdbusmock1-dev
114+ - libqtdbustest1-dev
115+ - libsystemsettings-dev
116+ - libubuntu-app-launch2-dev
117+ - libubuntu-download-manager-common-dev
118+ - libubuntugestures5-dev
119+ - libubuntugestures5-private-dev
120+ - libudev-dev
121+ - libudm-common-dev
122+ - libunity-api-dev
123+ - libusermetricsoutput1-dev
124+ - libx11-dev
125+ - libxcb1-dev
126+ - libxi-dev
127+ - pkg-config
128+ - python3-all:any
129+ - python3-setuptools:native
130+ - qml-module-qt-labs-folderlistmodel
131+ - qml-module-qt-labs-settings
132+ - qml-module-qtmultimedia
133+ - qml-module-qtqml-statemachine
134+ - qml-module-qtquick-layouts
135+ - qml-module-qtquick-xmllistmodel
136+ - qml-module-qtquick2
137+ - qml-module-qtsysteminfo
138+ - qml-module-qttest
139+ - qml-module-ubuntu-components
140+ - qml-module-ubuntu-layouts
141+ - qml-module-ubuntu-settings-components
142+ - qml-module-ubuntu-test
143+ - qtbase5-dev
144+ - qtbase5-dev-tools
145+ - qtbase5-private-dev
146+ - qtdbustest-runner
147+ - qtdeclarative5-dev
148+ - qtdeclarative5-dev-tools
149+ - qtdeclarative5-private-dev
150+ - qtdeclarative5-ubuntu-content1
151+ - ttf-ubuntu-font-family
152+ - ubports-wallpapers
153+ - xvfb