Commit graph

18 commits

Author SHA1 Message Date
Patrick Ohly
15f2d03184 autotools: ensure that link lines are complete
As mentioned by Tino Keitel on the mailing list, some libs and
executables were only implicitly linked against libraries that they
called directly. This happened to work by chance because these libraries
ended up in the running executable anyway, due to indirect loading.

To catch such problems, the "make installcheck" was extended:
dpkg-shlibdeps is run, if available, and the error output is scanned
for the messages which indicate that a symbol is used without linking
to the right library (example output below).

Had to fix quite a few _LIBADD lines to pass the test.
Some exceptions are allowed:
- libsmltk depends on the caller providing SySync logging support.
- libneon is intentionally not linked explicitly for syncevolution.org
  binaries, to make resulting binaries work with GNUTLS and OpenSSL.

dpkg-shlibdeps: warning: debian/syncevolution-libs/usr/lib/syncevolution/backends/syncdav.so contains an unresolvable reference to symbol icalparameter_new_from_value_string: it's probably a plugin.
dpkg-shlibdeps: warning: 51 other similar warnings have been skipped (use -v to see them all).
...
dpkg-shlibdeps: warning: symbol dlsym used by debian/libsyncevolution0/usr/lib/libsyncevolution.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol dlerror used by debian/libsyncevolution0/usr/lib/libsyncevolution.so.0.0.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol dlopen used by debian/libsyncevolution0/usr/lib/libsyncevolution.so.0.0.0 found in none of the libraries.
2012-07-12 16:11:33 +00:00
Patrick Ohly
99e27d4661 D-Bus API: added update script for docbook XSL
Script which might come handy for updating our copy of the docbook
XSL files.
2012-07-04 17:02:03 +02:00
Patrick Ohly
3ac2b73ffb D-Bus API: generate docs using local copy of docbook XSL
Nightly builds with --enable-doc tended to fail occassionally due to
download errors of the current docbook XSL from SourceForge. Using
a local copy of those files avoids that problem, speeds up compilation
and gives us some control over potentially incompatible changes
in the upstream docbook XSL.
2012-07-04 17:02:03 +02:00
Patrick Ohly
b641345cc4 autotools: distribute files necessary for autogen.sh
Normal autoreconf worked, but not ./autogen.sh.
2012-07-04 16:59:00 +02:00
Patrick Ohly
37f360d33d testing: generate HTML version of .log files and ClientTest.cpp
The HTML version of the .log files links to ClientTest.cpp.html,
colorizes important parts and links to the sync session
directories.

Because it is much more useful than the plain text version, the
nightly.html now links to these .html files.

ClientTest.cpp.html is built with Python pygments if installed,
otherwise some builtin fallback code is used.
2011-11-09 10:37:05 +00:00
Krzesimir Nowak
a7ad98fabc Port build system to non-recursive Automake.
All but toplevel Makefile.am are replaced with their non-recursive
counterparts. The generation of configure.in was removed (and thus
configure-{pre,post}.in are also removed) in favor of configure.ac
and m4 macros adding backend specific configure parts.

Version number is generated like in old build system.

There are still many things to improve, but for now there are no
immediate regressions. AUTOTOOLS-TODO contains a list of possible
improvements and fixes. AUTOTOOLS-TESTING contains what was tested
with current build system (configure flags, make options).
2011-08-30 16:38:34 +02:00
Patrick Ohly
36dd42a030 import-foreign-git.sh: added interactive patch fixing
If patch fails, let caller resolve it manually before continuing. Can
happen if the imported history includes branches and merges with merge
conflicts.
2011-08-30 10:31:20 +02:00
Patrick Ohly
6b006c8aa0 export-synthesis-xml.sh: export Synthesis XML fragment patches
This complements import-synthesis-xml.sh. It produces a set
of .patch files that contain our local modifications to the
shared files.
2010-02-10 11:47:59 +01:00
Patrick Ohly
529a39e4e5 export-gdbus.sh: fixed incorrect comment
The comment documented the behavior of import-gdbus.sh (cut-and-paste
error).
2010-02-10 11:46:57 +01:00
Patrick Ohly
d609301296 import-synthesis-xml.sh: import shared XML config fragments (MB #7712)
These XML config fragments constitute the bulk of what can
be shared between different apps built on the Synthesis engine.
The rest is very app specific (like datastores, paths, version, etc).
2010-02-02 15:33:46 +01:00
Patrick Ohly
3e6dbb232f import-foreign-git.sh: allow non-existing files
When separating file names from arguments with --, git log accepts parameters
which stand for files which are not under git control (yet). This is
necessary in import-foreign-git.sh when new files are getting added to
an existing branch.
2010-02-02 15:22:13 +01:00
Patrick Ohly
3fc19c58d1 exporting of local changes in gdbus
Importing was already possible, improved README about that.
Exporting is added in this commit.
2009-12-09 11:53:02 +01:00
Patrick Ohly
bb8f1ddde4 import-foreign-git.sh: fix when importing with same branch also in remote branches
"git show-ref" printed two hashes, one for the local branch and one
for the remote branch. This broke the rest of the script.  We want
only the local branch hash, which is what the "--heads" option is for.
2009-12-09 11:44:15 +01:00
Patrick Ohly
9e2521f993 gdbus: start importing the complete upstream development history 2009-10-07 16:07:25 +02:00
Patrick Ohly
e604c9c26a XML config: track upstream syncclient_sample_config.xml
The import-synthesis-xml.sh script mirrors all changes made to
syncclient_sample_config.xml on the libsynthesis master branch
on a "synthesis" branch, with the file itself moved into src
alongside our own syncevolution.xml.
2009-06-22 22:19:53 +02:00
Patrick Ohly
3217ac8630 license: merged LGPL v2.1 -> LGPL v2.1 + v3 change
Followed the license change applied to the upstream content
and applied the same LGPL v2.1 + v3 license to content
created at Intel.
2009-04-30 18:35:56 +02:00
Patrick Ohly
25a8502a4b copyright updated
update-copyright.sh can be used to add copyright remarks for the current
year. It finds the authors who made a change in each file and adds/updates
their copyright remark. Intel employees are grouped under "Intel Corporation".
2009-03-25 15:21:04 +01:00
Patrick Ohly
552bd34711 packaging: build ChangeLog from git log and copy Synthesis code via 'git archive' 2009-03-25 14:43:46 +01:00