Commit Graph

6320 Commits

Author SHA1 Message Date
Jonas Smedegaard cbdafe2783 list file explicitly not installed 2021-10-04 23:55:54 +02:00
Jonas Smedegaard d72ec5241c improve install tracking with dh_missing: package upstream-installed manpage (not source file) 2021-10-04 23:55:54 +02:00
Jonas Smedegaard 4fff221b94 install more example files 2021-10-04 23:55:54 +02:00
Jonas Smedegaard d9ffe16513 install all upstream-provided README.* files 2021-10-04 23:55:50 +02:00
Jonas Smedegaard 629b069e0b tidy rules: sort targets roughly by order of dh sequencer use 2021-10-04 23:55:50 +02:00
Jonas Smedegaard 02d72e2fbe fix install all upstream-provided gettext machine-object files 2021-10-04 23:55:42 +02:00
Jonas Smedegaard 0139dc3440 add patch 1002 to adjust whitespace as required for recent autotools 2021-10-04 23:41:58 +02:00
Jonas Smedegaard 4e50cab599 unfuzz patch 1001 2021-10-04 23:41:58 +02:00
Jonas Smedegaard 73336f6a5a relax to build-depend unversioned on libsynthesis-dev: required version satisfied in all supported Debian releases 2021-10-04 23:41:58 +02:00
Jonas Smedegaard be77943a00 build-depend on libecal2.0-dev (not libecal1.2-dev) 2021-10-04 23:41:58 +02:00
Jonas Smedegaard fd832ff9a2 stop build-depend on libpcre3-dev 2021-10-04 23:41:58 +02:00
Jonas Smedegaard 6674f63d2f use Python 3.x libraries: build-depend on python3-docutils (not python-docutils); have syncevolution-http depend on python3 python3-dbus python3-gobject python3-openssl python3-pygments python3-twisted-web (not python python-dbus python-gobject python-openssl python-twisted-web) 2021-10-04 23:41:58 +02:00
Jonas Smedegaard 58a357cc52 stop install library to support ActiveSync (no longer supported upstream) 2021-10-04 23:10:28 +02:00
Jonas Smedegaard 612b1d2d2a stop link against KDE libraries (no longer supported upstream): drop binary package syncevolution-libs-kde; stop build-depend on kdelibs5-dev kdepimlibs5-dev 2021-10-04 23:10:13 +02:00
Jonas Smedegaard da7996df58 drop ancient Breaks/Replaces hints 2021-10-04 23:06:21 +02:00
Jonas Smedegaard b986fd87e3 tidy: wrap and sort packaging files, with shortening options -ast 2021-10-04 23:06:21 +02:00
Jonas Smedegaard e1df01ef96 relax to stop build-depend explicitly on g++: required version satisfied by default in all supported Debian releases 2021-10-04 23:06:21 +02:00
Jonas Smedegaard df08e36fc0 simplifiy rules: stop explicitly build-depend on libtool automake pkg-config; stop clean autogenerated files (both handled by autoreconf since debhelper compatibility level 10) 2021-10-04 23:06:20 +02:00
Jonas Smedegaard 04e752b84e simplify rules: use relative install path 2021-10-04 23:05:38 +02:00
Jonas Smedegaard b62cbf7e60 use debhelper compatibility level 13 (not 11); build-depend on debhelper-compat (not debhelper) 2021-10-04 23:05:35 +02:00
Jonas Smedegaard ff5dc93d5b simplifiy rules: stop explicitly enable parallel build (done by default since debhelper compatibility level 10) 2021-09-30 12:16:38 +02:00
Jonas Smedegaard fac5c460cc simplify rules: call autogen.sh with autoreconf (not independently) 2021-09-30 12:16:37 +02:00
Jonas Smedegaard 0ca2baaf33 simplifiy rules: stop explicitly set multiarch path (done by default sine debhelper compatibility level 9) 2021-09-30 10:03:15 +02:00
Jonas Smedegaard 142ff5e66e simplify rules: drop obsolete export-patches target 2021-09-30 09:40:46 +02:00
Jonas Smedegaard 4ec6fd12db simplify rules: drop get-orig-source target (use gbp import-orig --uscan instead) 2021-09-30 09:40:46 +02:00
Jonas Smedegaard 73412b147f drop obsolete *-dbg to *-dbgsym migration 2021-09-30 09:34:21 +02:00
Jonas Smedegaard 59a2637307 Update upstream source from tag 'upstream/2.0.0'
Update to upstream version '2.0.0'
with Debian dir 5170e55a80
2021-09-29 23:12:19 +02:00
Jonas Smedegaard b0da99eb22 New upstream version 2.0.0 2021-09-29 23:11:16 +02:00
Jonas Smedegaard 979892df3a add git-buildpackage config: use pristine-tar; sign tags; avoid any .git* files; use DEP-14 branches debian/latest upstream/latest; add usage comment 2021-09-29 23:04:16 +02:00
Jonas Smedegaard 015be34169 isolate kfreebsd FTBFS fix as patch 1001, and track package source with patches unapplied
This reverts commit aabb990482.
2021-09-29 23:03:47 +02:00
Tino Mettler b9c153ddf3 Import Debian changes 1.5.3-2
syncevolution (1.5.3-2) unstable; urgency=medium
.
  * Remove libgconf2-dev build-dep (Closes: #897258)
2021-09-29 23:02:05 +02:00
Jonas Smedegaard 693ba4c3fe Import Upstream version 1.5.3 2021-09-29 23:01:46 +02:00
Tino Mettler 22449d72c0 Import Debian changes 1.5.3-1
syncevolution (1.5.3-1) unstable; urgency=medium
.
  * New upstream release
  * Fix override_dh_makeshlibs to handle all packages with public shared libs
    (Closes: #887043)
  * Remove obsolete Conflicts:/Breaks:/Replaces: sync-ui (<<1.1+ds1-1~)
  * Change debhelper compatibility to 11, which is recommended
  * Bump standards version to 4.1.3, no changes needed
  * Fix several lintian warnings
2021-09-29 23:01:46 +02:00
Tino Mettler 8065ff5f75 Import Debian changes 1.5.2-3
syncevolution (1.5.2-3) unstable; urgency=medium
.
  [ Patrick Ohly ]
  * libical: support libical v3 (Closes: #884158)
  * GNOME: replace gnome-keyring with libsecret
.
  [ Tino Mettler ]
  * Change build dependencies for libgtk and glade to use GTK3 for sync-ui
    (Closes: #884162)
  * Add Build-Dep on libjson-c-dev (Closes: #884170)
  * Handle C++ conversion operator name mangling in GCC 7 (Closes: #871284)
  * Build depend on libsecret-1-dev instead of deprecated libgnome-keyring-dev
    (Closes: #867944)
2021-09-29 23:01:40 +02:00
Tino Mettler 0819d57e03 Import Debian changes 1.5.2-2
syncevolution (1.5.2-2) unstable; urgency=medium
.
  * Add missing service file for syncevo-dbus-server (Closes: #854941)
2021-09-29 22:58:03 +02:00
Patrick Ohly 238f9368c2 autotools, NEWS: SyncEvolution 2.0.0
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-03-21 07:16:32 -07:00
Patrick Ohly 971da5408f log2html.py: support writing UTF-8 to stdout
When invoked during automated testing, stdout is not automatically
configured to support UTF-8. We know that our encoding is UTF-8,
so we can enable that unconditionally.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-03-21 06:57:47 -07:00
Patrick Ohly 6fc5f4703b Revert "C++: instantiate some templates once in libsyncevolution"
This reverts commit 7d527c6dd8.

It causes link errors on Fedora, see
https://bugzilla.redhat.com/show_bug.cgi?id=1926932

This might be a compiler bug, but as this is a not particular
important size optimization, removing it is the easiest fix.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-03-21 06:57:47 -07:00
Patrick Ohly 9b7a9ed7ef 1.99.2 pre-release 2021-02-06 11:39:24 -08:00
Patrick Ohly bf14e33977 C++: better types for loop variables
This addresses two different warnings from Fedora Rawhide:

/srv/runtests/work/sources/syncevolution/src/syncevo/SyncContext.cpp: In member function 'std::string SyncEvo::XMLFiles::get(SyncEvo::XMLFiles::Category)':
/srv/runtests/work/sources/syncevolution/src/syncevo/SyncContext.cpp:2390:28: error: loop variable 'entry' of type 'const StringPair&' {aka 'const std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&'} binds to a temporary constructed from type 'std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >' [-Werror=range-loop-construct]
 2390 |     for (const StringPair &entry: m_files[category]) {
      |                            ^~~~~
/srv/runtests/work/sources/syncevolution/src/syncevo/SyncContext.cpp:2390:28: note: use non-reference type 'const StringPair' {aka 'const std::pair<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >'} to make the copy explicit or 'const std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >&' to prevent copying

This fails because StringPair has non-const members. By using "auto",
we get rid of the need to define and pick exactly the right type.

/srv/runtests/work/sources/syncevolution/src/syncevo/SyncConfig.cpp: In member function 'void SyncEvo::SyncConfig::removeSyncSource(const string&)':
/srv/runtests/work/sources/syncevolution/src/syncevo/SyncConfig.cpp:2552:36: error: loop variable 'peer' creates a copy from type 'const string' {aka 'const std::__cxx11::basic_string<char>'} [-Werror=range-loop-construct]
 2552 |             for (const std::string peer: m_tree->getChildren(m_contextPath + "/peers")) {
      |                                    ^~~~
/srv/runtests/work/sources/syncevolution/src/syncevo/SyncConfig.cpp:2552:36: note: use reference type to prevent copying
 2552 |             for (const std::string peer: m_tree->getChildren(m_contextPath + "/peers")) {
      |                                    ^~~~
      |                                    &

We could have used "auto" also instead of "std::string", but here it
doesn't save that much typing and is more readable. We just have to
use a reference.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-02-06 06:39:12 -08:00
Patrick Ohly 28ee02b0eb test: prefer more recent D-Bus config
On Fedora Rawhide the old location is unusable.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-02-06 06:35:18 -08:00
Patrick Ohly d4ed6cae5b GTK UI: avoid G_TYPE_INSTANCE_GET_PRIVATE
G_TYPE_INSTANCE_GET_PRIVATE was deprecated.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-02-06 06:32:49 -08:00
Patrick Ohly 3968562049 test: remove unchecked dynamic cast
Recent g++ on Fedora Rawhide warns that the dynamic cast result
is used without NULL check. We know that the cast must succeed,
so a static cast is more appropriate.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-02-06 06:31:11 -08:00
Patrick Ohly e132410296 gnome: remove libsecret include hack
Some older version of libsecret.h lacked `extern "C"`. Adding
that manually now causes compile errors on Fedora Rawhide and thus
has to be removed:

/usr/include/c++/11/type_traits:480:3: error: template with C linkage
  480 |   template<typename _Tp>
      |   ^~~~~~~~
/srv/runtests/work/sources/syncevolution/src/backends/gnome/GNOMEPlatform.cpp:24:1: note: 'extern "C"' linkage started here
   24 | extern "C" {
      | ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/gmacros.h:241,
                 from /usr/lib64/glib-2.0/include/glibconfig.h:9,
                 from /usr/include/glib-2.0/glib/gtypes.h:32,
                 from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/libsecret-1/libsecret/secret.h:18,
                 from /srv/runtests/work/sources/syncevolution/src/backends/gnome/GNOMEPlatform.cpp:25:

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-02-06 06:28:52 -08:00
Patrick Ohly 0a64fbadcc akonadi: avoid link error on Fedora Rawhide
At least on Fedora Rawhide -lkdeui and -lkdecore
are not found and not needed.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-02-06 06:27:30 -08:00
Milan Crha c656bc4a08 build: boost::placeholders
On Fedora, Boost placeholders are now in their own namespace.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2021-01-24 10:33:45 +01:00
Patrick Ohly dc88a596b3 .github: mirror from gitlab.freedesktop.org
This GitHub action will run periodically and mirror
the entire repository content.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2020-12-28 21:06:21 +01:00
Patrick Ohly b4f8743bfc test: refresh valgrind suppressions
A lot of the old suppressions are no longer needed (determined by
running valgrind with -v during a full nightly test run) and some new
ones are needed after updating to new Linux distros.
2020-12-28 05:10:25 -08:00
Patrick Ohly 420c44ea6b GTK3 sync-ui: drop dependency on libunique
The builtin GtkApplication support is almost equivalent and allows
getting rid of the deprecated libunique which isn't available anymore
in recent Linux distros.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2020-12-22 11:44:07 -08:00
Patrick Ohly 2bc0535881 test: drop useless "set -x"
This no longer works when running tests in Docker containers because
the wrapper script for starting there only accepts a simple command,
not something that must be interpreted by a shell.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
2020-12-22 11:43:57 -08:00