Added files for debian packaging.

Close #1686. See Also:

- libsearpc:      https://github.com/haiwen/libsearpc/pull/26
- ccnet:          https://github.com/haiwen/ccnet/pull/109
- seafile-client: https://github.com/haiwen/seafile-client/pull/807
This commit is contained in:
unDocUMeantIt 2016-06-13 19:45:43 +02:00 committed by Shuai Lin
parent 76b71f573e
commit dd20ca9815
12 changed files with 600 additions and 606 deletions

474
debian/changelog vendored
View File

@ -1,469 +1,27 @@
seafile (5.1.3) stable; urgency=low
seafile-daemon (5.1.3-1ubuntu1) UNRELEASED; urgency=medium
* Several improvments for seafile-client
* new upstream release
-- plt <freeplant@gmail.com> Mon, 27 Jun 2016 13:46:10 +0800
seafile (5.1.2) stable; urgency=low
-- m.eik michalke <meik.michalke@hhu.de> Thu, 30 Jun 2016 23:59:07 +0200
* Several improvments for seafile-client
seafile-daemon (5.1.2-5ubuntu2) unstable; urgency=medium
-- plt <freeplant@gmail.com> Sat, 4 Jun 2016 10:27:05 +0800
seafile (5.1.1) stable; urgency=low
* fixed dependencies for seafile-daemon and seafile-cli
* Several improvments for seafile-client
-- m.eik michalke <meik.michalke@hhu.de> Mon, 27 Jun 2016 11:16:33 +0200
-- plt <freeplant@gmail.com> Fri, 29 Apr 2016 11:51:05 +0800
seafile (5.1.0) stable; urgency=low
seafile-daemon (5.1.2-5ubuntu1) unstable; urgency=medium
* Several improvments for seafile-client
* repackaging with cleaned up orig.tar.xz archives
* added symbols file
-- plt <freeplant@gmail.com> Sat, 9 Apr 2016 12:07:05 +0800
seafile (5.0.7) stable; urgency=low
-- m.eik michalke <meik.michalke@hhu.de> Fri, 17 Jun 2016 19:04:41 +0200
* Several improvments for seafile-client
seafile-daemon (5.1.2-4) unstable; urgency=medium
-- plt <freeplant@gmail.com> Mon, 28 Mar 2016 14:18:31 +0800
seafile (5.0.6) stable; urgency=low
* split package into seafile-daemon, libseafile0, libseafile-dev and seafile-cli
* 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
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 3 Mar 2016 14:20:31 +0800
seafile (5.0.5) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 19 Feb 2016 17:38:10 +0800
seafile (5.0.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 26 Jan 2016 11:08:10 +0800
seafile (5.0.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 13 Jan 2016 16:33:20 +0800
seafile (5.0.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 9 Jan 2016 11:16:20 +0800
seafile (5.0.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 19 Dec 2015 11:43:40 +0800
seafile (5.0.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 24 Nov 2015 18:12:10 +0800
seafile (4.4.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 16 Oct 2015 11:35:10 +0800
seafile (4.4.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 10 Oct 2015 14:15:10 +0800
seafile (4.4.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 18 Sep 2015 10:24:40 +0800
seafile (4.3.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 11 Sep 2015 10:38:40 +0800
seafile (4.3.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 24 Aug 2015 17:34:40 +0800
seafile (4.3.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 18 Aug 2015 13:50:45 +0800
seafile (4.3.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 08 Aug 2015 15:31:45 +0800
seafile (4.3.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 22 Jul 2015 13:54:25 +0800
seafile (4.2.7) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 08 Jul 2015 10:48:25 +0800
seafile (4.2.6) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 25 Jun 2015 17:55:16 +0800
seafile (4.2.5) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 24 Jun 2015 11:55:16 +0800
seafile (4.2.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 10 Jun 2015 14:16:16 +0800
seafile (4.2.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 29 May 2015 11:52:16 +0800
seafile (4.2.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 20 May 2015 11:00:30 +0800
seafile (4.2.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 14 May 2015 13:36:30 +0800
seafile (4.2.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 07 May 2015 11:07:30 +0800
seafile (4.1.6) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 21 April 2015 11:48:30 +0800
seafile (4.1.5) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 3 April 2015 15:13:30 +0800
seafile (4.1.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 27 March 2015 15:20:30 +0800
seafile (4.1.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 23 March 2015 11:30:30 +0800
seafile (4.1.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 19 March 2015 11:30:30 +0800
seafile (4.1.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 28 Febuery 2015 16:01:30 +0800
seafile (4.1.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 20 January 2015 11:44:30 +0800
seafile (4.0.7) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 19 January 2015 11:44:30 +0800
seafile (4.0.6) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 8 January 2015 13:49:30 +0800
seafile (4.0.5) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 23 December 2014 16:09:30 +0800
seafile (4.0.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 13 December 2014 13:43:00 +0800
seafile (4.0.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 1 December 2014 14:00:00 +0800
seafile (4.0.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 29 November 2014 14:29:00 +0800
seafile (4.0.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 18 November 2014 11:26:56 +0800
seafile (4.0.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 7 November 2014 16:56:56 +0800
seafile (3.1.11) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 14 November 2014 14:57:45 +0800
seafile (3.1.10) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thu, 13 November 2014 14:28:45 +0800
seafile (3.1.9) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 12 November 2014 12:18:45 +0800
seafile (3.1.8) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tue, 28 October 2014 16:15:45 +0800
seafile (3.1.7) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 28 September 2014 11:00:00 +0800
seafile (3.1.6) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 17 September 2014 17:40:00 +0800
seafile (3.1.5) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 13 August 2014 16:04:36 +0800
seafile (3.1.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 5 August 2014 13:28:19 +0800
seafile (3.1.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 4 August 2014 15:41:44 +0800
seafile (3.1.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 1 August 2014 19:00:32 +0800
seafile (3.1.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Sat, 5 July 2014 19:00:32 +0800
seafile (3.0.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Mon, 12 May 2014 19:00:32 +0800
seafile (3.0.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Wed, 30 April 2014 19:00:32 +0800
seafile (3.0.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Monday, 21 April 2014 19:00:32 +0800
seafile (3.0.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thursday, 10 April 2014 19:00:32 +0800
seafile (3.0.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tuesday, 25 March 2014 19:00:32 +0800
seafile (2.1.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tuesday, 4 March 2014 19:00:32 +0800
seafile (2.2.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tuesday, 15 April 2014 19:00:32 +0800
seafile (2.1.1) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Saturday, 9 January 2014 19:00:32 +0800
seafile (2.1.0) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Saturday, 19 December 2013 19:00:32 +0800
seafile (2.0.8) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Saturday, 9 November 2013 19:00:32 +0800
seafile (2.0.7) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thursday, 7 November 2013 19:00:32 +0800
seafile (2.0.6) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tuesday, 22 October 2013 19:00:32 +0800
seafile (2.0.4) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Tuesday, 22 October 2013 19:00:32 +0800
seafile (2.0.3) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Thursday, 17 October 2013 19:00:32 +0800
seafile (2.0.2) stable; urgency=low
* Several improvments for seafile-client
-- plt <freeplant@gmail.com> Fri, 11 October 2013 19:00:32 +0800
seafile (2.0.1) stable; urgency=low
* Minor improvements for new seafile-client
-- plt <freeplant@gmail.com> Mon, 30 September 2013 19:00:32 +0800
seafile (2.0.0) stable; urgency=low
* Use new seafile-client
-- plt <freeplant@gmail.com> Fri, 27 September 2013 19:00:32 +0800
seafile (1.8.2) stable; urgency=low
* Fix a bug when dir object is lost
-- plt <freeplant@gmail.com> Wed, 16 August 2013 19:00:32 +0800
seafile (1.8.1) stable; urgency=low
* Fixed a bug in CDC
* Init static variables in libcdc before mainloop starts.
-- plt <freeplant@gmail.com> Wed, 14 August 2013 19:00:32 +0800
seafile (1.8.0) stable; urgency=low
* Skip chunking errors
* Fix some bugs
-- plt <freeplant@gmail.com> Wed, 31 July 2013 19:00:32 +0800
seafile (1.7.3) stable; urgency=low
* Fix a bug in merge
-- plt <freeplant@gmail.com> Friday, 5 July 2013 19:00:32 +0800
seafile (1.7.1) stable; urgency=low
* Fix some bugs
-- plt <freeplant@gmail.com> Monday, 17 June 2013 19:00:32 +0800
seafile (1.7.0) stable; urgency=low
* Fix some bugs
-- plt <freeplant@gmail.com> Saturday, 1 June 2013 19:00:32 +0800
seafile (1.6.1) stable; urgency=low
* Fix some bugs
-- plt <freeplant@gmail.com> Friday, 26 April 2013 19:00:32 +0800
seafile (1.6.0) stable; urgency=low
* Fix some bugs
* Improve block/object write-in
-- plt <freeplant@gmail.com> Tuesday, 27 March 2013 19:00:32 +0800
seafile (1.5.3) stable; urgency=low
* Fix bugs of empty directory handling
-- plt <freeplant@gmail.com> Tuesday, 6 March 2013 19:00:32 +0800
seafile (1.5.2) stable; urgency=low
* Fixed a bug when displaying desktop notify
-- plt <freeplant@gmail.com> Tuesday, 5 March 2013 19:00:32 +0800
seafile (1.5.1) stable; urgency=low
* Use blocking DNS lookup instead of evdns
-- plt <freeplant@gmail.com> Friday, 1 March 2013 19:00:32 +0800
seafile (1.5.0) stable; urgency=low
* Fixed some bugs
* Added command line client
-- plt <freeplant@gmail.com> Tuesday, 26 February 2013 19:00:32 +0800
seafile (1.4.5) stable; urgency=low
* Improve sync notification
-- plt <freeplant@gmail.com> Wed, 30 January 2013 19:00:32 +0800
seafile (1.4.1) stable; urgency=low
* Fixed a bug in the function hton64
-- plt <freeplant@gmail.com> Mon, 14 January 2013 19:00:32 +0800
seafile (1.4.0) stable; urgency=low
* Only use appindicator in Unity desktop
* Fixed some bugs
-- plt <freeplant@gmail.com> Mon, 7 January 2013 19:00:32 +0800
seafile (1.3.5) stable; urgency=low
* Support encryption of data transfer
-- plt <freeplant@gmail.com> Sat, 16 December 2012 19:00:32 +0800
seafile (1.2.2) stable; urgency=low
* Fixed bugs of transfer scheduling algorithm
-- plt <freeplant@gmail.com> Mon, 26 November 2012 19:00:32 +0800
seafile (1.2.0) stable; urgency=low
* Initial release.
-- plt <freeplant@gmail.com> Fri, 30 March 2012 19:00:32 +0800
-- m.eik michalke <meik.michalke@hhu.de> Wed, 15 Jun 2016 22:38:24 +0200

104
debian/control vendored
View File

@ -1,47 +1,73 @@
Source: seafile
Source: seafile-daemon
Section: net
Priority: extra
Maintainer: Lingtao Pan <freeplant@gmail.com>
Maintainer: m.eik michalke <meik.michalke@hhu.de>
Build-Depends:
debhelper (>= 7),
autotools-dev,
libssl-dev,
libsqlite3-dev,
intltool,
libglib2.0-dev,
libevent-dev,
uuid-dev,
libgtk2.0-dev,
qtbase5-dev,
libqt5webkit5-dev,
qttools5-dev
Standards-Version: 3.9.4
debhelper (>= 7),
autotools-dev,
libssl-dev,
libsqlite3-dev,
intltool,
libglib2.0-dev,
libevent-dev,
uuid-dev,
libtool,
libcurl4-openssl-dev,
valac,
libjansson-dev,
python,
libsearpc-dev,
libccnet-dev
Standards-Version: 3.9.5
Homepage: http://seafile.com
Package: seafile
Package: seafile-daemon
Section: net
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
libglib2.0-0,
libsqlite3-0,
libuuid1,
libssl0.9.8 | libssl1.0.0,
libevent-2.0-5,
libqt5network5,
libqt5core5a,
libqt5gui5,
libqt5webkit5,
libqt5test5
Description: Client of seafile, an online file storage and collaboration tool
Seafile enables you to build private cloud for file sharing and collaboration
among team members in your company/organization. This is the Linux desktop
client of the seafile system.
${shlibs:Depends},
${misc:Depends},
${python:Depends},
ccnet (>= 5.1.2)
Conflicts: seafile
Suggests: seafile-gui, seafile-cli
Description: Seafile daemon
File syncing and sharing software with file encryption and group
sharing, emphasis on reliability and high performance.
.
First you create a file library in the web and upload files to it. Then you
share it into a team or with another user.
.
File libraries can also be synchronized among computers and mobile devices. You
download a library to your PC. Whenever you add, delete or edit a file, the
latest version be uploaded to the server automatically and then be synchronized
to everyone's computer.
This package contains the Seafile daemon.
Package: libseafile0
Section: libs
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
${python:Depends}
Conflicts: seafile
Description: Shared libraries for Seafile
This package contains the shared libraries for the Seafile daemon.
Package: seafile-cli
Section: utils
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
${python:Depends},
libseafile0 (>= ${binary:Version}),
ccnet (>= 5.1.2),
seafile-daemon (>= ${binary:Version})
Conflicts: seafile
Description: Seafile command line interface.
This package contains the command line interface to manage Seafile libraries.
Package: libseafile-dev
Section: libdevel
Architecture: any
Depends:
${misc:Depends},
libseafile0 (= ${binary:Version})
Conflicts: seafile
Description: Development files for package libseafile0.
This package contains the development files for the libseafile0 package.

58
debian/copyright vendored
View File

@ -1,18 +1,44 @@
This package was debianized by Lingtao Pan <freeplant@gmail.com> on
Thu, 15 March 2012 14:45:30 +0800.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: seafile
Upstream-Contact: Lingtao Pan <freeplant@gmail.com>
Source: https://github.com/haiwen/seafile
It was downloaded from http://www.gonggeng.org/seasite/download/
Files: *
Copyright: 2012 plt
License: GPL-2 with OpenSSL exception
This program is released under GPL-2, with the following addition
permission to link with OpenSSL library.
.
If you modify this program, or any covered work, by linking or
combining it with the OpenSSL project's OpenSSL library (or a
modified version of that library), containing parts covered by the
terms of the OpenSSL or SSLeay licenses, Seafile Ltd.
grants you additional permission to convey the resulting work.
Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work.
.
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.
Upstream Author(s):
Lingtao Pan <freeplant@gmail.com>
Copyright:
Copyright (C) 2012 by plt.
License:
GPLv3
The Debian packaging is copyright 2012, Lingtao Pan <freeplant@gmail.com> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
Files: debian/*
Copyright: 2016 m.eik michalke
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.

5
debian/libseafile-dev.install vendored Normal file
View File

@ -0,0 +1,5 @@
usr/include/seafile
usr/lib/pkgconfig
usr/lib/libseafile.a
usr/lib/libseafile.la
usr/lib/libseafile.so

3
debian/libseafile0.install vendored Normal file
View File

@ -0,0 +1,3 @@
usr/lib/*.so.*
usr/lib/python2.7/dist-packages/seafile/*.py
usr/lib/python2.7/dist-packages/seaserv/*.py

430
debian/libseafile0.symbols vendored Normal file
View File

@ -0,0 +1,430 @@
libseafile.so.0 libseafile0 #MINVER#
seafile_add_chunk_server@Base 5.1.2
seafile_branch_construct@Base 5.1.2
seafile_branch_get_commit_id@Base 5.1.2
seafile_branch_get_name@Base 5.1.2
seafile_branch_get_repo_id@Base 5.1.2
seafile_branch_get_type@Base 5.1.2
seafile_branch_new@Base 5.1.2
seafile_branch_set_commit_id@Base 5.1.2
seafile_branch_set_name@Base 5.1.2
seafile_branch_set_repo_id@Base 5.1.2
seafile_calc_dir_size@Base 5.1.2
seafile_check_quota@Base 5.1.2
seafile_checkout_task_construct@Base 5.1.2
seafile_checkout_task_get_finished_files@Base 5.1.2
seafile_checkout_task_get_repo_id@Base 5.1.2
seafile_checkout_task_get_total_files@Base 5.1.2
seafile_checkout_task_get_type@Base 5.1.2
seafile_checkout_task_get_worktree@Base 5.1.2
seafile_checkout_task_new@Base 5.1.2
seafile_checkout_task_set_finished_files@Base 5.1.2
seafile_checkout_task_set_repo_id@Base 5.1.2
seafile_checkout_task_set_total_files@Base 5.1.2
seafile_checkout_task_set_worktree@Base 5.1.2
seafile_clone_task_construct@Base 5.1.2
seafile_clone_task_get_error_str@Base 5.1.2
seafile_clone_task_get_peer_id@Base 5.1.2
seafile_clone_task_get_repo_id@Base 5.1.2
seafile_clone_task_get_repo_name@Base 5.1.2
seafile_clone_task_get_state@Base 5.1.2
seafile_clone_task_get_tx_id@Base 5.1.2
seafile_clone_task_get_type@Base 5.1.2
seafile_clone_task_get_worktree@Base 5.1.2
seafile_clone_task_new@Base 5.1.2
seafile_clone_task_set_error_str@Base 5.1.2
seafile_clone_task_set_peer_id@Base 5.1.2
seafile_clone_task_set_repo_id@Base 5.1.2
seafile_clone_task_set_repo_name@Base 5.1.2
seafile_clone_task_set_state@Base 5.1.2
seafile_clone_task_set_tx_id@Base 5.1.2
seafile_clone_task_set_worktree@Base 5.1.2
seafile_commit_construct@Base 5.1.2
seafile_commit_get_conflict@Base 5.1.2
seafile_commit_get_creator@Base 5.1.2
seafile_commit_get_creator_name@Base 5.1.2
seafile_commit_get_ctime@Base 5.1.2
seafile_commit_get_desc@Base 5.1.2
seafile_commit_get_device_name@Base 5.1.2
seafile_commit_get_id@Base 5.1.2
seafile_commit_get_new_merge@Base 5.1.2
seafile_commit_get_parent_id@Base 5.1.2
seafile_commit_get_repo_id@Base 5.1.2
seafile_commit_get_rev_file_id@Base 5.1.2
seafile_commit_get_rev_file_size@Base 5.1.2
seafile_commit_get_rev_renamed_old_path@Base 5.1.2
seafile_commit_get_root_id@Base 5.1.2
seafile_commit_get_second_parent_id@Base 5.1.2
seafile_commit_get_type@Base 5.1.2
seafile_commit_get_version@Base 5.1.2
seafile_commit_new@Base 5.1.2
seafile_commit_set_conflict@Base 5.1.2
seafile_commit_set_creator@Base 5.1.2
seafile_commit_set_creator_name@Base 5.1.2
seafile_commit_set_ctime@Base 5.1.2
seafile_commit_set_desc@Base 5.1.2
seafile_commit_set_device_name@Base 5.1.2
seafile_commit_set_id@Base 5.1.2
seafile_commit_set_new_merge@Base 5.1.2
seafile_commit_set_parent_id@Base 5.1.2
seafile_commit_set_repo_id@Base 5.1.2
seafile_commit_set_rev_file_id@Base 5.1.2
seafile_commit_set_rev_file_size@Base 5.1.2
seafile_commit_set_rev_renamed_old_path@Base 5.1.2
seafile_commit_set_root_id@Base 5.1.2
seafile_commit_set_second_parent_id@Base 5.1.2
seafile_commit_set_version@Base 5.1.2
seafile_copy_result_construct@Base 5.1.2
seafile_copy_result_get_background@Base 5.1.2
seafile_copy_result_get_task_id@Base 5.1.2
seafile_copy_result_get_type@Base 5.1.2
seafile_copy_result_new@Base 5.1.2
seafile_copy_result_set_background@Base 5.1.2
seafile_copy_result_set_task_id@Base 5.1.2
seafile_copy_task_construct@Base 5.1.2
seafile_copy_task_get_canceled@Base 5.1.2
seafile_copy_task_get_done@Base 5.1.2
seafile_copy_task_get_failed@Base 5.1.2
seafile_copy_task_get_successful@Base 5.1.2
seafile_copy_task_get_total@Base 5.1.2
seafile_copy_task_get_type@Base 5.1.2
seafile_copy_task_new@Base 5.1.2
seafile_copy_task_set_canceled@Base 5.1.2
seafile_copy_task_set_done@Base 5.1.2
seafile_copy_task_set_failed@Base 5.1.2
seafile_copy_task_set_successful@Base 5.1.2
seafile_copy_task_set_total@Base 5.1.2
seafile_create_repo@Base 5.1.2
seafile_create_repo_async@Base 5.1.2
seafile_crypt_key_construct@Base 5.1.2
seafile_crypt_key_get_iv@Base 5.1.2
seafile_crypt_key_get_key@Base 5.1.2
seafile_crypt_key_get_type@Base 5.1.2
seafile_crypt_key_new@Base 5.1.2
seafile_crypt_key_set_iv@Base 5.1.2
seafile_crypt_key_set_key@Base 5.1.2
seafile_del_chunk_server@Base 5.1.2
seafile_deleted_entry_construct@Base 5.1.2
seafile_deleted_entry_get_basedir@Base 5.1.2
seafile_deleted_entry_get_commit_id@Base 5.1.2
seafile_deleted_entry_get_delete_time@Base 5.1.2
seafile_deleted_entry_get_file_size@Base 5.1.2
seafile_deleted_entry_get_mode@Base 5.1.2
seafile_deleted_entry_get_obj_id@Base 5.1.2
seafile_deleted_entry_get_obj_name@Base 5.1.2
seafile_deleted_entry_get_scan_stat@Base 5.1.2
seafile_deleted_entry_get_type@Base 5.1.2
seafile_deleted_entry_new@Base 5.1.2
seafile_deleted_entry_set_basedir@Base 5.1.2
seafile_deleted_entry_set_commit_id@Base 5.1.2
seafile_deleted_entry_set_delete_time@Base 5.1.2
seafile_deleted_entry_set_file_size@Base 5.1.2
seafile_deleted_entry_set_mode@Base 5.1.2
seafile_deleted_entry_set_obj_id@Base 5.1.2
seafile_deleted_entry_set_obj_name@Base 5.1.2
seafile_deleted_entry_set_scan_stat@Base 5.1.2
seafile_destroy_repo@Base 5.1.2
seafile_diff_entry_construct@Base 5.1.2
seafile_diff_entry_get_name@Base 5.1.2
seafile_diff_entry_get_new_name@Base 5.1.2
seafile_diff_entry_get_status@Base 5.1.2
seafile_diff_entry_get_type@Base 5.1.2
seafile_diff_entry_new@Base 5.1.2
seafile_diff_entry_set_name@Base 5.1.2
seafile_diff_entry_set_new_name@Base 5.1.2
seafile_diff_entry_set_status@Base 5.1.2
seafile_dir_construct@Base 5.1.2
seafile_dir_get_id@Base 5.1.2
seafile_dir_get_type@Base 5.1.2
seafile_dir_get_version@Base 5.1.2
seafile_dir_new@Base 5.1.2
seafile_dir_set_id@Base 5.1.2
seafile_dir_set_version@Base 5.1.2
seafile_dirent_construct@Base 5.1.2
seafile_dirent_get_is_locked@Base 5.1.2
seafile_dirent_get_is_shared@Base 5.1.2
seafile_dirent_get_lock_owner@Base 5.1.2
seafile_dirent_get_lock_time@Base 5.1.2
seafile_dirent_get_mode@Base 5.1.2
seafile_dirent_get_modifier@Base 5.1.2
seafile_dirent_get_mtime@Base 5.1.2
seafile_dirent_get_obj_id@Base 5.1.2
seafile_dirent_get_obj_name@Base 5.1.2
seafile_dirent_get_permission@Base 5.1.2
seafile_dirent_get_size@Base 5.1.2
seafile_dirent_get_type@Base 5.1.2
seafile_dirent_get_version@Base 5.1.2
seafile_dirent_new@Base 5.1.2
seafile_dirent_set_is_locked@Base 5.1.2
seafile_dirent_set_is_shared@Base 5.1.2
seafile_dirent_set_lock_owner@Base 5.1.2
seafile_dirent_set_lock_time@Base 5.1.2
seafile_dirent_set_mode@Base 5.1.2
seafile_dirent_set_modifier@Base 5.1.2
seafile_dirent_set_mtime@Base 5.1.2
seafile_dirent_set_obj_id@Base 5.1.2
seafile_dirent_set_obj_name@Base 5.1.2
seafile_dirent_set_permission@Base 5.1.2
seafile_dirent_set_size@Base 5.1.2
seafile_dirent_set_version@Base 5.1.2
seafile_disable_auto_sync_async@Base 5.1.2
seafile_enable_auto_sync_async@Base 5.1.2
seafile_encryption_info_construct@Base 5.1.2
seafile_encryption_info_get_enc_version@Base 5.1.2
seafile_encryption_info_get_magic@Base 5.1.2
seafile_encryption_info_get_passwd@Base 5.1.2
seafile_encryption_info_get_random_key@Base 5.1.2
seafile_encryption_info_get_repo_id@Base 5.1.2
seafile_encryption_info_get_type@Base 5.1.2
seafile_encryption_info_new@Base 5.1.2
seafile_encryption_info_set_enc_version@Base 5.1.2
seafile_encryption_info_set_magic@Base 5.1.2
seafile_encryption_info_set_passwd@Base 5.1.2
seafile_encryption_info_set_random_key@Base 5.1.2
seafile_encryption_info_set_repo_id@Base 5.1.2
seafile_file_last_modified_info_construct@Base 5.1.2
seafile_file_last_modified_info_get_file_name@Base 5.1.2
seafile_file_last_modified_info_get_last_modified@Base 5.1.2
seafile_file_last_modified_info_get_type@Base 5.1.2
seafile_file_last_modified_info_new@Base 5.1.2
seafile_file_last_modified_info_set_file_name@Base 5.1.2
seafile_file_last_modified_info_set_last_modified@Base 5.1.2
seafile_get_config@Base 5.1.2
seafile_get_config_async@Base 5.1.2
seafile_get_decrypt_key@Base 5.1.2
seafile_get_repo@Base 5.1.2
seafile_get_repo_list@Base 5.1.2
seafile_get_repo_property@Base 5.1.2
seafile_get_repo_token@Base 5.1.2
seafile_is_auto_sync_enabled_async@Base 5.1.2
seafile_list_chunk_servers@Base 5.1.2
seafile_post_file@Base 5.1.2
seafile_post_file_blocks@Base 5.1.2
seafile_post_multi_files@Base 5.1.2
seafile_put_file@Base 5.1.2
seafile_put_file_blocks@Base 5.1.2
seafile_repo_construct@Base 5.1.2
seafile_repo_get_auto_sync@Base 5.1.2
seafile_repo_get_desc@Base 5.1.2
seafile_repo_get_enc_version@Base 5.1.2
seafile_repo_get_encrypted@Base 5.1.2
seafile_repo_get_file_count@Base 5.1.2
seafile_repo_get_group_id@Base 5.1.2
seafile_repo_get_head_cmmt_id@Base 5.1.2
seafile_repo_get_id@Base 5.1.2
seafile_repo_get_is_corrupted@Base 5.1.2
seafile_repo_get_is_original_owner@Base 5.1.2
seafile_repo_get_is_shared@Base 5.1.2
seafile_repo_get_is_virtual@Base 5.1.2
seafile_repo_get_last_modified@Base 5.1.2
seafile_repo_get_last_modify@Base 5.1.2
seafile_repo_get_last_sync_time@Base 5.1.2
seafile_repo_get_magic@Base 5.1.2
seafile_repo_get_name@Base 5.1.2
seafile_repo_get_origin_path@Base 5.1.2
seafile_repo_get_origin_repo_id@Base 5.1.2
seafile_repo_get_origin_repo_name@Base 5.1.2
seafile_repo_get_permission@Base 5.1.2
seafile_repo_get_random_key@Base 5.1.2
seafile_repo_get_relay_id@Base 5.1.2
seafile_repo_get_repaired@Base 5.1.2
seafile_repo_get_repo_desc@Base 5.1.2
seafile_repo_get_repo_id@Base 5.1.2
seafile_repo_get_repo_name@Base 5.1.2
seafile_repo_get_root@Base 5.1.2
seafile_repo_get_share_type@Base 5.1.2
seafile_repo_get_size@Base 5.1.2
seafile_repo_get_store_id@Base 5.1.2
seafile_repo_get_type@Base 5.1.2
seafile_repo_get_user@Base 5.1.2
seafile_repo_get_version@Base 5.1.2
seafile_repo_get_virtual_perm@Base 5.1.2
seafile_repo_get_worktree@Base 5.1.2
seafile_repo_get_worktree_invalid@Base 5.1.2
seafile_repo_new@Base 5.1.2
seafile_repo_query_access_property@Base 5.1.2
seafile_repo_set_auto_sync@Base 5.1.2
seafile_repo_set_desc@Base 5.1.2
seafile_repo_set_enc_version@Base 5.1.2
seafile_repo_set_encrypted@Base 5.1.2
seafile_repo_set_file_count@Base 5.1.2
seafile_repo_set_group_id@Base 5.1.2
seafile_repo_set_head_cmmt_id@Base 5.1.2
seafile_repo_set_id@Base 5.1.2
seafile_repo_set_is_corrupted@Base 5.1.2
seafile_repo_set_is_original_owner@Base 5.1.2
seafile_repo_set_is_shared@Base 5.1.2
seafile_repo_set_is_virtual@Base 5.1.2
seafile_repo_set_last_modified@Base 5.1.2
seafile_repo_set_last_modify@Base 5.1.2
seafile_repo_set_last_sync_time@Base 5.1.2
seafile_repo_set_magic@Base 5.1.2
seafile_repo_set_name@Base 5.1.2
seafile_repo_set_origin_path@Base 5.1.2
seafile_repo_set_origin_repo_id@Base 5.1.2
seafile_repo_set_origin_repo_name@Base 5.1.2
seafile_repo_set_permission@Base 5.1.2
seafile_repo_set_random_key@Base 5.1.2
seafile_repo_set_relay_id@Base 5.1.2
seafile_repo_set_repaired@Base 5.1.2
seafile_repo_set_repo_desc@Base 5.1.2
seafile_repo_set_repo_id@Base 5.1.2
seafile_repo_set_repo_name@Base 5.1.2
seafile_repo_set_root@Base 5.1.2
seafile_repo_set_share_type@Base 5.1.2
seafile_repo_set_size@Base 5.1.2
seafile_repo_set_store_id@Base 5.1.2
seafile_repo_set_user@Base 5.1.2
seafile_repo_set_version@Base 5.1.2
seafile_repo_set_virtual_perm@Base 5.1.2
seafile_repo_set_worktree@Base 5.1.2
seafile_repo_set_worktree_invalid@Base 5.1.2
seafile_repo_token_info_construct@Base 5.1.2
seafile_repo_token_info_get_client_ver@Base 5.1.2
seafile_repo_token_info_get_email@Base 5.1.2
seafile_repo_token_info_get_peer_id@Base 5.1.2
seafile_repo_token_info_get_peer_ip@Base 5.1.2
seafile_repo_token_info_get_peer_name@Base 5.1.2
seafile_repo_token_info_get_repo_id@Base 5.1.2
seafile_repo_token_info_get_repo_name@Base 5.1.2
seafile_repo_token_info_get_repo_owner@Base 5.1.2
seafile_repo_token_info_get_sync_time@Base 5.1.2
seafile_repo_token_info_get_token@Base 5.1.2
seafile_repo_token_info_get_type@Base 5.1.2
seafile_repo_token_info_new@Base 5.1.2
seafile_repo_token_info_set_client_ver@Base 5.1.2
seafile_repo_token_info_set_email@Base 5.1.2
seafile_repo_token_info_set_peer_id@Base 5.1.2
seafile_repo_token_info_set_peer_ip@Base 5.1.2
seafile_repo_token_info_set_peer_name@Base 5.1.2
seafile_repo_token_info_set_repo_id@Base 5.1.2
seafile_repo_token_info_set_repo_name@Base 5.1.2
seafile_repo_token_info_set_repo_owner@Base 5.1.2
seafile_repo_token_info_set_sync_time@Base 5.1.2
seafile_repo_token_info_set_token@Base 5.1.2
seafile_session_info_construct@Base 5.1.2
seafile_session_info_get_datadir@Base 5.1.2
seafile_session_info_get_type@Base 5.1.2
seafile_session_info_new@Base 5.1.2
seafile_session_info_set_datadir@Base 5.1.2
seafile_set_config@Base 5.1.2
seafile_set_config_async@Base 5.1.2
seafile_set_org_quota@Base 5.1.2
seafile_set_org_user_quota@Base 5.1.2
seafile_set_repo_property@Base 5.1.2
seafile_set_repo_token@Base 5.1.2
seafile_set_user_quota@Base 5.1.2
seafile_shared_group_construct@Base 5.1.2
seafile_shared_group_get_group_id@Base 5.1.2
seafile_shared_group_get_perm@Base 5.1.2
seafile_shared_group_get_repo_id@Base 5.1.2
seafile_shared_group_get_type@Base 5.1.2
seafile_shared_group_new@Base 5.1.2
seafile_shared_group_set_group_id@Base 5.1.2
seafile_shared_group_set_perm@Base 5.1.2
seafile_shared_group_set_repo_id@Base 5.1.2
seafile_shared_user_construct@Base 5.1.2
seafile_shared_user_get_perm@Base 5.1.2
seafile_shared_user_get_repo_id@Base 5.1.2
seafile_shared_user_get_type@Base 5.1.2
seafile_shared_user_get_user@Base 5.1.2
seafile_shared_user_new@Base 5.1.2
seafile_shared_user_set_perm@Base 5.1.2
seafile_shared_user_set_repo_id@Base 5.1.2
seafile_shared_user_set_user@Base 5.1.2
seafile_sync_info_construct@Base 5.1.2
seafile_sync_info_get_bad_local_branch@Base 5.1.2
seafile_sync_info_get_deleted_on_relay@Base 5.1.2
seafile_sync_info_get_head_commit@Base 5.1.2
seafile_sync_info_get_need_fetch@Base 5.1.2
seafile_sync_info_get_need_merge@Base 5.1.2
seafile_sync_info_get_need_upload@Base 5.1.2
seafile_sync_info_get_repo_id@Base 5.1.2
seafile_sync_info_get_type@Base 5.1.2
seafile_sync_info_new@Base 5.1.2
seafile_sync_info_set_bad_local_branch@Base 5.1.2
seafile_sync_info_set_deleted_on_relay@Base 5.1.2
seafile_sync_info_set_head_commit@Base 5.1.2
seafile_sync_info_set_need_fetch@Base 5.1.2
seafile_sync_info_set_need_merge@Base 5.1.2
seafile_sync_info_set_need_upload@Base 5.1.2
seafile_sync_info_set_repo_id@Base 5.1.2
seafile_sync_task_construct@Base 5.1.2
seafile_sync_task_get_dest_id@Base 5.1.2
seafile_sync_task_get_error@Base 5.1.2
seafile_sync_task_get_force_upload@Base 5.1.2
seafile_sync_task_get_is_sync_lan@Base 5.1.2
seafile_sync_task_get_repo_id@Base 5.1.2
seafile_sync_task_get_state@Base 5.1.2
seafile_sync_task_get_tx_id@Base 5.1.2
seafile_sync_task_get_type@Base 5.1.2
seafile_sync_task_new@Base 5.1.2
seafile_sync_task_set_dest_id@Base 5.1.2
seafile_sync_task_set_error@Base 5.1.2
seafile_sync_task_set_force_upload@Base 5.1.2
seafile_sync_task_set_is_sync_lan@Base 5.1.2
seafile_sync_task_set_repo_id@Base 5.1.2
seafile_sync_task_set_state@Base 5.1.2
seafile_sync_task_set_tx_id@Base 5.1.2
seafile_task_construct@Base 5.1.2
seafile_task_get_block_done@Base 5.1.2
seafile_task_get_block_total@Base 5.1.2
seafile_task_get_dest_id@Base 5.1.2
seafile_task_get_dsize@Base 5.1.2
seafile_task_get_error_str@Base 5.1.2
seafile_task_get_from_branch@Base 5.1.2
seafile_task_get_fs_objects_done@Base 5.1.2
seafile_task_get_fs_objects_total@Base 5.1.2
seafile_task_get_rate@Base 5.1.2
seafile_task_get_repo_id@Base 5.1.2
seafile_task_get_rsize@Base 5.1.2
seafile_task_get_rt_state@Base 5.1.2
seafile_task_get_state@Base 5.1.2
seafile_task_get_to_branch@Base 5.1.2
seafile_task_get_ttype@Base 5.1.2
seafile_task_get_tx_id@Base 5.1.2
seafile_task_get_type@Base 5.1.2
seafile_task_new@Base 5.1.2
seafile_task_set_block_done@Base 5.1.2
seafile_task_set_block_total@Base 5.1.2
seafile_task_set_dest_id@Base 5.1.2
seafile_task_set_dsize@Base 5.1.2
seafile_task_set_error_str@Base 5.1.2
seafile_task_set_from_branch@Base 5.1.2
seafile_task_set_fs_objects_done@Base 5.1.2
seafile_task_set_fs_objects_total@Base 5.1.2
seafile_task_set_rate@Base 5.1.2
seafile_task_set_repo_id@Base 5.1.2
seafile_task_set_rsize@Base 5.1.2
seafile_task_set_rt_state@Base 5.1.2
seafile_task_set_state@Base 5.1.2
seafile_task_set_to_branch@Base 5.1.2
seafile_task_set_ttype@Base 5.1.2
seafile_task_set_tx_id@Base 5.1.2
seafile_trash_repo_construct@Base 5.1.2
seafile_trash_repo_get_del_time@Base 5.1.2
seafile_trash_repo_get_head_id@Base 5.1.2
seafile_trash_repo_get_owner_id@Base 5.1.2
seafile_trash_repo_get_repo_id@Base 5.1.2
seafile_trash_repo_get_repo_name@Base 5.1.2
seafile_trash_repo_get_size@Base 5.1.2
seafile_trash_repo_get_type@Base 5.1.2
seafile_trash_repo_new@Base 5.1.2
seafile_trash_repo_set_del_time@Base 5.1.2
seafile_trash_repo_set_head_id@Base 5.1.2
seafile_trash_repo_set_owner_id@Base 5.1.2
seafile_trash_repo_set_repo_id@Base 5.1.2
seafile_trash_repo_set_repo_name@Base 5.1.2
seafile_trash_repo_set_size@Base 5.1.2
seafile_web_access_construct@Base 5.1.2
seafile_web_access_get_obj_id@Base 5.1.2
seafile_web_access_get_op@Base 5.1.2
seafile_web_access_get_repo_id@Base 5.1.2
seafile_web_access_get_type@Base 5.1.2
seafile_web_access_get_username@Base 5.1.2
seafile_web_access_new@Base 5.1.2
seafile_web_access_set_obj_id@Base 5.1.2
seafile_web_access_set_op@Base 5.1.2
seafile_web_access_set_repo_id@Base 5.1.2
seafile_web_access_set_username@Base 5.1.2
seafile_web_query_access_token@Base 5.1.2

View File

@ -0,0 +1,22 @@
Fixing wrong pkgconfig paths.
--- a/lib/libseafile.pc.in
+++ b/lib/libseafile.pc.in
@@ -1,4 +1,4 @@
-prefix=(DESTDIR)@prefix@
+prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -85,10 +85,3 @@
rm -f rpc_table.stamp
rm -f rpc_table.tmp
rm -f vala.tmp vala.stamp ${valac_gen}
-
-install-data-local:
-if MACOS
- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
-else
- ${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
-endif

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
fix-pkgconfig-paths.patch

104
debian/rules vendored
View File

@ -1,99 +1,17 @@
#!/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
%:
dh $@ --with python2 --with autotools_dev
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
else
CROSS= --build $(DEB_BUILD_GNU_TYPE)
endif
override_dh_auto_configure:
./autogen.sh
dh_auto_configure -- --disable-fuse
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
override_dh_auto_test:
# make check seems to be broken
# SEARPC_SOURCE_DIR and CCNET_SOURCE_DIR is set by build-deb.py
searpc_dir = $(LIBSEARPC_SOURCE_DIR)
ccnet_dir = $(CCNET_SOURCE_DIR)
seafile_client_dir = $(SEAFILE_CLIENT_SOURCE_DIR)
destdir = $(CURDIR)/debian/seafile
install_prefix = $(destdir)/usr
build:
dh_testdir
mkdir -p $(install_prefix)
# build and install libsearpc so it can be used by ccnet and seafile
cd $(searpc_dir) && ./configure $(CROSS) --prefix=/usr --disable-compile-demo CFLAGS="$(CFLAGS)" && make && make install DESTDIR=$(destdir)
# Fix the problem of DESTDIR and libtool
sed -i -e "s;/usr/lib/libsearpc-json-glib;$(destdir)/usr/lib/libsearpc-json-glib;g" $(install_prefix)/lib/libsearpc.la
# build and install ccnet so it can be used by seafile
cd $(ccnet_dir) && ./configure $(CROSS) --prefix=/usr --disable-compile-demo CFLAGS="$(CFLAGS)" && make && make install DESTDIR=$(destdir)
./configure --prefix=/usr CFLAGS="$(CFLAGS)" && make && make install DESTDIR=$(destdir)
# build and install seafile-client
export QT_SELECT=5 && cd $(seafile_client_dir) && cmake -DUSE_QT5=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_SHIBBOLETH_SUPPORT=ON . && make -j2 && make install DESTDIR=$(destdir)
# remove development files
rm -rf $(install_prefix)/include
rm -rf $(install_prefix)/lib/pkgconfig
rm -rf $(install_prefix)/lib/*.a
rm -rf $(install_prefix)/lib/*.la
rm -f $(install_prefix)/bin/searpc-codegen.py
rm -f $(install_prefix)/bin/ccnet-servtool
rm -f $(install_prefix)/bin/seafile-web
rm -rf $(install_prefix)/share/seafile
clean:
dh_clean
# Build architecture-independent files here.
binary-indep:
# We have nothing to do by default.
# Build architecture-dependent files here.
binary-arch:
dh_testroot
dh_installchangelogs
dh_installdocs
# dh_installexamples
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_python
# dh_installinit
# dh_installcron
# dh_installinfo
# dh_installman
# dh_link
[ -z $(SEAFILE_NOSTRIP) ] && dh_strip || true
dh_compress
dh_fixperms
# dh_perl
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary
override_dh_strip:
# emptying the dependency_libs field in .la files
sed -i "/dependency_libs/ s/'.*'/''/" `find debian/ -name '*.la'`
dh_strip

2
debian/seafile-cli.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin/seaf-cli
usr/share/man/man1/seaf-cli.1

2
debian/seafile-daemon.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin/seaf-daemon
usr/share/man/man1/seaf-daemon.1

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)