[Merge] lp:~thomas-voss/process-cpp/bump-so-name-and-major-version into lp:process-cpp

Colin Watson cjwatson at canonical.com
Tue Jun 17 11:47:18 UTC 2014


Review: Approve



Diff comments:

> === modified file 'CMakeLists.txt'
> --- CMakeLists.txt	2014-05-21 16:56:20 +0000
> +++ CMakeLists.txt	2014-06-17 11:38:54 +0000
> @@ -56,9 +56,9 @@
>    SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage -fprofile-arcs" )
>  ENDIF(cmake_build_type_lower MATCHES coverage)
>  
> -set(PROCESS_CPP_VERSION_MAJOR 1)
> +set(PROCESS_CPP_VERSION_MAJOR 2)
>  set(PROCESS_CPP_VERSION_MINOR 0)
> -set(PROCESS_CPP_VERSION_PATCH 1)
> +set(PROCESS_CPP_VERSION_PATCH 0)
>  
>  include(CTest)
>  
> 
> === modified file 'debian/control'
> --- debian/control	2014-03-24 17:12:32 +0000
> +++ debian/control	2014-06-17 11:38:54 +0000
> @@ -1,9 +1,13 @@
>  Source: process-cpp
>  Priority: optional
>  Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
> +# We rely on C++11 features, and to prevent from ABI breaks
> +# in libstdc++ causing us issues, we explicitly select a G++
> +# version.
>  Build-Depends: cmake,
>                 debhelper (>= 9),
>                 doxygen,
> +               g++-4.9,

You can put the comment right next to the individual build-dependency, which would be slightly better.

Perhaps there needs to be some mention that changes in the compiler version *may* require bumping the libprocess-cpp SONAME too?  The audience for this comment should be a future developer who was not involved in our recent conversations.

>                 google-mock,
>                 graphviz,
>                 libboost-dev,
> @@ -19,7 +23,7 @@
>  Vcs-Bzr: https://code.launchpad.net/~phablet-team/content-hub/trunk
>  Vcs-Browser: https://bazaar.launchpad.net/~phablet-team/process-cpp/trunk/files
>  
> -Package: libprocess-cpp1
> +Package: libprocess-cpp2
>  Architecture: any
>  Multi-Arch: same
>  Pre-Depends: ${misc:Pre-Depends},
> @@ -35,7 +39,7 @@
>  Architecture: any
>  Multi-Arch: same
>  Recommends: libprocess-cpp-doc,
> -Depends: libprocess-cpp1 (= ${binary:Version}),
> +Depends: libprocess-cpp2 (= ${binary:Version}),
>           ${misc:Depends},
>           libproperties-cpp-dev,
>  Description: C++11 library for handling processes - dev headers and libraries
> 
> === renamed file 'debian/libprocess-cpp1.install' => 'debian/libprocess-cpp2.install'
> === renamed file 'debian/libprocess-cpp1.symbols' => 'debian/libprocess-cpp2.symbols'
> --- debian/libprocess-cpp1.symbols	2014-05-22 09:49:50 +0000
> +++ debian/libprocess-cpp2.symbols	2014-06-17 11:38:54 +0000
> @@ -1,4 +1,4 @@
> -libprocess-cpp.so.1 libprocess-cpp1 #MINVER#
> +libprocess-cpp.so.2 libprocess-cpp2 #MINVER#
>   (c++)"core::posix::Signalable::send_signal(core::posix::Signal, std::error_code&)@Base" 1.0.0+14.04.20140326.2
>   (c++)"core::posix::Signalable::send_signal_or_throw(core::posix::Signal)@Base" 1.0.0+14.04.20140326.2
>   (c++)"core::posix::ChildProcess::DeathObserver::create_once_with_signal_trap(std::shared_ptr<core::posix::SignalTrap>)@Base" 1.0.0+14.04.20140326.2
> 
> === modified file 'debian/rules'
> --- debian/rules	2013-10-21 12:07:28 +0000
> +++ debian/rules	2014-06-17 11:38:54 +0000
> @@ -1,7 +1,17 @@
>  #!/usr/bin/make -f
>  # -*- makefile -*-
>  
> +include /usr/share/dpkg/default.mk
> +
> +# Explicitly selecting a G{CC,++}-version here to avoid accidental
> +# ABI breaks introduced by toolchain updates.
> +export CC=$(DEB_HOST_GNU_TYPE)-gcc-4.9
> +export CXX=$(DEB_HOST_GNU_TYPE)-g++-4.9
> +
>  export DPKG_GENSYMBOLS_CHECK_LEVEL=4
>  
>  %:
>  	dh $@ --fail-missing
> +
> +override_dh_auto_configure:
> +	dh_auto_configure -- -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_COMPILER=$(CXX)
> 


-- 
https://code.launchpad.net/~thomas-voss/process-cpp/bump-so-name-and-major-version/+merge/223390
Your team Ubuntu Phablet Team is requested to review the proposed merge of lp:~thomas-voss/process-cpp/bump-so-name-and-major-version into lp:process-cpp.



More information about the Ubuntu-reviews mailing list