--- testpilotcloud-client-2.6.3+oc.orig/debian/changelog
+++ testpilotcloud-client-2.6.3+oc/debian/changelog
@@ -0,0 +1,344 @@
+testpilotcloud-client (2.6.3+oc-2667) stable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Fri, 12 Jun 2020 12:54:59 +0000
+
+testpilotcloud-client (2.6.3-1) stable; urgency=medium
+
+  * Updated to 2.6.3
+  * The above changelog entry is autogenerated.
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 30 Mar 2017 19:12:54 +0200
+
+testpilotcloud-client (2.3.0~beta1) stable; urgency=low
+
+  * Ooooh, I have a crash. Trying to generate debugsymbol packages...
+
+ -- Jürgen Weigert <jw@owncloud.com>  Mon, 13 Mar 2017 16:33:02 +0100
+
+testpilotcloud-client (2.3.0~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.3.0
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:community:testing owncloudclient-2.3.0beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Wed, 08 Feb 2017 14:33:06 +0000
+
+testpilotcloud-client (2.3.0~pre1-2) stable; urgency=low
+
+  * Reverted according to https://github.com/owncloud/client/issues/5470#issuecomment-275680311
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 03 Feb 2017 14:32:37 +0100
+
+testpilotcloud-client (2.2.4) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.4
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:desktop owncloudclient-2.2.4.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Tue, 27 Sep 2016 09:15:49 +0000
+
+testpilotcloud-client (2.2.3) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.3
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:desktop owncloudclient-2.2.3.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 08 Aug 2016 13:49:54 +0000
+
+testpilotcloud-client (2.2.2-1) stable; urgency=medium
+
+  * fix missing translations, by adding a separate zip.
+    https://github.com/owncloud/client/issues/4987
+    https://github.com/owncloud/client/issues/4956
+
+ -- Jürgen Weigert <jw@owncloud.com>  Thu, 23 Jun 2016 11:07:16 +0200
+
+testpilotcloud-client (2.2.2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.2
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:desktop owncloudclient-2.2.2.tar.xz ownCloud.tar.xz
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 20 Jun 2016 16:25:35 +0000
+
+testpilotcloud-client (2.2.1-6) stable; urgency=low
+
+  * fix https://github.com/owncloud/client/issues/4957
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 10 Jun 2016 13:55:22 +0200
+
+testpilotcloud-client (2.2.1-5) stable; urgency=low
+
+ * fix https://github.com/owncloud/client/issues/4956
+
+ -- Jürgen Weigert <jw@owncloud.com>  Fri, 10 Jun 2016 13:07:13 +0200
+
+testpilotcloud-client (2.2.1-4) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.1
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:desktop owncloudclient-2.2.1.tar.xz ownCloud.tar.xz
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Thu, 09 Jun 2016 11:41:50 +0000
+
+testpilotcloud-client (2.2.1-3) stable; urgency=low
+
+  * added highdpi-6ccd9e8.patch
+    https://github.com/owncloud/client/issues/3414
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 07 Jun 2016 13:31:12 +0200
+
+testpilotcloud-client (2.2.1-2) stable; urgency=low
+
+  * added http://ckamm.de/~kamm/tray-patch.patch for ubuntu.
+    https://github.com/owncloud/client/pull/4947/files
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 07 Jun 2016 12:48:59 +0200
+
+testpilotcloud-client (2.2.1-1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.1
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:community:testing owncloudclient-2.2.1.tar.xz ownCloud.tar.xz
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 06 Jun 2016 09:01:25 +0000
+
+testpilotcloud-client (2.2.1~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.1
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:community:testing owncloudclient-2.2.1rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 30 May 2016 10:23:13 +0000
+
+testpilotcloud-client (2.2.0~rc1-2) stable; urgency=low
+
+  * Require keychain >= 0.6.2 for https://github.com/owncloud/client/issues/4829
+
+ -- Jürgen Weigert <jw@owncloud.com>  Tue, 17 May 2016 16:36:56 +0200
+
+testpilotcloud-client (2.2.0~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.0
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:community:testing owncloudclient-2.2.0rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Tue, 10 May 2016 15:29:33 +0000
+
+testpilotcloud-client (2.2.0~beta2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.0
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:community:testing owncloudclient-2.2.0beta2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 02 May 2016 14:59:29 +0000
+
+testpilotcloud-client (2.2.0~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.2.0
+  created by: ./genbranding.pl (V1.13) -o -p isv:ownCloud:community:testing owncloudclient-2.2.0beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 25 Apr 2016 13:49:24 +0000
+
+testpilotcloud-client (2.1.1~rc2-1) stable; urgency=low
+
+  * Fix https://github.com/owncloud/client/issues/4107
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 18 Apr 2016 22:55:07 +0200
+
+testpilotcloud-client (2.1.1~rc2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.1.1
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.1.1rc2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 08 Feb 2016 16:10:57 +0000
+
+testpilotcloud-client (2.1.1~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.1.1
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.1.1rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 25 Jan 2016 11:33:42 +0000
+
+testpilotcloud-client (2.1.1~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.1.1
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.1.1beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 18 Jan 2016 15:52:27 +0000
+
+testpilotcloud-client (2.1.0~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.1.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.1.0rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Thu, 26 Nov 2015 14:06:45 +0000
+
+testpilotcloud-client (2.1.0~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.1.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.1.0rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Thu, 26 Nov 2015 12:57:27 +0000
+
+testpilotcloud-client (2.1.0~beta1-2) stable; urgency=low
+
+  * https://github.com/owncloud/client/issues/4145
+    removed dots from descriptions, rephrased to make random capitalization harmless.
+
+ -- Juergen Weigert <jw@owncloud.com>  Thu, 19 Nov 2015 13:22:30 +0100
+
+testpilotcloud-client (2.1.0~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.1.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.1.0beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Tue, 17 Nov 2015 14:47:45 +0000
+
+testpilotcloud-client (2.0.2~rc2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.2
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.2rc2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Tue, 20 Oct 2015 11:17:05 +0000
+
+testpilotcloud-client (2.0.2~rc2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.2
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.2rc2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Tue, 20 Oct 2015 09:50:06 +0000
+
+testpilotcloud-client (2.0.2~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.2
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.2rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 16 Oct 2015 09:53:56 +0000
+
+testpilotcloud-client (2.0.2~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.2
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.2rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 16 Oct 2015 09:25:50 +0000
+
+testpilotcloud-client (2.0.0~rc2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.0rc2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 21 Aug 2015 14:08:53 +0000
+
+testpilotcloud-client (2.0.0~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.0rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Tue, 18 Aug 2015 11:29:20 +0000
+
+testpilotcloud-client (2.0.0~beta2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.0beta2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Sat, 15 Aug 2015 01:26:27 +0000
+
+testpilotcloud-client (2.0.0~beta1-2) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.0beta1.tar.xz ownCloud.tar.xz
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 07 Aug 2015 10:53:46 +0000
+
+testpilotcloud-client (2.0.0~beta1-1) stable; urgency=low
+
+  * pamper debian lintian.
+
+ -- Jürgen Weigert <testy@linux-w510-jw.own.cloud>  Fri, 07 Aug 2015 12:30:22 +0200
+
+testpilotcloud-client (2.0.0~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.0beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 07 Aug 2015 08:58:26 +0000
+
+testpilotcloud-client (2.0.0~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=2.0.0
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-2.0.0beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 07 Aug 2015 07:52:30 +0000
+
+testpilotcloud-client (1.8.3~rc3) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.3
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.3rc3.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 22 Jun 2015 06:50:30 +0000
+
+testpilotcloud-client (1.8.3~rc2) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.3
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.3rc2.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Wed, 17 Jun 2015 15:16:48 +0000
+
+testpilotcloud-client (1.8.3~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.3
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.3rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Mon, 15 Jun 2015 10:55:05 +0000
+
+testpilotcloud-client (1.8.3~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.3
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.3rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Thu, 11 Jun 2015 13:47:48 +0000
+
+testpilotcloud-client (1.8.3) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.3
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.3.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Thu, 11 Jun 2015 13:12:36 +0000
+
+testpilotcloud-client (1.8.2~rc1) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.2
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.2rc1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 05 Jun 2015 08:14:58 +0000
+
+testpilotcloud-client (1.8.2~beta1) stable; urgency=low
+
+  Automatically generated branding added. Version=1.8.2
+  created by: ./genbranding.pl (V1.12) -o -p isv:ownCloud:community:testing owncloudclient-1.8.2beta1.tar.xz ownCloud.tar.xz
+
+
+ -- ownCloud Jenkins <jenkins@owncloud.com>  Fri, 22 May 2015 14:28:18 +0000
+
--- testpilotcloud-client-2.6.3+oc.orig/debian/compat
+++ testpilotcloud-client-2.6.3+oc/debian/compat
@@ -0,0 +1 @@
+9
--- testpilotcloud-client-2.6.3+oc.orig/debian/control
+++ testpilotcloud-client-2.6.3+oc/debian/control
@@ -0,0 +1,107 @@
+Source: testpilotcloud-client
+Section: devel
+Priority: optional
+Maintainer: Jürgen Weigert <jw@owncloud.com>
+Standards-Version: 3.9.6
+Build-Depends: debhelper (>= 9), cmake, sed, doxygen, unzip | bash, pkg-config,
+	libcloudproviders-dev | bash,
+	python-sphinx | python3-sphinx, libssl-dev (>= 1.0.0), zlib1g-dev,
+	extra-cmake-modules (>= 5.50.0), libsecret-1-dev,
+	ocqt5127-libsqlite0-dev | libsqlite3-dev,
+	ocqt5127-qt5keychain-dev (>= 0.7.0),
+	ocqt5127-qt5-qmake,
+	ocqt5127-qttools5-dev-tools,
+	ocqt5127-qtbase5-dev
+
+Package: testpilotcloud-client
+Architecture: any
+Multi-Arch: same
+Depends: ${misc:Depends}, ${shlibs:Depends}, libsecret-tools,
+	testpilotcloud-client-l10n,
+	ocqt5127-libqt5sql5-sqlite,
+	ocqt5127-qtsvg5
+Suggests: testpilotcloud-client-dolphin,
+	testpilotcloud-client-nautilus,
+	testpilotcloud-client-nemo,
+	testpilotcloud-client-caja
+Replaces: libtestpilotcloudsync0
+Conflicts: libtestpilotcloudsync0
+Description:  The ownCloud sync client - github.com/owncloud/client
+ .
+ ownCloud client enables you to connect to your private
+ ownCloud Server. With it you can create folders in your home
+ directory, and keep the contents of those folders synced with your
+ ownCloud server. Simply copy a file into the directory and the
+ ownCloud Client does the rest.
+ .
+ ownCloud gives your employees anytime, anywhere access to the files
+ they need to get the job done, whether through this desktop application,
+ our mobile apps, the web interface, or other WebDAV clients. With it,
+ your employees can easily view and share documents and information
+ critical to the business, in a secure, flexible and controlled
+ architecture. You can easily extend ownCloud with plug-ins from the
+ community, or that you build yourself to meet the requirements of
+ your infrastructure and business.
+ .
+ ownCloud - Your Cloud, Your Data, Your Way!  www.owncloud.com
+ .
+ Authors
+ =======
+ Duncan Mac-Vicar P. <duncan@kde.org>
+ Klaas Freitag <freitag@owncloud.com>
+ Daniel Molkentin <danimo@owncloud.com>
+ .
+
+Package: testpilotcloud-client-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+    testpilotcloud-client (= ${binary:Version}),
+    ${misc:Depends}
+Description: debugging symbols for testpilotcloud-client
+ This package contains the debugging symbols for testpilotcloud-client.
+
+Package: testpilotcloud-client-doc
+Architecture: all
+Section: devel
+Depends: testpilotcloud-client (= ${binary:Version}), ${misc:Depends}
+Description: development files for the ownCloud sync lib
+ Main package for ownCloud.
+ .
+ This package contains the library development files.
+
+Package: testpilotcloud-client-l10n
+Architecture: all
+Section: devel
+Depends: testpilotcloud-client (>= ${binary:Version}), ${misc:Depends}
+Breaks: testpilotcloud-client (<= 1.5.0)
+Description: Internationalization files for ownCloud
+ Internationalization for ownCloud desktop sync client.
+ .
+ This package contains the translation packages.
+
+Package: libtestpilotcloudsync0
+Architecture: any
+Multi-Arch: same
+Section: devel
+Depends: ${misc:Depends}, ${shlibs:Depends},
+	ocqt5127-libqt5keychain1,
+	ocqt5127-qtsvg5
+Pre-Depends: ${misc:Pre-Depends}
+Breaks: libocsync0, libtestpilotcloud-client
+Replaces: libocsync0
+Description: the ownCloud sync library
+ ownCloud uses this as a sync engine implementation.
+ .
+ This package contains the library.
+
+Package: libtestpilotcloudsync-dev
+Architecture: any
+Section: devel
+Depends: ${misc:Depends}
+Description: development files for the ownCloud sync library
+ ownCloud uses this as a sync engine implementation.
+ .
+ This package contains the development files.
+
--- testpilotcloud-client-2.6.3+oc.orig/debian/copyright
+++ testpilotcloud-client-2.6.3+oc/debian/copyright
@@ -0,0 +1,4 @@
+Files: *
+Copyright: 2012-2015 ownCloud, inc.; Nuernberg, Germany.
+License: GPL-2+
+ See /usr/share/common-licenses/GPL-2
--- testpilotcloud-client-2.6.3+oc.orig/debian/format
+++ testpilotcloud-client-2.6.3+oc/debian/format
@@ -0,0 +1 @@
+3.0 (quilt)
--- testpilotcloud-client-2.6.3+oc.orig/debian/libtestpilotcloudsync-dev.install
+++ testpilotcloud-client-2.6.3+oc/debian/libtestpilotcloudsync-dev.install
@@ -0,0 +1,3 @@
+/opt/ownCloud/testpilotcloud/lib/*/libtestpilotcloudsync.so
+/opt/ownCloud/testpilotcloud/lib/*/libtestpilotcloud_csync.so
+/opt/ownCloud/testpilotcloud/include/testpilotcloudsync/
--- testpilotcloud-client-2.6.3+oc.orig/debian/libtestpilotcloudsync0.install
+++ testpilotcloud-client-2.6.3+oc/debian/libtestpilotcloudsync0.install
@@ -0,0 +1,7 @@
+/etc/testpilotcloud/
+/opt/ownCloud/testpilotcloud/lib/*/libtestpilotcloudsync.so.*
+/opt/ownCloud/testpilotcloud/lib/*/libtestpilotcloud_csync.so.*
+## new in 2.6.0
+/opt/ownCloud/testpilotcloud/lib/*/testpilotcloud/plugins/*.so
+## new in 2.7.0
+#/opt/ownCloud/qt-5.12.7/lib/*/qt5/plugins/*.so
--- testpilotcloud-client-2.6.3+oc.orig/debian/libtestpilotcloudsync0.lintian-overrides
+++ testpilotcloud-client-2.6.3+oc/debian/libtestpilotcloudsync0.lintian-overrides
@@ -0,0 +1 @@
+libtestpilotcloudsync0: possible-gpl-code-linked-with-openssl
--- testpilotcloud-client-2.6.3+oc.orig/debian/libtestpilotcloudsync0.postinst
+++ testpilotcloud-client-2.6.3+oc/debian/libtestpilotcloudsync0.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+#
+# emulate apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall
+# Try to harvest any captured config files captured in preinst.
+conf=/etc/testpilotcloud/sync-exclude.lst
+if [ ! -s $conf -a -s $conf.dpkg-new ]; then
+  rm -f $conf
+  echo "$0: Installing new config file $conf"
+  mv $conf.dpkg-new $conf || true
+fi
+
+
+#DEBHELPER#
+exit 0
--- testpilotcloud-client-2.6.3+oc.orig/debian/libtestpilotcloudsync0.preinst
+++ testpilotcloud-client-2.6.3+oc/debian/libtestpilotcloudsync0.preinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+#
+# emulate apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall
+# Try to capture the new config file as it whisses by, to be picked up by postinst
+conf=/etc/testpilotcloud/sync-exclude.lst
+if [ ! -s $conf ]; then
+  mkdir -p /etc/testpilotcloud
+  ln -s none $conf.dpkg-tmp
+  ln -s none $conf.dpkg-new
+fi
+
+#DEBHELPER#
+exit 0
--- testpilotcloud-client-2.6.3+oc.orig/debian/rules
+++ testpilotcloud-client-2.6.3+oc/debian/rules
@@ -0,0 +1,106 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+
+export QT_SELECT := qt5
+export PATH := /opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)/qt5/bin:$(PATH)
+
+export DROOT=$(CURDIR)/debian/testpilotcloud-client
+export SRCDIR=/usr/src/packages/SOURCES
+export DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export LD_LIBRARY_PATH := /opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH):$(LD_LIBRARY_PATH)
+
+
+SHELL=/bin/bash
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	# not sure, when which variables are set.
+	echo source:Version=${source:Version}
+	echo source:Upstream-Version=${source:Upstream-Version}
+	echo binary:Version=${binary:Version}
+	grep OPENSSL_VERSION_TEXT /usr/include/openssl/opensslv.h
+
+	echo "include_directories(/opt/ownCloud/qt-5.12.7/include/$(DEB_HOST_MULTIARCH))" >> src/libsync/CMakeLists.txt
+	echo "include_directories(/opt/ownCloud/qt-5.12.7/include/$(DEB_HOST_MULTIARCH)/qt5)" >> src/libsync/CMakeLists.txt
+	echo "include_directories(/opt/ownCloud/qt-5.12.7/include/$(DEB_HOST_MULTIARCH)/qt5/QtCore)" >> src/libsync/CMakeLists.txt
+	# Debian 7 does not find #include <QPixmap> in qt5/QtGui/QPixmap -- this helps:
+	echo "include_directories(/opt/ownCloud/qt-5.12.7/include/$(DEB_HOST_MULTIARCH)/qt5/QtGui)" >> src/cmd/CMakeLists.txt
+	# debian-7 and ubuntu-14.04 don't know -fstack-protector-strong
+	test -f /etc/os-release && . /etc/os-release || true; \
+	echo "$$ID-$$VERSION_ID" \
+	test "$$ID-$$VERSION_ID" = "debian-7"     && sed -i -e '/ -fstack-protector-strong/d' src/CMakeLists.txt || true; \
+	test "$$ID-$$VERSION_ID" = "debian-7.0"   && sed -i -e '/ -fstack-protector-strong/d' src/CMakeLists.txt || true; \
+	test "$$ID-$$VERSION_ID" = "ubuntu-14.04" && sed -i -e '/ -fstack-protector-strong/d' src/CMakeLists.txt || true
+
+	# protect against poisonous tar-balls.
+	if [ -d binary ]; then ls -la; echo; echo "A top level directory named 'binary' exists. This kills dpkg-genchangelog."; echo; echo "... removing that directory."; echo; echo; sleep 3; rm -rf binary; fi
+	if [ -d changelog ]; then ls -la; echo; echo "A top level directory named 'changelog' exists. This kills dpkg-genchangelog on debian 8 and 9."; echo; echo "... removing that directory."; echo; echo; sleep 3; rm -rf changelog; fi
+
+	# https://kanboard.owncloud.com/project/1/task/1828
+	sh $(SRCDIR)/fix_theme_250.sh */*/theme
+
+	# make https://reproducible-builds.org/specs/source-date-epoch/ happy.
+	test -f .source_date_epoch && export SOURCE_DATE_EPOCH=$(cat .source_date_epoch) || true
+
+	# Use at least -std=c99 for Debian_8.0 to compile zsync.
+	git_defs=('-DMIRALL_VERSION_BUILD=2667'); \
+	if [ -n "" -a "" != "%nil" ]; then \
+	  git_defs=('-DMIRALL_VERSION_SUFFIX=' '-DMIRALL_VERSION_BUILD=2667'); \
+	fi; \
+	CFLAGS="-g -O2 -std=c99 -Wall -pedantic" dh_auto_configure -- \
+		"$${git_defs[@]}" \
+		-DQT_QMAKE_EXECUTABLE=/opt/ownCloud/qt-5.12.7/bin/qmake \
+		-DCMAKE_INSTALL_PREFIX=/opt/ownCloud/testpilotcloud \
+		-DCMAKE_INSTALL_DOCDIR=/usr/share/doc \
+		-DCMAKE_INSTALL_DATAROOTDIR:PATH=/usr/share \
+		-DDATA_INSTALL_DIR:PATH=/usr/share \
+		-DSYSCONF_INSTALL_DIR=/etc \
+		-DWITH_DOC=FALSE \
+		-DCMAKE_SKIP_BUILD_RPATH=OFF -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH="/opt/ownCloud/testpilotcloud/lib/$(DEB_HOST_MULTIARCH);/opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)" -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \
+		-DOEM_THEME_DIR=$(CURDIR)/testpilotcloud/syncclient \
+		-DCMAKE_FIND_ROOT_PATH=/opt/ownCloud/qt-5.12.7 \
+		-DQTKEYCHAIN_INCLUDE_DIR=/opt/ownCloud/qt-5.12.7/include/qt5keychain \
+		-DQTKEYCHAIN_LIBRARY=/opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)/libqt5keychain.so \
+		-DBUILD_SHELL_INTEGRATION=OFF
+
+	# workaround for https://github.com/owncloud/client/issues/5958
+	find . -name link.txt | xargs sed -i -e 's@-Wl,-rpath,/@-Wl,--disable-new-dtags -Wl,-rpath,/@'
+
+override_dh_auto_install:
+	dh_auto_install -Xdebian
+	# we see the install candidates in debian/tmp after(!) dh_auto_install was run. The *.install file logic picks up the files from there later(!)
+	# https://github.com/owncloud/client/issues/7623
+	find "$(CURDIR)" -name *.ini || true
+	ls $(CURDIR)/debian/tmp/usr/share/cloud-providers/*.ini && echo "usr/share/cloud-providers/*.ini" >> debian/owncloud-client.install || true
+	# https://github.com/owncloud/client/issues/4107
+	install -m 0755 -D $(SRCDIR)/99-sync-inotify.conf $(DROOT)/etc/sysctl.d/99-testpilotcloud-inotify.conf
+
+	# install symlinks to /usr/bin
+	install -m 0644 -d $(CURDIR)/usr/bin/
+	ln -s /opt/ownCloud/testpilotcloud/bin/testpilotcloud $(CURDIR)/usr/bin/testpilotcloud
+	ln -s /opt/ownCloud/testpilotcloud/bin/testpilotcloudcmd $(CURDIR)/usr/bin/testpilotcloudcmd
+
+	# assert https://github.com/owncloud/client/issues/5958
+	objdump -x $(CURDIR)/debian/tmp//opt/ownCloud/testpilotcloud/bin/testpilotcloud | grep RPATH | grep /opt/ownCloud || (echo "RPATH regression"; exit 1)
+
+	# https://github.com/owncloud/client/issues/2153
+	find $(CURDIR) -name \*.1 | grep man/man1 | tee | xargs rm -f
+
+override_dh_auto_test:
+	dh_auto_test || true
+
+override_dh_strip:
+	dh_strip --dbg-package=testpilotcloud-client-dbg
+
+override_dh_shlibdeps:
+	dh_shlibdeps -O--parallel -l"/opt/ownCloud/testpilotcloud/lib/$(DEB_HOST_MULTIARCH):/opt/ownCloud/qt-5.12.7/lib/$(DEB_HOST_MULTIARCH)"
--- testpilotcloud-client-2.6.3+oc.orig/debian/source.lintian-overrides
+++ testpilotcloud-client-2.6.3+oc/debian/source.lintian-overrides
@@ -0,0 +1,7 @@
+# needed for Debian 8.0 to finsh a build in obs.
+# SUSE: all that should be warnings in obs, as they are in s2 and local builds.
+testpilotcloud-client source: not-binnmuable-all-depends-any
+# testpilotcloud-client: binary-or-shlib-defines-rpath usr/bin/testpilotcloud /usr/lib/x86_64-linux-gnu/testpilotcloud
+testpilotcloud-client: binary-or-shlib-defines-rpath
+# testpilotcloud-client: arch-dependent-file-not-in-arch-specific-directory usr/bin/testpilotcloud
+testpilotcloud-client: arch-dependent-file-not-in-arch-specific-directory
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-client-dev.install
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-client-dev.install
@@ -0,0 +1,2 @@
+/opt/ownCloud/testpilotcloud/include/testpilotcloudsync
+usr/lib*/libtestpilotcloudsync.so
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-client-l10n.install
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-client-l10n.install
@@ -0,0 +1 @@
+usr/share/testpilotcloud/i18n/*qm
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-client.install
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-client.install
@@ -0,0 +1,20 @@
+/usr/bin/testpilotcloud*
+
+/opt/ownCloud/testpilotcloud/bin/testpilotcloud*
+usr/share/applications/testpilotcloud.desktop
+usr/share/mime/packages/testpilotcloud.xml
+usr/share/icons/hicolor
+
+## was in owncloudsync0 before 2.6.0:
+/etc/testpilotcloud/
+/opt/ownCloud/testpilotcloud/lib/*/libtestpilotcloudsync.so.*
+/opt/ownCloud/testpilotcloud/lib/*/libtestpilotcloud_csync.so.*
+## new in 2.6.0
+/opt/ownCloud/testpilotcloud/lib/*/testpilotcloud/plugins/*.so
+## new in 2.7.0
+#/opt/ownCloud/qt-5.12.7/lib/*/qt5/plugins/*.so
+
+## since 2.6.1 and if with libcloudproviders: the com.owncloud.desktopclient.ini file is added here by debian.rules, if found.
+# usr/share/cloud-providers/*.ini
+
+
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-client.lintian-overrides
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-client.lintian-overrides
@@ -0,0 +1,6 @@
+testpilotcloud-client: arch-dependent-file-not-in-arch-specific-directory
+testpilotcloud-client: binary-or-shlib-defines-rpath
+testpilotcloud-client: possible-gpl-code-linked-with-openssl
+testpilotcloud-client: spurious-executable-perm
+testpilotcloud-client: executable-docs
+testpilotcloud-client: possible-gpl-code-linked-with-openssl
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-client.postinst
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-client.postinst
@@ -0,0 +1,15 @@
+#!/bin/sh
+set -e
+#
+# emulate apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall
+# Try to harvest any captured config files captured in preinst.
+conf=/etc/testpilotcloud/sync-exclude.lst
+if [ ! -s $conf -a -s $conf.dpkg-new ]; then
+  rm -f $conf
+  echo "$0: Installing new config file $conf"
+  mv $conf.dpkg-new $conf || true
+fi
+
+
+#DEBHELPER#
+exit 0
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-client.preinst
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-client.preinst
@@ -0,0 +1,14 @@
+#!/bin/sh
+set -e
+#
+# emulate apt-get -o Dpkg::Options::="--force-confmiss" install --reinstall
+# Try to capture the new config file as it whisses by, to be picked up by postinst
+conf=/etc/testpilotcloud/sync-exclude.lst
+if [ ! -s $conf ]; then
+  mkdir -p /etc/testpilotcloud
+  ln -s none $conf.dpkg-tmp
+  ln -s none $conf.dpkg-new
+fi
+
+#DEBHELPER#
+exit 0
--- testpilotcloud-client-2.6.3+oc.orig/debian/testpilotcloud-doc.dirs
+++ testpilotcloud-client-2.6.3+oc/debian/testpilotcloud-doc.dirs
@@ -0,0 +1 @@
+usr/share/doc
