From: Andreas Tille Date: Thu, 20 Dec 2018 21:34:59 +0000 (+0100) Subject: libcereal (1.2.2-3) unstable; urgency=medium X-Git-Tag: archive/raspbian/1.3.2+dfsg-5+rpi1~1^2^2^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b71ed5c176a3fd6f496097a89b7b334e6d45b75b;p=libcereal.git libcereal (1.2.2-3) unstable; urgency=medium * Team upload. * Do not try to change non-existing files in binary all builds Closes: #916969 [dgit import unpatched libcereal 1.2.2-3] --- b71ed5c176a3fd6f496097a89b7b334e6d45b75b diff --cc debian/README.test index 0000000,0000000..90657cf new file mode 100644 --- /dev/null +++ b/debian/README.test @@@ -1,0 -1,0 +1,8 @@@ ++Notes on how this package can be tested. ++──────────────────────────────────────── ++ ++This package can be tested by running the provided test: ++ ++ sh run-unit-test ++ ++in order to confirm its integrity. diff --cc debian/changelog index 0000000,0000000..70a8f2f new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,74 @@@ ++libcereal (1.2.2-3) unstable; urgency=medium ++ ++ * Team upload. ++ * Do not try to change non-existing files in binary all builds ++ Closes: #916969 ++ ++ -- Andreas Tille Thu, 20 Dec 2018 22:34:59 +0100 ++ ++libcereal (1.2.2-2) unstable; urgency=medium ++ ++ * Team upload. ++ * Fix autopkgtest ++ Closes: #911261 ++ * Normalise autopkgtest (as in other Debian Med packages) ++ * debhelper 11 ++ * Remove trailing whitespace in debian/changelog ++ ++ -- Andreas Tille Thu, 20 Dec 2018 15:07:17 +0100 ++ ++libcereal (1.2.2-1) unstable; urgency=medium ++ ++ * New upstream release. ++ ++ -- Michael R. Crusoe Wed, 17 Oct 2018 02:06:26 -0700 ++ ++libcereal (1.2.1-3) unstable; urgency=medium ++ ++ * Team upload ++ * Do not set -Werror which makes build fail when using gcc-7 ++ Closes: #853486 ++ * debhelper 10 ++ * Standards-Version: 4.1.0 (no changes needed) ++ ++ -- Andreas Tille Thu, 31 Aug 2017 23:28:27 +0200 ++ ++libcereal (1.2.1-2) unstable; urgency=medium ++ ++ * Make Doxygen docs reproducible. ++ ++ -- Michael R. Crusoe Thu, 10 Nov 2016 04:01:18 -0800 ++ ++libcereal (1.2.1-1) unstable; urgency=medium ++ ++ * New upstream release with support for g++ 6 (Closes: #834187) ++ * Drop arm compatibility patch as it was incorporated upstream ++ ++ -- Michael R. Crusoe Sun, 14 Aug 2016 02:11:45 -0700 ++ ++libcereal (1.1.2-4) unstable; urgency=medium ++ ++ * Drop multilib builddeb (Closes: #814530) ++ ++ -- Michael R. Crusoe Fri, 12 Feb 2016 16:27:13 -0800 ++ ++libcereal (1.1.2-3) unstable; urgency=medium ++ ++ * Applied patch from upstream, try building on all archs again. ++ ++ -- Michael R. Crusoe Thu, 11 Feb 2016 14:04:10 -0800 ++ ++libcereal (1.1.2-2) unstable; urgency=medium ++ ++ * Only build for *-amd64, sparc64 until upstream fixes their code. ++ (Closes: # 813280, #813281, #813282) ++ * Added autopkgtest ++ * Fix Vcs-Git URL. ++ ++ -- Michael R. Crusoe Sun, 31 Jan 2016 00:19:40 -0800 ++ ++libcereal (1.1.2-1) unstable; urgency=low ++ ++ * Initial release (Closes: #800335) ++ ++ -- Michael R. Crusoe Fri, 18 Sep 2015 19:13:43 -0700 diff --cc debian/compat index 0000000,0000000..b4de394 new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++11 diff --cc debian/control index 0000000,0000000..f2ef210 new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,37 @@@ ++Source: libcereal ++Maintainer: Debian Med Packaging Team ++Uploaders: Michael R. Crusoe ++Section: libdevel ++Priority: optional ++Build-Depends: debhelper (>= 11~), ++ libboost-serialization-dev, ++ libboost-test-dev, ++ cmake, ++ doxygen ++Standards-Version: 4.2.1 ++Vcs-Browser: https://salsa.debian.org/med-team/libcereal ++Vcs-Git: https://salsa.debian.org/med-team/libcereal.git ++Homepage: http://uscilab.github.io/cereal/ ++ ++Package: libcereal-dev ++Architecture: any ++Depends: ${misc:Depends} ++Description: C++11 library for serialization ++ cereal is a header-only C++11 serialization library. cereal takes arbitrary ++ data types and reversibly turns them into different representations, such as ++ compact binary encodings, XML, or JSON. cereal was designed to be fast, ++ light-weight, and easy to extend - it has no external dependencies and can be ++ easily bundled with other code or used standalone. ++ ++Package: libcereal-doc ++Architecture: all ++Section: doc ++Depends: ${misc:Depends} ++Description: C++11 library for serialization HTML documentation ++ cereal is a header-only C++11 serialization library. cereal takes arbitrary ++ data types and reversibly turns them into different representations, such as ++ compact binary encodings, XML, or JSON. cereal was designed to be fast, ++ light-weight, and easy to extend - it has no external dependencies and can be ++ easily bundled with other code or used standalone. ++ . ++ This package contains the HTML documentation. diff --cc debian/copyright index 0000000,0000000..12973c0 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,107 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: cereal ++Source: https://github.com/USCiLab/cereal ++ ++Files: * ++Copyright: (c) 2014, Randolph Voorhies, Shane Grant ++License: bsd-3-clause ++ ++Files: include/cereal/external/base64.hpp ++Copyright: (C) 2004-2008 René Nyffenegger ++License: other ++ This source code is provided 'as-is', without any express or implied ++ warranty. In no event will the author be held liable for any damages ++ arising from the use of this software. ++ . ++ Permission is granted to anyone to use this software for any purpose, ++ including commercial applications, and to alter it and redistribute it ++ freely, subject to the following restrictions: ++ . ++ 1. The origin of this source code must not be misrepresented; you must not ++ claim that you wrote the original source code. If you use this source code ++ in a product, an acknowledgment in the product documentation would be ++ appreciated but is not required. ++ . ++ 2. Altered source versions must be plainly marked as such, and must not be ++ misrepresented as being the original source code. ++ . ++ 3. This notice may not be removed or altered from any source distribution. ++ . ++ René Nyffenegger rene.nyffenegger@adp-gmbh.ch ++ ++Files: include/cereal/external/rapidxml/* ++Copyright: Copyright (c) 2006, 2007, 2009 Marcin Kalicinski ++License: BSL-1.0 or Expat ++ ++Files: include/cereal/external/rapidjson/* ++Copyright: (C) 2011 Milo Yip ++License: Expat ++ ++Files: debian/* ++Copyright: © 2015 Michael R. Crusoe ++License: bsd-3-clause ++ ++License: BSL-1.0 ++ Permission is hereby granted, free of charge, to any person or organization ++ obtaining a copy of the software and accompanying documentation covered by ++ this license (the "Software") to use, reproduce, display, distribute, ++ execute, and transmit the Software, and to prepare derivative works of the ++ Software, and to permit third-parties to whom the Software is furnished to ++ do so, all subject to the following: ++ . ++ The copyright notices in the Software and this entire statement, including ++ the above license grant, this restriction and the following disclaimer, ++ must be included in all copies of the Software, in whole or in part, and ++ all derivative works of the Software, unless such copies or derivative ++ works are solely in the form of machine-executable object code generated by ++ a source language processor. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT ++ SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE ++ FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ++ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER ++ DEALINGS IN THE SOFTWARE. ++ ++License: Expat ++ Permission is hereby granted, free of charge, to any person obtaining a copy ++ of this software and associated documentation files (the "Software"), to deal ++ in the Software without restriction, including without limitation the rights ++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ++ copies of the Software, and to permit persons to whom the Software is ++ furnished to do so, subject to the following conditions: ++ . ++ The above copyright notice and this permission notice shall be included in ++ all copies or substantial portions of the Software. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR ++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN ++ THE SOFTWARE. ++ ++License: bsd-3-clause ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions are met: ++ * Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ * Redistributions in binary form must reproduce the above copyright ++ notice, this list of conditions and the following disclaimer in the ++ documentation and/or other materials provided with the distribution. ++ * Neither the name of cereal nor the ++ names of its contributors may be used to endorse or promote products ++ derived from this software without specific prior written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ++ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ++ DISCLAIMED. IN NO EVENT SHALL RANDOLPH VOORHIES OR SHANE GRANT BE LIABLE FOR ANY ++ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ++ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ++ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ++ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ++ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ++ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --cc debian/libcereal-dev.docs index 0000000,0000000..4456dc1 new file mode 100644 --- /dev/null +++ b/debian/libcereal-dev.docs @@@ -1,0 -1,0 +1,2 @@@ ++debian/tests/run-unit-test ++debian/README.test diff --cc debian/libcereal-dev.install index 0000000,0000000..8be5135 new file mode 100644 --- /dev/null +++ b/debian/libcereal-dev.install @@@ -1,0 -1,0 +1,3 @@@ ++include/cereal usr/include/ ++CMakeLists.txt usr/share/doc/libcereal-dev/tests/ ++unittests usr/share/doc/libcereal-dev/tests/ diff --cc debian/libcereal-doc.doc-base index 0000000,0000000..6884491 new file mode 100644 --- /dev/null +++ b/debian/libcereal-doc.doc-base @@@ -1,0 -1,0 +1,13 @@@ ++Document: libcereal ++Title: cereal - C++11 library for serialization ++Author: Randolph Voorhies, Shane Grant ++Abstract: cereal is a header-only C++11 serialization library. cereal takes ++ arbitrary data types and reversibly turns them into different representations, ++ such as compact binary encodings, XML, or JSON. cereal was designed to be ++ fast, light-weight, and easy to extend - it has no external dependencies and ++ can be easily bundled with other code or used standalone. ++Section: Programming/C++ ++ ++Format: html ++Files: /usr/share/doc/libcereal-dev/html/* ++Index: /usr/share/doc/libcereal-dev/html/index.html diff --cc debian/libcereal-doc.install index 0000000,0000000..68a9786 new file mode 100644 --- /dev/null +++ b/debian/libcereal-doc.install @@@ -1,0 -1,0 +1,1 @@@ ++obj-*/doc/html usr/share/doc/libcereal-dev/ diff --cc debian/patches/add-only-tests-target index 0000000,0000000..8438aff new file mode 100644 --- /dev/null +++ b/debian/patches/add-only-tests-target @@@ -1,0 -1,0 +1,39 @@@ ++Author: Michael R. Crusoe ++Description: build just the tests, as an option for autopkgtest later ++With assistance from Kevin D. Murray; thanks! ++--- libcereal.orig/CMakeLists.txt +++++ libcereal/CMakeLists.txt ++@@ -32,6 +32,8 @@ ++ endif() ++ endif() ++ +++option(ONLY_TESTS "Don't build docs, or sandbox" OFF) +++ ++ if(NOT CMAKE_VERSION VERSION_LESS 3.0) ++ add_library(cereal INTERFACE) ++ target_include_directories(cereal INTERFACE ++@@ -49,18 +51,21 @@ ++ return() ++ endif() ++ ++-include_directories(./include) ++ ++ # Boost serialization for performance sandbox ++ find_package(Boost COMPONENTS serialization) ++ ++ if(Boost_FOUND) ++ include_directories(SYSTEM ${Boost_INCLUDE_DIRS}) +++ if(NOT ONLY_TEST) +++ include_directories(./include) +++ endif(NOT ONLY_TEST) ++ endif(Boost_FOUND) ++ ++ enable_testing() ++ add_subdirectory(unittests) ++- ++-add_subdirectory(sandbox) +++if(NOT ONLY_TEST) +++ add_subdirectory(sandbox) +++endif(NOT ONLY_TEST) ++ ++ add_subdirectory(doc) diff --cc debian/patches/drop-google-analytics index 0000000,0000000..7e31309 new file mode 100644 --- /dev/null +++ b/debian/patches/drop-google-analytics @@@ -1,0 -1,0 +1,19 @@@ ++Description: Drop google analytics ++--- libcereal.orig/doc/footer.html +++++ libcereal/doc/footer.html ++@@ -17,15 +17,5 @@ ++ $doxygenversion ++ ++ ++- ++ ++ diff --cc debian/patches/no_-Werror.patch index 0000000,0000000..f994030 new file mode 100644 --- /dev/null +++ b/debian/patches/no_-Werror.patch @@@ -1,0 -1,0 +1,18 @@@ ++Author: Andreas Tille ++last-Update: Thu, 31 Aug 2017 23:24:39 +0200 ++Bug-Debian: https://bugs.debian.org/853486 ++Description: Do not set -Werror which makes build fail when using gcc-7 ++ ++--- libcereal.orig/CMakeLists.txt +++++ libcereal/CMakeLists.txt ++@@ -18,10 +18,6 @@ ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj /W3 /WX") ++ else() ++ set(CMAKE_CXX_FLAGS "-Wall -g -Wextra -Wshadow -pedantic -Wold-style-cast ${CMAKE_CXX_FLAGS}") ++- option(WITH_WERROR "Compile with '-Werror' C++ compiler flag" ON) ++- if(WITH_WERROR) ++- set(CMAKE_CXX_FLAGS "-Werror ${CMAKE_CXX_FLAGS}") ++- endif(WITH_WERROR) ++ if(CMAKE_VERSION VERSION_LESS 3.1) ++ set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}") ++ else() diff --cc debian/patches/reproducible-doxygen index 0000000,0000000..38b5cbe new file mode 100644 --- /dev/null +++ b/debian/patches/reproducible-doxygen @@@ -1,0 -1,0 +1,14 @@@ ++From: Michael R. Crusoe ++Subject: Make doxygen docs reproducible ++ ++--- libcereal.orig/doc/doxygen.in +++++ libcereal/doc/doxygen.in ++@@ -130,7 +130,7 @@ ++ # relative paths, which will be relative from the directory where doxygen is ++ # started. ++ ++-STRIP_FROM_PATH = +++STRIP_FROM_PATH = @CMAKE_CURRENT_SOURCE_DIR@ ++ ++ # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of ++ # the path mentioned in the documentation of a class, which tells diff --cc debian/patches/series index 0000000,0000000..92ff309 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,4 @@@ ++reproducible-doxygen ++drop-google-analytics ++add-only-tests-target ++no_-Werror.patch diff --cc debian/rules index 0000000,0000000..d6d43df new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,14 @@@ ++#!/usr/bin/make -f ++ ++%: ++ dh $@ ++ ++override_dh_auto_configure: ++ dh_auto_configure -- -DSKIP_PORTABILITY_TEST=on ++ ++override_dh_auto_build: ++ dh_auto_build -- all doc ++ ++override_dh_install: ++ dh_install --exclude license ++ find debian/*/usr/share/doc -name CMakeLists.txt -exec sed -i '/add_subdirectory(doc)/d' \{\} \; diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/tests/control index 0000000,0000000..199fb5e new file mode 100644 --- /dev/null +++ b/debian/tests/control @@@ -1,0 -1,0 +1,3 @@@ ++Tests: run-unit-test ++Depends: @, @builddeps@ ++Restrictions: allow-stderr diff --cc debian/tests/run-unit-test index 0000000,0000000..765bdc5 new file mode 100755 --- /dev/null +++ b/debian/tests/run-unit-test @@@ -1,0 -1,0 +1,15 @@@ ++#!/bin/sh ++ ++pkg=libcereal-dev ++ ++if [ "$AUTOPKGTEST_TMP" = "" ] ; then ++ AUTOPKGTEST_TMP=`mktemp -d /tmp/${pkg}-test.XXXXXX` ++ trap "rm -rf $AUTOPKGTEST_TMP" 0 INT QUIT ABRT PIPE TERM ++fi ++ ++cd $AUTOPKGTEST_TMP ++ ++cp -rs /usr/share/doc/${pkg}/tests/* . ++for file in `find . -name "*.gz"`; do gunzip < ${file} > ${file%%.gz}; done ++cmake -DONLY_TEST=on -DSKIP_PORTABILITY_TEST=on . ++make diff --cc debian/watch index 0000000,0000000..b3ae837 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,10 @@@ ++version=3 ++# Uncomment to find new files on Github ++# - when using releases: ++opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libcereal-$1\.tar\.gz/ \ ++https://github.com/USCiLab/cereal/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz) ++# Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible ++ ++# if you need to repack and choose +dfsg prefix ++# opts=dversionmangle=s/[~\+]dfsg[0-9]*// \ ++#