Michael R. Crusoe pushed to branch master at Debian Med / libcereal
Commits: 286e0dac by Michael R. Crusoe at 2025-09-01T14:48:22+02:00 Include patch from upstream to generate a pkg-config file. Closes: #1107925 - - - - - ea908877 by Michael R. Crusoe at 2025-09-01T14:57:03+02:00 d/control: mark the -dev package "Multi-Arch: same" as per the Multiarch hinter. - - - - - fb0fa56e by Michael R. Crusoe at 2025-09-01T14:57:14+02:00 Standards-Version: 4.7.2 (routine-update) - - - - - da7aef46 by Michael R. Crusoe at 2025-09-01T15:07:45+02:00 routine-update: Ready to upload to unstable - - - - - 5 changed files: - debian/changelog - debian/control - debian/libcereal-dev.install - + debian/patches/cb6c6ac1f03d5749989e810a0087ca64021064c9.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,13 @@ +libcereal (1.3.2+dfsg-6) unstable; urgency=medium + + * Include patch from upstream to generate a pkg-config file. Closes: + #1107925 + * d/control: mark the -dev package "Multi-Arch: same" as per the + Multiarch hinter. + * Standards-Version: 4.7.2 (routine-update) + + -- Michael R. Crusoe <[email protected]> Mon, 01 Sep 2025 14:57:34 +0200 + libcereal (1.3.2+dfsg-5) unstable; urgency=medium * Team upload. ===================================== debian/control ===================================== @@ -9,7 +9,7 @@ Build-Depends: debhelper-compat (= 13), rapidjson-dev, cmake, doxygen -Standards-Version: 4.6.1 +Standards-Version: 4.7.2 Vcs-Browser: https://salsa.debian.org/med-team/libcereal Vcs-Git: https://salsa.debian.org/med-team/libcereal.git Homepage: https://uscilab.github.io/cereal/ @@ -17,6 +17,7 @@ Rules-Requires-Root: no Package: libcereal-dev Architecture: any +Multi-Arch: same Depends: ${misc:Depends}, rapidjson-dev Description: C++11 library for serialization ===================================== debian/libcereal-dev.install ===================================== @@ -1,5 +1,7 @@ usr/include CMakeLists.txt usr/share/doc/libcereal-dev/tests/ Config.cmake.in usr/share/doc/libcereal-dev/tests/ +cereal.pc.in usr/share/doc/libcereal-dev/tests/ unittests usr/share/doc/libcereal-dev/tests/ usr/lib/*/cmake/cereal +usr/share/pkgconfig/cereal.pc ===================================== debian/patches/cb6c6ac1f03d5749989e810a0087ca64021064c9.patch ===================================== @@ -0,0 +1,47 @@ +From cb6c6ac1f03d5749989e810a0087ca64021064c9 Mon Sep 17 00:00:00 2001 +From: Douglas Scofield <[email protected]> +Date: Fri, 22 Nov 2024 17:17:07 +0100 +Subject: [PATCH] create pkgconfig file during build + +--- + CMakeLists.txt | 9 +++++++++ + cereal.pc.in | 8 ++++++++ + 2 files changed, 17 insertions(+) + create mode 100644 cereal.pc.in + +--- libcereal-dev.orig/CMakeLists.txt ++++ libcereal-dev/CMakeLists.txt +@@ -52,6 +52,11 @@ + if(NOT DEFINED CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD STREQUAL "98") + set(CMAKE_CXX_STANDARD 11) + endif() ++ configure_file( ++ ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pc.in ++ ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc ++ @ONLY ++ ) + + set(CMAKE_CXX_STANDARD_REQUIRED ON) + endif() +@@ -98,6 +103,10 @@ + NAMESPACE "cereal::" + DESTINATION ${configInstallDestination} + ) ++ install( ++ FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc ++ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/pkgconfig ++ ) + endif() + + +--- /dev/null ++++ libcereal-dev/cereal.pc.in +@@ -0,0 +1,8 @@ ++prefix=@CMAKE_INSTALL_PREFIX@ ++includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ ++ ++Name: @PROJECT_NAME@ ++Description: cereal is a header-only C++11 serialization library ++URL: https://uscilab.github.io/cereal/ ++Version: @PROJECT_VERSION@ ++Cflags: -I"${includedir}" ===================================== debian/patches/series ===================================== @@ -1,3 +1,4 @@ +cb6c6ac1f03d5749989e810a0087ca64021064c9.patch drop-google-analytics use_debian_packaged_rapidjson.patch allow_unsigned_char.patch View it on GitLab: https://salsa.debian.org/med-team/libcereal/-/compare/a90d6954699766bae35ae1d4d545002bee8a36a6...da7aef46bae358af9abd26ec808ab68505b50b01 -- View it on GitLab: https://salsa.debian.org/med-team/libcereal/-/compare/a90d6954699766bae35ae1d4d545002bee8a36a6...da7aef46bae358af9abd26ec808ab68505b50b01 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
