--- mcloud-1.0.0+17.10.20170726.orig/debian/VERSION +++ mcloud-1.0.0+17.10.20170726/debian/VERSION @@ -0,0 +1 @@ +1 --- mcloud-1.0.0+17.10.20170726.orig/debian/VERSION.vivid +++ mcloud-1.0.0+17.10.20170726/debian/VERSION.vivid @@ -0,0 +1 @@ +0 --- mcloud-1.0.0+17.10.20170726.orig/debian/bileto_pre_release_hook +++ mcloud-1.0.0+17.10.20170726/debian/bileto_pre_release_hook @@ -0,0 +1,24 @@ +set -eu + +[ -n "${SERIES:-}" ] || SERIES="$(lsb_release -c -s)" + +if [ "$SERIES" = "vivid" ]; then + export MCLOUD_SOVERSION=$(cat ./debian/VERSION.vivid) +else + export MCLOUD_SOVERSION=$(cat ./debian/VERSION) +fi + +infile=./debian/control.in +outfile=./debian/control + +cat > $outfile <> $outfile + +exit 0 --- mcloud-1.0.0+17.10.20170726.orig/debian/changelog +++ mcloud-1.0.0+17.10.20170726/debian/changelog @@ -0,0 +1,50 @@ +mcloud (1.0.0+17.10.20170726-0ubuntu1) artful; urgency=medium + + [ Gary Wang ] + * Re-write test cases with storage-framework 0.2 client api + * Fix failed test cases in artful. + + -- Gary.Wang Wed, 26 Jul 2017 11:58:36 +0000 + +mcloud (1.0.0+17.04.20161107.3-0ubuntu1) zesty; urgency=medium + + * Update to compile with Boost 1.62 (as found on zesty) and storage- + framework 0.2. + + -- James Henstridge Mon, 07 Nov 2016 02:02:55 +0000 + +mcloud (1.0.0+16.10.20160927.3-0ubuntu1) yakkety; urgency=medium + + [ Gary Wang ] + * Update provider to enable data streaming directly without local cache. + * Support content data reading call back function when uploading. + * Fixes critical variable protection for for pause_ in syncthread. + * Append newCatalogName when generating upload link. + * Add etag field for content and folder. + * Fix page index for content listing. + * Add UploadRequest structure. + * Exception domain_error -> runtime_error. + * Bump version. + * Support to customize content name for upload + * Query value of etag filed for folder and content + * error handing fixing(Domain_error --> runtime_error) + * Set access token before authenticating all mcloud API calls (new api + introduce), not to refresh token. + * Fix error when retrieve content info. + * Add content info test case. + * Introduce new member(folder path) for cloud folder. + * Make syncmanager visible and expose relevant APIs. + * Add new bunch of API(content_info, create_folder, move_items,update_items) and relevant test cases. + * Set abort condition for request (abort_request_if net-cpp 2.0). + * Modify task status when it's changed. + * Cancel unstarted task when syncmanager cancels tasks. + * Change sync_download to add_download_tasks and return download task list. + * Change sync_upload to add_upload_tasks and return upload task list. + * Add progress handler for download and upload task. + * Add status handler for download and upload task. + * Remove deprecated API(set_auth_info). + + [ Gary.Wzl ] + * First landing of mcloud library. + + -- Gary.Wang Tue, 27 Sep 2016 04:44:02 +0000 --- mcloud-1.0.0+17.10.20170726.orig/debian/compat +++ mcloud-1.0.0+17.10.20170726/debian/compat @@ -0,0 +1 @@ +9 --- mcloud-1.0.0+17.10.20170726.orig/debian/control +++ mcloud-1.0.0+17.10.20170726/debian/control @@ -0,0 +1,77 @@ +# This file is autogenerated. DO NOT EDIT! +# +# Modifications should be made to debian/control.in instead. +# This file is regenerated automatically in the clean target. +# +Source: mcloud +Priority: optional +Maintainer: Gary Wang +Build-Depends: cmake, + cmake-extras (>= 0.10), + debhelper (>= 9), + doxygen, + google-mock, + graphviz, + libnet-cpp-dev (>= 2.0.0), + libboost-dev (>= 1.58) | libboost1.58-dev, + libboost-filesystem-dev (>= 1.58) | libboost-filesystem1.58-dev, + libboost-system-dev (>= 1.58) | libboost-system1.58-dev, + libboost-regex-dev (>= 1.58) | libboost-regex1.58-dev, + libtinyxml2-dev, + libssl-dev, + libprocess-cpp-dev, + libstorage-framework-qt-client-2-0, + storage-framework-provider-dev (>= 0.2), + storage-framework-client-dev (>= 0.2), + pkg-config, + python-tornado, + libonline-accounts-qt-dev, + libqtdbustest1-dev, + qtbase5-dev, + qtbase5-dev-tools, + python3-dbus, + python3-gi, + libglib2.0-dev, + lsb-release, +Standards-Version: 3.9.5 +Section: libs +Homepage: https://launchpad.net/mcloud +Vcs-Bzr: https://code.launchpad.net/mcloud/trunk +Vcs-Browser: https://bazaar.launchpad.net/mcloud/trunk/files + +Package: libmcloud1 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: A C++ library for open API of cmcc mcloud service + Mcloud API provides developers easily access to authenticated + user's cmcc mcloud resources. + . + This package includes the mcloud runtime libraries. + +Package: libmcloud-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: libmcloud1 (= ${binary:Version}), + ${misc:Depends}, +Description: A C++ library for open API of cmcc mcloud service + Mcloud API provides developers easily access to authenticated + user's cmcc mcloud resources. + . + This package includes all the development headers and libraries for + mcloud. + +Package: libmcloud-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, +Suggests: libmcloud-dev, +Description: A C++ library for open API of cmcc mcloud service + Mcloud API provides developers easily access to authenticated + user's cmcc mcloud resources. + . + This package includes documentation files for libmcloud development. --- mcloud-1.0.0+17.10.20170726.orig/debian/control.in +++ mcloud-1.0.0+17.10.20170726/debian/control.in @@ -0,0 +1,72 @@ +Source: mcloud +Priority: optional +Maintainer: Gary Wang +Build-Depends: cmake, + cmake-extras (>= 0.10), + debhelper (>= 9), + doxygen, + google-mock, + graphviz, + libnet-cpp-dev (>= 2.0.0), + libboost-dev (>= 1.58) | libboost1.58-dev, + libboost-filesystem-dev (>= 1.58) | libboost-filesystem1.58-dev, + libboost-system-dev (>= 1.58) | libboost-system1.58-dev, + libboost-regex-dev (>= 1.58) | libboost-regex1.58-dev, + libtinyxml2-dev, + libssl-dev, + libprocess-cpp-dev, + libstorage-framework-qt-client-2-0, + storage-framework-provider-dev (>= 0.2), + storage-framework-client-dev (>= 0.2), + pkg-config, + python-tornado, + libonline-accounts-qt-dev, + libqtdbustest1-dev, + qtbase5-dev, + qtbase5-dev-tools, + python3-dbus, + python3-gi, + libglib2.0-dev, + lsb-release, +Standards-Version: 3.9.5 +Section: libs +Homepage: https://launchpad.net/mcloud +Vcs-Bzr: https://code.launchpad.net/mcloud/trunk +Vcs-Browser: https://bazaar.launchpad.net/mcloud/trunk/files + +Package: libmcloud@MCLOUD_SOVERSION@ +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: ${misc:Depends}, + ${shlibs:Depends}, +Description: A C++ library for open API of cmcc mcloud service + Mcloud API provides developers easily access to authenticated + user's cmcc mcloud resources. + . + This package includes the mcloud runtime libraries. + +Package: libmcloud-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends}, +Depends: libmcloud@MCLOUD_SOVERSION@ (= ${binary:Version}), + ${misc:Depends}, +Description: A C++ library for open API of cmcc mcloud service + Mcloud API provides developers easily access to authenticated + user's cmcc mcloud resources. + . + This package includes all the development headers and libraries for + mcloud. + +Package: libmcloud-doc +Section: doc +Architecture: all +Depends: ${misc:Depends}, +Suggests: libmcloud-dev, +Description: A C++ library for open API of cmcc mcloud service + Mcloud API provides developers easily access to authenticated + user's cmcc mcloud resources. + . + This package includes documentation files for libmcloud development. --- mcloud-1.0.0+17.10.20170726.orig/debian/copyright +++ mcloud-1.0.0+17.10.20170726/debian/copyright @@ -0,0 +1,22 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: mcloud +Source: https://launchpad.net/mcloud + +Files: * +Copyright: Copyright (C) 2016 Canonical, Ltd. +License: LGPL-3.0 + This package 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 package 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 General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU Lesser General + Public License can be found in /usr/share/common-licenses/LGPL-3. --- mcloud-1.0.0+17.10.20170726.orig/debian/libmcloud-dev.install +++ mcloud-1.0.0+17.10.20170726/debian/libmcloud-dev.install @@ -0,0 +1,3 @@ +usr/include/mcloud/* +usr/lib/*/libmcloud.so +usr/lib/*/pkgconfig/* --- mcloud-1.0.0+17.10.20170726.orig/debian/libmcloud-doc.install +++ mcloud-1.0.0+17.10.20170726/debian/libmcloud-doc.install @@ -0,0 +1 @@ +usr/share/doc/mcloud/ --- mcloud-1.0.0+17.10.20170726.orig/debian/libmcloud0.install +++ mcloud-1.0.0+17.10.20170726/debian/libmcloud0.install @@ -0,0 +1,3 @@ +usr/lib/*/lib*.so.* +usr/bin/* +usr/share/dbus-1/services/* --- mcloud-1.0.0+17.10.20170726.orig/debian/libmcloud1.install +++ mcloud-1.0.0+17.10.20170726/debian/libmcloud1.install @@ -0,0 +1,3 @@ +usr/lib/*/lib*.so.* +usr/bin/* +usr/share/dbus-1/services/* --- mcloud-1.0.0+17.10.20170726.orig/debian/rules +++ mcloud-1.0.0+17.10.20170726/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +export DPKG_GENSYMBOLS_CHECK_LEVEL=4 + +include /usr/share/dpkg/default.mk + +SERIES ?= $(shell lsb_release -c -s) + +ifeq ($(SERIES),vivid) + soversion=$(shell cat $(CURDIR)/debian/VERSION.vivid) +else + soversion=$(shell cat $(CURDIR)/debian/VERSION) +endif + +# The home directory of user buildd does not exist on the builders +export XDG_DATA_HOME=/tmp + +%: + dh $@ --fail-missing + +override_dh_auto_configure: + dh_auto_configure -- -DMCLOUD_SOVERSION=$(soversion) + +override_dh_auto_clean: + /bin/sh $(CURDIR)/debian/bileto_pre_release_hook + dh_auto_clean