Merge lp:~michihenning/unity-scopes-api/fix-1190807 into lp:unity-scopes-api

Proposed by Michi Henning
Status: Merged
Approved by: Michi Henning
Approved revision: 12
Merge reported by: Michi Henning
Merged at revision: not available
Proposed branch: lp:~michihenning/unity-scopes-api/fix-1190807
Merge into: lp:unity-scopes-api
Diff against target: 232 lines (+174/-4)
4 files modified
CMakeLists.txt (+1/-2)
COPYING.LIB (+165/-0)
debian/control (+3/-0)
src/libunity-scopes.pc.in (+5/-2)
To merge this branch: bzr merge lp:~michihenning/unity-scopes-api/fix-1190807
Reviewer Review Type Date Requested Status
Jussi Pakkanen (community) Approve
Review via email: mp+169347@code.launchpad.net

Commit message

Propagated changes from unity-api tree.
https://bugs.launchpad.net/unity-scopes-api/+bug/1190807

Description of the change

Propagated changes from unity-api tree.
https://bugs.launchpad.net/unity-scopes-api/+bug/1190807

To post a comment you must log in.
Revision history for this message
Jussi Pakkanen (jpakkane) wrote :

Yep. It would be nice to mention briefly what the changes were in the commit message, though.

review: Approve
Revision history for this message
Michi Henning (michihenning) wrote :

> Yep. It would be nice to mention briefly what the changes were in the commit
> message, though.

Good point, I will try to mend my ways... :-)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2013-06-14 00:54:02 +0000
3+++ CMakeLists.txt 2013-06-14 06:52:50 +0000
4@@ -120,10 +120,9 @@
5 set(LIBS ${UNITY_SCOPES_LIB} ${OTHER_LIBS})
6
7 # Library install prefix
8-set(LIB_INSTALL_PREFIX "lib" CACHE PATH "Destination install dir for the library")
9+set(LIB_INSTALL_PREFIX lib/${CMAKE_LIBRARY_ARCHITECTURE})
10
11 set(LIBDIR ${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_PREFIX} CACHE PATH "Destination install dir for the library")
12-set(libdir ${LIBDIR})
13
14 # Tests
15 include(CTest)
16
17=== added file 'COPYING.LIB'
18--- COPYING.LIB 1970-01-01 00:00:00 +0000
19+++ COPYING.LIB 2013-06-14 06:52:50 +0000
20@@ -0,0 +1,165 @@
21+ GNU LESSER GENERAL PUBLIC LICENSE
22+ Version 3, 29 June 2007
23+
24+ Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
25+ Everyone is permitted to copy and distribute verbatim copies
26+ of this license document, but changing it is not allowed.
27+
28+
29+ This version of the GNU Lesser General Public License incorporates
30+the terms and conditions of version 3 of the GNU General Public
31+License, supplemented by the additional permissions listed below.
32+
33+ 0. Additional Definitions.
34+
35+ As used herein, "this License" refers to version 3 of the GNU Lesser
36+General Public License, and the "GNU GPL" refers to version 3 of the GNU
37+General Public License.
38+
39+ "The Library" refers to a covered work governed by this License,
40+other than an Application or a Combined Work as defined below.
41+
42+ An "Application" is any work that makes use of an interface provided
43+by the Library, but which is not otherwise based on the Library.
44+Defining a subclass of a class defined by the Library is deemed a mode
45+of using an interface provided by the Library.
46+
47+ A "Combined Work" is a work produced by combining or linking an
48+Application with the Library. The particular version of the Library
49+with which the Combined Work was made is also called the "Linked
50+Version".
51+
52+ The "Minimal Corresponding Source" for a Combined Work means the
53+Corresponding Source for the Combined Work, excluding any source code
54+for portions of the Combined Work that, considered in isolation, are
55+based on the Application, and not on the Linked Version.
56+
57+ The "Corresponding Application Code" for a Combined Work means the
58+object code and/or source code for the Application, including any data
59+and utility programs needed for reproducing the Combined Work from the
60+Application, but excluding the System Libraries of the Combined Work.
61+
62+ 1. Exception to Section 3 of the GNU GPL.
63+
64+ You may convey a covered work under sections 3 and 4 of this License
65+without being bound by section 3 of the GNU GPL.
66+
67+ 2. Conveying Modified Versions.
68+
69+ If you modify a copy of the Library, and, in your modifications, a
70+facility refers to a function or data to be supplied by an Application
71+that uses the facility (other than as an argument passed when the
72+facility is invoked), then you may convey a copy of the modified
73+version:
74+
75+ a) under this License, provided that you make a good faith effort to
76+ ensure that, in the event an Application does not supply the
77+ function or data, the facility still operates, and performs
78+ whatever part of its purpose remains meaningful, or
79+
80+ b) under the GNU GPL, with none of the additional permissions of
81+ this License applicable to that copy.
82+
83+ 3. Object Code Incorporating Material from Library Header Files.
84+
85+ The object code form of an Application may incorporate material from
86+a header file that is part of the Library. You may convey such object
87+code under terms of your choice, provided that, if the incorporated
88+material is not limited to numerical parameters, data structure
89+layouts and accessors, or small macros, inline functions and templates
90+(ten or fewer lines in length), you do both of the following:
91+
92+ a) Give prominent notice with each copy of the object code that the
93+ Library is used in it and that the Library and its use are
94+ covered by this License.
95+
96+ b) Accompany the object code with a copy of the GNU GPL and this license
97+ document.
98+
99+ 4. Combined Works.
100+
101+ You may convey a Combined Work under terms of your choice that,
102+taken together, effectively do not restrict modification of the
103+portions of the Library contained in the Combined Work and reverse
104+engineering for debugging such modifications, if you also do each of
105+the following:
106+
107+ a) Give prominent notice with each copy of the Combined Work that
108+ the Library is used in it and that the Library and its use are
109+ covered by this License.
110+
111+ b) Accompany the Combined Work with a copy of the GNU GPL and this license
112+ document.
113+
114+ c) For a Combined Work that displays copyright notices during
115+ execution, include the copyright notice for the Library among
116+ these notices, as well as a reference directing the user to the
117+ copies of the GNU GPL and this license document.
118+
119+ d) Do one of the following:
120+
121+ 0) Convey the Minimal Corresponding Source under the terms of this
122+ License, and the Corresponding Application Code in a form
123+ suitable for, and under terms that permit, the user to
124+ recombine or relink the Application with a modified version of
125+ the Linked Version to produce a modified Combined Work, in the
126+ manner specified by section 6 of the GNU GPL for conveying
127+ Corresponding Source.
128+
129+ 1) Use a suitable shared library mechanism for linking with the
130+ Library. A suitable mechanism is one that (a) uses at run time
131+ a copy of the Library already present on the user's computer
132+ system, and (b) will operate properly with a modified version
133+ of the Library that is interface-compatible with the Linked
134+ Version.
135+
136+ e) Provide Installation Information, but only if you would otherwise
137+ be required to provide such information under section 6 of the
138+ GNU GPL, and only to the extent that such information is
139+ necessary to install and execute a modified version of the
140+ Combined Work produced by recombining or relinking the
141+ Application with a modified version of the Linked Version. (If
142+ you use option 4d0, the Installation Information must accompany
143+ the Minimal Corresponding Source and Corresponding Application
144+ Code. If you use option 4d1, you must provide the Installation
145+ Information in the manner specified by section 6 of the GNU GPL
146+ for conveying Corresponding Source.)
147+
148+ 5. Combined Libraries.
149+
150+ You may place library facilities that are a work based on the
151+Library side by side in a single library together with other library
152+facilities that are not Applications and are not covered by this
153+License, and convey such a combined library under terms of your
154+choice, if you do both of the following:
155+
156+ a) Accompany the combined library with a copy of the same work based
157+ on the Library, uncombined with any other library facilities,
158+ conveyed under the terms of this License.
159+
160+ b) Give prominent notice with the combined library that part of it
161+ is a work based on the Library, and explaining where to find the
162+ accompanying uncombined form of the same work.
163+
164+ 6. Revised Versions of the GNU Lesser General Public License.
165+
166+ The Free Software Foundation may publish revised and/or new versions
167+of the GNU Lesser General Public License from time to time. Such new
168+versions will be similar in spirit to the present version, but may
169+differ in detail to address new problems or concerns.
170+
171+ Each version is given a distinguishing version number. If the
172+Library as you received it specifies that a certain numbered version
173+of the GNU Lesser General Public License "or any later version"
174+applies to it, you have the option of following the terms and
175+conditions either of that published version or of any later version
176+published by the Free Software Foundation. If the Library as you
177+received it does not specify a version number of the GNU Lesser
178+General Public License, you may choose any version of the GNU Lesser
179+General Public License ever published by the Free Software Foundation.
180+
181+ If the Library as you received it specifies that a proxy can decide
182+whether future versions of the GNU Lesser General Public License shall
183+apply, that proxy's public statement of acceptance of any version is
184+permanent authorization for you to choose that version for the
185+Library.
186
187=== modified file 'debian/control'
188--- debian/control 2013-05-29 04:57:50 +0000
189+++ debian/control 2013-06-14 06:52:50 +0000
190@@ -17,6 +17,7 @@
191
192 Package: libunity-scopes0
193 Architecture: any
194+Multi-Arch: same
195 Pre-Depends: ${misc:Pre-Depends},
196 Depends: ${misc:Depends},
197 ${shlibs:Depends},
198@@ -26,6 +27,7 @@
199 Package: libunity-scopes-dev
200 Section: libdevel
201 Architecture: any
202+Multi-Arch: same
203 Depends: ${misc:Depends},
204 libunity-api0 (= ${binary:Version}),
205 Description: Header files for Unity scopes API
206@@ -34,6 +36,7 @@
207 Package: libunity-scopes-doc
208 Section: doc
209 Architecture: all
210+Multi-Arch: foreign
211 Depends: ${misc:Depends},
212 Description: Documentation for Unity scopes API
213 Library to integrate scopes with the Unity shell (documentation)
214
215=== modified file 'src/libunity-scopes.pc.in'
216--- src/libunity-scopes.pc.in 2013-06-12 22:14:34 +0000
217+++ src/libunity-scopes.pc.in 2013-06-14 06:52:50 +0000
218@@ -16,9 +16,12 @@
219 # Authored by: Michi Henning <michi.henning@canonical.com>
220 #
221
222+prefix=@CMAKE_INSTALL_PREFIX@
223+includedir=${prefix}/include
224+libdir=@LIBDIR@
225+
226 Name: lib@UNITY_SCOPES_LIB@
227 Description: Unity Scopes API library
228 Version: @UNITY_SCOPES_MAJOR@.@UNITY_SCOPES_MINOR@
229-libdir=@libdir@
230 Libs: -L${libdir} -l@UNITY_SCOPES_LIB@
231-Cflags: -I@CMAKE_INSTALL_PREFIX@/include
232+Cflags: -I${includedir}

Subscribers

People subscribed via source and target branches

to all changes: