Merge lp:~unity-team/unity/unity8-packaging-cleanup into lp:unity/8.0
- unity8-packaging-cleanup
- Merge into 8.0
Status: | Superseded |
---|---|
Proposed branch: | lp:~unity-team/unity/unity8-packaging-cleanup |
Merge into: | lp:unity/8.0 |
Diff against target: |
1302 lines (+735/-152) 35 files modified
CMakeLists.txt (+1/-0) COPYING.LGPL (+514/-0) LGPL_EXCEPTION.txt (+22/-0) debian/changelog (+7/-0) debian/control (+43/-48) debian/copyright (+13/-3) debian/rules (+19/-3) debian/scopes-recommends-generator (+27/-0) debian/unity8-autopilot.install (+1/-1) debian/unity8-fake-env.install (+1/-1) debian/unity8-private.install (+5/-0) debian/unity8.install (+15/-20) main.cpp (+7/-8) paths.h.in (+8/-7) plugins/HudClient/CMakeLists.txt (+2/-2) plugins/LightDM/CMakeLists.txt (+2/-2) plugins/Ubuntu/Gestures/CMakeLists.txt (+2/-2) plugins/Unity/CMakeLists.txt (+2/-2) plugins/Utils/CMakeLists.txt (+2/-2) run_on_device (+2/-3) tests/autopilot/setup.py (+21/-0) tests/autopilot/unity8/tests/__init__.py (+1/-3) tests/mocks/CMakeLists.txt (+2/-0) tests/mocks/LightDM/CMakeLists.txt (+2/-2) tests/mocks/LightDM/full/CMakeLists.txt (+1/-1) tests/mocks/LightDM/single-passphrase/CMakeLists.txt (+1/-1) tests/mocks/LightDM/single-pin/CMakeLists.txt (+1/-1) tests/mocks/LightDM/single/CMakeLists.txt (+1/-1) tests/mocks/Ubuntu/Application/CMakeLists.txt (+2/-2) tests/mocks/Ubuntu/CMakeLists.txt (+1/-0) tests/qmltests/CMakeLists.txt (+7/-8) tests/qmltests/plugins/CMakeLists.txt (+0/-3) tests/qmltests/plugins/Dee/DeeVariantText.qml (+0/-22) tests/qmltests/plugins/Dee/qmldir (+0/-3) tests/qmltests/plugins/Ubuntu/CMakeLists.txt (+0/-1) |
To merge this branch: | bzr merge lp:~unity-team/unity/unity8-packaging-cleanup |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Unity Team | Pending | ||
Review via email: mp+171537@code.launchpad.net |
This proposal has been superseded by a proposal from 2013-07-02.
Commit message
Packaging cleanup for unity 8:
- install arch-deps binary libraries in a private lib directory
- cleanup debian/control, rules, and install
- complete debian/copyright
- ship missing license files
- install the python (autopilot) part using a setup.py
- consolidate mocks
- drop qml-phone-shell transitional packages and references
Description of the change
Packaging cleanup for unity 8:
- install arch-deps binary libraries in a private lib directory
- cleanup debian/control, rules, and install
- complete debian/copyright
- ship missing license files
- install the python (autopilot) part using a setup.py
Didier Roche-Tolomelli (didrocks) wrote : | # |
- 65. By Michael Zanetti
-
dropped qml-phone-shell from run_on_device too
- 66. By Michael Zanetti
-
removed unused include
- 67. By Michael Zanetti
-
revert dependency change for qtubuntu
- 68. By Michael Zanetti
-
merge
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:68
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 69. By Michael Zanetti
-
fix license header for setup.py
- 70. By Michael Zanetti
-
merge
- 71. By Michael Zanetti
-
merge more
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:69
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:71
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:71
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:73
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
- 72. By Michael Zanetti
-
remove autopilot import path settings. they should be found by the binary itself now
- 73. By Michael Zanetti
-
merge
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:71
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:73
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
- 74. By Michał Sawicz
-
fix tst_ScopeView import paths
- 75. By Michał Sawicz
-
When installed, we should only use fallbacks, not override anything system-wide.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:74
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
- 76. By Michał Sawicz
-
Fix Notifications import paths.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:75
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
- 77. By Didier Roche-Tolomelli
-
recommends phone scopes for now generated from libunity-
scopes- json-def- phone
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:76
http://
Executed test runs:
UNSTABLE: http://
FAILURE: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
UNSTABLE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:77
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:77
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Unmerged revisions
- 77. By Didier Roche-Tolomelli
-
recommends phone scopes for now generated from libunity-
scopes- json-def- phone - 76. By Michał Sawicz
-
Fix Notifications import paths.
- 75. By Michał Sawicz
-
When installed, we should only use fallbacks, not override anything system-wide.
- 74. By Michał Sawicz
-
fix tst_ScopeView import paths
- 73. By Michael Zanetti
-
merge
- 72. By Michael Zanetti
-
remove autopilot import path settings. they should be found by the binary itself now
- 71. By Michael Zanetti
-
merge more
- 70. By Michael Zanetti
-
merge
- 69. By Michael Zanetti
-
fix license header for setup.py
- 68. By Michael Zanetti
-
merge
Preview Diff
1 | === modified file 'CMakeLists.txt' |
2 | --- CMakeLists.txt 2013-06-05 22:03:08 +0000 |
3 | +++ CMakeLists.txt 2013-06-28 14:53:52 +0000 |
4 | @@ -57,6 +57,7 @@ |
5 | include(GNUInstallDirs) |
6 | |
7 | set(SHELL_APP_DIR ${CMAKE_INSTALL_DATADIR}/unity8) |
8 | +set(SHELL_PRIVATE_LIBDIR ${CMAKE_INSTALL_LIBDIR}/unity8) |
9 | |
10 | configure_file(paths.h.in ${CMAKE_CURRENT_BINARY_DIR}/paths.h @ONLY) |
11 | |
12 | |
13 | === added file 'COPYING.LGPL' |
14 | --- COPYING.LGPL 1970-01-01 00:00:00 +0000 |
15 | +++ COPYING.LGPL 2013-06-28 14:53:52 +0000 |
16 | @@ -0,0 +1,514 @@ |
17 | + GNU LESSER GENERAL PUBLIC LICENSE |
18 | + |
19 | + The Qt Toolkit is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). |
20 | + Contact: http://www.qt-project.org/legal |
21 | + |
22 | + You may use, distribute and copy the Qt GUI Toolkit under the terms of |
23 | + GNU Lesser General Public License version 2.1, which is displayed below. |
24 | + |
25 | +------------------------------------------------------------------------- |
26 | + |
27 | + GNU LESSER GENERAL PUBLIC LICENSE |
28 | + Version 2.1, February 1999 |
29 | + |
30 | + Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
31 | + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
32 | + Everyone is permitted to copy and distribute verbatim copies |
33 | + of this license document, but changing it is not allowed. |
34 | + |
35 | +[This is the first released version of the Lesser GPL. It also counts |
36 | + as the successor of the GNU Library Public License, version 2, hence |
37 | + the version number 2.1.] |
38 | + |
39 | + Preamble |
40 | + |
41 | + The licenses for most software are designed to take away your |
42 | +freedom to share and change it. By contrast, the GNU General Public |
43 | +Licenses are intended to guarantee your freedom to share and change |
44 | +free software--to make sure the software is free for all its users. |
45 | + |
46 | + This license, the Lesser General Public License, applies to some |
47 | +specially designated software packages--typically libraries--of the |
48 | +Free Software Foundation and other authors who decide to use it. You |
49 | +can use it too, but we suggest you first think carefully about whether |
50 | +this license or the ordinary General Public License is the better |
51 | +strategy to use in any particular case, based on the explanations below. |
52 | + |
53 | + When we speak of free software, we are referring to freedom of use, |
54 | +not price. Our General Public Licenses are designed to make sure that |
55 | +you have the freedom to distribute copies of free software (and charge |
56 | +for this service if you wish); that you receive source code or can get |
57 | +it if you want it; that you can change the software and use pieces of |
58 | +it in new free programs; and that you are informed that you can do |
59 | +these things. |
60 | + |
61 | + To protect your rights, we need to make restrictions that forbid |
62 | +distributors to deny you these rights or to ask you to surrender these |
63 | +rights. These restrictions translate to certain responsibilities for |
64 | +you if you distribute copies of the library or if you modify it. |
65 | + |
66 | + For example, if you distribute copies of the library, whether gratis |
67 | +or for a fee, you must give the recipients all the rights that we gave |
68 | +you. You must make sure that they, too, receive or can get the source |
69 | +code. If you link other code with the library, you must provide |
70 | +complete object files to the recipients, so that they can relink them |
71 | +with the library after making changes to the library and recompiling |
72 | +it. And you must show them these terms so they know their rights. |
73 | + |
74 | + We protect your rights with a two-step method: (1) we copyright the |
75 | +library, and (2) we offer you this license, which gives you legal |
76 | +permission to copy, distribute and/or modify the library. |
77 | + |
78 | + To protect each distributor, we want to make it very clear that |
79 | +there is no warranty for the free library. Also, if the library is |
80 | +modified by someone else and passed on, the recipients should know |
81 | +that what they have is not the original version, so that the original |
82 | +author's reputation will not be affected by problems that might be |
83 | +introduced by others. |
84 | + |
85 | |
86 | + Finally, software patents pose a constant threat to the existence of |
87 | +any free program. We wish to make sure that a company cannot |
88 | +effectively restrict the users of a free program by obtaining a |
89 | +restrictive license from a patent holder. Therefore, we insist that |
90 | +any patent license obtained for a version of the library must be |
91 | +consistent with the full freedom of use specified in this license. |
92 | + |
93 | + Most GNU software, including some libraries, is covered by the |
94 | +ordinary GNU General Public License. This license, the GNU Lesser |
95 | +General Public License, applies to certain designated libraries, and |
96 | +is quite different from the ordinary General Public License. We use |
97 | +this license for certain libraries in order to permit linking those |
98 | +libraries into non-free programs. |
99 | + |
100 | + When a program is linked with a library, whether statically or using |
101 | +a shared library, the combination of the two is legally speaking a |
102 | +combined work, a derivative of the original library. The ordinary |
103 | +General Public License therefore permits such linking only if the |
104 | +entire combination fits its criteria of freedom. The Lesser General |
105 | +Public License permits more lax criteria for linking other code with |
106 | +the library. |
107 | + |
108 | + We call this license the "Lesser" General Public License because it |
109 | +does Less to protect the user's freedom than the ordinary General |
110 | +Public License. It also provides other free software developers Less |
111 | +of an advantage over competing non-free programs. These disadvantages |
112 | +are the reason we use the ordinary General Public License for many |
113 | +libraries. However, the Lesser license provides advantages in certain |
114 | +special circumstances. |
115 | + |
116 | + For example, on rare occasions, there may be a special need to |
117 | +encourage the widest possible use of a certain library, so that it becomes |
118 | +a de-facto standard. To achieve this, non-free programs must be |
119 | +allowed to use the library. A more frequent case is that a free |
120 | +library does the same job as widely used non-free libraries. In this |
121 | +case, there is little to gain by limiting the free library to free |
122 | +software only, so we use the Lesser General Public License. |
123 | + |
124 | + In other cases, permission to use a particular library in non-free |
125 | +programs enables a greater number of people to use a large body of |
126 | +free software. For example, permission to use the GNU C Library in |
127 | +non-free programs enables many more people to use the whole GNU |
128 | +operating system, as well as its variant, the GNU/Linux operating |
129 | +system. |
130 | + |
131 | + Although the Lesser General Public License is Less protective of the |
132 | +users' freedom, it does ensure that the user of a program that is |
133 | +linked with the Library has the freedom and the wherewithal to run |
134 | +that program using a modified version of the Library. |
135 | + |
136 | + The precise terms and conditions for copying, distribution and |
137 | +modification follow. Pay close attention to the difference between a |
138 | +"work based on the library" and a "work that uses the library". The |
139 | +former contains code derived from the library, whereas the latter must |
140 | +be combined with the library in order to run. |
141 | + |
142 | |
143 | + GNU LESSER GENERAL PUBLIC LICENSE |
144 | + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
145 | + |
146 | + 0. This License Agreement applies to any software library or other |
147 | +program which contains a notice placed by the copyright holder or |
148 | +other authorized party saying it may be distributed under the terms of |
149 | +this Lesser General Public License (also called "this License"). |
150 | +Each licensee is addressed as "you". |
151 | + |
152 | + A "library" means a collection of software functions and/or data |
153 | +prepared so as to be conveniently linked with application programs |
154 | +(which use some of those functions and data) to form executables. |
155 | + |
156 | + The "Library", below, refers to any such software library or work |
157 | +which has been distributed under these terms. A "work based on the |
158 | +Library" means either the Library or any derivative work under |
159 | +copyright law: that is to say, a work containing the Library or a |
160 | +portion of it, either verbatim or with modifications and/or translated |
161 | +straightforwardly into another language. (Hereinafter, translation is |
162 | +included without limitation in the term "modification".) |
163 | + |
164 | + "Source code" for a work means the preferred form of the work for |
165 | +making modifications to it. For a library, complete source code means |
166 | +all the source code for all modules it contains, plus any associated |
167 | +interface definition files, plus the scripts used to control compilation |
168 | +and installation of the library. |
169 | + |
170 | + Activities other than copying, distribution and modification are not |
171 | +covered by this License; they are outside its scope. The act of |
172 | +running a program using the Library is not restricted, and output from |
173 | +such a program is covered only if its contents constitute a work based |
174 | +on the Library (independent of the use of the Library in a tool for |
175 | +writing it). Whether that is true depends on what the Library does |
176 | +and what the program that uses the Library does. |
177 | + |
178 | + 1. You may copy and distribute verbatim copies of the Library's |
179 | +complete source code as you receive it, in any medium, provided that |
180 | +you conspicuously and appropriately publish on each copy an |
181 | +appropriate copyright notice and disclaimer of warranty; keep intact |
182 | +all the notices that refer to this License and to the absence of any |
183 | +warranty; and distribute a copy of this License along with the |
184 | +Library. |
185 | + |
186 | + You may charge a fee for the physical act of transferring a copy, |
187 | +and you may at your option offer warranty protection in exchange for a |
188 | +fee. |
189 | + |
190 | |
191 | + 2. You may modify your copy or copies of the Library or any portion |
192 | +of it, thus forming a work based on the Library, and copy and |
193 | +distribute such modifications or work under the terms of Section 1 |
194 | +above, provided that you also meet all of these conditions: |
195 | + |
196 | + a) The modified work must itself be a software library. |
197 | + |
198 | + b) You must cause the files modified to carry prominent notices |
199 | + stating that you changed the files and the date of any change. |
200 | + |
201 | + c) You must cause the whole of the work to be licensed at no |
202 | + charge to all third parties under the terms of this License. |
203 | + |
204 | + d) If a facility in the modified Library refers to a function or a |
205 | + table of data to be supplied by an application program that uses |
206 | + the facility, other than as an argument passed when the facility |
207 | + is invoked, then you must make a good faith effort to ensure that, |
208 | + in the event an application does not supply such function or |
209 | + table, the facility still operates, and performs whatever part of |
210 | + its purpose remains meaningful. |
211 | + |
212 | + (For example, a function in a library to compute square roots has |
213 | + a purpose that is entirely well-defined independent of the |
214 | + application. Therefore, Subsection 2d requires that any |
215 | + application-supplied function or table used by this function must |
216 | + be optional: if the application does not supply it, the square |
217 | + root function must still compute square roots.) |
218 | + |
219 | +These requirements apply to the modified work as a whole. If |
220 | +identifiable sections of that work are not derived from the Library, |
221 | +and can be reasonably considered independent and separate works in |
222 | +themselves, then this License, and its terms, do not apply to those |
223 | +sections when you distribute them as separate works. But when you |
224 | +distribute the same sections as part of a whole which is a work based |
225 | +on the Library, the distribution of the whole must be on the terms of |
226 | +this License, whose permissions for other licensees extend to the |
227 | +entire whole, and thus to each and every part regardless of who wrote |
228 | +it. |
229 | + |
230 | +Thus, it is not the intent of this section to claim rights or contest |
231 | +your rights to work written entirely by you; rather, the intent is to |
232 | +exercise the right to control the distribution of derivative or |
233 | +collective works based on the Library. |
234 | + |
235 | +In addition, mere aggregation of another work not based on the Library |
236 | +with the Library (or with a work based on the Library) on a volume of |
237 | +a storage or distribution medium does not bring the other work under |
238 | +the scope of this License. |
239 | + |
240 | + 3. You may opt to apply the terms of the ordinary GNU General Public |
241 | +License instead of this License to a given copy of the Library. To do |
242 | +this, you must alter all the notices that refer to this License, so |
243 | +that they refer to the ordinary GNU General Public License, version 2, |
244 | +instead of to this License. (If a newer version than version 2 of the |
245 | +ordinary GNU General Public License has appeared, then you can specify |
246 | +that version instead if you wish.) Do not make any other change in |
247 | +these notices. |
248 | + |
249 | |
250 | + Once this change is made in a given copy, it is irreversible for |
251 | +that copy, so the ordinary GNU General Public License applies to all |
252 | +subsequent copies and derivative works made from that copy. |
253 | + |
254 | + This option is useful when you wish to copy part of the code of |
255 | +the Library into a program that is not a library. |
256 | + |
257 | + 4. You may copy and distribute the Library (or a portion or |
258 | +derivative of it, under Section 2) in object code or executable form |
259 | +under the terms of Sections 1 and 2 above provided that you accompany |
260 | +it with the complete corresponding machine-readable source code, which |
261 | +must be distributed under the terms of Sections 1 and 2 above on a |
262 | +medium customarily used for software interchange. |
263 | + |
264 | + If distribution of object code is made by offering access to copy |
265 | +from a designated place, then offering equivalent access to copy the |
266 | +source code from the same place satisfies the requirement to |
267 | +distribute the source code, even though third parties are not |
268 | +compelled to copy the source along with the object code. |
269 | + |
270 | + 5. A program that contains no derivative of any portion of the |
271 | +Library, but is designed to work with the Library by being compiled or |
272 | +linked with it, is called a "work that uses the Library". Such a |
273 | +work, in isolation, is not a derivative work of the Library, and |
274 | +therefore falls outside the scope of this License. |
275 | + |
276 | + However, linking a "work that uses the Library" with the Library |
277 | +creates an executable that is a derivative of the Library (because it |
278 | +contains portions of the Library), rather than a "work that uses the |
279 | +library". The executable is therefore covered by this License. |
280 | +Section 6 states terms for distribution of such executables. |
281 | + |
282 | + When a "work that uses the Library" uses material from a header file |
283 | +that is part of the Library, the object code for the work may be a |
284 | +derivative work of the Library even though the source code is not. |
285 | +Whether this is true is especially significant if the work can be |
286 | +linked without the Library, or if the work is itself a library. The |
287 | +threshold for this to be true is not precisely defined by law. |
288 | + |
289 | + If such an object file uses only numerical parameters, data |
290 | +structure layouts and accessors, and small macros and small inline |
291 | +functions (ten lines or less in length), then the use of the object |
292 | +file is unrestricted, regardless of whether it is legally a derivative |
293 | +work. (Executables containing this object code plus portions of the |
294 | +Library will still fall under Section 6.) |
295 | + |
296 | + Otherwise, if the work is a derivative of the Library, you may |
297 | +distribute the object code for the work under the terms of Section 6. |
298 | +Any executables containing that work also fall under Section 6, |
299 | +whether or not they are linked directly with the Library itself. |
300 | + |
301 | |
302 | + 6. As an exception to the Sections above, you may also combine or |
303 | +link a "work that uses the Library" with the Library to produce a |
304 | +work containing portions of the Library, and distribute that work |
305 | +under terms of your choice, provided that the terms permit |
306 | +modification of the work for the customer's own use and reverse |
307 | +engineering for debugging such modifications. |
308 | + |
309 | + You must give prominent notice with each copy of the work that the |
310 | +Library is used in it and that the Library and its use are covered by |
311 | +this License. You must supply a copy of this License. If the work |
312 | +during execution displays copyright notices, you must include the |
313 | +copyright notice for the Library among them, as well as a reference |
314 | +directing the user to the copy of this License. Also, you must do one |
315 | +of these things: |
316 | + |
317 | + a) Accompany the work with the complete corresponding |
318 | + machine-readable source code for the Library including whatever |
319 | + changes were used in the work (which must be distributed under |
320 | + Sections 1 and 2 above); and, if the work is an executable linked |
321 | + with the Library, with the complete machine-readable "work that |
322 | + uses the Library", as object code and/or source code, so that the |
323 | + user can modify the Library and then relink to produce a modified |
324 | + executable containing the modified Library. (It is understood |
325 | + that the user who changes the contents of definitions files in the |
326 | + Library will not necessarily be able to recompile the application |
327 | + to use the modified definitions.) |
328 | + |
329 | + b) Use a suitable shared library mechanism for linking with the |
330 | + Library. A suitable mechanism is one that (1) uses at run time a |
331 | + copy of the library already present on the user's computer system, |
332 | + rather than copying library functions into the executable, and (2) |
333 | + will operate properly with a modified version of the library, if |
334 | + the user installs one, as long as the modified version is |
335 | + interface-compatible with the version that the work was made with. |
336 | + |
337 | + c) Accompany the work with a written offer, valid for at |
338 | + least three years, to give the same user the materials |
339 | + specified in Subsection 6a, above, for a charge no more |
340 | + than the cost of performing this distribution. |
341 | + |
342 | + d) If distribution of the work is made by offering access to copy |
343 | + from a designated place, offer equivalent access to copy the above |
344 | + specified materials from the same place. |
345 | + |
346 | + e) Verify that the user has already received a copy of these |
347 | + materials or that you have already sent this user a copy. |
348 | + |
349 | + For an executable, the required form of the "work that uses the |
350 | +Library" must include any data and utility programs needed for |
351 | +reproducing the executable from it. However, as a special exception, |
352 | +the materials to be distributed need not include anything that is |
353 | +normally distributed (in either source or binary form) with the major |
354 | +components (compiler, kernel, and so on) of the operating system on |
355 | +which the executable runs, unless that component itself accompanies |
356 | +the executable. |
357 | + |
358 | + It may happen that this requirement contradicts the license |
359 | +restrictions of other proprietary libraries that do not normally |
360 | +accompany the operating system. Such a contradiction means you cannot |
361 | +use both them and the Library together in an executable that you |
362 | +distribute. |
363 | + |
364 | |
365 | + 7. You may place library facilities that are a work based on the |
366 | +Library side-by-side in a single library together with other library |
367 | +facilities not covered by this License, and distribute such a combined |
368 | +library, provided that the separate distribution of the work based on |
369 | +the Library and of the other library facilities is otherwise |
370 | +permitted, and provided that you do these two things: |
371 | + |
372 | + a) Accompany the combined library with a copy of the same work |
373 | + based on the Library, uncombined with any other library |
374 | + facilities. This must be distributed under the terms of the |
375 | + Sections above. |
376 | + |
377 | + b) Give prominent notice with the combined library of the fact |
378 | + that part of it is a work based on the Library, and explaining |
379 | + where to find the accompanying uncombined form of the same work. |
380 | + |
381 | + 8. You may not copy, modify, sublicense, link with, or distribute |
382 | +the Library except as expressly provided under this License. Any |
383 | +attempt otherwise to copy, modify, sublicense, link with, or |
384 | +distribute the Library is void, and will automatically terminate your |
385 | +rights under this License. However, parties who have received copies, |
386 | +or rights, from you under this License will not have their licenses |
387 | +terminated so long as such parties remain in full compliance. |
388 | + |
389 | + 9. You are not required to accept this License, since you have not |
390 | +signed it. However, nothing else grants you permission to modify or |
391 | +distribute the Library or its derivative works. These actions are |
392 | +prohibited by law if you do not accept this License. Therefore, by |
393 | +modifying or distributing the Library (or any work based on the |
394 | +Library), you indicate your acceptance of this License to do so, and |
395 | +all its terms and conditions for copying, distributing or modifying |
396 | +the Library or works based on it. |
397 | + |
398 | + 10. Each time you redistribute the Library (or any work based on the |
399 | +Library), the recipient automatically receives a license from the |
400 | +original licensor to copy, distribute, link with or modify the Library |
401 | +subject to these terms and conditions. You may not impose any further |
402 | +restrictions on the recipients' exercise of the rights granted herein. |
403 | +You are not responsible for enforcing compliance by third parties with |
404 | +this License. |
405 | + |
406 | |
407 | + 11. If, as a consequence of a court judgment or allegation of patent |
408 | +infringement or for any other reason (not limited to patent issues), |
409 | +conditions are imposed on you (whether by court order, agreement or |
410 | +otherwise) that contradict the conditions of this License, they do not |
411 | +excuse you from the conditions of this License. If you cannot |
412 | +distribute so as to satisfy simultaneously your obligations under this |
413 | +License and any other pertinent obligations, then as a consequence you |
414 | +may not distribute the Library at all. For example, if a patent |
415 | +license would not permit royalty-free redistribution of the Library by |
416 | +all those who receive copies directly or indirectly through you, then |
417 | +the only way you could satisfy both it and this License would be to |
418 | +refrain entirely from distribution of the Library. |
419 | + |
420 | +If any portion of this section is held invalid or unenforceable under any |
421 | +particular circumstance, the balance of the section is intended to apply, |
422 | +and the section as a whole is intended to apply in other circumstances. |
423 | + |
424 | +It is not the purpose of this section to induce you to infringe any |
425 | +patents or other property right claims or to contest validity of any |
426 | +such claims; this section has the sole purpose of protecting the |
427 | +integrity of the free software distribution system which is |
428 | +implemented by public license practices. Many people have made |
429 | +generous contributions to the wide range of software distributed |
430 | +through that system in reliance on consistent application of that |
431 | +system; it is up to the author/donor to decide if he or she is willing |
432 | +to distribute software through any other system and a licensee cannot |
433 | +impose that choice. |
434 | + |
435 | +This section is intended to make thoroughly clear what is believed to |
436 | +be a consequence of the rest of this License. |
437 | + |
438 | + 12. If the distribution and/or use of the Library is restricted in |
439 | +certain countries either by patents or by copyrighted interfaces, the |
440 | +original copyright holder who places the Library under this License may add |
441 | +an explicit geographical distribution limitation excluding those countries, |
442 | +so that distribution is permitted only in or among countries not thus |
443 | +excluded. In such case, this License incorporates the limitation as if |
444 | +written in the body of this License. |
445 | + |
446 | + 13. The Free Software Foundation may publish revised and/or new |
447 | +versions of the Lesser General Public License from time to time. |
448 | +Such new versions will be similar in spirit to the present version, |
449 | +but may differ in detail to address new problems or concerns. |
450 | + |
451 | +Each version is given a distinguishing version number. If the Library |
452 | +specifies a version number of this License which applies to it and |
453 | +"any later version", you have the option of following the terms and |
454 | +conditions either of that version or of any later version published by |
455 | +the Free Software Foundation. If the Library does not specify a |
456 | +license version number, you may choose any version ever published by |
457 | +the Free Software Foundation. |
458 | + |
459 | |
460 | + 14. If you wish to incorporate parts of the Library into other free |
461 | +programs whose distribution conditions are incompatible with these, |
462 | +write to the author to ask for permission. For software which is |
463 | +copyrighted by the Free Software Foundation, write to the Free |
464 | +Software Foundation; we sometimes make exceptions for this. Our |
465 | +decision will be guided by the two goals of preserving the free status |
466 | +of all derivatives of our free software and of promoting the sharing |
467 | +and reuse of software generally. |
468 | + |
469 | + NO WARRANTY |
470 | + |
471 | + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
472 | +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
473 | +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
474 | +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
475 | +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
476 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
477 | +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
478 | +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
479 | +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
480 | + |
481 | + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
482 | +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
483 | +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
484 | +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
485 | +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
486 | +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
487 | +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
488 | +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
489 | +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
490 | +DAMAGES. |
491 | + |
492 | + END OF TERMS AND CONDITIONS |
493 | + |
494 | |
495 | + How to Apply These Terms to Your New Libraries |
496 | + |
497 | + If you develop a new library, and you want it to be of the greatest |
498 | +possible use to the public, we recommend making it free software that |
499 | +everyone can redistribute and change. You can do so by permitting |
500 | +redistribution under these terms (or, alternatively, under the terms of the |
501 | +ordinary General Public License). |
502 | + |
503 | + To apply these terms, attach the following notices to the library. It is |
504 | +safest to attach them to the start of each source file to most effectively |
505 | +convey the exclusion of warranty; and each file should have at least the |
506 | +"copyright" line and a pointer to where the full notice is found. |
507 | + |
508 | + <one line to give the library's name and a brief idea of what it does.> |
509 | + Copyright (C) <year> <name of author> |
510 | + |
511 | + This library is free software; you can redistribute it and/or |
512 | + modify it under the terms of the GNU Lesser General Public |
513 | + License as published by the Free Software Foundation; either |
514 | + version 2.1 of the License, or (at your option) any later version. |
515 | + |
516 | + This library is distributed in the hope that it will be useful, |
517 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
518 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
519 | + Lesser General Public License for more details. |
520 | + |
521 | + You should have received a copy of the GNU Lesser General Public |
522 | + License along with this library; if not, write to the Free Software |
523 | + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
524 | + |
525 | +Also add information on how to contact you by electronic and paper mail. |
526 | + |
527 | +You should also get your employer (if you work as a programmer) or your |
528 | +school, if any, to sign a "copyright disclaimer" for the library, if |
529 | +necessary. Here is a sample; alter the names: |
530 | + |
531 | + Yoyodyne, Inc., hereby disclaims all copyright interest in the |
532 | + library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
533 | + |
534 | + <signature of Ty Coon>, 1 April 1990 |
535 | + Ty Coon, President of Vice |
536 | + |
537 | +That's all there is to it! |
538 | + |
539 | + |
540 | |
541 | === added file 'LGPL_EXCEPTION.txt' |
542 | --- LGPL_EXCEPTION.txt 1970-01-01 00:00:00 +0000 |
543 | +++ LGPL_EXCEPTION.txt 2013-06-28 14:53:52 +0000 |
544 | @@ -0,0 +1,22 @@ |
545 | +Digia Qt LGPL Exception version 1.1 |
546 | + |
547 | +As an additional permission to the GNU Lesser General Public License version |
548 | +2.1, the object code form of a "work that uses the Library" may incorporate |
549 | +material from a header file that is part of the Library. You may distribute |
550 | +such object code under terms of your choice, provided that: |
551 | + (i) the header files of the Library have not been modified; and |
552 | + (ii) the incorporated material is limited to numerical parameters, data |
553 | + structure layouts, accessors, macros, inline functions and |
554 | + templates; and |
555 | + (iii) you comply with the terms of Section 6 of the GNU Lesser General |
556 | + Public License version 2.1. |
557 | + |
558 | +Moreover, you may apply this exception to a modified version of the Library, |
559 | +provided that such modification does not involve copying material from the |
560 | +Library into the modified Library's header files unless such material is |
561 | +limited to (i) numerical parameters; (ii) data structure layouts; |
562 | +(iii) accessors; and (iv) small macros, templates and inline functions of |
563 | +five lines or less in length. |
564 | + |
565 | +Furthermore, you are not required to apply this additional permission to a |
566 | +modified version of the Library. |
567 | |
568 | === modified file 'debian/changelog' |
569 | --- debian/changelog 2013-06-26 16:11:31 +0000 |
570 | +++ debian/changelog 2013-06-28 14:53:52 +0000 |
571 | @@ -1,3 +1,10 @@ |
572 | +unity8 (7.81.3-0ubuntu1) UNRELEASED; urgency=low |
573 | + |
574 | + * Clean packaging for entering saucy and following daily release guidelines |
575 | + * Automatic snapshot from revision 49 (bootstrap) |
576 | + |
577 | + -- Didier Roche <didrocks@ubuntu.com> Wed, 26 Jun 2013 11:01:09 +0200 |
578 | + |
579 | unity8 (7.81.2) saucy; urgency=low |
580 | |
581 | * Translation updates. |
582 | |
583 | === modified file 'debian/control' |
584 | --- debian/control 2013-06-20 00:01:16 +0000 |
585 | +++ debian/control 2013-06-28 14:53:52 +0000 |
586 | @@ -1,10 +1,9 @@ |
587 | Source: unity8 |
588 | Section: x11 |
589 | -Priority: extra |
590 | +Priority: optional |
591 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
592 | Build-Depends: cmake, |
593 | debhelper (>= 9), |
594 | - libc6-dev, |
595 | libdee-qt5-dev (>= 3.0), |
596 | libgl1-mesa-dev[!armhf] | libgl-dev[!armhf], |
597 | libgl1-mesa-dri, |
598 | @@ -15,6 +14,8 @@ |
599 | libxcb1-dev, |
600 | pkg-config, |
601 | python3, |
602 | + python (>= 2.7), |
603 | + python-setuptools, |
604 | qt5-default, |
605 | qtbase5-dev, |
606 | qtbase5-private-dev, |
607 | @@ -25,75 +26,69 @@ |
608 | qtdeclarative5-ubuntu-ui-toolkit-plugin, |
609 | qtdeclarative5-xmllistmodel-plugin, |
610 | ttf-ubuntu-font-family, |
611 | -Standards-Version: 3.9.3 |
612 | + libunity-scopes-json-def-phone, |
613 | +Standards-Version: 3.9.4 |
614 | Homepage: http://launchpad.net/unity |
615 | # If you aren't a member of ~unity-team but need to upload |
616 | # packaging changes, just go ahead. ~unity-team will notice |
617 | # and sync up the code again. |
618 | -Vcs-Bzr: https://code.launchpad.net/~unity-team/unity/phablet |
619 | -Vcs-Browser: https://bazaar.launchpad.net/~unity-team/unity/phablet/files |
620 | +Vcs-Bzr: https://code.launchpad.net/~unity-team/unity/8.0 |
621 | +Vcs-Browser: https://bazaar.launchpad.net/~unity-team/unity/phablet/8.0 |
622 | |
623 | Package: unity8 |
624 | -Replaces: qml-phone-shell (<< 7.80~) |
625 | -Breaks: qml-phone-shell (<< 7.80~) |
626 | -Architecture: amd64 armhf i386 |
627 | -Depends: indicators-client (>= 0.6.1), |
628 | +Architecture: any |
629 | +Depends: ${misc:Depends}, |
630 | + ${shlibs:Depends}, |
631 | + unity8-private (= ${binary:Version}), |
632 | + indicators-client (>= 0.6.1), |
633 | qtdeclarative5-dee-plugin, |
634 | qtdeclarative5-ubuntu-ui-toolkit-plugin, |
635 | qtdeclarative5-unity-notifications-plugin | unity-notifications-impl, |
636 | unity-notifications-impl-1, |
637 | qtdeclarative5-xmllistmodel-plugin, |
638 | - qtubuntu, |
639 | - ${misc:Depends}, |
640 | - ${shlibs:Depends}, |
641 | -Recommends: indicators-client-plugin-datetime (>= 0.6.1), |
642 | + unity8-fake-env | qtubuntu-shell, |
643 | +Recommends: ${unity-default-masterscopes}, |
644 | + indicators-client-plugin-datetime (>= 0.6.1), |
645 | indicators-client-plugin-messaging (>= 0.6.1), |
646 | indicators-client-plugin-network (>= 0.6.1), |
647 | indicators-client-plugin-power (>= 0.6.1), |
648 | indicators-client-plugin-sound (>= 0.6.1), |
649 | - unity-scope-home, |
650 | - unity-lens-applications, |
651 | -Description: Ubuntu QML shell |
652 | - The Ubuntu QML shell is the primary user interface for Ubuntu devices. |
653 | +Description: Unity 8 shell |
654 | + The Unity 8 shell is the primary user interface for Ubuntu devices. |
655 | |
656 | -Package: qml-phone-shell |
657 | -Depends: unity8, ${misc:Depends} |
658 | -Architecture: all |
659 | -Description: transitional dummy package |
660 | - This is a transitional dummy package. It can safely be removed. |
661 | +Package: unity8-private |
662 | +Architecture: any |
663 | +Multi-Arch: same |
664 | +Pre-Depends: ${misc:Pre-Depends} |
665 | +Depends: ${misc:Depends}, |
666 | + ${shlibs:Depends}, |
667 | +Description: Unity 8 private libs |
668 | + The Unity 8 shell is the primary user interface for Ubuntu devices. |
669 | + . |
670 | + This package contains the private libraries for QML and other components |
671 | + only used by the shell. |
672 | |
673 | Package: unity8-fake-env |
674 | -Replaces: qml-phone-shell-fake-env (<< 7.80~) |
675 | -Breaks: qml-phone-shell-fake-env (<< 7.80~) |
676 | -Architecture: amd64 armhf i386 |
677 | -Depends: ${misc:Depends}, ${shlibs:Depends} |
678 | -Description: Fake environment for running Ubuntu QML shell |
679 | - Provides fake implementations of some QML modules used by Ubuntu QML shell |
680 | +Architecture: any |
681 | +Multi-Arch: same |
682 | +Pre-Depends: ${misc:Pre-Depends} |
683 | +Depends: ${misc:Depends}, |
684 | + ${shlibs:Depends}, |
685 | +Provides: qtubuntu-shell, |
686 | +Description: Fake environment for running Unity 8 shell |
687 | + Provides fake implementations of some QML modules used by Unity 8 shell |
688 | (e.g Ubuntu.Application) so that you can run it in a sandboxed environment. |
689 | |
690 | -Package: qml-phone-shell-fake-env |
691 | -Depends: unity8-fake-env, ${misc:Depends} |
692 | -Architecture: all |
693 | -Description: transitional dummy package |
694 | - This is a transitional dummy package. It can safely be removed. |
695 | - |
696 | Package: unity8-autopilot |
697 | -Replaces: qml-phone-shell-autopilot (<< 7.80~) |
698 | -Breaks: qml-phone-shell-autopilot (<< 7.80~) |
699 | Architecture: all |
700 | -Depends: libautopilot-qt, |
701 | +Depends: ${misc:Depends}, |
702 | + ${shlibs:Depends}, |
703 | + ${python:Depends}, |
704 | + libautopilot-qt, |
705 | libqt5test5, |
706 | libqt5widgets5, |
707 | python-evdev, |
708 | - unity8 (= ${source:Version}), |
709 | - unity8-fake-env (= ${source:Version}), |
710 | - ${misc:Depends}, |
711 | - ${shlibs:Depends}, |
712 | -Description: Test package for the shell |
713 | + unity8 (>= ${source:Version}), |
714 | + unity8-fake-env (>= ${source:Version}), |
715 | +Description: Test package for Unity 8 shell |
716 | Autopilot tests for the unity8 package |
717 | - |
718 | -Package: qml-phone-shell-autopilot |
719 | -Depends: unity8-autopilot, ${misc:Depends} |
720 | -Architecture: all |
721 | -Description: transitional dummy package |
722 | - This is a transitional dummy package. It can safely be removed. |
723 | |
724 | === modified file 'debian/copyright' |
725 | --- debian/copyright 2013-06-05 22:03:08 +0000 |
726 | +++ debian/copyright 2013-06-28 14:53:52 +0000 |
727 | @@ -1,7 +1,9 @@ |
728 | Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ |
729 | +Upstream-Name: unity8 |
730 | +Source: http://launchpad.net/unity |
731 | |
732 | Files: * |
733 | -Copyright: 2013 Canonical Ltd. |
734 | +Copyright: 2011-2013 Canonical Ltd. |
735 | License: GPL-3 |
736 | |
737 | License: GPL-3 |
738 | @@ -20,9 +22,17 @@ |
739 | On Debian systems, the full text of the GNU General Public License |
740 | version 3 can be found in the file /usr/share/common-licenses/GPL-3. |
741 | |
742 | -Files: tests/unittests/plugins/Utils/modeltest.* |
743 | +Files: tests/mocks/LightDM/UsersModel.h tests/mocks/LightDM/Greeter.h |
744 | +Copyright: 2013 Canonical Ltd. |
745 | + 2010-2011 David Edmundson |
746 | + 2010-2011 Robert Ancell |
747 | +License: GPL-3 |
748 | + |
749 | +Files: plugins/Utils/qvariantlistmodel.* |
750 | + tests/unittests/plugins/Utils/modeltest.* |
751 | + tests/plugins/Utils/modeltest.* |
752 | Copyright: 2013 Digia Plc and/or its subsidiary(-ies). |
753 | -License: |
754 | +License: LGPL-2.1 with Digia Qt LGPL Exception 1.1 or GPL-3 |
755 | Commercial License Usage |
756 | Licensees holding valid commercial Qt licenses may use this file in |
757 | accordance with the commercial license agreement provided with the |
758 | |
759 | === modified file 'debian/rules' |
760 | --- debian/rules 2013-06-20 13:42:39 +0000 |
761 | +++ debian/rules 2013-06-28 14:53:52 +0000 |
762 | @@ -6,11 +6,27 @@ |
763 | export DPKG_GENSYMBOLS_CHECK_LEVEL=4 |
764 | export NO_PNG_PKG_MANGLE=1 |
765 | |
766 | +SCOPES_RECOMMENDS := $(shell perl debian/scopes-recommends-generator /usr/share/unity/client-scopes.json) |
767 | + |
768 | %: |
769 | - dh $@ --parallel |
770 | + dh $@ --parallel --fail-missing --with python2 |
771 | |
772 | override_dh_install: |
773 | - dh_install --fail-missing |
774 | - |
775 | + # install autopilot tests |
776 | + cd tests/autopilot; \ |
777 | + set -ex; for python in $(shell pyversions -r); do \ |
778 | + $$python setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb; \ |
779 | + done; \ |
780 | + cd $(CURDIR) |
781 | + dh_install -X'*.pyc' --fail-missing |
782 | + |
783 | +# use private lib directories |
784 | +override_dh_makeshlibs: |
785 | + dh_makeshlibs -Nunity8-private -Nunity8-fake-env |
786 | + |
787 | +# libMockLightDM-qml.so links against liblightdm-qt5-2.so which doesn't exist |
788 | override_dh_shlibdeps: |
789 | dh_shlibdeps -XlibMockLightDM-qml.so |
790 | + |
791 | +override_dh_gencontrol: |
792 | + dh_gencontrol -- -Vunity-default-masterscopes="$(SCOPES_RECOMMENDS)" |
793 | |
794 | === added file 'debian/scopes-recommends-generator' |
795 | --- debian/scopes-recommends-generator 1970-01-01 00:00:00 +0000 |
796 | +++ debian/scopes-recommends-generator 2013-06-28 14:53:52 +0000 |
797 | @@ -0,0 +1,27 @@ |
798 | +#!/usr/bin/perl -w |
799 | + |
800 | +use strict; |
801 | +binmode STDOUT, ":utf8"; |
802 | +use utf8; |
803 | + |
804 | +use JSON; |
805 | + |
806 | +my $json; |
807 | +{ |
808 | + local $/; #Enable 'slurp' mode |
809 | + open my $fh, "<", $ARGV[0]; |
810 | + $json = <$fh>; |
811 | + close $fh; |
812 | +} |
813 | +# get it to a scalar |
814 | +my $j = "[" . $json . "]"; |
815 | + |
816 | +my $decoded_json = decode_json( $j ); |
817 | + |
818 | +my $recommends_list = ""; |
819 | +for my $record ( @$decoded_json ) { |
820 | + foreach my $key ( keys(%$record) ) { |
821 | + $recommends_list = $recommends_list . $key . ", "; |
822 | + } |
823 | +} |
824 | +print $recommends_list; |
825 | |
826 | === modified file 'debian/unity8-autopilot.install' |
827 | --- debian/unity8-autopilot.install 2013-06-05 22:03:08 +0000 |
828 | +++ debian/unity8-autopilot.install 2013-06-28 14:53:52 +0000 |
829 | @@ -1,1 +1,1 @@ |
830 | -tests/autopilot/unity8/* usr/lib/python2.7/dist-packages/unity8/ |
831 | +usr/lib/python*/*/unity* |
832 | |
833 | === modified file 'debian/unity8-fake-env.install' |
834 | --- debian/unity8-fake-env.install 2013-06-05 22:03:08 +0000 |
835 | +++ debian/unity8-fake-env.install 2013-06-28 14:53:52 +0000 |
836 | @@ -1,1 +1,1 @@ |
837 | -/usr/share/unity8/plugins/mocks/* |
838 | +usr/lib/*/unity8/qml/mocks |
839 | |
840 | === added file 'debian/unity8-private.install' |
841 | --- debian/unity8-private.install 1970-01-01 00:00:00 +0000 |
842 | +++ debian/unity8-private.install 2013-06-28 14:53:52 +0000 |
843 | @@ -0,0 +1,5 @@ |
844 | +usr/lib/*/unity8/qml/HudClient |
845 | +usr/lib/*/unity8/qml/LightDM |
846 | +usr/lib/*/unity8/qml/Ubuntu |
847 | +usr/lib/*/unity8/qml/Unity |
848 | +usr/lib/*/unity8/qml/Utils |
849 | |
850 | === modified file 'debian/unity8.install' |
851 | --- debian/unity8.install 2013-06-05 22:03:08 +0000 |
852 | +++ debian/unity8.install 2013-06-28 14:53:52 +0000 |
853 | @@ -1,20 +1,15 @@ |
854 | -/usr/bin/unity8 |
855 | -/usr/share/applications/unity8.desktop |
856 | -/usr/share/locale/* |
857 | -/usr/share/unity8/Applications/* |
858 | -/usr/share/unity8/Bottombar/* |
859 | -/usr/share/unity8/Components/* |
860 | -/usr/share/unity8/Dash/* |
861 | -/usr/share/unity8/Greeter/* |
862 | -/usr/share/unity8/Hud/* |
863 | -/usr/share/unity8/Launcher/* |
864 | -/usr/share/unity8/Notifications/* |
865 | -/usr/share/unity8/Panel/* |
866 | -/usr/share/unity8/Shell.qml |
867 | -/usr/share/unity8/SideStage/* |
868 | -/usr/share/unity8/graphics/* |
869 | -/usr/share/unity8/plugins/HudClient/* |
870 | -/usr/share/unity8/plugins/LightDM/* |
871 | -/usr/share/unity8/plugins/Ubuntu/* |
872 | -/usr/share/unity8/plugins/Unity/* |
873 | -/usr/share/unity8/plugins/Utils/* |
874 | +usr/bin/unity8 |
875 | +usr/share/applications/unity8.desktop |
876 | +usr/share/locale |
877 | +usr/share/unity8/Applications |
878 | +usr/share/unity8/Bottombar |
879 | +usr/share/unity8/Components |
880 | +usr/share/unity8/Dash |
881 | +usr/share/unity8/Greeter |
882 | +usr/share/unity8/Hud |
883 | +usr/share/unity8/Launcher |
884 | +usr/share/unity8/Notifications |
885 | +usr/share/unity8/Panel |
886 | +usr/share/unity8/Shell.qml |
887 | +usr/share/unity8/SideStage |
888 | +usr/share/unity8/graphics |
889 | |
890 | === modified file 'main.cpp' |
891 | --- main.cpp 2013-06-26 15:16:54 +0000 |
892 | +++ main.cpp 2013-06-28 14:53:52 +0000 |
893 | @@ -39,10 +39,10 @@ |
894 | // don't duplicate |
895 | const QString& path = paths[i]; |
896 | QStringList::iterator iter = qFind(importPathList.begin(), importPathList.end(), path); |
897 | - if (iter == importPathList.end()) |
898 | - importPathList.prepend(path); |
899 | + if (iter == importPathList.end()) { |
900 | + engine->addImportPath(path); |
901 | + } |
902 | } |
903 | - engine->setImportPathList(importPathList); |
904 | } |
905 | |
906 | /* When you append and import path to the list of import paths it will be the *last* |
907 | @@ -54,10 +54,10 @@ |
908 | Q_FOREACH(const QString& path, paths) { |
909 | // don't duplicate |
910 | QStringList::iterator iter = qFind(importPathList.begin(), importPathList.end(), path); |
911 | - if (iter == importPathList.end()) |
912 | + if (iter == importPathList.end()) { |
913 | importPathList.append(path); |
914 | + } |
915 | } |
916 | - importPathList.append(paths); |
917 | engine->setImportPathList(importPathList); |
918 | } |
919 | |
920 | @@ -134,9 +134,8 @@ |
921 | QObject::connect(view->engine(), SIGNAL(quit()), qApp, SLOT(quit())); |
922 | |
923 | QUrl source("Shell.qml"); |
924 | - prependImportPaths(view->engine(), QStringList() << ::shellAppDirectory()); |
925 | - prependImportPaths(view->engine(), ::shellImportPaths()); |
926 | - appendImportPaths(view->engine(), QStringList() << ::fakePluginsImportPath()); |
927 | + prependImportPaths(view->engine(), ::overrideImportPaths()); |
928 | + appendImportPaths(view->engine(), ::fallbackImportPaths()); |
929 | view->setSource(source); |
930 | view->setColor("transparent"); |
931 | |
932 | |
933 | === modified file 'paths.h.in' |
934 | --- paths.h.in 2013-06-26 13:02:26 +0000 |
935 | +++ paths.h.in 2013-06-28 14:53:52 +0000 |
936 | @@ -46,22 +46,23 @@ |
937 | } |
938 | } |
939 | |
940 | -inline QStringList shellImportPaths() { |
941 | +inline QStringList overrideImportPaths() { |
942 | QStringList paths; |
943 | - if (isRunningInstalled()) { |
944 | - paths << QString("@CMAKE_INSTALL_PREFIX@/@SHELL_APP_DIR@/plugins"); |
945 | - } else { |
946 | + if (!isRunningInstalled()) { |
947 | paths << QString("@CMAKE_BINARY_DIR@/plugins"); |
948 | } |
949 | return paths; |
950 | } |
951 | |
952 | -inline QString fakePluginsImportPath() { |
953 | +inline QStringList fallbackImportPaths() { |
954 | + QStringList paths; |
955 | if (isRunningInstalled()) { |
956 | - return QString("@CMAKE_INSTALL_PREFIX@/@SHELL_APP_DIR@/plugins/mocks"); |
957 | + paths << QString("@CMAKE_INSTALL_PREFIX@/@SHELL_PRIVATE_LIBDIR@/qml"); |
958 | + paths << QString("@CMAKE_INSTALL_PREFIX@/@SHELL_PRIVATE_LIBDIR@/qml/mocks"); |
959 | } else { |
960 | - return QString("@CMAKE_BINARY_DIR@/tests/mocks"); |
961 | + paths << QString("@CMAKE_BINARY_DIR@/tests/mocks"); |
962 | } |
963 | + return paths; |
964 | } |
965 | |
966 | inline QString sourceDirectory() { |
967 | |
968 | === modified file 'plugins/HudClient/CMakeLists.txt' |
969 | --- plugins/HudClient/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
970 | +++ plugins/HudClient/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
971 | @@ -41,9 +41,9 @@ |
972 | ) |
973 | |
974 | install(TARGETS HudClientQml |
975 | - DESTINATION ${SHELL_APP_DIR}/plugins/HudClient |
976 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/HudClient |
977 | ) |
978 | |
979 | install(FILES qmldir |
980 | - DESTINATION ${SHELL_APP_DIR}/plugins/HudClient |
981 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/HudClient |
982 | ) |
983 | |
984 | === modified file 'plugins/LightDM/CMakeLists.txt' |
985 | --- plugins/LightDM/CMakeLists.txt 2013-06-06 12:18:34 +0000 |
986 | +++ plugins/LightDM/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
987 | @@ -35,9 +35,9 @@ |
988 | ) |
989 | |
990 | install(TARGETS LightDM-qml |
991 | - DESTINATION ${SHELL_APP_DIR}/plugins/LightDM |
992 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/LightDM |
993 | ) |
994 | |
995 | install(FILES qmldir |
996 | - DESTINATION ${SHELL_APP_DIR}/plugins/LightDM |
997 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/LightDM |
998 | ) |
999 | |
1000 | === modified file 'plugins/Ubuntu/Gestures/CMakeLists.txt' |
1001 | --- plugins/Ubuntu/Gestures/CMakeLists.txt 2013-06-14 15:52:02 +0000 |
1002 | +++ plugins/Ubuntu/Gestures/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1003 | @@ -27,9 +27,9 @@ |
1004 | ) |
1005 | |
1006 | install(TARGETS UbuntuGestureQml |
1007 | - DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures |
1008 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/Ubuntu/Gestures |
1009 | ) |
1010 | |
1011 | install(FILES qmldir |
1012 | - DESTINATION ${SHELL_APP_DIR}/plugins/Ubuntu/Gestures |
1013 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/Ubuntu/Gestures |
1014 | ) |
1015 | |
1016 | === modified file 'plugins/Unity/CMakeLists.txt' |
1017 | --- plugins/Unity/CMakeLists.txt 2013-06-06 10:37:13 +0000 |
1018 | +++ plugins/Unity/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1019 | @@ -41,9 +41,9 @@ |
1020 | ) |
1021 | |
1022 | install(TARGETS Unity-qml |
1023 | - DESTINATION ${SHELL_APP_DIR}/plugins/Unity |
1024 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/Unity |
1025 | ) |
1026 | |
1027 | install(FILES qmldir |
1028 | - DESTINATION ${SHELL_APP_DIR}/plugins/Unity |
1029 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/Unity |
1030 | ) |
1031 | |
1032 | === modified file 'plugins/Utils/CMakeLists.txt' |
1033 | --- plugins/Utils/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1034 | +++ plugins/Utils/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1035 | @@ -28,9 +28,9 @@ |
1036 | ) |
1037 | |
1038 | install(TARGETS Utils-qml |
1039 | - DESTINATION ${SHELL_APP_DIR}/plugins/Utils |
1040 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/Utils |
1041 | ) |
1042 | |
1043 | install(FILES qmldir |
1044 | - DESTINATION ${SHELL_APP_DIR}/plugins/Utils |
1045 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/Utils |
1046 | ) |
1047 | |
1048 | === modified file 'run_on_device' |
1049 | --- run_on_device 2013-06-24 11:08:38 +0000 |
1050 | +++ run_on_device 2013-06-28 14:53:52 +0000 |
1051 | @@ -86,16 +86,15 @@ |
1052 | |
1053 | run() { |
1054 | SERVICEFILE="${CHROOT_PREFIX}/etc/device-services" |
1055 | - adb shell "egrep '$BINARY|qml-phone-shell' $SERVICEFILE" |
1056 | + adb shell "egrep '$BINARY' $SERVICEFILE" |
1057 | CONTAINS_SHELL=$? |
1058 | if [ $CONTAINS_SHELL -eq 0 ]; then |
1059 | echo "Modifying $SERVICEFILE on device. Old contents will be saved in $SERVICEFILE.backup" |
1060 | adb shell cp $SERVICEFILE $SERVICEFILE.backup |
1061 | - adb shell sed -i "/$BINARY\\\\\|qml-phone-shell/d" $SERVICEFILE |
1062 | + adb shell sed -i "/$BINARY/d" $SERVICEFILE |
1063 | if $FLIPPED; then exec_with_adb /usr/bin/service ubuntu-touch-session restart |
1064 | else exec_with_adb /usr/bin/service ubuntu-session restart; fi |
1065 | fi |
1066 | - adb shell pkill qml-phone-shell |
1067 | adb shell pkill $BINARY |
1068 | ARGS="--nomousetouch" |
1069 | if $GDB; then |
1070 | |
1071 | === added file 'tests/autopilot/setup.py' |
1072 | --- tests/autopilot/setup.py 1970-01-01 00:00:00 +0000 |
1073 | +++ tests/autopilot/setup.py 2013-06-28 14:53:52 +0000 |
1074 | @@ -0,0 +1,21 @@ |
1075 | +#!/usr/bin/python |
1076 | + |
1077 | +# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*- |
1078 | +# Copyright 2013 Canonical |
1079 | +# |
1080 | +# This program is free software: you can redistribute it and/or modify it |
1081 | +# under the terms of the GNU General Public License version 3, as published |
1082 | +# by the Free Software Foundation. |
1083 | + |
1084 | + |
1085 | +from distutils.core import setup |
1086 | +from setuptools import find_packages |
1087 | + |
1088 | +setup( |
1089 | + name='unity', |
1090 | + version='8.0', |
1091 | + description='Unity 8 autopilot tests.', |
1092 | + url='https://launchpad.net/unity', |
1093 | + license='GPLv3', |
1094 | + packages=find_packages(), |
1095 | +) |
1096 | |
1097 | === modified file 'tests/autopilot/unity8/tests/__init__.py' |
1098 | --- tests/autopilot/unity8/tests/__init__.py 2013-06-05 22:03:08 +0000 |
1099 | +++ tests/autopilot/unity8/tests/__init__.py 2013-06-28 14:53:52 +0000 |
1100 | @@ -39,8 +39,7 @@ |
1101 | self.launch_test_local(geometry) |
1102 | |
1103 | def launch_test_local(self, geometry): |
1104 | - os.environ['LD_LIBRARY_PATH'] = "../../../unity_build/build/lib:../../builddir/tests/mocks/LightDM/" + self.lightdm_mock |
1105 | - os.environ['QML2_IMPORT_PATH'] = "../../builddir/tests/mocks:../../builddir/plugins" |
1106 | + os.environ['LD_LIBRARY_PATH'] = "../../builddir/tests/mocks/LightDM/" + self.lightdm_mock |
1107 | if geometry != "0x0": |
1108 | self.app = self.launch_test_application( |
1109 | "../../builddir/unity8", "-geometry", geometry, "-frameless", app_type='qt') |
1110 | @@ -50,7 +49,6 @@ |
1111 | |
1112 | def launch_test_installed(self, geometry): |
1113 | os.environ['LD_LIBRARY_PATH'] = "/usr/share/unity8/plugins/mocks/LightDM/" + self.lightdm_mock |
1114 | - os.environ['QML2_IMPORT_PATH'] = "/usr/share/unity8/plugins/mocks:/usr/share/unity8/plugins" |
1115 | if model() == 'Desktop' and geometry != "0x0": |
1116 | self.app = self.launch_test_application( |
1117 | "unity8", "-geometry", geometry, "-frameless", app_type='qt') |
1118 | |
1119 | === modified file 'tests/mocks/CMakeLists.txt' |
1120 | --- tests/mocks/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1121 | +++ tests/mocks/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1122 | @@ -1,2 +1,4 @@ |
1123 | add_subdirectory(LightDM) |
1124 | add_subdirectory(Ubuntu) |
1125 | +add_subdirectory(Unity) |
1126 | +add_subdirectory(HudClient) |
1127 | |
1128 | === renamed directory 'tests/qmltests/plugins/HudClient' => 'tests/mocks/HudClient' |
1129 | === modified file 'tests/mocks/LightDM/CMakeLists.txt' |
1130 | --- tests/mocks/LightDM/CMakeLists.txt 2013-06-06 12:18:34 +0000 |
1131 | +++ tests/mocks/LightDM/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1132 | @@ -44,9 +44,9 @@ |
1133 | ) |
1134 | |
1135 | install(TARGETS MockLightDM-qml |
1136 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/LightDM |
1137 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/LightDM |
1138 | ) |
1139 | |
1140 | install(FILES qmldir |
1141 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/LightDM |
1142 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/LightDM |
1143 | ) |
1144 | |
1145 | === modified file 'tests/mocks/LightDM/full/CMakeLists.txt' |
1146 | --- tests/mocks/LightDM/full/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1147 | +++ tests/mocks/LightDM/full/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1148 | @@ -16,5 +16,5 @@ |
1149 | OUTPUT_NAME lightdm-qt5-2) |
1150 | |
1151 | install(TARGETS MockLightDM-full |
1152 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/LightDM/full |
1153 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/LightDM/full |
1154 | ) |
1155 | |
1156 | === modified file 'tests/mocks/LightDM/single-passphrase/CMakeLists.txt' |
1157 | --- tests/mocks/LightDM/single-passphrase/CMakeLists.txt 2013-06-06 12:18:34 +0000 |
1158 | +++ tests/mocks/LightDM/single-passphrase/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1159 | @@ -17,5 +17,5 @@ |
1160 | OUTPUT_NAME lightdm-qt5-2) |
1161 | |
1162 | install(TARGETS MockLightDM-single-passphrase |
1163 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/LightDM/single-passphrase |
1164 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/LightDM/single-passphrase |
1165 | ) |
1166 | |
1167 | === modified file 'tests/mocks/LightDM/single-pin/CMakeLists.txt' |
1168 | --- tests/mocks/LightDM/single-pin/CMakeLists.txt 2013-06-06 12:18:34 +0000 |
1169 | +++ tests/mocks/LightDM/single-pin/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1170 | @@ -17,5 +17,5 @@ |
1171 | OUTPUT_NAME lightdm-qt5-2) |
1172 | |
1173 | install(TARGETS MockLightDM-single-pin |
1174 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/LightDM/single-pin |
1175 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/LightDM/single-pin |
1176 | ) |
1177 | |
1178 | === modified file 'tests/mocks/LightDM/single/CMakeLists.txt' |
1179 | --- tests/mocks/LightDM/single/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1180 | +++ tests/mocks/LightDM/single/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1181 | @@ -16,5 +16,5 @@ |
1182 | OUTPUT_NAME lightdm-qt5-2) |
1183 | |
1184 | install(TARGETS MockLightDM-single |
1185 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/LightDM/single |
1186 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/LightDM/single |
1187 | ) |
1188 | |
1189 | === modified file 'tests/mocks/Ubuntu/Application/CMakeLists.txt' |
1190 | --- tests/mocks/Ubuntu/Application/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1191 | +++ tests/mocks/Ubuntu/Application/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1192 | @@ -27,9 +27,9 @@ |
1193 | ) |
1194 | |
1195 | install(TARGETS FakeUbuntuApplicationQml |
1196 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/Ubuntu/Application |
1197 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/Ubuntu/Application |
1198 | ) |
1199 | |
1200 | install(FILES qmldir InputFilterArea.qml |
1201 | - DESTINATION ${SHELL_APP_DIR}/plugins/mocks/Ubuntu/Application |
1202 | + DESTINATION ${SHELL_PRIVATE_LIBDIR}/qml/mocks/Ubuntu/Application |
1203 | ) |
1204 | |
1205 | === modified file 'tests/mocks/Ubuntu/CMakeLists.txt' |
1206 | --- tests/mocks/Ubuntu/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1207 | +++ tests/mocks/Ubuntu/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1208 | @@ -1,1 +1,2 @@ |
1209 | add_subdirectory(Application) |
1210 | +add_subdirectory(ChewieUI) |
1211 | |
1212 | === renamed directory 'tests/qmltests/plugins/Ubuntu/ChewieUI' => 'tests/mocks/Ubuntu/ChewieUI' |
1213 | === renamed directory 'tests/qmltests/plugins/Unity' => 'tests/mocks/Unity' |
1214 | === modified file 'tests/qmltests/CMakeLists.txt' |
1215 | --- tests/qmltests/CMakeLists.txt 2013-06-19 08:30:17 +0000 |
1216 | +++ tests/qmltests/CMakeLists.txt 2013-06-28 14:53:52 +0000 |
1217 | @@ -1,12 +1,11 @@ |
1218 | # add_qml_test macro |
1219 | include(QmlTest) |
1220 | |
1221 | -add_subdirectory(plugins) |
1222 | add_subdirectory(Components) |
1223 | |
1224 | set(qmltest_DEFAULT_IMPORT_PATHS |
1225 | - ${CMAKE_CURRENT_BINARY_DIR}/plugins |
1226 | ${CMAKE_BINARY_DIR}/tests/utils/modules |
1227 | + ${CMAKE_BINARY_DIR}/tests/mocks |
1228 | ) |
1229 | |
1230 | set(qmltest_DEFAULT_TARGETS qmlunittests) |
1231 | @@ -44,22 +43,22 @@ |
1232 | add_qml_test(Dash DashContent IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS}) |
1233 | add_qml_test(Dash DashPreview) |
1234 | add_qml_test(Dash GenericScopeView IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS}) |
1235 | -add_qml_test(Dash ScopeView IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${CMAKE_CURRENT_BINARY_DIR}/plugins) |
1236 | +add_qml_test(Dash ScopeView IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS}) |
1237 | add_qml_test(Dash FilterGrids IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/plugins ${CMAKE_CURRENT_SOURCE_DIR}/plugins |
1238 | ${CMAKE_BINARY_DIR}/tests/mocks) |
1239 | add_qml_test(Dash/Apps RunningApplicationsGrid IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/tests/mocks) |
1240 | -add_qml_test(Greeter Lockscreen IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/plugins ${CMAKE_BINARY_DIR}/tests/mocks |
1241 | +add_qml_test(Greeter Lockscreen IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS} |
1242 | PROPERTIES ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/tests/mocks/LightDM/full") |
1243 | -add_qml_test(Greeter Tablet IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/plugins ${CMAKE_BINARY_DIR}/tests/mocks |
1244 | +add_qml_test(Greeter Tablet IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS} |
1245 | ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/tests/mocks/LightDM/full") |
1246 | -add_qml_test(Greeter Phone IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/plugins ${CMAKE_BINARY_DIR}/tests/mocks |
1247 | +add_qml_test(Greeter Phone IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS} |
1248 | ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/tests/mocks/LightDM/single") |
1249 | -add_qml_test(Greeter Infographics IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_BINARY_DIR}/plugins ${CMAKE_BINARY_DIR}/tests/mocks |
1250 | +add_qml_test(Greeter Infographics IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS} |
1251 | ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/tests/mocks/LightDM/full") |
1252 | add_qml_test(Hud Hud) |
1253 | add_qml_test(Hud Result) |
1254 | add_qml_test(Launcher Launcher IMPORT_PATHS ${CMAKE_BINARY_DIR}/plugins ${qmltest_DEFAULT_IMPORT_PATHS}) |
1255 | -add_qml_test(Notifications Notifications IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_CURRENT_SOURCE_DIR}/plugins) |
1256 | +add_qml_test(Notifications Notifications IMPORT_PATHS ${qmltest_DEFAULT_IMPORT_PATHS} ${CMAKE_SOURCE_DIR}/tests/mocks) |
1257 | add_qml_test(Panel IndicatorRow) |
1258 | add_qml_test(Panel Indicators) |
1259 | add_qml_test(Panel MenuContent) |
1260 | |
1261 | === removed directory 'tests/qmltests/plugins' |
1262 | === removed file 'tests/qmltests/plugins/CMakeLists.txt' |
1263 | --- tests/qmltests/plugins/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1264 | +++ tests/qmltests/plugins/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
1265 | @@ -1,3 +0,0 @@ |
1266 | -add_subdirectory(HudClient) |
1267 | -add_subdirectory(Ubuntu) |
1268 | -add_subdirectory(Unity) |
1269 | |
1270 | === removed directory 'tests/qmltests/plugins/Dee' |
1271 | === removed file 'tests/qmltests/plugins/Dee/DeeVariantText.qml' |
1272 | --- tests/qmltests/plugins/Dee/DeeVariantText.qml 2013-06-05 22:03:08 +0000 |
1273 | +++ tests/qmltests/plugins/Dee/DeeVariantText.qml 1970-01-01 00:00:00 +0000 |
1274 | @@ -1,22 +0,0 @@ |
1275 | -/* |
1276 | - * Copyright (C) 2013 Canonical, Ltd. |
1277 | - * |
1278 | - * This program is free software; you can redistribute it and/or modify |
1279 | - * it under the terms of the GNU General Public License as published by |
1280 | - * the Free Software Foundation; version 3. |
1281 | - * |
1282 | - * This program is distributed in the hope that it will be useful, |
1283 | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
1284 | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
1285 | - * GNU General Public License for more details. |
1286 | - * |
1287 | - * You should have received a copy of the GNU General Public License |
1288 | - * along with this program. If not, see <http://www.gnu.org/licenses/>. |
1289 | - */ |
1290 | - |
1291 | -import QtQuick 2.0 |
1292 | - |
1293 | -Item { |
1294 | - property variant value |
1295 | - property string text |
1296 | -} |
1297 | |
1298 | === removed file 'tests/qmltests/plugins/Dee/qmldir' |
1299 | --- tests/qmltests/plugins/Dee/qmldir 2013-06-05 22:03:08 +0000 |
1300 | +++ tests/qmltests/plugins/Dee/qmldir 1970-01-01 00:00:00 +0000 |
1301 | @@ -1,3 +0,0 @@ |
1302 | -module Dee |
1303 | - |
1304 | -DeeVariantText 3.0 DeeVariantText.qml |
1305 | |
1306 | === removed directory 'tests/qmltests/plugins/Ubuntu' |
1307 | === removed file 'tests/qmltests/plugins/Ubuntu/CMakeLists.txt' |
1308 | --- tests/qmltests/plugins/Ubuntu/CMakeLists.txt 2013-06-05 22:03:08 +0000 |
1309 | +++ tests/qmltests/plugins/Ubuntu/CMakeLists.txt 1970-01-01 00:00:00 +0000 |
1310 | @@ -1,1 +0,0 @@ |
1311 | -add_subdirectory(ChewieUI) |
setting as WIP as Saviq needs to do some upstream changes