libcereal (1.2.2-3) unstable; urgency=medium
authorAndreas Tille <tille@debian.org>
Thu, 20 Dec 2018 21:34:59 +0000 (22:34 +0100)
committerAndreas Tille <tille@debian.org>
Thu, 20 Dec 2018 21:34:59 +0000 (22:34 +0100)
  * Team upload.
  * Do not try to change non-existing files in binary all builds
Closes: #916969
[dgit import unpatched libcereal 1.2.2-3]

19 files changed:
1  2 
debian/README.test
debian/changelog
debian/compat
debian/control
debian/copyright
debian/libcereal-dev.docs
debian/libcereal-dev.install
debian/libcereal-doc.doc-base
debian/libcereal-doc.install
debian/patches/add-only-tests-target
debian/patches/drop-google-analytics
debian/patches/no_-Werror.patch
debian/patches/reproducible-doxygen
debian/patches/series
debian/rules
debian/source/format
debian/tests/control
debian/tests/run-unit-test
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..90657cf6886cca928525b0fedab4237427bab90f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -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.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..70a8f2f0f088d00fac8e20c472c14865c48c75c9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -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 <tille@debian.org>  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 <tille@debian.org>  Thu, 20 Dec 2018 15:07:17 +0100
++
++libcereal (1.2.2-1) unstable; urgency=medium
++
++  * New upstream release.
++
++ -- Michael R. Crusoe <michael.crusoe@gmail.com>  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 <tille@debian.org>  Thu, 31 Aug 2017 23:28:27 +0200
++
++libcereal (1.2.1-2) unstable; urgency=medium
++
++  * Make Doxygen docs reproducible.
++
++ -- Michael R. Crusoe <michael.crusoe@gmail.com>  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 <michael.crusoe@gmail.com>  Sun, 14 Aug 2016 02:11:45 -0700
++
++libcereal (1.1.2-4) unstable; urgency=medium
++
++  * Drop multilib builddeb (Closes: #814530)
++
++ -- Michael R. Crusoe <crusoe@ucdavis.edu>  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 <crusoe@ucdavis.edu>  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 <crusoe@ucdavis.edu>  Sun, 31 Jan 2016 00:19:40 -0800
++
++libcereal (1.1.2-1) unstable; urgency=low
++
++  * Initial release (Closes: #800335)
++
++ -- Michael R. Crusoe <crusoe@ucdavis.edu>  Fri, 18 Sep 2015 19:13:43 -0700
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b4de3947675361a7770d29b8982c407b0ec6b2a0
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++11
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f2ef21085217c7fb13dd035241a0cc9e45d77ad5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,37 @@@
++Source: libcereal
++Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
++Uploaders: Michael R. Crusoe <michael.crusoe@gmail.com>
++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.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..12973c04e909870758eb6164d91854c8be6616db
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -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 <miloyip@gmail.com>
++License: Expat
++
++Files: debian/*
++Copyright: © 2015 Michael R. Crusoe <crusoe@ucdavis.edu>
++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.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4456dc18adf8872fa89effb147b52e7ba03c4b4b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++debian/tests/run-unit-test
++debian/README.test
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8be51358af64ad0e631efb8fe67690aa021381ba
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -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/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..6884491bc014023aca1b0ebef903ae4c986d66a5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -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
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..68a97869da9a971270f71344b605dcb19076c475
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++obj-*/doc/html usr/share/doc/libcereal-dev/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8438affd2e0b845db0c682cbe2a9970ad388e0b5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,39 @@@
++Author: Michael R. Crusoe <crusoe@ucdavis.edu>
++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)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7e313095c6a42aead1c08153f2916bcde34f6b64
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,19 @@@
++Description: Drop google analytics
++--- libcereal.orig/doc/footer.html
+++++ libcereal/doc/footer.html
++@@ -17,15 +17,5 @@
++ </a> $doxygenversion
++ </small></address>
++ <!--END !GENERATE_TREEVIEW-->
++-<script>
++-  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
++-  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
++-  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
++-  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
++-
++-  ga('create', 'UA-42360142-1', 'uscilab.github.io');
++-  ga('send', 'pageview');
++-
++-</script>
++ </body>
++ </html>
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f994030d46c687b51cab319d1a4c54dfa574c53f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,18 @@@
++Author: Andreas Tille <tille@debian.org>
++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()
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..38b5cbefdd79713d7a4a25b353640a052c5c548f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,14 @@@
++From: Michael R. Crusoe <michael.crusoe@gmail.com>
++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
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..92ff3097b7136e6b7e4932a5fe64d4871df4bbf7
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++reproducible-doxygen
++drop-google-analytics
++add-only-tests-target
++no_-Werror.patch
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d6d43df5de3840d6b90a1cb018ef831f12d87c76
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -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' \{\} \;
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..199fb5e0792c5966e43def6a60267000c118e7ad
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++Tests: run-unit-test
++Depends: @, @builddeps@
++Restrictions: allow-stderr
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..765bdc502f839668e24b56030d59377d2b229144
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -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 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b3ae8376341ff627b6c4ab197953505ac5e01764
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -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]*// \
++#