--- persistent-cache-cpp-1.0.4+16.10.20160823.orig/CMakeLists.txt +++ persistent-cache-cpp-1.0.4+16.10.20160823/CMakeLists.txt @@ -82,7 +82,7 @@ include(CTest) enable_testing() -include(EnableCoverageReport) +find_package(CoverageReport) find_package(Boost COMPONENTS filesystem REQUIRED) find_package(Threads REQUIRED) @@ -107,7 +107,7 @@ ${UNIT_TEST_TARGETS} ) -include(UseDoxygen OPTIONAL) +find_package(DoxygenBuilder) file(GLOB public_headers ${CMAKE_SOURCE_DIR}/include/core/*.h) add_doxygen( --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/changelog +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/changelog @@ -0,0 +1,69 @@ +persistent-cache-cpp (1.0.4+16.10.20160823-0ubuntu4) disco; urgency=medium + + * Rebuild for libleveldb1v5 -> libleveldb1d transition. + + -- Adam Conrad Fri, 12 Apr 2019 12:36:06 -0600 + +persistent-cache-cpp (1.0.4+16.10.20160823-0ubuntu3) artful; urgency=medium + + * Use new syntax for doxygen and coverage + + -- Gianfranco Costamagna Wed, 11 Oct 2017 15:54:17 +0200 + +persistent-cache-cpp (1.0.4+16.10.20160823-0ubuntu1) yakkety; urgency=medium + + * Changed python dependency to python for cross-builds. + + -- Michi Henning Tue, 23 Aug 2016 01:08:14 +0000 + +persistent-cache-cpp (1.0.4+16.10.20160505.5-0ubuntu1) yakkety; urgency=medium + + [ CI Train Bot ] + * No-change rebuild. + + -- Michi Henning Thu, 05 May 2016 05:52:21 +0000 + +persistent-cache-cpp (1.0.4+16.04.20160117-0ubuntu2) yakkety; urgency=medium + + * No-change rebuild to pick up -fPIE on amd64. + + -- Graham Inggs Wed, 04 May 2016 17:55:45 +0200 + +persistent-cache-cpp (1.0.4+16.04.20160117-0ubuntu1) xenial; urgency=medium + + [ Michi Henning ] + * Fixed assertion failure when move-constructing a stats instance from + the internal instance. + + [ CI Train Bot ] + * No-change rebuild. + + -- Michi Henning Sun, 17 Jan 2016 22:35:54 +0000 + +persistent-cache-cpp (1.0.4+15.10.20150819.2-0ubuntu1) wily; urgency=medium + + [ Michi Henning ] + * Added average hit and miss run stats. + + [ CI Train Bot ] + * New rebuild forced. + + -- CI Train Bot Wed, 19 Aug 2015 21:50:26 +0000 + +persistent-cache-cpp (1.0.3+15.10.20150807-0ubuntu1) wily; urgency=medium + + [ Michi Henning ] + * Suppressed lintian warning about doxygen's use of jquery.js. + * Added missing dependency to autopkg test. + + -- CI Train Bot Fri, 07 Aug 2015 11:09:03 +0000 + +persistent-cache-cpp (1.0.0+15.10.20150805-0ubuntu1) wily; urgency=medium + + [ Michi Henning ] + * Initial release + + [ CI Train Bot ] + * New rebuild forced. + + -- CI Train Bot Wed, 05 Aug 2015 00:21:58 +0000 --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/compat +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/compat @@ -0,0 +1 @@ +9 --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/control +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/control @@ -0,0 +1,43 @@ +Source: persistent-cache-cpp +Priority: optional +Maintainer: Ubuntu Developers +Build-Depends: cmake, + cmake-extras (>= 0.4), + debhelper (>= 9), + devscripts, + doxygen, + libboost-filesystem-dev, + libgtest-dev, + libleveldb-dev, + lsb-release, + pkg-config, + python3 , +Standards-Version: 3.9.6 +XS-Testsuite: autopkgtest +Section: libs +Homepage: https://launchpad.net/persistent-cache-cpp +# if you don't have have commit access to this branch but would like to upload +# directly to Ubuntu, don't worry: your changes will be merged back into the +# upstream branch +Vcs-Bzr: lp:persistent-cache-cpp +Vcs-Browser: https://code.launchpad.net/persistent-cache-cpp + +Package: persistent-cache-cpp-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: ${misc:Depends}, + libboost-dev, + libleveldb-dev, + pkg-config, +Description: Cache of key-value pairs with persistent storage for C++ 11 + A persistent cache for arbitrary (possibly large amount of data, such as + image files) that is fast, scalable, and crash-proof. + +Package: persistent-cache-cpp-doc +Section: doc +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, +Description: Documentation for persistent-cache-cpp-dev + Examples and API reference. --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/copyright +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/copyright @@ -0,0 +1,23 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: persistent-cache-cpp +Source: https://launchpad.net/persistent-cache-cpp + +Files: * +Copyright: 2015 Canonical Ltd. +License: LGPL-3 + +License: LGPL-3 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation, version 3 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see . + . + On Debian systems, the full text of the GNU General Public License + version 3 can be found in the file /usr/share/common-licenses/LGPL-3. --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/persistent-cache-cpp-dev.install +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/persistent-cache-cpp-dev.install @@ -0,0 +1,3 @@ +usr/include/core/* +/usr/lib/*/libpersistent-cache-cpp.a +/usr/lib/*/pkgconfig/*.pc --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/persistent-cache-cpp-doc.install +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/persistent-cache-cpp-doc.install @@ -0,0 +1,2 @@ +/usr/share/doc/persistent-cache-cpp/* +/usr/share/doc/persistent-cache-cpp/examples/* --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/persistent-cache-cpp-doc.lintian-overrides +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/persistent-cache-cpp-doc.lintian-overrides @@ -0,0 +1,3 @@ +# Nothing we can do about this because, depending on the installed version +# of jquery.js, the tree widget breaks. +persistent-cache-cpp-doc: embedded-javascript-library --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/rules +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +%: + dh $@ --parallel --fail-missing + +override_dh_auto_configure: + dh_auto_configure -- --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/tests/control +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/tests/control @@ -0,0 +1,2 @@ +Tests: test-examples +Depends: @, g++, libboost-dev, libleveldb-dev, pkg-config --- persistent-cache-cpp-1.0.4+16.10.20160823.orig/debian/tests/test-examples +++ persistent-cache-cpp-1.0.4+16.10.20160823/debian/tests/test-examples @@ -0,0 +1,38 @@ +#!/bin/sh + +# +# Copyright (C) 2015 Canonical Ltd. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Lesser General Public License version 3 as +# published by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public License +# along with this program. If not, see . +# +# Authored by: Michi Henning +# + +set -e # Fail if any command fails. + +WORKDIR=$(mktemp -d) +trap "rm -rf $WORKDIR" 0 INT QUIT ABRT PIPE TERM +cd $WORKDIR + +cp /usr/share/doc/persistent-cache-cpp/examples/string_cache.cpp . +cp /usr/share/doc/persistent-cache-cpp/examples/person_cache.cpp . + +g++ --std=c++11 -o string_cache string_cache.cpp `pkg-config --cflags --libs libpersistent-cache-cpp` +[ -x string_cache ] +g++ --std=c++11 -o person_cache person_cache.cpp `pkg-config --cflags --libs libpersistent-cache-cpp` +[ -x person_cache ] + +./string_cache +./person_cache + +echo "PASSED: autopkg tests"