Merge lp:~unity-api-team/connectivity-api/ci-testrun into lp:connectivity-api/14.10
- ci-testrun
- Merge into trunk.14.10
Status: | Merged |
---|---|
Merged at revision: | 9 |
Proposed branch: | lp:~unity-api-team/connectivity-api/ci-testrun |
Merge into: | lp:connectivity-api/14.10 |
Diff against target: |
140 lines (+14/-48) 6 files modified
CMakeLists.txt (+7/-4) data/connectivity-cpp.pc.in (+1/-1) debian/changelog (+1/-1) debian/control (+4/-4) debian/copyright (+1/-1) src/platform/nmofono/link.h (+0/-37) |
To merge this branch: | bzr merge lp:~unity-api-team/connectivity-api/ci-testrun |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Didier Roche-Tolomelli | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Antti Kaijanmäki (community) | Approve | ||
Review via email: mp+210511@code.launchpad.net |
Commit message
Changes based on packaging review.
Description of the change
Waiting for packaging review as NEW universe package.
This is a prerequisite for the new indicator-network used solely in unity8 and thus the catch-all unity8 FFe should apply.
Antti Kaijanmäki (kaijanmaki) wrote : | # |
Antti Kaijanmäki (kaijanmaki) wrote : | # |
The purpose of this MP is to get through the initial ci train landing and to introduce a new source package to the universe.
The initial code is already in lp:connectivity-api and this MR contains no code changes. The only meaningful review comes from the ubuntu-core-dev team and thus I'm claiming the Unity API Team side of the review myself.
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:6
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Didier Roche-Tolomelli (didrocks) wrote : | # |
Review done by IRC: This change is fine itself, however, it will need some modification to enter the archive, so maybe use that branch?
09:07:47 didrocks | Wellark: as we try to standardize the packaging, can you move the "Section" stenza just after Priority please?
| (nitpick)
09:07:59 didrocks | in debian/control
09:09:05 didrocks | Wellark: you're forcing gcc 4.7 because of properties-cpp? :)
09:09:55 didrocks | Wellark: not sure why are you depending on libdbus-1-dev, shouldn't libdbus-cpp-dev brings it in? (and you only
| use the cpp bindings, right?)
09:10:59 didrocks | Wellark: same, to standardize, can you put recommends after depends?
09:11:15 didrocks | Wellark: also, on Package: libconnectivity
09:11:25 didrocks | no need to repeat the section as it matches the source one
09:11:52 didrocks | Wellark: also, please suggest the -doc, not recommends
09:13:34 didrocks | Wellark: just a note once you will want to enter main: you will need a symbols file
09:13:46 didrocks | so bonus point if you add it now :)
09:14:42 didrocks | Wellark: your version should be 0.0.1-0ubuntu1 btw in debian/changelog
09:18:46 didrocks | Wellark: your .pc file Requires: dbus-cpp
09:19:02 didrocks | so Package: libconnectivity
09:19:13 didrocks | shouldn't dep on libproperties-
09:19:22 didrocks | (bonus for trailing stenza)
Didier Roche-Tolomelli (didrocks) : | # |
Antti Kaijanmäki (kaijanmaki) wrote : | # |
> Review done by IRC: This change is fine itself, however, it will need some
> modification to enter the archive, so maybe use that branch?
Yep. let's fix it all here.
- 7. By Antti Kaijanmäki
-
debian/control: Section after Priority.
- 8. By Antti Kaijanmäki
-
Clarify why to force g++-4.7.
- 9. By Antti Kaijanmäki
-
Recommends after depends.
- 10. By Antti Kaijanmäki
-
Remove redundant Section.
- 11. By Antti Kaijanmäki
-
Suggests -dev instead of Recommends
- 12. By Antti Kaijanmäki
-
Fix debian/changelog version
- 13. By Antti Kaijanmäki
-
add -dev Depends on libdbus-cpp-dev
Antti Kaijanmäki (kaijanmaki) wrote : | # |
> 09:07:47 didrocks | Wellark: as we try to standardize the packaging, can you
> move the "Section" stenza just after Priority please?
> | (nitpick)
Done.
> 09:07:59 didrocks | in debian/control
> 09:09:05 didrocks | Wellark: you're forcing gcc 4.7 because of properties-cpp?
> :)
Added a comment.
> 09:09:55 didrocks | Wellark: not sure why are you depending on libdbus-1-dev,
> shouldn't libdbus-cpp-dev brings it in? (and you only
> | use the cpp bindings, right?)
Known bug:
https:/
> 09:10:59 didrocks | Wellark: same, to standardize, can you put recommends
> after depends?
Done.
> 09:11:15 didrocks | Wellark: also, on Package: libconnectivity
> 09:11:25 didrocks | no need to repeat the section as it matches the source one
Done.
> 09:11:52 didrocks | Wellark: also, please suggest the -doc, not recommends
Done.
> 09:13:34 didrocks | Wellark: just a note once you will want to enter main: you
> will need a symbols file
> 09:13:46 didrocks | so bonus point if you add it now :)
Noted. I don't want to deal with the pain right now.
The library will still get modifications and dealing with the symbols pain this early will just slow everything down to a halt.
> 09:14:42 didrocks | Wellark: your version should be 0.0.1-0ubuntu1 btw in
> debian/changelog
Fixed.
> 09:18:46 didrocks | Wellark: your .pc file Requires: dbus-cpp
> 09:19:02 didrocks | so Package: libconnectivity
> 09:19:13 didrocks | shouldn't dep on libproperties-
> cpp-dev
Actually I need to depend on both. I need the dbus-cpp.pc to get the linker flags from pkg-config, although I'm not exposing any of the dbus-cpp on my public interface.
And libproperties-
> 09:19:22 didrocks | (bonus for trailing stenza)
Don't know what that means..
- 14. By Antti Kaijanmäki
-
.pc: add properties-cpp to the Requires.
- 15. By Antti Kaijanmäki
-
Trailing comma on Depends.
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:13
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:15
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
Didier Roche-Tolomelli (didrocks) wrote : | # |
Perfect, thanks a lot!
Preview Diff
1 | === modified file 'CMakeLists.txt' | |||
2 | --- CMakeLists.txt 2014-03-11 16:07:46 +0000 | |||
3 | +++ CMakeLists.txt 2014-03-12 10:34:29 +0000 | |||
4 | @@ -18,6 +18,13 @@ | |||
5 | 18 | cmake_minimum_required(VERSION 2.8) | 18 | cmake_minimum_required(VERSION 2.8) |
6 | 19 | project(connectivity-cpp) | 19 | project(connectivity-cpp) |
7 | 20 | 20 | ||
8 | 21 | # We are doing this because dbus-cpp and friends are stuck with 4.7 because of | ||
9 | 22 | # platform-api and there is an ABI break between 4.7 and 4.8. | ||
10 | 23 | # After we switch to 4.8 there is a mandatory soname bump. | ||
11 | 24 | message(STATUS "Remember, you need to compile this with GCC 4.7 or there will be bugs.") | ||
12 | 25 | message(STATUS "Package builds to this automatically. To do it manually do this:") | ||
13 | 26 | message(STATUS "CC=gcc-4.7 CXX=g++-4.7 cmake <your opts>") | ||
14 | 27 | |||
15 | 21 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) | 28 | set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules) |
16 | 22 | 29 | ||
17 | 23 | include(EnableCoverageReport) | 30 | include(EnableCoverageReport) |
18 | @@ -109,7 +116,3 @@ | |||
19 | 109 | 116 | ||
20 | 110 | enable_coverage_report(TARGETS connectivity-cpp | 117 | enable_coverage_report(TARGETS connectivity-cpp |
21 | 111 | FILTER ${CMAKE_SOURCE_DIR}/tests/* ${CMAKE_BINARY_DIR}/*) | 118 | FILTER ${CMAKE_SOURCE_DIR}/tests/* ${CMAKE_BINARY_DIR}/*) |
22 | 112 | |||
23 | 113 | message(STATUS "Remember, you need to compile this with GCC 4.7 or there will be bugs.") | ||
24 | 114 | message(STATUS "Package builds to this automatically. To do it manually do this:") | ||
25 | 115 | message(STATUS "CC=gcc-4.7 CXX=g++-4.7 cmake <your opts>") | ||
26 | 116 | 119 | ||
27 | === modified file 'data/connectivity-cpp.pc.in' | |||
28 | --- data/connectivity-cpp.pc.in 2014-02-05 19:32:11 +0000 | |||
29 | +++ data/connectivity-cpp.pc.in 2014-03-12 10:34:29 +0000 | |||
30 | @@ -8,4 +8,4 @@ | |||
31 | 8 | Version: @CONNECTIVITY_CPP_VERSION_MAJOR@.@CONNECTIVITY_CPP_VERSION_MINOR@.@CONNECTIVITY_CPP_VERSION_PATCH@ | 8 | Version: @CONNECTIVITY_CPP_VERSION_MAJOR@.@CONNECTIVITY_CPP_VERSION_MINOR@.@CONNECTIVITY_CPP_VERSION_PATCH@ |
32 | 9 | Cflags: -I${includedir}/connectivity-cpp-@CONNECTIVITY_CPP_VERSION_MAJOR@ | 9 | Cflags: -I${includedir}/connectivity-cpp-@CONNECTIVITY_CPP_VERSION_MAJOR@ |
33 | 10 | Libs: -L${libdir} -lconnectivity-cpp | 10 | Libs: -L${libdir} -lconnectivity-cpp |
35 | 11 | Requires: dbus-cpp | 11 | Requires: dbus-cpp properties-cpp |
36 | 12 | 12 | ||
37 | === modified file 'debian/changelog' | |||
38 | --- debian/changelog 2014-03-11 21:08:34 +0000 | |||
39 | +++ debian/changelog 2014-03-12 10:34:29 +0000 | |||
40 | @@ -1,4 +1,4 @@ | |||
42 | 1 | connectivity-api (0.0.1) UNRELEASED; urgency=low | 1 | connectivity-api (0.0.1-0ubuntu1) UNRELEASED; urgency=low |
43 | 2 | 2 | ||
44 | 3 | * Initial release. | 3 | * Initial release. |
45 | 4 | 4 | ||
46 | 5 | 5 | ||
47 | === modified file 'debian/control' | |||
48 | --- debian/control 2014-03-11 21:08:34 +0000 | |||
49 | +++ debian/control 2014-03-12 10:34:29 +0000 | |||
50 | @@ -1,5 +1,6 @@ | |||
51 | 1 | Source: connectivity-api | 1 | Source: connectivity-api |
52 | 2 | Priority: optional | 2 | Priority: optional |
53 | 3 | Section: libs | ||
54 | 3 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> | 4 | Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
55 | 4 | Build-Depends: cmake, | 5 | Build-Depends: cmake, |
56 | 5 | dbus, | 6 | dbus, |
57 | @@ -18,13 +19,11 @@ | |||
58 | 18 | network-manager-dev, | 19 | network-manager-dev, |
59 | 19 | pkg-config, | 20 | pkg-config, |
60 | 20 | Standards-Version: 3.9.5 | 21 | Standards-Version: 3.9.5 |
61 | 21 | Section: libs | ||
62 | 22 | Homepage: https://launchpad.net/connectivity-api | 22 | Homepage: https://launchpad.net/connectivity-api |
63 | 23 | Vcs-Bzr: lp:connectivity-api | 23 | Vcs-Bzr: lp:connectivity-api |
64 | 24 | Vcs-Browser: https://bazaar.launchpad.net/~unity-api-team/connectivity-api/trunk.14.04/files | 24 | Vcs-Browser: https://bazaar.launchpad.net/~unity-api-team/connectivity-api/trunk.14.04/files |
65 | 25 | 25 | ||
66 | 26 | Package: libconnectivity-cpp0 | 26 | Package: libconnectivity-cpp0 |
67 | 27 | Section: libs | ||
68 | 28 | Architecture: any | 27 | Architecture: any |
69 | 29 | Multi-Arch: same | 28 | Multi-Arch: same |
70 | 30 | Pre-Depends: ${misc:Pre-Depends} | 29 | Pre-Depends: ${misc:Pre-Depends} |
71 | @@ -39,10 +38,11 @@ | |||
72 | 39 | Section: libdevel | 38 | Section: libdevel |
73 | 40 | Architecture: any | 39 | Architecture: any |
74 | 41 | Multi-Arch: same | 40 | Multi-Arch: same |
75 | 42 | Recommends: libconnectivity-cpp-doc | ||
76 | 43 | Depends: ${misc:Depends}, | 41 | Depends: ${misc:Depends}, |
77 | 44 | libconnectivity-cpp0 (= ${binary:Version}), | 42 | libconnectivity-cpp0 (= ${binary:Version}), |
79 | 45 | libproperties-cpp-dev | 43 | libdbus-cpp-dev, |
80 | 44 | libproperties-cpp-dev, | ||
81 | 45 | Suggests: libconnectivity-cpp-doc | ||
82 | 46 | Description: C++11 library providing connectivity API. - dev headers | 46 | Description: C++11 library providing connectivity API. - dev headers |
83 | 47 | All the development headers and libraries for libconnectivity-cpp. | 47 | All the development headers and libraries for libconnectivity-cpp. |
84 | 48 | 48 | ||
85 | 49 | 49 | ||
86 | === modified file 'debian/copyright' | |||
87 | --- debian/copyright 2014-01-23 22:09:36 +0000 | |||
88 | +++ debian/copyright 2014-03-12 10:34:29 +0000 | |||
89 | @@ -15,7 +15,7 @@ | |||
90 | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
91 | 16 | Lesser General Public License for more details. | 16 | Lesser General Public License for more details. |
92 | 17 | . | 17 | . |
94 | 18 | You should have received a copy of the GNU General Public License | 18 | You should have received a copy of the GNU Lesser General Public License |
95 | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
96 | 20 | . | 20 | . |
97 | 21 | On Debian systems, the complete text of the GNU Lesser General | 21 | On Debian systems, the complete text of the GNU Lesser General |
98 | 22 | 22 | ||
99 | === removed file 'src/platform/nmofono/link.cpp' | |||
100 | === removed file 'src/platform/nmofono/link.h' | |||
101 | --- src/platform/nmofono/link.h 2014-01-23 22:09:36 +0000 | |||
102 | +++ src/platform/nmofono/link.h 1970-01-01 00:00:00 +0000 | |||
103 | @@ -1,37 +0,0 @@ | |||
104 | 1 | /* | ||
105 | 2 | * Copyright (C) 2013 Canonical, Ltd. | ||
106 | 3 | * | ||
107 | 4 | * This program is free software: you can redistribute it and/or modify it | ||
108 | 5 | * under the terms of the GNU General Public License version 3, as published | ||
109 | 6 | * by the Free Software Foundation. | ||
110 | 7 | * | ||
111 | 8 | * This program is distributed in the hope that it will be useful, but | ||
112 | 9 | * WITHOUT ANY WARRANTY; without even the implied warranties of | ||
113 | 10 | * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR | ||
114 | 11 | * PURPOSE. See the GNU General Public License for more details. | ||
115 | 12 | * | ||
116 | 13 | * You should have received a copy of the GNU General Public License along | ||
117 | 14 | * with this program. If not, see <http://www.gnu.org/licenses/>. | ||
118 | 15 | * | ||
119 | 16 | * Authors: | ||
120 | 17 | * Antti Kaijanmäki <antti.kaijanmaki@canonical.com> | ||
121 | 18 | */ | ||
122 | 19 | |||
123 | 20 | #ifndef PLATFORM_TEST_LINK | ||
124 | 21 | #define PLATFORM_TEST_LINK | ||
125 | 22 | |||
126 | 23 | #include <com/ubuntu/connectivity/networking/link.h> | ||
127 | 24 | |||
128 | 25 | namespace platform { | ||
129 | 26 | namespace test { | ||
130 | 27 | class Link; | ||
131 | 28 | } | ||
132 | 29 | } | ||
133 | 30 | |||
134 | 31 | class platform::test::Link : public com::ubuntu::connectivity::networking::Link | ||
135 | 32 | { | ||
136 | 33 | public: | ||
137 | 34 | |||
138 | 35 | }; | ||
139 | 36 | |||
140 | 37 | #endif |
From ubuntu-core-dev the proposed branch needs a complete packaging review.