Import seafile-client_7.0.10-2.debian.tar.xz
authorMoritz Schlarb <schlarbm@uni-mainz.de>
Wed, 11 Nov 2020 12:42:28 +0000 (12:42 +0000)
committerMoritz Schlarb <schlarbm@uni-mainz.de>
Wed, 11 Nov 2020 12:42:28 +0000 (12:42 +0000)
[dgit import tarball seafile-client 7.0.10-2 seafile-client_7.0.10-2.debian.tar.xz]

17 files changed:
README.Debian [new file with mode: 0644]
changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
gbp.conf [new file with mode: 0644]
patches/0001-Add-Keywords-to-.desktop-file.patch [new file with mode: 0644]
patches/0002-Don-t-use-bundled-QuaZip.patch [new file with mode: 0644]
patches/0004-Add-cli-help-and-version-option.patch [new file with mode: 0644]
patches/0004-Fix-build-with-Qt5-v5.15.0.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
rules [new file with mode: 0755]
salsa-ci.yml [new file with mode: 0644]
seafile-gui.install [new file with mode: 0644]
source/format [new file with mode: 0644]
source/lintian-overrides [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/README.Debian b/README.Debian
new file mode 100644 (file)
index 0000000..adf92c9
--- /dev/null
@@ -0,0 +1,6 @@
+Seafile
+-------
+
+For more information about Seafile, please visit http://seafile.com
+
+ -- plt <freeplant@gmail.com>  Fri, 30 March 2012 16:43:10 +0800
diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..85a3cc4
--- /dev/null
+++ b/changelog
@@ -0,0 +1,304 @@
+seafile-client (7.0.10-2) unstable; urgency=medium
+
+  * Fix Cmake Flag for Webkit Usage
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 11 Nov 2020 13:42:28 +0100
+
+seafile-client (7.0.10-1) unstable; urgency=low
+
+  [ Debian Janitor ]
+  * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
+    Repository-Browse.
+  * Drop transition for old debug package migration.
+
+  [ Moritz Schlarb ]
+  * New upstream version 7.0.10
+  * Refresh patches and add one to build against Qt 5.15
+  * Update d/rules for new webkit flag
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 11 Nov 2020 12:45:36 +0100
+
+seafile-client (7.0.8-1) unstable; urgency=medium
+
+  * Update QuaZip Patch (Closes: #963280)
+  * New upstream version 7.0.8
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 08 Jul 2020 11:30:17 +0200
+
+seafile-client (7.0.7-1) unstable; urgency=medium
+
+  * New upstream version 7.0.7
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 12 May 2020 09:39:25 +0200
+
+seafile-client (7.0.6-1) unstable; urgency=medium
+
+  * Add lintian override version-substvar-for-external-package
+  * allow failure of piuparts, because missing ca-certificates
+  * Update Standards-Version and use declarative dh
+  * New upstream version 7.0.6
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 13 Feb 2020 09:56:25 +0100
+
+seafile-client (7.0.5-1) unstable; urgency=medium
+
+  * New upstream version 7.0.5
+  * Refresh patches
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 14 Jan 2020 12:08:38 +0100
+
+seafile-client (7.0.4-1) unstable; urgency=medium
+
+  * New upstream version 7.0.4
+  * Update dependency version searpc
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Mon, 25 Nov 2019 10:56:49 +0100
+
+seafile-client (7.0.2-2) unstable; urgency=high
+
+  * Fix versioned dependencies (Closes: #943789)
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 30 Oct 2019 11:18:13 +0100
+
+seafile-client (7.0.2-1) unstable; urgency=medium
+
+  * 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
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 08 Oct 2019 15:07:37 +0200
+
+seafile-client (6.2.11-1) unstable; urgency=medium
+
+  * New upstream version 6.2.11
+  * Update Standards-Version
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 29 Jan 2019 20:19:41 +0100
+
+seafile-client (6.2.9-2) unstable; urgency=medium
+
+  * Add Patch from #988: Accept close event instead of ignoring it
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 10 Jan 2019 12:16:40 +0100
+
+seafile-client (6.2.9-1) unstable; urgency=medium
+
+  * Add some Files-Excluded to d/copyright
+  * New upstream version 6.2.9
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 11 Dec 2018 15:30:07 +0100
+
+seafile-client (6.2.7-1) unstable; urgency=medium
+
+  * New upstream version 6.2.7
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Sun, 25 Nov 2018 21:02:28 +0100
+
+seafile-client (6.2.5-6) unstable; urgency=medium
+
+  * 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.
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Mon, 12 Nov 2018 14:55:54 +0100
+
+seafile-client (6.2.5-5) unstable; urgency=medium
+
+  * Fix DEP-8 test suite
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 09 Nov 2018 21:03:42 +0100
+
+seafile-client (6.2.5-4) unstable; urgency=medium
+
+  * Use more intelligent approach for QtWebEngine/QtWebKit detection
+  * Add basic (superficial) autopkgtest suite
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 09 Nov 2018 12:38:41 +0100
+
+seafile-client (6.2.5-3) unstable; urgency=medium
+
+  * Explicitly list arch-dependent dependencies on qtwebengine or qtwebkit
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 09 Nov 2018 09:31:12 +0100
+
+seafile-client (6.2.5-2) unstable; urgency=medium
+
+  * Allow building with qtwebkit when qtwebengine is not available
+    - should fix builds for armel, mips, mips64el, ppc64el, s390x et. al.
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 08 Nov 2018 21:58:18 +0100
+
+seafile-client (6.2.5-1) unstable; urgency=medium
+
+  [ Ondřej Nový ]
+  * d/copyright: Use https protocol in Format field
+  * d/changelog: Remove trailing whitespaces
+
+  [ Moritz Schlarb ]
+  * Change Maintainer to Debian Seafile Team
+  * New upstream version 6.2.5
+  * Update Standards-Version
+  * Update dependency version of libsearpc
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Thu, 08 Nov 2018 11:59:07 +0100
+
+seafile-client (6.2.4-1) unstable; urgency=medium
+
+  * New upstream version 6.2.4
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 07 Aug 2018 10:58:27 +0200
+
+seafile-client (6.2.0-1) unstable; urgency=medium
+
+  * New upstream version 6.2.0
+  * Use qtwebengine instead of qtwebkit
+  * Build and run test suite
+  * Remove ccnet dependency and raise versioned deps
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Wed, 27 Jun 2018 20:39:54 +0200
+
+seafile-client (6.1.8-1) unstable; urgency=medium
+
+  * Add Suggests: seafile-cli
+  * Streamline d/copyright and d/rules
+  * New upstream version 6.1.8
+  * Don't use bundled QuaZip
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Sat, 02 Jun 2018 14:38:58 +0200
+
+seafile-client (6.1.7-1) unstable; urgency=medium
+
+  * Move Vcs-* to Salsa
+  * New upstream version 6.1.7
+  * Update and cleanup d/{control,rules}
+  * Add Patch to add Keywords to .desktop file
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Tue, 24 Apr 2018 10:42:38 +0200
+
+seafile-client (6.1.5-1) unstable; urgency=medium
+
+  * New upstream version 6.1.5
+
+ -- Moritz Schlarb <schlarbm@uni-mainz.de>  Fri, 16 Feb 2018 09:23:40 +0100
+
+seafile-client (6.1.4-1) unstable; urgency=medium
+
+  * New upstream version 6.1.4
+
+ -- 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
+
+ -- 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 --git a/control b/control
new file mode 100644 (file)
index 0000000..072b58a
--- /dev/null
+++ b/control
@@ -0,0 +1,49 @@
+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: optional
+Build-Depends:
+ cmake,
+ debhelper-compat (= 12),
+ 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.5.0
+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},
+ 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.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..63bc542
--- /dev/null
+++ b/copyright
@@ -0,0 +1,172 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: seafile-client
+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-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 <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.
+
+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 --git a/gbp.conf b/gbp.conf
new file mode 100644 (file)
index 0000000..e4ba015
--- /dev/null
+++ b/gbp.conf
@@ -0,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']
diff --git a/patches/0001-Add-Keywords-to-.desktop-file.patch b/patches/0001-Add-Keywords-to-.desktop-file.patch
new file mode 100644 (file)
index 0000000..34f2a89
--- /dev/null
@@ -0,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
diff --git a/patches/0002-Don-t-use-bundled-QuaZip.patch b/patches/0002-Don-t-use-bundled-QuaZip.patch
new file mode 100644 (file)
index 0000000..b231b53
--- /dev/null
@@ -0,0 +1,69 @@
+From: Moritz Schlarb <schlarbm@uni-mainz.de>
+Date: Thu, 24 May 2018 16:28:02 +0200
+Subject: Don't use bundled QuaZip
+
+---
+ CMakeLists.txt | 28 ++++------------------------
+ 1 file changed, 4 insertions(+), 24 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 8bef36c..d156994 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -208,8 +208,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
+@@ -295,7 +293,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}
+ )
+@@ -501,7 +498,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})
+@@ -595,27 +591,11 @@ 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})
++FIND_PACKAGE(QuaZip5 REQUIRED PATHS "/usr/share/quazip")
++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
diff --git a/patches/0004-Add-cli-help-and-version-option.patch b/patches/0004-Add-cli-help-and-version-option.patch
new file mode 100644 (file)
index 0000000..1941c3a
--- /dev/null
@@ -0,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 d55e9b5..d8d272e 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;
diff --git a/patches/0004-Fix-build-with-Qt5-v5.15.0.patch b/patches/0004-Fix-build-with-Qt5-v5.15.0.patch
new file mode 100644 (file)
index 0000000..6582f75
--- /dev/null
@@ -0,0 +1,31 @@
+From: Joffrey <j-off@live.fr>
+Date: Fri, 29 May 2020 15:59:11 +0000
+Subject: Fix build with Qt5 v5.15.0
+
+---
+ src/ui/events-list-view.cpp     | 1 +
+ src/ui/private-share-dialog.cpp | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/ui/events-list-view.cpp b/src/ui/events-list-view.cpp
+index b1d04ab..09536b9 100644
+--- a/src/ui/events-list-view.cpp
++++ b/src/ui/events-list-view.cpp
+@@ -1,4 +1,5 @@
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QApplication>
+ #include <QPixmap>
+ #include <QToolTip>
+diff --git a/src/ui/private-share-dialog.cpp b/src/ui/private-share-dialog.cpp
+index 511d476..284cc04 100644
+--- a/src/ui/private-share-dialog.cpp
++++ b/src/ui/private-share-dialog.cpp
+@@ -2,6 +2,7 @@
+ #include <QCompleter>
+ #include <QLineEdit>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QResizeEvent>
+ #include <QStringList>
+ #include <QStringListModel>
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..6d8549e
--- /dev/null
@@ -0,0 +1,4 @@
+0001-Add-Keywords-to-.desktop-file.patch
+0002-Don-t-use-bundled-QuaZip.patch
+0004-Add-cli-help-and-version-option.patch
+0004-Fix-build-with-Qt5-v5.15.0.patch
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..ab89758
--- /dev/null
+++ b/rules
@@ -0,0 +1,51 @@
+#!/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
+
+CMAKE_FLAGS = " -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DBUILD_SHIBBOLETH_SUPPORT=ON -DAUTOMOC_MOC_OPTIONS=-p./ "
+
+include /usr/share/dpkg/architecture.mk
+
+ifeq ($(DEB_HOST_ARCH),armel)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),mips)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),mips64el)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),ppc64el)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),s390x)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),alpha)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),hppa)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),m68k)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),powerpc)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),ppc64)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),sh4)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+else ifeq ($(DEB_HOST_ARCH),sparc64)
+ CMAKE_FLAGS += "-DUSE_QT_WEBKIT=ON"
+endif
+%:
+       dh $@ --builddirectory=build
+
+override_dh_auto_configure:
+       dh_auto_configure -- $(CMAKE_FLAGS)
diff --git a/salsa-ci.yml b/salsa-ci.yml
new file mode 100644 (file)
index 0000000..496c5b9
--- /dev/null
@@ -0,0 +1,11 @@
+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
+
+piuparts:
+  extends: .test-piuparts
+  allow_failure: true
diff --git a/seafile-gui.install b/seafile-gui.install
new file mode 100644 (file)
index 0000000..0144571
--- /dev/null
@@ -0,0 +1,4 @@
+#usr/bin/seafile-applet
+#usr/share/pixmaps/seafile.png
+#usr/share/applications/seafile.desktop
+#usr/share/icons/hicolor/*/apps/seafile.png
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/source/lintian-overrides b/source/lintian-overrides
new file mode 100644 (file)
index 0000000..5c5327e
--- /dev/null
@@ -0,0 +1,3 @@
+seafile-client source: version-substvar-for-external-package seafile-gui -> libseafile0
+seafile-client source: version-substvar-for-external-package seafile-gui -> seafile-daemon
+seafile-client source: version-substvar-for-external-package seafile-gui -> seafile-cli
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..a3e169d
--- /dev/null
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/haiwen/seafile-client/issues
+Bug-Submit: https://github.com/haiwen/seafile-client/issues/new
+Repository: https://github.com/haiwen/seafile-client.git
+Repository-Browse: https://github.com/haiwen/seafile-client
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..32aa44c
--- /dev/null
+++ b/watch
@@ -0,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