Commit Graph

17 Commits

Author SHA1 Message Date
Guido Günther f65d91e132 build: Split autoreconf options
maemo's Scratchbox autoreconf chokes on the combined ones
2013-07-12 16:18:12 +02:00
Patrick Ohly 5b3b79f200 autotools: remove obsolete autotools files from SyncEvolution <= 1.2
The configure.in and src/Makefile.am scripts are no longer used,
can be removed when reconfiguring.
2011-11-17 15:04:18 +01: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 6adb78abc9 autotools: do not force rebuild in make after commits
When committing a change and then calling make, the AC_INIT() version
changed and forced a complete rebuild of SyncEvolution, which was
inconvenient during normal development. Also happened as the date
changed, i.e., each morning.

Now the version change is ignored when gen-autotools.sh is invoked as
part of a "make" run, thus avoiding these extra rebuilds. This is how
SyncEvolution worked before revising the autotools file regeneration.

autogen.sh still updates the version and thus the nightly builds are
guaranteed to have accurate version information.
2011-03-02 11:09:09 +01:00
Patrick Ohly 8888e69c56 autogen.sh: m4 directory must exist before calling tools
intltoolize from 0.40 failed when the directory didn't exist.
Create an empty directory before calling it.
2009-07-16 11:33:26 +02:00
Patrick Ohly bb13e0effe autotools: cleaner separation between permanent and temporary m4 macro copies
autogen.sh still didn't remove all obsolete copies of libtool m4 macros.
After moving the only m4 macro that we provide as part of our repository
into m4-repo, it is possible to rebuild m4 during each autogen.sh run.
2009-07-15 22:17:28 +02:00
Patrick Ohly d54de67432 building: split out non-standard parts of autogen.sh into gen-autotools.sh
Build systems like OpenEmbedded/Poky ignore out autogen.sh. This is
problematic when building from git because configure.in and Makefile.am
need to be created after checkout. The new gen-autotools.sh does that,
which hopefully can be used by OpenEmbedded/Poky.
2009-07-15 19:03:46 +02:00
Patrick Ohly adeeb3330c autgen.sh: wipe out old files before recreating them
The main reason for this is that libtoolize gets confused when it
finds files from a more recent libtool, which can happen when
running autogen.sh on one distro and then again on an older one,
using the same source directory.
2009-07-13 12:55:21 +02:00
Patrick Ohly 7717b0d5d1 Debian Etch: fixes some compilation issues
With some tweaks the autotools on Debian Etch are good enough to
compile the code. However, distributions of SyncEvolution should
better be built with recent versions of the tools and then get compiled
on Debian Etch.

We need BOOST >= 1.34 because of BOOST_FOREACH(). The configure script
now checks for this. Debian Etch can get 1.35 from www.backports.org.
That version of BOOST shows that in some files <boost/algorithm/string/join.hpp>
was not explicitly included.
2009-06-10 17:28:45 +02:00
Jussi Kukkonen 7f21cc02f1 add internationalization support 2009-05-06 10:49:34 +03:00
Patrick Ohly fa2e0c41c9 configuration: added support for configuration templates in /etc and server icons
The server config.ini files and icon.[svg|png] in src/default will be installed
in /etc/default/syncevolution. All configurations found there extend and/or
override the builtin templates. The advantage is that file-based templates
can have icons and that templates can be added/modified without recompiling
SyncEvolution.

This meta information is now part of EvolutionSyncConfig:
- getWebURL() returns a URL with further information; this
  replaces the hard-coded URL string that was previously
  returned as comment for templates in the ServerList
- getIconURI() currently returns absolute file paths to
  an icon file (example: icon.png for ScheduleWorld). The
  content and exact URI may vary, depending on how system
  administrators or distributions configure SyncEvolution.
  If possible, callers should be able to handle http://
  and other URI access methods.
2009-04-07 20:33:18 +02:00
Patrick Ohly 1eca9cd49e autotools: aclocal needs -Im4 to find ax_boost_base.m4
Without it, the AX_BOOST_BASE() macro wasn't expanded in configure,
leading to a syntax error.
2009-04-05 12:54:18 +03:00
Patrick Ohly d1a2631e28 compilation: fixes + installation of client-test + version bump
Removed a spurious package check for synthesis which was reintroduced
during the recent code cleanup and merging.

Fixed compilation with --enable-unit-tests and/or --enable-integration-tests.
CPPUnit header files were not included properly.

When at least one of these enable options is used, client-test is built
as part of the normal "make all" and installed in bindir as part of
"make install". The test files go into the docdir.
2009-03-25 14:43:49 +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 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 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