Commit graph

47 commits

Author SHA1 Message Date
Patrick Ohly
298ee48e61 syncevolution.org: syncevolution-evolution had incorrect dependencies
Installation on older Linux distros was not possible because the ebook/ecal
package dependencies were named incorrectly, for example libebook-1.2-10
instead of libebook1.2-10. Only more recent packages have the extra
dash, for example libebook-1.2-12.

Reported by Mariusz Sokolowski.
2012-10-05 06:40:16 +00:00
Patrick Ohly
0f28eb1c62 syncevolution.org: package ActiveSync backend separately
The syncactivesync.so backend file is no longer included in the
syncevolution-bundle archives. It used to be empty anyway and just
marked the ActiveSync backend as not enabled. This was necessary
because the SyncEvolution reference platform, Ubuntu Lucid, does not
have the necessary libs to compile activesyncd.

Now a fully functional backend and activesyncd get compiled on Debian
Wheezy and packaged (outside of the Makefile) as
"syncevolution-activesync" and "activesyncd".

See https://syncevolution.org/wiki/google-contacts-activesync
2012-07-18 13:15:06 +00:00
Patrick Ohly
837d0927f5 EDS: updated syncevolution.org packages, incompatible with EDS 3.6, part 2
libebook-1.2-13 = EDS 3.4 was missing in list of acceptable dependencies.
2012-07-18 13:08:36 +00:00
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
a0a698b339 syncevolution.org: declare dependency on libical
Let the bundle .deb depend on libical if the lib was enabled during
compilation (for example, for CalDAV). This ensures that it gets
installed on systems which otherwise don't have it.
2012-07-10 15:10:15 +02:00
Patrick Ohly
7feed6634a EDS: updated syncevolution.org packages, incompatible with EDS 3.6
The EDS backend in the syncevolution.org packages are compiled
for the API in EDS <= 3.4. With some tricks (dynamically
loading libs) it works across a range of libecal and libebook
releases.

Now the syncevolution-evolution meta package declares that
it depends on one of these libecal/ebook libraries (was missing
earlier), to ensure that the libs get installed on a system
which did not have them already.

The dynamic loading will no longer attempt to work with
EDS 3.6. For EDS 3.6 it will be necessary to update the EClient
variant of the EDS backend and compile the syncevolution.org
binaries differently.
2012-07-10 09:37:24 +00:00
Patrick Ohly
98bd5e2b59 syncevolution.org: fix for packaging
The previous commit broke parallel "make deb" (because mv *.deb
matched different package builds and then mv only succeeded for one)
and "make rpm" (because the mv was looking in the wrong place).
2012-06-15 10:20:46 +00:00
Patrick Ohly
678d5786a4 syncevolution.org: removed extra README files from .deb and .rpm
The packages unintentionally contained README.rst, README.rst.patched
and README files in a second /usr/share/doc directory.

They were picked up by checkinstall because they happened to be in the
current directory. Fixed by preparing running checkinstall inside
a "checkinstall" directory which contains just the content needed
for packaging.
2012-06-11 19:36:26 +00:00
Patrick Ohly
65b00af008 syncevolution.org: include /etc, exclude developer files
/etc still wasn't included because removing developer files
accidentally removed it - probably came from some now obsolete attempt
to remove Buteo files.

On the other hand, developer files were not remove properly
from .deb and .rpm because the path prefix wasn't right.
2012-05-23 14:30:36 +00:00
Patrick Ohly
fbb6363816 syncevolution.org: fixed D-Bus server autostart in .deb and .rpm packages
syncevo-dbus-server wasn't started automatically as part of a user
session because /etc/xdg/autostart/syncevo-dbus-server.desktop wasn't
included in the packages. This broke auto syncing after a session
restart (required manually starting SyncEvolution).
2012-05-22 15:02:02 +02:00
Chris Kühl
e4bd5bdda9 trivial: Fixed up various comments and formatting mistakes 2012-05-08 09:13:47 +02:00
Patrick Ohly
c44d3f3754 packaging: added evolution and kde meta .deb packages
The traditional "syncevolution-evolution" .deb package will be
replaced with "syncevolution-bundle". A meta "syncevolution-evolution"
package depends on it, to support seamless updates for users who have
"syncevolution-evolution" installed.

Binary dependencies of the main .deb are ignored for backends
because loading them is optional. The new "syncevolution-kde"
package has the right dependencies for KDE/Akonadi, while
"syncevolution-evolution" mostly just lists standard libs
if the "EDS compatibility" mode is used, where libebook/libecal
are loaded dynamically.
2012-03-12 07:50:14 +00:00
Patrick Ohly
f944a6087a autotools: special KDE dependencies for syncevolution.org .deb
Compiling on Ubuntu Lucid and finding package dependencies with
dpkg-shlibdeps led to a .deb which wasn't installable on
Debian Testing because the kdelibs5 and kdepimlibs5 are no
longer provided. They were replaced with individual library
packages.

Handle that by overriding the output of dpkg-shlibdeps when
it contains kdelibs5 or kdepimlibs5 and allow the more recent
packages as alternative.
2012-02-28 20:41:38 +00:00
Murray Cumming
db574bec44 Do not install libgdbussyncevo in a subdir 2012-02-15 14:22:59 +00:00
Krzesimir Nowak
5ea4afddaa Add another hack for installation.
libsyncevolution depends on libgdbussyncevo. On installation the
former needs to be relinked, but the latter is still not installed
and that causes linking to fail with following message:

/usr/bin/ld: cannot find -lgdbussyncevo

That is so, because the order of installing binaries is not
dependency-based but more like target directory based:

install-exec-am: install-binPROGRAMS install-binSCRIPTS \
	install-libLTLIBRARIES install-libexecPROGRAMS \
	install-libexecSCRIPTS install-nodist_binSCRIPTS \
	install-pkglibLTLIBRARIES

libsyncevolution is installed during install-libLTLIBRARIES, while
its dependency is installed during later install-pkglibLTLIBRARIES.
2012-01-25 10:02:19 +00:00
Patrick Ohly
ea3ed009ea autotools: moved definition of gdbus_dir
The definition is needed in various places, so putting it into the
top-level Makefile.am is cleaner.
2012-01-17 11:04:37 +01:00
Patrick Ohly
f1bffbc1a4 Merge commit 'syncevolution-1-2-2'
Conflicts:
	Makefile.am
	configure-post.in
	configure.ac
	src/Makefile-gen.am
	src/dbus/qt/Makefile.am
	src/syncevo-dbus-server.cpp
	test/test-dbus.py

Conflicts caused by renaming of files on master. Manually applied the
relevant changes to the renamed files.
2012-01-16 11:47:10 +01:00
Patrick Ohly
209013a4d2 documentation: Fedora workaround
Fedora's build of SyncEvolution 1.2.1 failed because running the
uninstalled src/syncevolution didn't find the necessary shared
objects. Not sure why: on Debian Testing, src/syncevolution invokes
src/.libs/lt-syncevolution, which has the necessary paths set as
RPATH.

As a workaround, set LD_LIBRARY_PATH explicitly. This intentionally
includes a path which is only relevant on the master branch
(gdbuscxx), to simplify merging.
2012-01-11 16:10:08 +01:00
Patrick Ohly
98386d4e33 documentation: more readable --help, support cross-compilation better
The <<insert sync/source-property>> tags were visible in the --help
output. Now it says
   << see "syncevolution --sync/source-property ?" >>

These special tags still get expanded in README and man page.
That expansion is done by invoking the uninstalled syncevolution
binary. If that failed, compilation aborted. That's still the case
for native compilation (because we want to catch problems). For
cross-compilation such a failure is okay and keeps the tags in
the README/man page. That's done because running a binary compiled
for an entirely different architecture is not guaranteed to work.
2012-01-11 16:10:08 +01:00
Patrick Ohly
4db59035f3 Merge branch 'syncevolution-1-2-branch'
Conflicts:
	Makefile.am

Conflict due to $(AM_V_GEN) introduced as part of non-recursive
Automake.
2011-10-24 20:11:08 +02:00
Patrick Ohly
774a9f26d8 documentation: embedd property definitions in man page, README and README.html
Mangle the README.rst once into a README.patched.rst and use that to
produce the three different flavors of the documentation.
2011-10-24 20:05:16 +02: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
6099214016 syncevolution.org binaries: work with both libneon and libneon-gnutls
When --enable-neon-compatibility is used, libneon.so.27 and
libneon-gnutls.so.27 are opened dynamically instead of linking against
them. The Debian package specifies that it depends on one of these two
libs in this case. Don't use --enable-neon-compatibility when not
enabling WebDAV to avoid this dependency.

This change is necessary for Debian Testing, which no longer has
libneon.so.27 at all. Note that the very latest Debian Testing also
has another problem because libnotify1 was dropped in favor of
libnotify4.
2011-08-17 10:04:21 +00:00
Patrick Ohly
ba9d12b720 autotools: undo accidental change in commit for README
Commit 36af6f accidentally included a change to the main Makefile.
Undoing that.
2011-07-19 15:21:25 +02:00
Patrick Ohly
36af6f1b31 README: added note about preventSlowSync in local sync
Because the client in the local sync starts the sync,
preventSlowSync=0 must be set in the target config to have an effect.
2011-07-18 18:01:35 +02:00
Patrick Ohly
586cfc7858 autotools: more strict compatibility check (part of BMC #21284)
Some unintended usage of libical slipped into the 1.1.99.5
syncevolution.org binaries, breaking the syncwebdav.so. It wasn't
linked against libical, but depended on some of its methods.

This commit strenghtens the installcheck-local test. First, it checks
for undefined symbols in the blacklisted libraries (detects the
syncwebdav.so case). Second, it also checks for the blacklisted
libraries (might be linked unnecessarily, for example when forgetting
to add -Wl,--as-needed). Third, it checks syncevolution (relevant when
linking everything statically). Finally, it does the check on the
installed files (should have been like that all along).
2011-07-18 02:54:44 +08:00
Patrick Ohly
4a9232d6ee autotools: avoid test == comparison
== is a bashism which fails in dash. Kudos to Jussi for reporting
the problem and the initial patch.
2011-05-16 14:43:32 +02:00
Patrick Ohly
2350852fd5 autotools: Makefile-gen.am -> Makefile.am
Patching the top-level Makefile.am is no longer necessary
thanks to the simplified gen-autotools.sh approach. Renaming
it back to the normal Makefile.am.
2011-02-07 13:36:13 +01:00
Patrick Ohly
63e14ddc9c file layout restructuring, take II
Added missing files, finished automatic registration
of backends, Emacs mode for renamed files.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@685 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 17:30:10 +00:00
Patrick Ohly
5e8fa6eb94 major restructuring of the file layout and autotools build
This change makes it possible to add a new backend without
changing any of the core files. It also gets rid of some
hacks (like -export-dynamic for the binary) by putting all
core SyncEvolution code into a library.

The transition is not quite complete: there are still
some lists of existing backends, which will be removed
soon. EvolutionSmartPtr.h and EvolutionSyncSource depend
on Evolution/GNOME libs, which forces all backends to
use the right -I flags.


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@684 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-29 21:06:11 +00:00
Patrick Ohly
5ec54f878a another rename sync4j->funambol
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@682 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-23 20:59:22 +00:00
Patrick Ohly
c647c7211d added files required for 'make deb' to distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@675 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-14 18:40:22 +00:00
Patrick Ohly
9d4a6cb369 removed obsolete example config files
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@633 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-06-25 20:11:27 +00:00
Patrick Ohly
2b9892cbf5 bumped version to alpha, made sure that .deb package version is larger than last release but smaller than final one
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@587 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-04-16 17:37:10 +00:00
Patrick Ohly
948defe248 need an epoch to make .deb versions larger than in the -pre .debs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@478 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-21 14:08:44 +00:00
Patrick Ohly
d3ab8d6a9c fixed building of .deb (docdir and description)
- the new checkinstall --docdir=: syntax is used to avoid adding the name twice
- description-pak was not created and thus missing from package


git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@476 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-12-17 18:58:55 +00:00
Patrick Ohly
5a5ff37001 added package release number and dependency calculation for local Evolution libs without installed .debs
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@437 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-25 21:10:48 +00:00
Patrick Ohly
7e7201c9fc # updated packaging: added provides/conflicts
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@429 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-21 21:23:15 +00:00
Patrick Ohly
c315a9216b # fixed distcheck problem
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@427 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-18 08:03:45 +00:00
Patrick Ohly
401b0caee3 added packaging via checkinstall as deb (working) and rpm (somehow not working)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@425 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-17 21:08:24 +00:00
Patrick Ohly
9fcc16d562 added iPhone Installer.app packaging
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@405 15ad00c4-1369-45f4-8270-35d70d36bdcd
2007-10-10 22:27:27 +00:00
Patrick Ohly
b829f2fe15 also add NEWS and COPYING to distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@150 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-06-12 21:33:31 +00:00
Patrick Ohly
329453859b fixed maintainer-cleanup
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@36 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 10:29:40 +00:00
Patrick Ohly
7af6713cd7 integrated compilation of Sync4j C++ client library + distribution of its source
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@33 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-12 09:48:59 +00:00
Patrick Ohly
1301d3edac preparations for a release as 'SyncEvolution'
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@32 15ad00c4-1369-45f4-8270-35d70d36bdcd
2006-03-11 19:23:43 +00:00
Patrick Ohly
a42a23b9c6 added testing of syncing
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@12 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-12-10 19:16:02 +00:00
Patrick Ohly
4c29072c5f setup framework
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@2 15ad00c4-1369-45f4-8270-35d70d36bdcd
2005-10-08 12:03:24 +00:00