Merge lp:~unity-api-team/connectivity-api/ci-testrun into lp:connectivity-api/14.10

Proposed by Antti Kaijanmäki
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
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.

To post a comment you must log in.
Revision history for this message
Antti Kaijanmäki (kaijanmaki) wrote :

From ubuntu-core-dev the proposed branch needs a complete packaging review.

Revision history for this message
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.

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
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-cpp0
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-cpp-dev
09:19:13 didrocks | shouldn't dep on libproperties-cpp-dev, but on libdbus-cpp-dev
09:19:22 didrocks | (bonus for trailing stenza)

Revision history for this message
Didier Roche-Tolomelli (didrocks) :
review: Needs Fixing
Revision history for this message
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

Revision history for this message
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://bugs.launchpad.net/ubuntu/+source/dbus-cpp/+bug/1272105

> 09:10:59 didrocks | Wellark: same, to standardize, can you put recommends
> after depends?

Done.

> 09:11:15 didrocks | Wellark: also, on Package: libconnectivity-cpp0
> 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-cpp-dev
> 09:19:13 didrocks | shouldn't dep on libproperties-cpp-dev, but on libdbus-
> 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-cpp-dev is needed as I'm using it on my public interface.

> 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.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

Perfect, thanks a lot!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2014-03-11 16:07:46 +0000
+++ CMakeLists.txt 2014-03-12 10:34:29 +0000
@@ -18,6 +18,13 @@
18cmake_minimum_required(VERSION 2.8)18cmake_minimum_required(VERSION 2.8)
19project(connectivity-cpp)19project(connectivity-cpp)
2020
21# We are doing this because dbus-cpp and friends are stuck with 4.7 because of
22# platform-api and there is an ABI break between 4.7 and 4.8.
23# After we switch to 4.8 there is a mandatory soname bump.
24message(STATUS "Remember, you need to compile this with GCC 4.7 or there will be bugs.")
25message(STATUS "Package builds to this automatically. To do it manually do this:")
26message(STATUS "CC=gcc-4.7 CXX=g++-4.7 cmake <your opts>")
27
21set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)28set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
2229
23include(EnableCoverageReport)30include(EnableCoverageReport)
@@ -109,7 +116,3 @@
109116
110enable_coverage_report(TARGETS connectivity-cpp117enable_coverage_report(TARGETS connectivity-cpp
111 FILTER ${CMAKE_SOURCE_DIR}/tests/* ${CMAKE_BINARY_DIR}/*)118 FILTER ${CMAKE_SOURCE_DIR}/tests/* ${CMAKE_BINARY_DIR}/*)
112
113message(STATUS "Remember, you need to compile this with GCC 4.7 or there will be bugs.")
114message(STATUS "Package builds to this automatically. To do it manually do this:")
115message(STATUS "CC=gcc-4.7 CXX=g++-4.7 cmake <your opts>")
116119
=== modified file 'data/connectivity-cpp.pc.in'
--- data/connectivity-cpp.pc.in 2014-02-05 19:32:11 +0000
+++ data/connectivity-cpp.pc.in 2014-03-12 10:34:29 +0000
@@ -8,4 +8,4 @@
8Version: @CONNECTIVITY_CPP_VERSION_MAJOR@.@CONNECTIVITY_CPP_VERSION_MINOR@.@CONNECTIVITY_CPP_VERSION_PATCH@8Version: @CONNECTIVITY_CPP_VERSION_MAJOR@.@CONNECTIVITY_CPP_VERSION_MINOR@.@CONNECTIVITY_CPP_VERSION_PATCH@
9Cflags: -I${includedir}/connectivity-cpp-@CONNECTIVITY_CPP_VERSION_MAJOR@9Cflags: -I${includedir}/connectivity-cpp-@CONNECTIVITY_CPP_VERSION_MAJOR@
10Libs: -L${libdir} -lconnectivity-cpp10Libs: -L${libdir} -lconnectivity-cpp
11Requires: dbus-cpp11Requires: dbus-cpp properties-cpp
1212
=== modified file 'debian/changelog'
--- debian/changelog 2014-03-11 21:08:34 +0000
+++ debian/changelog 2014-03-12 10:34:29 +0000
@@ -1,4 +1,4 @@
1connectivity-api (0.0.1) UNRELEASED; urgency=low1connectivity-api (0.0.1-0ubuntu1) UNRELEASED; urgency=low
22
3 * Initial release.3 * Initial release.
44
55
=== modified file 'debian/control'
--- debian/control 2014-03-11 21:08:34 +0000
+++ debian/control 2014-03-12 10:34:29 +0000
@@ -1,5 +1,6 @@
1Source: connectivity-api1Source: connectivity-api
2Priority: optional2Priority: optional
3Section: libs
3Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
4Build-Depends: cmake,5Build-Depends: cmake,
5 dbus,6 dbus,
@@ -18,13 +19,11 @@
18 network-manager-dev,19 network-manager-dev,
19 pkg-config,20 pkg-config,
20Standards-Version: 3.9.521Standards-Version: 3.9.5
21Section: libs
22Homepage: https://launchpad.net/connectivity-api22Homepage: https://launchpad.net/connectivity-api
23Vcs-Bzr: lp:connectivity-api23Vcs-Bzr: lp:connectivity-api
24Vcs-Browser: https://bazaar.launchpad.net/~unity-api-team/connectivity-api/trunk.14.04/files24Vcs-Browser: https://bazaar.launchpad.net/~unity-api-team/connectivity-api/trunk.14.04/files
2525
26Package: libconnectivity-cpp026Package: libconnectivity-cpp0
27Section: libs
28Architecture: any27Architecture: any
29Multi-Arch: same28Multi-Arch: same
30Pre-Depends: ${misc:Pre-Depends}29Pre-Depends: ${misc:Pre-Depends}
@@ -39,10 +38,11 @@
39Section: libdevel38Section: libdevel
40Architecture: any39Architecture: any
41Multi-Arch: same40Multi-Arch: same
42Recommends: libconnectivity-cpp-doc
43Depends: ${misc:Depends},41Depends: ${misc:Depends},
44 libconnectivity-cpp0 (= ${binary:Version}),42 libconnectivity-cpp0 (= ${binary:Version}),
45 libproperties-cpp-dev43 libdbus-cpp-dev,
44 libproperties-cpp-dev,
45Suggests: libconnectivity-cpp-doc
46Description: C++11 library providing connectivity API. - dev headers46Description: C++11 library providing connectivity API. - dev headers
47 All the development headers and libraries for libconnectivity-cpp.47 All the development headers and libraries for libconnectivity-cpp.
4848
4949
=== modified file 'debian/copyright'
--- debian/copyright 2014-01-23 22:09:36 +0000
+++ debian/copyright 2014-03-12 10:34:29 +0000
@@ -15,7 +15,7 @@
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Lesser General Public License for more details.16 Lesser General Public License for more details.
17 .17 .
18 You should have received a copy of the GNU General Public License18 You should have received a copy of the GNU Lesser General Public License
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/>.
20 .20 .
21 On Debian systems, the complete text of the GNU Lesser General21 On Debian systems, the complete text of the GNU Lesser General
2222
=== removed file 'src/platform/nmofono/link.cpp'
=== removed file 'src/platform/nmofono/link.h'
--- src/platform/nmofono/link.h 2014-01-23 22:09:36 +0000
+++ src/platform/nmofono/link.h 1970-01-01 00:00:00 +0000
@@ -1,37 +0,0 @@
1/*
2 * Copyright (C) 2013 Canonical, Ltd.
3 *
4 * This program is free software: you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 3, as published
6 * by the Free Software Foundation.
7 *
8 * This program is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranties of
10 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
11 * PURPOSE. See the GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License along
14 * with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * Authors:
17 * Antti Kaijanmäki <antti.kaijanmaki@canonical.com>
18 */
19
20#ifndef PLATFORM_TEST_LINK
21#define PLATFORM_TEST_LINK
22
23#include <com/ubuntu/connectivity/networking/link.h>
24
25namespace platform {
26namespace test {
27 class Link;
28}
29}
30
31class platform::test::Link : public com::ubuntu::connectivity::networking::Link
32{
33public:
34
35};
36
37#endif

Subscribers

People subscribed via source and target branches

to all changes: