[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#914190: yaml-cpp: diff for NMU version 0.5.3-0.2



Control: reassign -1 src:yaml-cpp
Control: tags 914190 + patch
Control: tags 914190 + pending

Dear maintainer,

I've prepared an NMU for yaml-cpp (versioned as 0.5.3-0.2) and
uploaded it to DELAYED/1. Please feel free to tell me if I
should delay it longer.

Regards.


-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en
diff -Nru yaml-cpp-0.5.3/debian/changelog yaml-cpp-0.5.3/debian/changelog
--- yaml-cpp-0.5.3/debian/changelog	2018-11-19 16:29:13.000000000 +0100
+++ yaml-cpp-0.5.3/debian/changelog	2018-11-21 16:57:39.000000000 +0100
@@ -1,3 +1,10 @@
+yaml-cpp (0.5.3-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload 
+  * Bump soname to libyaml-cpp0.5d1 to account for ABI break (Closes: #914190)
+
+ -- Julian Andres Klode <jak@debian.org>  Wed, 21 Nov 2018 16:57:39 +0100
+
 yaml-cpp (0.5.3-0.1) unstable; urgency=medium
 
   * Non-maintainer upload with acknowledgement from Andreas Tille.
diff -Nru yaml-cpp-0.5.3/debian/control yaml-cpp-0.5.3/debian/control
--- yaml-cpp-0.5.3/debian/control	2018-11-19 16:29:11.000000000 +0100
+++ yaml-cpp-0.5.3/debian/control	2018-11-21 16:57:39.000000000 +0100
@@ -12,15 +12,13 @@
 Vcs-Browser: https://salsa.debian.org/debian/yaml-cpp
 Homepage: https://github.com/jbeder/yaml-cpp
 
-Package: libyaml-cpp0.5v5
+Package: libyaml-cpp0.5d1
 Architecture: any
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
-Conflicts: libyaml-cpp0.5
-Replaces: libyaml-cpp0.5
 Description: YAML parser and emitter for C++
  yaml-cpp is a C++ library for parsing and emitting data in YAML 1.2, a
  human-readable data serialization format.
@@ -31,7 +29,7 @@
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends: libyaml-cpp0.5v5 (= ${binary:Version}),
+Depends: libyaml-cpp0.5d1 (= ${binary:Version}),
          libboost-dev,
          ${misc:Depends}
 Description: YAML parser and emitter for C++ - development files
diff -Nru yaml-cpp-0.5.3/debian/libyaml-cpp0.5d1.install yaml-cpp-0.5.3/debian/libyaml-cpp0.5d1.install
--- yaml-cpp-0.5.3/debian/libyaml-cpp0.5d1.install	1970-01-01 01:00:00.000000000 +0100
+++ yaml-cpp-0.5.3/debian/libyaml-cpp0.5d1.install	2018-11-19 15:49:19.000000000 +0100
@@ -0,0 +1 @@
+usr/lib/*/libyaml-cpp.so.*
diff -Nru yaml-cpp-0.5.3/debian/libyaml-cpp0.5v5.install yaml-cpp-0.5.3/debian/libyaml-cpp0.5v5.install
--- yaml-cpp-0.5.3/debian/libyaml-cpp0.5v5.install	2018-11-19 15:49:19.000000000 +0100
+++ yaml-cpp-0.5.3/debian/libyaml-cpp0.5v5.install	1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-usr/lib/*/libyaml-cpp.so.*
diff -Nru yaml-cpp-0.5.3/debian/patches/bump-soname-for-abi-break.patch yaml-cpp-0.5.3/debian/patches/bump-soname-for-abi-break.patch
--- yaml-cpp-0.5.3/debian/patches/bump-soname-for-abi-break.patch	1970-01-01 01:00:00.000000000 +0100
+++ yaml-cpp-0.5.3/debian/patches/bump-soname-for-abi-break.patch	2018-11-21 16:57:39.000000000 +0100
@@ -0,0 +1,17 @@
+Description:  Bump soname to libyaml-cpp0.5d1 to account for ABI break 
+ A new field has been added to a class, breaking ABI
+Author: Julian Andres Klode <jak@debian.org>
+Bug-Debian: https://bugs.debian.org/914190
+Last-Update: 2018-11-21
+
+--- yaml-cpp-0.5.3.orig/CMakeLists.txt
++++ yaml-cpp-0.5.3/CMakeLists.txt
+@@ -280,7 +280,7 @@ set_target_properties(yaml-cpp PROPERTIE
+ 
+ set_target_properties(yaml-cpp PROPERTIES
+ 	VERSION "${YAML_CPP_VERSION}"
+-	SOVERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}"
++	SOVERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}d1"
+ 	PROJECT_LABEL "yaml-cpp ${LABEL_SUFFIX}"
+ )
+ 
diff -Nru yaml-cpp-0.5.3/debian/patches/series yaml-cpp-0.5.3/debian/patches/series
--- yaml-cpp-0.5.3/debian/patches/series	2018-11-19 16:10:30.000000000 +0100
+++ yaml-cpp-0.5.3/debian/patches/series	2018-11-21 16:57:39.000000000 +0100
@@ -3,3 +3,4 @@
 reproducible-build.patch
 0003-Workaround-bug-in-googletest-fixing-bug-812284.patch
 0006-Fix-usage-of-boost-next-and-boost-prior.patch
+bump-soname-for-abi-break.patch

Reply to: