Merge lp:~bzoltan/qtcreator-plugin-autopilot/packaging into lp:~akiva/qtcreator-plugin-autopilot/trunk

Proposed by Zoltan Balogh on 2015-03-26
Status: Merged
Merge reported by: Akiva
Merged at revision: not available
Proposed branch: lp:~bzoltan/qtcreator-plugin-autopilot/packaging
Merge into: lp:~akiva/qtcreator-plugin-autopilot/trunk
Diff against target: 843 lines (+688/-58)
16 files modified
LICENSE.LGPL (+504/-0)
autopilot.pro (+0/-56)
debian/changelog (+9/-0)
debian/compat (+1/-0)
debian/control (+41/-0)
debian/copyright (+24/-0)
debian/qtcreator-plugin-autopilot-dev.install (+1/-0)
debian/qtcreator-plugin-autopilot.install (+2/-0)
debian/rules (+42/-0)
debian/shlibs.local (+12/-0)
qtcreator-plugin-autopilot.pro (+2/-0)
src/autopilot/Autopilot.pluginspec.in (+1/-1)
src/autopilot/autopilot.pro (+14/-0)
src/autopilot/autopilot_dependencies.pri (+4/-0)
src/autopilot/autopilot_global.h (+1/-1)
src/plugin.pri (+30/-0)
To merge this branch: bzr merge lp:~bzoltan/qtcreator-plugin-autopilot/packaging
Reviewer Review Type Date Requested Status
Akiva 2015-03-26 Approve on 2015-03-26
Review via email: mp+254238@code.launchpad.net

Commit Message

All kind of changes to make it look like a real plugin package

Description of the Change

All kind of changes to make it look like a real plugin package

To post a comment you must log in.
Akiva (akiva) wrote :

Problem: trying to build project file if autopilot plugin is installed, results in a segfault.

This might be the issue: http://i.imgur.com/RqnK0XW.png

Akiva (akiva) wrote :

Well done. Fixed segfault, should run fine now.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file 'LICENSE.LGPL'
2--- LICENSE.LGPL 1970-01-01 00:00:00 +0000
3+++ LICENSE.LGPL 2015-03-26 12:53:49 +0000
4@@ -0,0 +1,504 @@
5+ GNU LESSER GENERAL PUBLIC LICENSE
6+ Version 2.1, February 1999
7+
8+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
9+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
10+ Everyone is permitted to copy and distribute verbatim copies
11+ of this license document, but changing it is not allowed.
12+
13+[This is the first released version of the Lesser GPL. It also counts
14+ as the successor of the GNU Library Public License, version 2, hence
15+ the version number 2.1.]
16+
17+ Preamble
18+
19+ The licenses for most software are designed to take away your
20+freedom to share and change it. By contrast, the GNU General Public
21+Licenses are intended to guarantee your freedom to share and change
22+free software--to make sure the software is free for all its users.
23+
24+ This license, the Lesser General Public License, applies to some
25+specially designated software packages--typically libraries--of the
26+Free Software Foundation and other authors who decide to use it. You
27+can use it too, but we suggest you first think carefully about whether
28+this license or the ordinary General Public License is the better
29+strategy to use in any particular case, based on the explanations below.
30+
31+ When we speak of free software, we are referring to freedom of use,
32+not price. Our General Public Licenses are designed to make sure that
33+you have the freedom to distribute copies of free software (and charge
34+for this service if you wish); that you receive source code or can get
35+it if you want it; that you can change the software and use pieces of
36+it in new free programs; and that you are informed that you can do
37+these things.
38+
39+ To protect your rights, we need to make restrictions that forbid
40+distributors to deny you these rights or to ask you to surrender these
41+rights. These restrictions translate to certain responsibilities for
42+you if you distribute copies of the library or if you modify it.
43+
44+ For example, if you distribute copies of the library, whether gratis
45+or for a fee, you must give the recipients all the rights that we gave
46+you. You must make sure that they, too, receive or can get the source
47+code. If you link other code with the library, you must provide
48+complete object files to the recipients, so that they can relink them
49+with the library after making changes to the library and recompiling
50+it. And you must show them these terms so they know their rights.
51+
52+ We protect your rights with a two-step method: (1) we copyright the
53+library, and (2) we offer you this license, which gives you legal
54+permission to copy, distribute and/or modify the library.
55+
56+ To protect each distributor, we want to make it very clear that
57+there is no warranty for the free library. Also, if the library is
58+modified by someone else and passed on, the recipients should know
59+that what they have is not the original version, so that the original
60+author's reputation will not be affected by problems that might be
61+introduced by others.
62+
63
64+ Finally, software patents pose a constant threat to the existence of
65+any free program. We wish to make sure that a company cannot
66+effectively restrict the users of a free program by obtaining a
67+restrictive license from a patent holder. Therefore, we insist that
68+any patent license obtained for a version of the library must be
69+consistent with the full freedom of use specified in this license.
70+
71+ Most GNU software, including some libraries, is covered by the
72+ordinary GNU General Public License. This license, the GNU Lesser
73+General Public License, applies to certain designated libraries, and
74+is quite different from the ordinary General Public License. We use
75+this license for certain libraries in order to permit linking those
76+libraries into non-free programs.
77+
78+ When a program is linked with a library, whether statically or using
79+a shared library, the combination of the two is legally speaking a
80+combined work, a derivative of the original library. The ordinary
81+General Public License therefore permits such linking only if the
82+entire combination fits its criteria of freedom. The Lesser General
83+Public License permits more lax criteria for linking other code with
84+the library.
85+
86+ We call this license the "Lesser" General Public License because it
87+does Less to protect the user's freedom than the ordinary General
88+Public License. It also provides other free software developers Less
89+of an advantage over competing non-free programs. These disadvantages
90+are the reason we use the ordinary General Public License for many
91+libraries. However, the Lesser license provides advantages in certain
92+special circumstances.
93+
94+ For example, on rare occasions, there may be a special need to
95+encourage the widest possible use of a certain library, so that it becomes
96+a de-facto standard. To achieve this, non-free programs must be
97+allowed to use the library. A more frequent case is that a free
98+library does the same job as widely used non-free libraries. In this
99+case, there is little to gain by limiting the free library to free
100+software only, so we use the Lesser General Public License.
101+
102+ In other cases, permission to use a particular library in non-free
103+programs enables a greater number of people to use a large body of
104+free software. For example, permission to use the GNU C Library in
105+non-free programs enables many more people to use the whole GNU
106+operating system, as well as its variant, the GNU/Linux operating
107+system.
108+
109+ Although the Lesser General Public License is Less protective of the
110+users' freedom, it does ensure that the user of a program that is
111+linked with the Library has the freedom and the wherewithal to run
112+that program using a modified version of the Library.
113+
114+ The precise terms and conditions for copying, distribution and
115+modification follow. Pay close attention to the difference between a
116+"work based on the library" and a "work that uses the library". The
117+former contains code derived from the library, whereas the latter must
118+be combined with the library in order to run.
119+
120
121+ GNU LESSER GENERAL PUBLIC LICENSE
122+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
123+
124+ 0. This License Agreement applies to any software library or other
125+program which contains a notice placed by the copyright holder or
126+other authorized party saying it may be distributed under the terms of
127+this Lesser General Public License (also called "this License").
128+Each licensee is addressed as "you".
129+
130+ A "library" means a collection of software functions and/or data
131+prepared so as to be conveniently linked with application programs
132+(which use some of those functions and data) to form executables.
133+
134+ The "Library", below, refers to any such software library or work
135+which has been distributed under these terms. A "work based on the
136+Library" means either the Library or any derivative work under
137+copyright law: that is to say, a work containing the Library or a
138+portion of it, either verbatim or with modifications and/or translated
139+straightforwardly into another language. (Hereinafter, translation is
140+included without limitation in the term "modification".)
141+
142+ "Source code" for a work means the preferred form of the work for
143+making modifications to it. For a library, complete source code means
144+all the source code for all modules it contains, plus any associated
145+interface definition files, plus the scripts used to control compilation
146+and installation of the library.
147+
148+ Activities other than copying, distribution and modification are not
149+covered by this License; they are outside its scope. The act of
150+running a program using the Library is not restricted, and output from
151+such a program is covered only if its contents constitute a work based
152+on the Library (independent of the use of the Library in a tool for
153+writing it). Whether that is true depends on what the Library does
154+and what the program that uses the Library does.
155+
156+ 1. You may copy and distribute verbatim copies of the Library's
157+complete source code as you receive it, in any medium, provided that
158+you conspicuously and appropriately publish on each copy an
159+appropriate copyright notice and disclaimer of warranty; keep intact
160+all the notices that refer to this License and to the absence of any
161+warranty; and distribute a copy of this License along with the
162+Library.
163+
164+ You may charge a fee for the physical act of transferring a copy,
165+and you may at your option offer warranty protection in exchange for a
166+fee.
167+
168
169+ 2. You may modify your copy or copies of the Library or any portion
170+of it, thus forming a work based on the Library, and copy and
171+distribute such modifications or work under the terms of Section 1
172+above, provided that you also meet all of these conditions:
173+
174+ a) The modified work must itself be a software library.
175+
176+ b) You must cause the files modified to carry prominent notices
177+ stating that you changed the files and the date of any change.
178+
179+ c) You must cause the whole of the work to be licensed at no
180+ charge to all third parties under the terms of this License.
181+
182+ d) If a facility in the modified Library refers to a function or a
183+ table of data to be supplied by an application program that uses
184+ the facility, other than as an argument passed when the facility
185+ is invoked, then you must make a good faith effort to ensure that,
186+ in the event an application does not supply such function or
187+ table, the facility still operates, and performs whatever part of
188+ its purpose remains meaningful.
189+
190+ (For example, a function in a library to compute square roots has
191+ a purpose that is entirely well-defined independent of the
192+ application. Therefore, Subsection 2d requires that any
193+ application-supplied function or table used by this function must
194+ be optional: if the application does not supply it, the square
195+ root function must still compute square roots.)
196+
197+These requirements apply to the modified work as a whole. If
198+identifiable sections of that work are not derived from the Library,
199+and can be reasonably considered independent and separate works in
200+themselves, then this License, and its terms, do not apply to those
201+sections when you distribute them as separate works. But when you
202+distribute the same sections as part of a whole which is a work based
203+on the Library, the distribution of the whole must be on the terms of
204+this License, whose permissions for other licensees extend to the
205+entire whole, and thus to each and every part regardless of who wrote
206+it.
207+
208+Thus, it is not the intent of this section to claim rights or contest
209+your rights to work written entirely by you; rather, the intent is to
210+exercise the right to control the distribution of derivative or
211+collective works based on the Library.
212+
213+In addition, mere aggregation of another work not based on the Library
214+with the Library (or with a work based on the Library) on a volume of
215+a storage or distribution medium does not bring the other work under
216+the scope of this License.
217+
218+ 3. You may opt to apply the terms of the ordinary GNU General Public
219+License instead of this License to a given copy of the Library. To do
220+this, you must alter all the notices that refer to this License, so
221+that they refer to the ordinary GNU General Public License, version 2,
222+instead of to this License. (If a newer version than version 2 of the
223+ordinary GNU General Public License has appeared, then you can specify
224+that version instead if you wish.) Do not make any other change in
225+these notices.
226+
227
228+ Once this change is made in a given copy, it is irreversible for
229+that copy, so the ordinary GNU General Public License applies to all
230+subsequent copies and derivative works made from that copy.
231+
232+ This option is useful when you wish to copy part of the code of
233+the Library into a program that is not a library.
234+
235+ 4. You may copy and distribute the Library (or a portion or
236+derivative of it, under Section 2) in object code or executable form
237+under the terms of Sections 1 and 2 above provided that you accompany
238+it with the complete corresponding machine-readable source code, which
239+must be distributed under the terms of Sections 1 and 2 above on a
240+medium customarily used for software interchange.
241+
242+ If distribution of object code is made by offering access to copy
243+from a designated place, then offering equivalent access to copy the
244+source code from the same place satisfies the requirement to
245+distribute the source code, even though third parties are not
246+compelled to copy the source along with the object code.
247+
248+ 5. A program that contains no derivative of any portion of the
249+Library, but is designed to work with the Library by being compiled or
250+linked with it, is called a "work that uses the Library". Such a
251+work, in isolation, is not a derivative work of the Library, and
252+therefore falls outside the scope of this License.
253+
254+ However, linking a "work that uses the Library" with the Library
255+creates an executable that is a derivative of the Library (because it
256+contains portions of the Library), rather than a "work that uses the
257+library". The executable is therefore covered by this License.
258+Section 6 states terms for distribution of such executables.
259+
260+ When a "work that uses the Library" uses material from a header file
261+that is part of the Library, the object code for the work may be a
262+derivative work of the Library even though the source code is not.
263+Whether this is true is especially significant if the work can be
264+linked without the Library, or if the work is itself a library. The
265+threshold for this to be true is not precisely defined by law.
266+
267+ If such an object file uses only numerical parameters, data
268+structure layouts and accessors, and small macros and small inline
269+functions (ten lines or less in length), then the use of the object
270+file is unrestricted, regardless of whether it is legally a derivative
271+work. (Executables containing this object code plus portions of the
272+Library will still fall under Section 6.)
273+
274+ Otherwise, if the work is a derivative of the Library, you may
275+distribute the object code for the work under the terms of Section 6.
276+Any executables containing that work also fall under Section 6,
277+whether or not they are linked directly with the Library itself.
278+
279
280+ 6. As an exception to the Sections above, you may also combine or
281+link a "work that uses the Library" with the Library to produce a
282+work containing portions of the Library, and distribute that work
283+under terms of your choice, provided that the terms permit
284+modification of the work for the customer's own use and reverse
285+engineering for debugging such modifications.
286+
287+ You must give prominent notice with each copy of the work that the
288+Library is used in it and that the Library and its use are covered by
289+this License. You must supply a copy of this License. If the work
290+during execution displays copyright notices, you must include the
291+copyright notice for the Library among them, as well as a reference
292+directing the user to the copy of this License. Also, you must do one
293+of these things:
294+
295+ a) Accompany the work with the complete corresponding
296+ machine-readable source code for the Library including whatever
297+ changes were used in the work (which must be distributed under
298+ Sections 1 and 2 above); and, if the work is an executable linked
299+ with the Library, with the complete machine-readable "work that
300+ uses the Library", as object code and/or source code, so that the
301+ user can modify the Library and then relink to produce a modified
302+ executable containing the modified Library. (It is understood
303+ that the user who changes the contents of definitions files in the
304+ Library will not necessarily be able to recompile the application
305+ to use the modified definitions.)
306+
307+ b) Use a suitable shared library mechanism for linking with the
308+ Library. A suitable mechanism is one that (1) uses at run time a
309+ copy of the library already present on the user's computer system,
310+ rather than copying library functions into the executable, and (2)
311+ will operate properly with a modified version of the library, if
312+ the user installs one, as long as the modified version is
313+ interface-compatible with the version that the work was made with.
314+
315+ c) Accompany the work with a written offer, valid for at
316+ least three years, to give the same user the materials
317+ specified in Subsection 6a, above, for a charge no more
318+ than the cost of performing this distribution.
319+
320+ d) If distribution of the work is made by offering access to copy
321+ from a designated place, offer equivalent access to copy the above
322+ specified materials from the same place.
323+
324+ e) Verify that the user has already received a copy of these
325+ materials or that you have already sent this user a copy.
326+
327+ For an executable, the required form of the "work that uses the
328+Library" must include any data and utility programs needed for
329+reproducing the executable from it. However, as a special exception,
330+the materials to be distributed need not include anything that is
331+normally distributed (in either source or binary form) with the major
332+components (compiler, kernel, and so on) of the operating system on
333+which the executable runs, unless that component itself accompanies
334+the executable.
335+
336+ It may happen that this requirement contradicts the license
337+restrictions of other proprietary libraries that do not normally
338+accompany the operating system. Such a contradiction means you cannot
339+use both them and the Library together in an executable that you
340+distribute.
341+
342
343+ 7. You may place library facilities that are a work based on the
344+Library side-by-side in a single library together with other library
345+facilities not covered by this License, and distribute such a combined
346+library, provided that the separate distribution of the work based on
347+the Library and of the other library facilities is otherwise
348+permitted, and provided that you do these two things:
349+
350+ a) Accompany the combined library with a copy of the same work
351+ based on the Library, uncombined with any other library
352+ facilities. This must be distributed under the terms of the
353+ Sections above.
354+
355+ b) Give prominent notice with the combined library of the fact
356+ that part of it is a work based on the Library, and explaining
357+ where to find the accompanying uncombined form of the same work.
358+
359+ 8. You may not copy, modify, sublicense, link with, or distribute
360+the Library except as expressly provided under this License. Any
361+attempt otherwise to copy, modify, sublicense, link with, or
362+distribute the Library is void, and will automatically terminate your
363+rights under this License. However, parties who have received copies,
364+or rights, from you under this License will not have their licenses
365+terminated so long as such parties remain in full compliance.
366+
367+ 9. You are not required to accept this License, since you have not
368+signed it. However, nothing else grants you permission to modify or
369+distribute the Library or its derivative works. These actions are
370+prohibited by law if you do not accept this License. Therefore, by
371+modifying or distributing the Library (or any work based on the
372+Library), you indicate your acceptance of this License to do so, and
373+all its terms and conditions for copying, distributing or modifying
374+the Library or works based on it.
375+
376+ 10. Each time you redistribute the Library (or any work based on the
377+Library), the recipient automatically receives a license from the
378+original licensor to copy, distribute, link with or modify the Library
379+subject to these terms and conditions. You may not impose any further
380+restrictions on the recipients' exercise of the rights granted herein.
381+You are not responsible for enforcing compliance by third parties with
382+this License.
383+
384
385+ 11. If, as a consequence of a court judgment or allegation of patent
386+infringement or for any other reason (not limited to patent issues),
387+conditions are imposed on you (whether by court order, agreement or
388+otherwise) that contradict the conditions of this License, they do not
389+excuse you from the conditions of this License. If you cannot
390+distribute so as to satisfy simultaneously your obligations under this
391+License and any other pertinent obligations, then as a consequence you
392+may not distribute the Library at all. For example, if a patent
393+license would not permit royalty-free redistribution of the Library by
394+all those who receive copies directly or indirectly through you, then
395+the only way you could satisfy both it and this License would be to
396+refrain entirely from distribution of the Library.
397+
398+If any portion of this section is held invalid or unenforceable under any
399+particular circumstance, the balance of the section is intended to apply,
400+and the section as a whole is intended to apply in other circumstances.
401+
402+It is not the purpose of this section to induce you to infringe any
403+patents or other property right claims or to contest validity of any
404+such claims; this section has the sole purpose of protecting the
405+integrity of the free software distribution system which is
406+implemented by public license practices. Many people have made
407+generous contributions to the wide range of software distributed
408+through that system in reliance on consistent application of that
409+system; it is up to the author/donor to decide if he or she is willing
410+to distribute software through any other system and a licensee cannot
411+impose that choice.
412+
413+This section is intended to make thoroughly clear what is believed to
414+be a consequence of the rest of this License.
415+
416+ 12. If the distribution and/or use of the Library is restricted in
417+certain countries either by patents or by copyrighted interfaces, the
418+original copyright holder who places the Library under this License may add
419+an explicit geographical distribution limitation excluding those countries,
420+so that distribution is permitted only in or among countries not thus
421+excluded. In such case, this License incorporates the limitation as if
422+written in the body of this License.
423+
424+ 13. The Free Software Foundation may publish revised and/or new
425+versions of the Lesser General Public License from time to time.
426+Such new versions will be similar in spirit to the present version,
427+but may differ in detail to address new problems or concerns.
428+
429+Each version is given a distinguishing version number. If the Library
430+specifies a version number of this License which applies to it and
431+"any later version", you have the option of following the terms and
432+conditions either of that version or of any later version published by
433+the Free Software Foundation. If the Library does not specify a
434+license version number, you may choose any version ever published by
435+the Free Software Foundation.
436+
437
438+ 14. If you wish to incorporate parts of the Library into other free
439+programs whose distribution conditions are incompatible with these,
440+write to the author to ask for permission. For software which is
441+copyrighted by the Free Software Foundation, write to the Free
442+Software Foundation; we sometimes make exceptions for this. Our
443+decision will be guided by the two goals of preserving the free status
444+of all derivatives of our free software and of promoting the sharing
445+and reuse of software generally.
446+
447+ NO WARRANTY
448+
449+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
450+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
451+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
452+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
453+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
454+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
455+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
456+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
457+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
458+
459+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
460+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
461+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
462+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
463+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
464+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
465+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
466+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
467+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
468+DAMAGES.
469+
470+ END OF TERMS AND CONDITIONS
471+
472
473+ How to Apply These Terms to Your New Libraries
474+
475+ If you develop a new library, and you want it to be of the greatest
476+possible use to the public, we recommend making it free software that
477+everyone can redistribute and change. You can do so by permitting
478+redistribution under these terms (or, alternatively, under the terms of the
479+ordinary General Public License).
480+
481+ To apply these terms, attach the following notices to the library. It is
482+safest to attach them to the start of each source file to most effectively
483+convey the exclusion of warranty; and each file should have at least the
484+"copyright" line and a pointer to where the full notice is found.
485+
486+ <one line to give the library's name and a brief idea of what it does.>
487+ Copyright (C) <year> <name of author>
488+
489+ This library is free software; you can redistribute it and/or
490+ modify it under the terms of the GNU Lesser General Public
491+ License as published by the Free Software Foundation; either
492+ version 2.1 of the License, or (at your option) any later version.
493+
494+ This library is distributed in the hope that it will be useful,
495+ but WITHOUT ANY WARRANTY; without even the implied warranty of
496+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
497+ Lesser General Public License for more details.
498+
499+ You should have received a copy of the GNU Lesser General Public
500+ License along with this library; if not, write to the Free Software
501+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
502+
503+Also add information on how to contact you by electronic and paper mail.
504+
505+You should also get your employer (if you work as a programmer) or your
506+school, if any, to sign a "copyright disclaimer" for the library, if
507+necessary. Here is a sample; alter the names:
508+
509+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
510+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
511+
512+ <signature of Ty Coon>, 1 April 1990
513+ Ty Coon, President of Vice
514+
515+That's all there is to it!
516+
517+
518
519=== removed file 'autopilot.pro'
520--- autopilot.pro 2015-02-03 14:37:01 +0000
521+++ autopilot.pro 1970-01-01 00:00:00 +0000
522@@ -1,56 +0,0 @@
523-DEFINES += AUTOPILOT_LIBRARY
524-
525-# Autopilot files
526-
527-SOURCES += autopilotplugin.cpp \
528- autopilotrunconfiguration.cpp
529-
530-HEADERS += autopilotplugin.h \
531- autopilot_global.h \
532- autopilotconstants.h \
533- autopilotrunconfiguration.h
534-
535-LIBS += -L/usr/lib/x86_64-linux-gnu/qtcreator \
536- -L/usr/lib/x86_64-linux-gnu/qtcreator/plugins/QtProject
537-LIBS += -L../projectexplorer \
538- -lProjectExplorer
539-QT += network
540-
541-# Qt Creator linking
542-
543-## set the QTC_SOURCE environment variable to override the setting here
544-QTCREATOR_SOURCES = $$(QTC_SOURCE)
545-isEmpty(QTCREATOR_SOURCES):QTCREATOR_SOURCES=/usr/src/qtcreator
546-
547-## set the QTC_BUILD environment variable to override the setting here
548-IDE_BUILD_TREE = $$(QTC_BUILD)
549-isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=/tmp
550-
551-## uncomment to build plugin into user config directory
552-## <localappdata>/plugins/<ideversion>
553-## where <localappdata> is e.g.
554-## "%LOCALAPPDATA%\QtProject\qtcreator" on Windows Vista and later
555-## "$XDG_DATA_HOME/data/QtProject/qtcreator" or "~/.local/share/data/QtProject/qtcreator" on Linux
556-## "~/Library/Application Support/QtProject/Qt Creator" on Mac
557-USE_USER_DESTDIR = yes
558-
559-PROVIDER = Ubuntu
560-
561-###### If the plugin can be depended upon by other plugins, this code needs to be outsourced to
562-###### <dirname>_dependencies.pri, where <dirname> is the name of the directory containing the
563-###### plugin's sources.
564-
565-QTC_PLUGIN_NAME = Autopilot
566-QTC_LIB_DEPENDS += \
567- # nothing here at this time
568-
569-QTC_PLUGIN_DEPENDS += \
570- coreplugin
571-
572-QTC_PLUGIN_RECOMMENDS += \
573- # optional plugin dependencies. nothing here at this time
574-
575-###### End _dependencies.pri contents ######
576-
577-include($$QTCREATOR_SOURCES/src/qtcreatorplugin.pri)
578-
579
580=== added directory 'debian'
581=== added file 'debian/changelog'
582--- debian/changelog 1970-01-01 00:00:00 +0000
583+++ debian/changelog 2015-03-26 12:53:49 +0000
584@@ -0,0 +1,9 @@
585+qtcreator-plugin-autopilot (3.1.1+15.04.20150226-0ubuntu1~0vivid1) vivid; urgency=medium
586+
587+ [ Zoltán Balogh ]
588+ * Packaging and restructuing
589+
590+ [ Akiva Abraham ]
591+ * Initial version of the Autopolot plugin for QtCreator
592+
593+ -- Zoltán Balogh <zoltan@bakter.hu> Thu, 26 Mar 2015 10:31:07 +0200
594
595=== added file 'debian/compat'
596--- debian/compat 1970-01-01 00:00:00 +0000
597+++ debian/compat 2015-03-26 12:53:49 +0000
598@@ -0,0 +1,1 @@
599+9
600
601=== added file 'debian/control'
602--- debian/control 1970-01-01 00:00:00 +0000
603+++ debian/control 2015-03-26 12:53:49 +0000
604@@ -0,0 +1,41 @@
605+Source: qtcreator-plugin-autopilot
606+Section: devel
607+Priority: optional
608+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
609+Build-Depends: debhelper (>= 9),
610+ libqt5webkit5-dev,
611+ libqt5widgets5 (>= 5.3.0~),
612+ libsqlite3-dev,
613+ qt5-qmake (>= 5.3.0~),
614+ qtcreator-dev (>= 3.1.0),
615+ qttools5-dev-tools (>= 5.3.0~),
616+ qtbase5-private-dev (>= 5.3.0~),
617+ qtxmlpatterns5-dev-tools,
618+Standards-Version: 3.9.4
619+Homepage: https://launchpad.net/qtcreator-plugin-ubuntu
620+# If you aren't a member of ~ubuntu-sdk-team but need to upload packaging changes,
621+# just go ahead. ~ubuntu-sdk-team will notice and sync up the code again.
622+Vcs-Bzr: https://code.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-ubuntu/trunk
623+XS-Testsuite: autopkgtest
624+
625+Package: qtcreator-plugin-autopilot
626+Architecture: any
627+Depends: ${shlibs:Depends},
628+ ${misc:Depends},
629+Description: Autopilot plugin for Qt Creator IDE
630+ Qt Creator is a lightweight, cross-platform integrated development
631+ environment (IDE) designed to make development with the Qt application
632+ framework even faster and easier.
633+ .
634+ This package contains the Autopilot plugin for Qt Creator, enabling
635+ automatic functional testing of applications using the Autopilot.
636+
637+Package: qtcreator-plugin-autopilot-dev
638+Architecture: any
639+Depends: qtcreator-plugin-autopilot (= ${binary:Version}),
640+ ${misc:Depends},
641+Replaces: qtcreator-dev (<= 2.8.2)
642+Breaks: qtcreator-dev (<= 2.8.2)
643+Description: Qt Creator autopilot plugin development files
644+ This package contains the developer files for Qt
645+ Creator autopilot plugin evelopment
646
647=== added file 'debian/copyright'
648--- debian/copyright 1970-01-01 00:00:00 +0000
649+++ debian/copyright 2015-03-26 12:53:49 +0000
650@@ -0,0 +1,24 @@
651+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
652+Upstream-Name: qtcreator-plugin-autopilot
653+Source: https://code.launchpad.net/~ubuntu-sdk-team/qtcreator-plugin-autopilot/trunk
654+
655+Files: *
656+Copyright: 2013 Canonical Ltd.
657+License: LGPL-2.1
658+
659+License: LGPL-2.1
660+ This program is free software; you can redistribute it and/or modify
661+ it under the terms of the GNU Lesser General Public License as published by
662+ the Free Software Foundation; version 2.1.
663+ .
664+ This program is distributed in the hope that it will be useful,
665+ but WITHOUT ANY WARRANTY; without even the implied warranty of
666+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
667+ GNU Lesser General Public License for more details.
668+ .
669+ You should have received a copy of the GNU Lesser General Public License
670+ along with this program. If not, see <http://www.gnu.org/licenses/>.
671+ .
672+ On Debian systems, the complete text of the GNU Lesser General Public
673+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
674+
675
676=== added file 'debian/qtcreator-plugin-autopilot-dev.install'
677--- debian/qtcreator-plugin-autopilot-dev.install 1970-01-01 00:00:00 +0000
678+++ debian/qtcreator-plugin-autopilot-dev.install 2015-03-26 12:53:49 +0000
679@@ -0,0 +1,1 @@
680+usr/src/qtcreator
681
682=== added file 'debian/qtcreator-plugin-autopilot.install'
683--- debian/qtcreator-plugin-autopilot.install 1970-01-01 00:00:00 +0000
684+++ debian/qtcreator-plugin-autopilot.install 2015-03-26 12:53:49 +0000
685@@ -0,0 +1,2 @@
686+usr/lib/*/qtcreator/plugins/Canonical/Autopilot.pluginspec
687+usr/lib/*/qtcreator/plugins/Canonical/libAutopilot.so
688
689=== added file 'debian/rules'
690--- debian/rules 1970-01-01 00:00:00 +0000
691+++ debian/rules 2015-03-26 12:53:49 +0000
692@@ -0,0 +1,42 @@
693+#!/usr/bin/make -f
694+
695+# Uncomment this to turn on verbose mode.
696+export DH_VERBOSE=1
697+
698+DPKG_EXPORT_BUILDFLAGS = yes
699+DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
700+include /usr/share/dpkg/default.mk
701+export QT_SELECT := qt5
702+export QTC_PLUGIN_DIRS=$(CURDIR)/src
703+
704+DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
705+
706+# -----------------------------------
707+
708+%:
709+ dh $@ --fail-missing --buildsystem=qmake --builddirectory=builddir
710+
711+override_dh_auto_configure:
712+ mkdir -p builddir
713+ cd builddir ; \
714+ qmake -recursive QMAKE_CFLAGS_RELEASE="$(QMAKE_CFLAGS_RELEASE)" \
715+ QMAKE_CFLAGS_DEBUG="$(QMAKE_CFLAGS_DEBUG)" \
716+ QMAKE_CXXFLAGS_RELEASE="$(QMAKE_CXXFLAGS_RELEASE)" \
717+ QMAKE_CXXFLAGS_DEBUG="$(QMAKE_CXXFLAGS_DEBUG)" \
718+ QMAKE_LFLAGS_RELEASE="$(QMAKE_LFLAGS_RELEASE)" \
719+ QMAKE_LFLAGS_DEBUG="$(QMAKE_LFLAGS_DEBUG)" \
720+ QMAKE_STRIP=: \
721+ PREFIX=/usr/ \
722+ $(CURDIR) $(GCC47) IDE_LIBRARY_BASENAME=lib/$(DEB_HOST_MULTIARCH) IDE_PACKAGE_MODE=1 USE_SYSTEM_BOTAN=1 $(extra_configure_opts)
723+
724+override_dh_auto_install:
725+ mkdir -p $(CURDIR)/debian/tmp/usr/bin
726+ #cp -r $(CURDIR)/share $(CURDIR)/debian/tmp/usr
727+ dh_auto_install --destdir=debian/tmp/usr
728+ mkdir -p debian/tmp/usr/src/qtcreator/
729+ find | egrep -v '^\.\/builddir|^\.\/doc|^\.\/share|^\.\/\.pc|^\.\/debian|^\.\/tests|^\.\/share'|grep "autopilot" | grep "\.pri\$$\|\.h\$$\|\.xsl\$$" | xargs -I{} cp --parents -r "{}" debian/tmp/usr/src/qtcreator
730+ mkdir -p debian/tmp/usr/src/qtcreator/src/plugins
731+ mv debian/tmp/usr/src/qtcreator/src/autopilot debian/tmp/usr/src/qtcreator/src/plugins/autopilot
732+
733+override_dh_shlibdeps:
734+ dh_shlibdeps -l/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator:/usr/lib/$(DEB_HOST_MULTIARCH)/qtcreator/plugins/QtProject
735
736=== added file 'debian/shlibs.local'
737--- debian/shlibs.local 1970-01-01 00:00:00 +0000
738+++ debian/shlibs.local 2015-03-26 12:53:49 +0000
739@@ -0,0 +1,12 @@
740+libAggregation 1 qtcreator (>= 3.0.1)
741+libCPlusPlus 1 qtcreator (>= 3.0.1)
742+libExtensionSystem 1 qtcreator (>= 3.0.1)
743+libGLSL 1 qtcreator (>= 3.0.1)
744+libLanguageUtils 1 qtcreator (>= 3.0.1)
745+libQmlDebug 1 qtcreator (>= 3.0.1)
746+libQmlEditorWidgets 1 qtcreator (>= 3.0.1)
747+libQmlJS 1 qtcreator (>= 3.0.1)
748+libQtcSsh 1 qtcreator (>= 3.0.1)
749+libUtils 1 qtcreator (>= 3.0.1)
750+libqbscore 1 qtcreator (>= 3.0.1)
751+libzeroconf 1 qtcreator (>= 3.0.1)
752
753=== added file 'qtcreator-plugin-autopilot.pro'
754--- qtcreator-plugin-autopilot.pro 1970-01-01 00:00:00 +0000
755+++ qtcreator-plugin-autopilot.pro 2015-03-26 12:53:49 +0000
756@@ -0,0 +1,2 @@
757+TEMPLATE = subdirs
758+SUBDIRS = src/autopilot
759
760=== added directory 'src'
761=== added directory 'src/autopilot'
762=== renamed file 'Autopilot.pluginspec.in' => 'src/autopilot/Autopilot.pluginspec.in'
763--- Autopilot.pluginspec.in 2015-01-12 12:44:23 +0000
764+++ src/autopilot/Autopilot.pluginspec.in 2015-03-26 12:53:49 +0000
765@@ -1,5 +1,5 @@
766 <plugin name=\"Autopilot\" version=\"0.0.1\" compatVersion=\"0.0.1\">
767- <vendor>Ubuntu</vendor>
768+ <vendor>Canonical</vendor>
769 <copyright>(C) akiva@linux.com</copyright>
770 <license>GPLv2</license>
771 <description>Put a short description of your plugin here</description>
772
773=== added file 'src/autopilot/autopilot.pro'
774--- src/autopilot/autopilot.pro 1970-01-01 00:00:00 +0000
775+++ src/autopilot/autopilot.pro 2015-03-26 12:53:49 +0000
776@@ -0,0 +1,14 @@
777+include(../plugin.pri)
778+
779+SOURCES += autopilotplugin.cpp \
780+ autopilotrunconfiguration.cpp
781+
782+HEADERS += autopilotplugin.h \
783+ autopilot_global.h \
784+ autopilotconstants.h \
785+ autopilotrunconfiguration.h
786+
787+QT *= network
788+
789+CONFIG += exceptions
790+
791
792=== added file 'src/autopilot/autopilot_dependencies.pri'
793--- src/autopilot/autopilot_dependencies.pri 1970-01-01 00:00:00 +0000
794+++ src/autopilot/autopilot_dependencies.pri 2015-03-26 12:53:49 +0000
795@@ -0,0 +1,4 @@
796+QTC_PLUGIN_NAME = Autopilot
797+QTC_PLUGIN_DEPENDS += \
798+ coreplugin \
799+ projectexplorer
800
801=== renamed file 'autopilot_global.h' => 'src/autopilot/autopilot_global.h'
802--- autopilot_global.h 2015-01-12 12:44:23 +0000
803+++ src/autopilot/autopilot_global.h 2015-03-26 12:53:49 +0000
804@@ -1,7 +1,7 @@
805 #ifndef AUTOPILOT_GLOBAL_H
806 #define AUTOPILOT_GLOBAL_H
807
808-#include <QtGlobal>
809+//#include <QtGlobal>
810
811 #if defined(AUTOPILOT_LIBRARY)
812 # define AUTOPILOTSHARED_EXPORT Q_DECL_EXPORT
813
814=== renamed file 'autopilotconstants.h' => 'src/autopilot/autopilotconstants.h'
815=== renamed file 'autopilotplugin.cpp' => 'src/autopilot/autopilotplugin.cpp'
816=== renamed file 'autopilotplugin.h' => 'src/autopilot/autopilotplugin.h'
817=== renamed file 'autopilotrunconfiguration.cpp' => 'src/autopilot/autopilotrunconfiguration.cpp'
818=== renamed file 'autopilotrunconfiguration.h' => 'src/autopilot/autopilotrunconfiguration.h'
819=== added file 'src/plugin.pri'
820--- src/plugin.pri 1970-01-01 00:00:00 +0000
821+++ src/plugin.pri 2015-03-26 12:53:49 +0000
822@@ -0,0 +1,30 @@
823+PROVIDER = Canonical
824+
825+## Where the Qt Creator headers are located at
826+QTCREATOR_SOURCES = $$(QTC_SOURCE)
827+isEmpty(QTCREATOR_SOURCES):QTCREATOR_SOURCES=/usr/src/qtcreator
828+
829+## Where our plugin will be compiled to
830+IDE_BUILD_TREE = $$(QTC_BUILD)
831+isEmpty(IDE_BUILD_TREE):IDE_BUILD_TREE=../../builddir
832+
833+UBUNTU_LOCAL_BUILD = $$(UBUNTU_QTC_PLUGIN_LOCALBUILD)
834+!isEmpty(UBUNTU_LOCAL_BUILD) {
835+ message("!!!!!!!!!!BUILDING LOCAL VERSION OF PLUGIN !!!!!!!!!!!!!!!!!!!")
836+ USE_USER_DESTDIR = yes
837+ PATHSTR = '\\"$${PWD}/../share/qtcreator\\"'
838+
839+ DEFINES += UBUNTU_RESOURCE_PATH_LOCAL=\"$${PATHSTR}\" UBUNTU_BUILD_LOCAL
840+}
841+
842+
843+include($$QTCREATOR_SOURCES/src/qtcreatorplugin.pri)
844+
845+INCLUDEPATH += $$QTCREATOR_SOURCES/src/
846+
847+## make sure the QtProject libs are available when building locally
848+!isEmpty(UBUNTU_LOCAL_BUILD) {
849+ LIBS += -L$$DESTDIRBASE/QtProject/$$DESTDIRAPPNAME/plugins/$$QTCREATOR_VERSION/QtProject
850+}
851+LIBS += -L$$[QT_INSTALL_LIBS]/qtcreator
852+LIBS += -L$$[QT_INSTALL_LIBS]/qtcreator/plugins/QtProject

Subscribers

People subscribed via source and target branches

to all changes: