yaml-cpp.git
4 years agoFix empty YAML_CPP_LIBRARIES
Jochen Sprickerhof [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Fix empty YAML_CPP_LIBRARIES

Bug: https://github.com/jbeder/yaml-cpp/issues/774
Bug-Debian: https://bugs.debian.org/999594
Forwarded: https://github.com/jbeder/yaml-cpp/pull/1037
Last-Update: 2021-11-13

The new version does not set EXPORT_TARGETS. As the value should be yaml-cpp
anyhow, just set it directly.

Gbp-Pq: Name cmake_set_libraries.patch

4 years agoUse the googletest provided by the archive instead of the embedded copy
Simon Quigley [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Use the googletest provided by the archive instead of the embedded copy

Forwarded: https://github.com/jbeder/yaml-cpp/pull/1035
Last-Update: 2021-09-24

Gbp-Pq: Name use-archive-googletest.patch

4 years ago[PATCH] Export YAML::detail::node::m_amount
Pino Toscano [Sun, 18 Apr 2021 08:29:59 +0000 (10:29 +0200)]
[PATCH] Export YAML::detail::node::m_amount

The internal header node/detail/node.h is included by public headers;
YAML::detail::node is implemented in the header itself, and thus it gets
inlined... except for its static m_amount class member, which is
instantiated in the library only. Right now all the symbols of yaml-cpp
are exported (nothing is hidden), so the linker will find node::m_amount
in the yaml-cpp library.

As solution/workaround, explicitly export YAML::detail::node::m_amount.

Gbp-Pq: Name export-m_amount.patch

4 years agofix pkg-config file and cmake one
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
fix pkg-config file and cmake one

Forwarded: not needed, upstream reworked the cmake handling
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/yaml-cpp/+bug/1880419
Last-Update: 2020-05-26

Gbp-Pq: Name fix-pkg-config.patch

4 years agosymbol-visibility
Simon Quigley [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
symbol-visibility

commit df9206778fe9ff1bdd56d975c29c43dfe1e66de7
Author: Christopher James Halse Rogers <christopher.halse.rogers@canonical.com>
Date:   Fri Nov 23 15:26:53 2018 +1100

    Export only YAML_CPP_API-tagged symbols on Linux.

    This marks classes tagged with YAML_CPP_API with visibility("default"), to
    explicitly export them, and then makes the default visibility "hidden" via
    -fvisibility=hidden.

    This reduces the number of exported symbols by more than 50%, which has
    a small application start-up time and memory useage benefit. It also
    makes it more feasible to audit the set of exported symbols in automated
    ABI compatibility systems.

Gbp-Pq: Name symbol-visibility.patch

4 years agoyaml-cpp (0.7.0+dfsg-8) unstable; urgency=medium
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
yaml-cpp (0.7.0+dfsg-8) unstable; urgency=medium

  * Ack previous NMU, thanks!
  * Add patch from Jochen Sprickerhof to export YAML_CPP_LIBRARIES.
    (Closes: #999594)

[dgit import unpatched yaml-cpp 0.7.0+dfsg-8]

4 years agoImport yaml-cpp_0.7.0+dfsg-8.debian.tar.xz
Gianfranco Costamagna [Sat, 13 Nov 2021 20:48:59 +0000 (20:48 +0000)]
Import yaml-cpp_0.7.0+dfsg-8.debian.tar.xz

[dgit import tarball yaml-cpp 0.7.0+dfsg-8 yaml-cpp_0.7.0+dfsg-8.debian.tar.xz]

4 years agoImport yaml-cpp_0.7.0+dfsg.orig.tar.xz
Simon Quigley [Thu, 23 Sep 2021 11:31:17 +0000 (12:31 +0100)]
Import yaml-cpp_0.7.0+dfsg.orig.tar.xz

[dgit import orig yaml-cpp_0.7.0+dfsg.orig.tar.xz]