seafile-client (7.0.4-1) unstable; urgency=medium
authorMoritz Schlarb <schlarbm@uni-mainz.de>
Mon, 25 Nov 2019 09:56:49 +0000 (09:56 +0000)
committerMoritz Schlarb <schlarbm@uni-mainz.de>
Mon, 25 Nov 2019 09:56:49 +0000 (09:56 +0000)
  * New upstream version 7.0.4
  * Update dependency version searpc

[dgit import unpatched seafile-client 7.0.4-1]

15 files changed:
1  2 
debian/changelog
debian/compat
debian/control
debian/copyright
debian/gbp.conf
debian/patches/0001-Add-Keywords-to-.desktop-file.patch
debian/patches/0002-Don-t-use-bundled-QuaZip.patch
debian/patches/0003-Use-more-intelligent-approach-for-QtWebEngine-QtWebK.patch
debian/patches/0004-Add-cli-help-and-version-option.patch
debian/patches/series
debian/rules
debian/salsa-ci.yml
debian/seafile-gui.install
debian/source/lintian-overrides
debian/watch

index 50e6ea7a9aeb11a52c8cf6c900f4886ac03d4276,0000000000000000000000000000000000000000..fce4f1c269d1e4b87326611cbbd259cbc72cd929
mode 100644,000000..100644
--- /dev/null
@@@ -1,191 -1,0 +1,255 @@@
- seafile-gui (7.0.4) unstable; urgency=low
++seafile-client (7.0.4-1) unstable; urgency=medium
 +
-   * new upstream release
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 19 Nov 2019 11:53:00 +0800
- seafile-gui (7.0.3) unstable; urgency=low
++  * New upstream version 7.0.4
++  * Update dependency version searpc
 +
-   * new upstream release
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 7 Oct 2019 15:31:10 +0800
- seafile-gui (7.0.2) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Mon, 25 Nov 2019 10:56:49 +0100
 +
-   * new upstream release
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Wed, 7 Aug 2019 10:52:10 +0800
- seafile-gui (7.0.1) unstable; urgency=low
++seafile-client (7.0.2-2) unstable; urgency=high
 +
-   * new upstream release
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 9 Jul 2019 18:25:10 +0800
- seafile-gui (7.0.0) unstable; urgency=low
++  * Fix versioned dependencies (Closes: #943789)
 +
-   * new upstream release
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 28 May 2019 10:20:10 +0800
- seafile-gui (6.2.11) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 30 Oct 2019 11:18:13 +0100
 +
-   * new upstream release
++seafile-client (7.0.2-1) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Thur, 17 Jan 2019 15:53:10 +0800
- seafile-gui (6.2.10) unstable; urgency=low
++  * Use secure URI in Homepage field.
++  * New upstream version 7.0.2
++  * Drop upstreamed patch 0005
++  * Update gitlab-ci.yml
++  * Add patch for cli-help (Upstream PR#1223)
++  * Update d/control
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 08 Oct 2019 15:07:37 +0200
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 15 Jan 2019 16:24:10 +0800
- seafile-gui (6.2.9) unstable; urgency=low
++seafile-client (6.2.11-1) unstable; urgency=medium
 +
-   * new upstream release
++  * New upstream version 6.2.11
++  * Update Standards-Version
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Sat, 8 Dec 2018 11:17:10 +0800
- seafile-gui (6.2.8) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 29 Jan 2019 20:19:41 +0100
 +
-   * new upstream release
++seafile-client (6.2.9-2) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 4 Dec 2018 11:51:10 +0800
- seafile-gui (6.2.7) unstable; urgency=low
++  * Add Patch from #988: Accept close event instead of ignoring it
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 10 Jan 2019 12:16:40 +0100
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 20 Nov 2018 15:56:10 +0800
- seafile-gui (6.2.5) unstable; urgency=low
++seafile-client (6.2.9-1) unstable; urgency=medium
 +
-   * new upstream release
++  * Add some Files-Excluded to d/copyright
++  * New upstream version 6.2.9
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 11 Sep 2018 16:46:10 +0800
- seafile-gui (6.2.4) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 11 Dec 2018 15:30:07 +0100
 +
-   * new upstream release
++seafile-client (6.2.7-1) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 3 Aug 2018 13:21:10 +0800
- seafile-gui (6.2.3) unstable; urgency=low
++  * New upstream version 6.2.7
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Sun, 25 Nov 2018 21:02:28 +0100
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 27 Jul 2018 14:40:10 +0800
- seafile-gui (6.2.2) unstable; urgency=low
++seafile-client (6.2.5-6) unstable; urgency=medium
 +
-   * new upstream release
++  * Add Salsa Pipeline (https://salsa.debian.org/salsa-ci-team/pipeline)
++  * Be more strict and explicit about dependency versions.
++  * Remove DEP-8 Test Suite for now.
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 6 Jul 2018 17:04:10 +0800
- seafile-gui (6.2.1) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Mon, 12 Nov 2018 14:55:54 +0100
 +
-   * new upstream release
++seafile-client (6.2.5-5) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 6 Jul 2018 17:04:10 +0800
- seafile-gui (6.2.0) unstable; urgency=low
++  * Fix DEP-8 test suite
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 09 Nov 2018 21:03:42 +0100
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 26 June 2018 17:04:10 +0800
- seafile-gui (6.1.8) unstable; urgency=low
++seafile-client (6.2.5-4) unstable; urgency=medium
 +
-   * new upstream release
++  * Use more intelligent approach for QtWebEngine/QtWebKit detection
++  * Add basic (superficial) autopkgtest suite
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 8 May 2018 17:04:10 +0800
- seafile-gui (6.1.7) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 09 Nov 2018 12:38:41 +0100
 +
-   * new upstream release
++seafile-client (6.2.5-3) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Thur, 29 Mar 2018 14:48:10 +0800
- seafile-gui (6.1.6) unstable; urgency=low
++  * Explicitly list arch-dependent dependencies on qtwebengine or qtwebkit
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 09 Nov 2018 09:31:12 +0100
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 2 Mar 2018 12:20:10 +0800
- seafile-gui (6.1.5) unstable; urgency=low
++seafile-client (6.2.5-2) unstable; urgency=medium
 +
-   * new upstream release
++  * Allow building with qtwebkit when qtwebengine is not available
++    - should fix builds for armel, mips, mips64el, ppc64el, s390x et. al.
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 2 Feb 2018 13:59:10 +0800
- seafile-gui (6.1.4) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 08 Nov 2018 21:58:18 +0100
 +
-   * new upstream release
++seafile-client (6.2.5-1) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 19 Dec 2017 17:01:10 +0800
- seafile-gui (6.1.3) unstable; urgency=low
++  [ Ondřej Nový ]
++  * d/copyright: Use https protocol in Format field
++  * d/changelog: Remove trailing whitespaces
 +
-   * new upstream release
++  [ Moritz Schlarb ]
++  * Change Maintainer to Debian Seafile Team
++  * New upstream version 6.2.5
++  * Update Standards-Version
++  * Update dependency version of libsearpc
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 3  Nov 2017 13:51:10 +0800
- seafile-gui (6.1.2) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 08 Nov 2018 11:59:07 +0100
 +
-   * new upstream release
++seafile-client (6.2.4-1) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Wed, 25 Oct 2017 13:51:10 +0800
++  * New upstream version 6.2.4
 +
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 07 Aug 2018 10:58:27 +0200
 +
- seafile-gui (6.1.1) unstable; urgency=low
++seafile-client (6.2.0-1) unstable; urgency=medium
 +
-   * new upstream release
++  * New upstream version 6.2.0
++  * Use qtwebengine instead of qtwebkit
++  * Build and run test suite
++  * Remove ccnet dependency and raise versioned deps
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 19 Sep 2017 18:16:10 +0800
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 27 Jun 2018 20:39:54 +0200
 +
- seafile-gui (6.1.0) unstable; urgency=low
++seafile-client (6.1.8-1) unstable; urgency=medium
 +
-   * new upstream release
++  * Add Suggests: seafile-cli
++  * Streamline d/copyright and d/rules
++  * New upstream version 6.1.8
++  * Don't use bundled QuaZip
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Wed, 2 Aug 2017 16:37:10 +0800
- seafile-gui (6.0.7) unstable; urgency=low
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Sat, 02 Jun 2018 14:38:58 +0200
 +
-   * new upstream release
++seafile-client (6.1.7-1) unstable; urgency=medium
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 20 Jun 2017 16:37:10 +0800
- seafile-gui (6.0.6) unstable; urgency=low
++  * Move Vcs-* to Salsa
++  * New upstream version 6.1.7
++  * Update and cleanup d/{control,rules}
++  * Add Patch to add Keywords to .desktop file
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 24 Apr 2018 10:42:38 +0200
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 28 Apr 2017 16:37:10 +0800
++seafile-client (6.1.5-1) unstable; urgency=medium
 +
- seafile-gui (6.0.4) unstable; urgency=low
++  * New upstream version 6.1.5
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 16 Feb 2018 09:23:40 +0100
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Tue, 21 Feb 2017 16:17:30 +0800
++seafile-client (6.1.4-1) unstable; urgency=medium
 +
- seafile-gui (6.0.3) unstable; urgency=low
++  * New upstream version 6.1.4
 +
-   * new upstream release
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 20 Dec 2017 16:06:11 +0100
++
++seafile-client (6.1.3-2) unstable; urgency=medium
++
++  * add OpenSSL 1.1 patch from
++    https://github.com/haiwen/seafile-client/commit/10feb6038a1197a532cf7e47cbe0a977a72da1b0
++    and
++    https://github.com/haiwen/seafile-client/commit/3a547b8ab392e0419488eb4aa633f9b31f0ccaf4
++    (closes: #859716)
++
++ -- Christoph Martin <martin@uni-mainz.de>  Thu, 23 Nov 2017 15:34:31 +0100
++
++seafile-client (6.1.3-1) unstable; urgency=medium
++
++  * New upstream version 6.1.3
++
++ -- Christoph Martin <martin@uni-mainz.de>  Tue, 21 Nov 2017 16:18:01 +0100
++
++seafile-client (6.1.1-1) unstable; urgency=medium
++
++  * New upstream version 6.1.1
++
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Mon, 25 Sep 2017 14:28:37 +0200
++
++seafile-client (6.1.0-2) unstable; urgency=medium
++
++  * Add patch to remove mismatching icon file
++
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 09 Aug 2017 15:03:09 +0200
++
++seafile-client (6.1.0-1) UNRELEASED; urgency=medium
++
++  * New upstream version 6.1.0
++
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 08 Aug 2017 10:32:15 +0200
++
++seafile-client (6.0.7-1) unstable; urgency=medium
++
++  * New upstream version 6.0.7
++  * Migration from -dbg to -dbgsym packages
++  * add hardening flags
++
++ -- Christoph Martin <martin@uni-mainz.de>  Wed, 26 Jul 2017 14:28:48 +0200
++
++seafile-client (6.0.6-1) unstable; urgency=medium
++
++  * New upstream version 6.0.6
++
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 10 May 2017 15:38:29 +0200
++
++seafile-client (6.0.4-1) unstable; urgency=medium
++
++  * New upstream version 6.0.4
++  * Fix watch file
++
++ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Sun, 12 Mar 2017 17:44:47 +0100
++
++seafile-client (6.0.1+git20161227.7b0b837-2) unstable; urgency=medium
++
++  * add license statement for fontawesome.ttf
++
++ -- Christoph Martin <martin@uni-mainz.de>  Thu, 02 Mar 2017 16:21:56 +0100
++
++seafile-client (6.0.1+git20161227.7b0b837-1) unstable; urgency=medium
++
++  * initial Debian release
 +
-  -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 10 Feb 2017 16:49:07 +0800
++ -- Christoph Martin <martin@uni-mainz.de>  Wed, 28 Dec 2016 13:17:15 +0100
 +
 +seafile-gui (6.0.1) unstable; urgency=low
 +
 +  * new upstream release
 +
 + -- Jonathan Xu <jonathan.xu@seafile.com>  Mon, 12 Dec 2016 14:51:07 +0800
 +
 +seafile-gui (6.0.0) unstable; urgency=low
 +
 +  * new upstream release
 +
 + -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 14 Oct 2016 13:49:07 +0800
 +
 +seafile-gui (5.1.4) unstable; urgency=low
 +
 +  * new upstream release
 +
 + -- Jonathan Xu <jonathan.xu@seafile.com>  Fri, 29 Jul 2016 14:06:38 +0800
 +
 +seafile-gui (5.1.3-1ubuntu1) UNRELEASED; urgency=medium
 +
 +  * new upstream release
 +
 + -- m.eik michalke <meik.michalke@hhu.de>  Fri, 01 Jul 2016 00:04:38 +0200
 +
 +seafile-gui (5.1.2-5ubuntu2) unstable; urgency=medium
 +
 +  * fixed package dependencies
 +
 + -- m.eik michalke <meik.michalke@hhu.de>  Sat, 18 Jun 2016 12:20:04 +0200
 +
 +seafile-gui (5.1.2-5ubuntu1) unstable; urgency=medium
 +
 +  * repackaging with cleaned up orig.tar.xz archives
 +  * improved the debian/control file
 +
 + -- m.eik michalke <meik.michalke@hhu.de>  Fri, 17 Jun 2016 19:22:13 +0200
 +
 +seafile-gui (5.1.2-4) unstable; urgency=medium
 +
 +  * adjusted build dependencies
 +  * updated the debian/copyright notice so people know who's responisble for the packaging
 +  * rewrote the rules file, much simpler now
 +  * prep for release on github
 +
 + -- m.eik michalke <meik.michalke@hhu.de>  Thu, 16 Jun 2016 01:06:50 +0200
diff --cc debian/compat
index 7f8f011eb73d6043d2e6db9d2c101195ae2801f2,0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
mode 100644,000000..100644
--- /dev/null
@@@ -1,1 -1,0 +1,1 @@@
- 7
++10
diff --cc debian/control
index be74efb2b4aa280483cdc8623aa39db489a29337,0000000000000000000000000000000000000000..3148a02f4c98108c675b8233b050a1ec252c0139
mode 100644,000000..100644
--- /dev/null
@@@ -1,50 -1,0 +1,49 @@@
- Source: seafile-gui
++Source: seafile-client
++Maintainer: Debian Seafile Team <team+seafile@tracker.debian.org>
++Uploaders: Christoph Martin <martin@uni-mainz.de>, Moritz Schlarb <schlarbm@uni-mainz.de>
 +Section: net
- Priority: extra
- Maintainer: m.eik michalke <meik.michalke@hhu.de>
++Priority: optional
 +Build-Depends:
-     debhelper (>= 7),
-     libssl-dev,
-     libcurl4-openssl-dev,
-     libsqlite3-dev,
-     intltool,
-     libglib2.0-dev,
-     libevent-dev,
-     uuid-dev,
-     qtbase5-dev,
-     libqt5webkit5-dev,
-     qttools5-dev,
-     libtool,
-     valac,
-     libjansson-dev,
-     cmake,
-     qtchooser,
-     qttools5-dev-tools,
-     libsearpc-dev (>= 3.1.0),
-     libseafile-dev
- Standards-Version: 3.9.5
- Homepage: http://seafile.com
++ cmake,
++ debhelper (>= 10),
++ intltool,
++ libcurl4-openssl-dev,
++ libevent-dev,
++ libglib2.0-dev,
++ libjansson-dev,
++ libquazip5-dev,
++ libseafile-dev (>= 7.0.4),
++ libsearpc-dev (>= 3.2.0),
++ libsqlite3-dev,
++ libssl-dev,
++ libtool,
++ qtbase5-dev,
++ qtchooser,
++ qttools5-dev,
++ qttools5-dev-tools,
++ qtwebengine5-dev [!armel !mips !mips64el !ppc64el !s390x !alpha !hppa !m68k !powerpc !ppc64 !sh4 !sparc64],
++ libqt5webkit5-dev [armel mips mips64el ppc64el s390x alpha hppa m68k powerpc ppc64 sh4 sparc64],
++ uuid-dev,
++Standards-Version: 4.4.1
++Homepage: https://seafile.com
++Vcs-Browser: https://salsa.debian.org/debian/seafile-client
++Vcs-Git: https://salsa.debian.org/debian/seafile-client.git
 +
 +Package: seafile-gui
 +Architecture: any
- Depends:
-     ${shlibs:Depends},
-     ${misc:Depends},
-     seafile-daemon (>= 5.1.2)
- Conflicts: seafile
- Description: Seafile desktop client.
-  Seafile is an open source cloud storage system with features
-  on privacy protection and teamwork. Collections of files are
-  called libraries, and each library can be synced separately.
-  A library can also be encrypted with a user chosen password.
-  Seafile also allows users to create groups and easily sharing
-  files into groups.
- Package: seafile-gui-dbg
- Section: debug
- Architecture: any
- Depends:
-     seafile-gui (= ${binary:Version}),
-     ${misc:Depends},
- Description: Debugging symbols for the seafile-gui package.
-  This package contains the debugging symbols for the seafile-gui package.
++Depends: ${shlibs:Depends}, ${misc:Depends},
++ libsearpc1 (>= 3.2.0),
++ libseafile0 (>= ${source:Upstream-Version}),
++ seafile-daemon (>= ${source:Upstream-Version}),
++Suggests: seafile-cli (>= ${source:Upstream-Version})
++Description: Seafile Desktop Client
++ Seafile is a file syncing and sharing software with file encryption
++ and group sharing, emphasis on reliability and high performance.
++ .
++ Seafile is an open source cloud storage system with privacy protection
++ and teamwork features. Collections of files are called libraries. Each
++ library can be synced separately. A library can also be encrypted with
++ a user chosen password. Seafile also allows users to create groups and
++ easily sharing files into groups.
++ .
++ This package contains the graphical Desktop Client for Seafile.
index 4cabdc00a13e194a2820b21d92e6c5af742518c9,0000000000000000000000000000000000000000..63bc5425c34732296e1a4e2c0529029b9dc19c5d
mode 100644,000000..100644
--- /dev/null
@@@ -1,28 -1,0 +1,172 @@@
- Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 +Upstream-Name: seafile-client
- Upstream-Contact: Lingtao Pan <freeplant@gmail.com>
++Upstream-Contact: Seafile Ltd. <info@seafile.com>
 +Source: https://github.com/haiwen/seafile-client
++Files-Excluded: appcast.example.xml
++ third_party/quazip
 +
 +Files: *
- Copyright: 2012 plt
- License: Apache
-   You should have received a copy of the license with your Debian system,
-   in the file /usr/share/common-licenses/Apache-2.0, or with the
-   source package as the file COPYING or LICENSE.
++Copyright: 2012-2019 Seafile Ltd. <info@seafile.com>
++License: Apache-2.0
++
++Files: fsplugin/FinderSync.h fsplugin/FinderSync.mm
++ fsplugin/FinderSyncClient.h fsplugin/FinderSyncClient.mm
++Copyright: 2015 Haiwen
++License: Apache-2.0
++
++Files: third_party/QtAwesome/QtAwesome.cpp
++ third_party/QtAwesome/QtAwesome.h
++Copyright: 2013 Reliable Bits Software by Blommers IT
++License: MIT
++
++Files: third_party/QtAwesome/fonts/fontawesome.ttf
++Copyright: 2013 Reliable Bits Software by Blommers IT
++License: SIL
 +
 +Files: debian/*
- Copyright: 2016 m.eik michalke
++Copyright: 2016 m.eik michalke <meik.michalke@hhu.de>
++ 2016 Christoph Martin <martin@uni-mainz.de>
++ 2016-2019 Moritz Schlarb <schlarbm@uni-mainz.de>
++License: GPL-2
++
++License: Apache-2.0
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at
++ .
++      http://www.apache.org/licenses/LICENSE-2.0
++ .
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++ .
++ On Debian systems, the complete text of the Apache 2.0 License
++ can be found in /usr/share/common-licenses/Apache-2.0 file.
++
++License: MIT
++ 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: GPL-2
-   This program is free software; you can redistribute it
-   and/or modify it under the terms of the GNU General Public
-   License as published by the Free Software Foundation; either
-   version 2 of the License, or (at your option) any later
-   version.
-   .
-   This software 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.
-   .
-   You should have received a copy of the license with your Debian system,
-   in the file /usr/share/common-licenses/GPL-2, or with the
-   source package as the file COPYING or LICENSE.
++ This program is free software; you can redistribute it
++ and/or modify it under the terms of the GNU General Public
++ License as published by the Free Software Foundation; either
++ version 2 of the License, or (at your option) any later
++ version.
++ .
++ This software 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.
++ .
++ You should have received a copy of the license with your Debian system,
++ in the file /usr/share/common-licenses/GPL-2, or with the
++ source package as the file COPYING or LICENSE.
++
++License: SIL
++ This Font Software is licensed under the SIL Open Font License, Version 1.1.
++ This license is copied below, and is also available with a FAQ at:
++ http://scripts.sil.org/OFL
++ .
++ -----------------------------------------------------------
++ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
++ -----------------------------------------------------------
++ .
++ PREAMBLE
++ The goals of the Open Font License (OFL) are to stimulate worldwide
++ development of collaborative font projects, to support the font creation
++ efforts of academic and linguistic communities, and to provide a free and
++ open framework in which fonts may be shared and improved in partnership
++ with others.
++ .
++ The OFL allows the licensed fonts to be used, studied, modified and
++ redistributed freely as long as they are not sold by themselves. The
++ fonts, including any derivative works, can be bundled, embedded,
++ redistributed and/or sold with any software provided that any reserved
++ names are not used by derivative works. The fonts and derivatives,
++ however, cannot be released under any other type of license. The
++ requirement for fonts to remain under this license does not apply
++ to any document created using the fonts or their derivatives.
++ .
++ DEFINITIONS
++ "Font Software" refers to the set of files released by the Copyright
++ Holder(s) under this license and clearly marked as such. This may
++ include source files, build scripts and documentation.
++ .
++ "Reserved Font Name" refers to any names specified as such after the
++ copyright statement(s).
++ .
++ "Original Version" refers to the collection of Font Software components as
++ distributed by the Copyright Holder(s).
++ .
++ "Modified Version" refers to any derivative made by adding to, deleting,
++ or substituting -- in part or in whole -- any of the components of the
++ Original Version, by changing formats or by porting the Font Software to a
++ new environment.
++ .
++ "Author" refers to any designer, engineer, programmer, technical
++ writer or other person who contributed to the Font Software.
++ .
++ PERMISSION & CONDITIONS
++ Permission is hereby granted, free of charge, to any person obtaining
++ a copy of the Font Software, to use, study, copy, merge, embed, modify,
++ redistribute, and sell modified and unmodified copies of the Font
++ Software, subject to the following conditions:
++ .
++ 1) Neither the Font Software nor any of its individual components,
++ in Original or Modified Versions, may be sold by itself.
++ .
++ 2) Original or Modified Versions of the Font Software may be bundled,
++ redistributed and/or sold with any software, provided that each copy
++ contains the above copyright notice and this license. These can be
++ included either as stand-alone text files, human-readable headers or
++ in the appropriate machine-readable metadata fields within text or
++ binary files as long as those fields can be easily viewed by the user.
++ .
++ 3) No Modified Version of the Font Software may use the Reserved Font
++ Name(s) unless explicit written permission is granted by the corresponding
++ Copyright Holder. This restriction only applies to the primary font name as
++ presented to the users.
++ .
++ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
++ Software shall not be used to promote, endorse or advertise any
++ Modified Version, except to acknowledge the contribution(s) of the
++ Copyright Holder(s) and the Author(s) or with their explicit written
++ permission.
++ .
++ 5) The Font Software, modified or unmodified, in part or in whole,
++ must be distributed entirely under this license, and must not be
++ distributed under any other license. The requirement for fonts to
++ remain under this license does not apply to any document created
++ using the Font Software.
++ .
++ TERMINATION
++ This license becomes null and void if any of the above conditions are
++ not met.
++ .
++ DISCLAIMER
++ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
++ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
++ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
++ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
++ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
++ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
++ OTHER DEALINGS IN THE FONT SOFTWARE.
diff --cc debian/gbp.conf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e4ba01539d93d0ab2d4e89832ffeb973df6fce89
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++[DEFAULT]
++debian-branch=master
++upstream-branch=upstream
++pristine-tar=True
++
++[import-orig]
++# those files should not be in the tarball
++filter = ['debian/*','.gitignore']
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..34f2a89f78e1a642770342359d940d0b538e2b76
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,17 @@@
++From: Moritz Schlarb <schlarbm@uni-mainz.de>
++Date: Tue, 24 Apr 2018 10:39:26 +0200
++Subject: Add Keywords to .desktop file
++
++---
++ data/seafile.desktop | 1 +
++ 1 file changed, 1 insertion(+)
++
++diff --git a/data/seafile.desktop b/data/seafile.desktop
++index 0a47bd9..0d7a4dc 100644
++--- a/data/seafile.desktop
+++++ b/data/seafile.desktop
++@@ -6,3 +6,4 @@ Exec=seafile-applet
++ Icon=seafile
++ Type=Application
++ Categories=Network;FileTransfer;
+++Keywords=Sync;Share;Cloud;Network;FileTransfer;Library;Online;Copy;Send
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..8eba0be137c409c147d0580289c947e1673553f1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,70 @@@
++From: Moritz Schlarb <schlarbm@uni-mainz.de>
++Date: Thu, 24 May 2018 16:28:02 +0200
++Subject: Don't use bundled QuaZip
++
++---
++ CMakeLists.txt | 29 +++++------------------------
++ 1 file changed, 5 insertions(+), 24 deletions(-)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index 206debc..2123db5 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -206,8 +206,6 @@ if (APPLE)
++     SET(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
++ endif()
++ 
++-ADD_DEFINITIONS(-DQUAZIP_STATIC)
++-
++ # MOC FILES
++ SET(moc_headers
++   src/seafile-applet.h
++@@ -293,7 +291,6 @@ SET(moc_headers
++   src/filebrowser/transfer-mgr.h
++   src/filebrowser/thumbnail-service.h
++   third_party/QtAwesome/QtAwesome.h
++-  third_party/quazip/quazipfile.h
++   ${platform_specific_moc_headers}
++ )
++ 
++@@ -498,7 +495,6 @@ INCLUDE_DIRECTORIES(
++   ${CMAKE_CURRENT_BINARY_DIR}
++   ${CMAKE_CURRENT_SOURCE_DIR}/src
++   ${CMAKE_CURRENT_SOURCE_DIR}/third_party/QtAwesome
++-  ${CMAKE_CURRENT_SOURCE_DIR}/third_party/quazip
++   )
++ 
++ FOREACH(USE_QT_LIBRARY ${USE_QT_LIBRARIES})
++@@ -591,27 +587,12 @@ ENDIF()
++ 
++ ADD_SC_LIBRARY(utils ${utils_sources})
++ 
++-# library quazip
++-LIST(APPEND quazip_sources
++-    third_party/quazip/JlCompress.cpp
++-    third_party/quazip/quazip.cpp
++-    third_party/quazip/quazipfile.cpp
++-    third_party/quazip/quazipfileinfo.cpp
++-    third_party/quazip/quaziodevice.cpp
++-    third_party/quazip/quagzipfile.cpp
++-    third_party/quazip/quazipnewinfo.cpp
++-    third_party/quazip/quaadler32.cpp
++-    third_party/quazip/quazipdir.cpp
++-    third_party/quazip/quacrc32.cpp
++-    third_party/quazip/qioapi.cpp
++-    third_party/quazip/zip.c
++-    third_party/quazip/unzip.c
++-    )
++-
++-ADD_SC_LIBRARY(quazip ${quazip_sources})
+++SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/share/quazip")
+++FIND_PACKAGE(QuaZip5 REQUIRED)
+++INCLUDE_DIRECTORIES(${QUAZIP_INCLUDE_DIRS})
+++SET(EXTRA_LIBS ${EXTRA_LIBS} ${QUAZIP_LIBRARIES})
++ 
++-SET(SC_LIBS utils quazip)
++-#SET(SC_LIBS utils)
+++SET(SC_LIBS utils)
++ 
++ ####################
++ ###### end: lib
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..455f735f54031f517a1dc3352631fb42badb8235
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,40 @@@
++From: Moritz Schlarb <schlarbm@uni-mainz.de>
++Date: Fri, 9 Nov 2018 11:33:46 +0100
++Subject: Use more intelligent approach for QtWebEngine/QtWebKit detection
++
++---
++ CMakeLists.txt | 17 ++++++-----------
++ 1 file changed, 6 insertions(+), 11 deletions(-)
++
++diff --git a/CMakeLists.txt b/CMakeLists.txt
++index 2123db5..2ad7aec 100644
++--- a/CMakeLists.txt
+++++ b/CMakeLists.txt
++@@ -158,21 +158,16 @@ SET(QT_VERSION_MAJOR 5)
++ # have to keep using QtWebKit on windows because QtWebEngine can't be
++ # compiled in msys2/mingw (QtWebEnigne is based on chrome, which has to be
++ # compiled with MSVC.)
++-FIND_PROGRAM(qmake_executable NAMES qmake qmake.exe)
++-EXECUTE_PROCESS(COMMAND
++-    bash -c "${qmake_executable} --version | grep -iE '^using qt version [0-9.]+' | awk '{print $4}'"
++-    OUTPUT_VARIABLE DETECTED_QT_VERSION
++-    OUTPUT_STRIP_TRAILING_WHITESPACE)
++-MESSAGE("qt5 version: ${DETECTED_QT_VERSION}")
++-IF(WIN32 OR DETECTED_QT_VERSION VERSION_LESS 5.6.0)
++-    ADD_DEFINITIONS(-DSEAFILE_USE_WEBKIT)
++-    SET(WEBKIT_NAME "WebKit")
++-    SET(WEBKIT_WIDGETS_NAME "WebKitWidgets")
++-ELSE()
+++FIND_PACKAGE(Qt5WebEngine)
+++IF(Qt5WebEngine_FOUND)
++     SET(WEBKIT_NAME "WebEngine")
++     SET(WEBENGINE_CORE "WebEngineCore")
++     SET(WEBKIT_WIDGETS_NAME "WebEngineWidgets")
++     SET(SHIB_EXTRA_HEADER "src/shib/shib-helper.h")
+++ELSE()
+++    ADD_DEFINITIONS(-DSEAFILE_USE_WEBKIT)
+++    SET(WEBKIT_NAME "WebKit")
+++    SET(WEBKIT_WIDGETS_NAME "WebKitWidgets")
++ ENDIF()
++ 
++ SET(USE_QT_LIBRARIES
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..198c22a272e4c0924bc6ee28ff01cbcb2406143d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,69 @@@
++From: Moritz Schlarb <schlarbm@uni-mainz.de>
++Date: Tue, 8 Oct 2019 12:10:12 +0200
++Subject: Add cli help and version option
++
++---
++ src/main.cpp | 39 ++++++++++++++++++++++++++++++++++++++-
++ 1 file changed, 38 insertions(+), 1 deletion(-)
++
++diff --git a/src/main.cpp b/src/main.cpp
++index 58376be..425ca77 100644
++--- a/src/main.cpp
+++++ b/src/main.cpp
++@@ -88,11 +88,42 @@ void setupSettingDomain()
++     QCoreApplication::setApplicationName(QString("%1 Client").arg(getBrand()));
++ }
++ 
+++void do_version() {
+++     // from src/ui/about-dialog.cpp
+++    QString version_text = QString("%1 Client %2")
+++             .arg(getBrand())
+++             .arg(STRINGIZE(SEAFILE_CLIENT_VERSION))
+++#ifdef SEAFILE_CLIENT_REVISION
+++             .append(" REV %1")
+++             .arg(STRINGIZE(SEAFILE_CLIENT_REVISION))
+++#endif
+++    ;
+++     printf("%s\n", toCStr(version_text));
+++}
+++
+++void do_help(int argc, char *argv[]) {
+++     printf("Usage: %s [options]\n", argv[0]);
+++     printf("\n");
+++     printf("Options:\n");
+++     printf("  -V,--version\n");
+++     printf("  -h,--help\n");
+++     printf("  -c,--config-dir=<ccnet_conf_dir>\n");
+++     printf("  -d,--data-dir=<seafile_data_dir>\n");
+++     printf("  -K,--stop\n");
+++     printf("  -D,--delay\n");
+++     printf("  -X,--remove-user-data\n");
+++     printf("  -f,--open-local-file=<url>\n");
+++     printf("  --stdout\n");
+++     printf("  -P,--ping\n");
+++}
+++
++ void handleCommandLineOption(int argc, char *argv[])
++ {
++     int c;
++-    static const char *short_options = "KDXPc:d:f:";
+++    static const char *short_options = "VhKDXPc:d:f:";
++     static const struct option long_options[] = {
+++        { "version", no_argument, NULL, 'V' },
+++        { "help", no_argument, NULL, 'h' },
++         { "config-dir", required_argument, NULL, 'c' },
++         { "data-dir", required_argument, NULL, 'd' },
++         { "stop", no_argument, NULL, 'K' },
++@@ -107,6 +138,12 @@ void handleCommandLineOption(int argc, char *argv[])
++     while ((c = getopt_long (argc, argv, short_options,
++                              long_options, NULL)) != EOF) {
++         switch (c) {
+++        case 'V':
+++            do_version();
+++            exit(0);
+++        case 'h':
+++            do_help(argc, argv);
+++            exit(0);
++         case 'c':
++             g_setenv ("CCNET_CONF_DIR", optarg, 1);
++             break;
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e16d510a723b42b76667c615844d87e76c8f9fa1
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++0001-Add-Keywords-to-.desktop-file.patch
++0002-Don-t-use-bundled-QuaZip.patch
++0003-Use-more-intelligent-approach-for-QtWebEngine-QtWebK.patch
++0004-Add-cli-help-and-version-option.patch
diff --cc debian/rules
index 97753b0547870c65073ecf244a0b8d0c7f46a6e3,0000000000000000000000000000000000000000..f49c46e662a03c8e0e9a3963fd0a9cafd498b796
mode 100755,000000..100755
--- /dev/null
@@@ -1,15 -1,0 +1,25 @@@
-       export QT_SELECT=5
-       dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DBUILD_SHIBBOLETH_SUPPORT=ON
- override_dh_auto_build:
-       dh_auto_build --parallel
 +#!/usr/bin/make -f
 +# -*- makefile -*-
 +
++# Uncomment this to turn on verbose mode.
++#export DH_VERBOSE=1
++
++# see FEATURE AREAS in dpkg-buildflags(1)
++export DEB_BUILD_MAINT_OPTIONS = hardening=+all
++
++# see ENVIRONMENT in dpkg-buildflags(1)
++# package maintainers to append CFLAGS
++export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
++# package maintainers to append LDFLAGS
++export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
++
++export QT_SELECT=5
++
 +%:
 +      dh $@ --builddirectory=build
 +
 +override_dh_auto_configure:
-       dh_strip -pseafile-gui --dbg-package=seafile-gui-dbg
++      dh_auto_configure -- -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_SHIBBOLETH_SUPPORT=ON -DAUTOMOC_MOC_OPTIONS=-p./
 +
 +override_dh_strip:
++      dh_strip --dbgsym-migration='seafile-gui-dbg (<< 6.0.7-1)'
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..ac3f083b1946d6e9b777a4b541b4f4b1788f45bd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,7 @@@
++include:
++ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
++ - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
++
++reprotest:
++  extends: .test-reprotest
++  allow_failure: true
index 29143cc9921abd5bc400adafac39796ca316869d,0000000000000000000000000000000000000000..0144571e07fb53823ee916777a352ad4213216b8
mode 100644,000000..100644
--- /dev/null
@@@ -1,4 -1,0 +1,4 @@@
- usr/bin/seafile-applet
- usr/share/pixmaps/seafile.png
- usr/share/applications/seafile.desktop
- usr/share/icons/hicolor/*/apps/seafile.png
++#usr/bin/seafile-applet
++#usr/share/pixmaps/seafile.png
++#usr/share/applications/seafile.desktop
++#usr/share/icons/hicolor/*/apps/seafile.png
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..830f8129fff78947880d0177b6cf699357b576a6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++seafile-client source: version-substvar-for-external-package seafile-gui -> libseafile0
++seafile-client source: version-substvar-for-external-package seafile-gui -> seafile-daemon
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..32aa44cda91e6f4486e3a749260520f647f48c36
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++version=3
++
++opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/seafile-client-$1\.tar\.gz/ \
++  https://github.com/haiwen/seafile-client/tags .*/v?(\d[\d.]*)\.tar\.gz