Commit graph

30 commits

Author SHA1 Message Date
Patrick Ohly
ed53689c03 packaging: exclude developer files also for "make distbin"
The pattern for developer files didn't match when using
"make distbin" for simple archives (no D-Bus), because
setting "prefix" avoided the "usr" file pattern.

Empty directories are also removed, using brute force:
start with the longest directory name (find -d | sort -r),
then try removing it.
2009-10-02 17:27:45 +02:00
Patrick Ohly
4bc19aef48 build: pick right name when copying rpm 2009-08-12 13:02:46 +02:00
Patrick Ohly
1b93e95c1d autotools: must include m4-repo in search path (Bugzilla #5061)
ACLOCAL_AMFLAGS didn't include the new m4-repo, defeating the
purpose of including the boost macro in there in the git repo.
It worked on systems which had the macro installed, but not
on Fedora 11, as the packager reported.
2009-08-11 17:35:46 +02:00
Patrick Ohly
85ba9d0e7d build: fixed RPM creation
For "make rpm" to work the current user must have write access
to /usr/src/rpm. With that in place the current command works.
This patch only adds one line to copy the resulting RPM into the
build directory.
2009-08-11 17:21:25 +02:00
Patrick Ohly
3f1d878580 packaging: don't include development files in binary packages (Bugzilla #4754)
.tar.gz and .deb archives should only contain the files required to run
SyncEvolution. .deb already tried to remove some of them via find, for .tar.gz
the removal was limited to include files.

Now we use one consistent file pattern in all cases which matches developer
files and is used for "rm -rf".
2009-07-27 13:34:21 +02:00
Patrick Ohly
522195582e .deb and .tar.gz binary dist: include server interoperability READMEs
All test/README.* files are included in the same directory as the
normal NEWS/COPYING/README files. It's no longer necessary that
users dig out a copy of these files from the source distro.

In Moblin users are not expected to read these files, so the
build via OBS will not be adapted.
2009-07-21 13:13:54 +02:00
Patrick Ohly
05f3fbe2c5 packaging: dpkg-shlibdeps needs LD_LIBRARY_PATH
If syncevolution wasn't installed on the system, then
dpkg-shlibdeps needs LD_LIBRARY_PATH set to find locally
built .so files.
2009-07-14 17:31:38 +02:00
Patrick Ohly
6b70e46f64 packaging: fixed dependency calculation
Some debug printing crept into the list. Also, libsyncevolution.so was
unintentionally filtered out as part of the backends.
2009-07-14 16:04:29 +02:00
Patrick Ohly
d36b4c72bb packaging: dpkg-shlibdeps depends on debian/control
The debian/control file isn't needed for anything, but dpkg-shlibdeps
fails without it. Was created manually before, now do it automatically
in the dist directory where it is out of the way (srcdir also contains
such a file, which would be problematic for in-source builds).
2009-07-14 15:02:57 +02:00
Patrick Ohly
4dc34880da packaging: don't override clean_local
There are multiple targets which need to be executed for clean, therefore we need a dependency for it to remove the dist dir.
2009-07-14 14:54:57 +02:00
Patrick Ohly
366c3cefdb packaging: updated rules for building .tar.gz and .deb
The old rules packaged just the command line tool. Now the .tar.gz
includes also the GUI (if enabled) in such a way that the user can
move the files into /usr. This is not recommended, but better than
not having those files at all.

The .deb packaging continues to use checkinstall, based on the theory
that with checkinstall it should be easier to generate both .deb and
.rpm. In practice this is a pretty ugly hack and probably should be
replaced. It also depends on a patched checkinstall (patches sent
upstream) which recognizes several additional options and works
under fakeroot.

It does not work for rpm, at least not without being root:
error: Could not open /usr/src/rpm/RPMS/x86_64/syncevolution-0.8.1+0.9+beta2+20090709-2.x86_64.rpm: Permission denied
2009-07-14 14:25:56 +02:00
Patrick Ohly
14dbdec0ca packaging: include LICENSE texts 2009-05-07 16:15:42 +02:00
Patrick Ohly
94c62f34d5 build rules: moved D-Bus into sub directories
syncevo-dbus -> src/dbus
interfaces -> src/dbus/interfaces

Files generated from D-Bus interfaces are only built once, in src/dbus/interfaces.
This is changes makes the code layout a bit nicer and, more importantly,
fixes build dependencies when Synthesis is compiled in src.

Now everything that is needed by a certain directory is in that directory
or a sub directory.
2009-05-06 19:52:55 +02:00
Patrick Ohly
72ba72900f Makefile: removed obsolete DISTCHECK_CONFIGURE_FLAGS
It only contained --with-sync4j, which isn't used anymore.
2009-05-06 17:17:01 +02:00
Jussi Kukkonen
7f21cc02f1 add internationalization support 2009-05-06 10:49:34 +03:00
Jussi Kukkonen
ba258ddb9c change makefile subdir order: syncevo-dbus before src 2009-04-16 17:31:56 +03:00
Jussi Kukkonen
6f23974cfd dbus client: add and use new widget MuxBin
MuxBin is a GtkBin with a rounded corners, border and a title
with a bullet.

Also move ui related source to src/gtk-ui
2009-04-09 17:45:20 +03:00
Jussi Kukkonen
9a417300f0 Add initial dbus api and wrapper client library 2009-04-02 20:36:58 +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
552bd34711 packaging: build ChangeLog from git log and copy Synthesis code via 'git archive' 2009-03-25 14:43:46 +01:00
Patrick Ohly
5377fc1087 synthesis: better method of invoking Synthesis configure
--prefix must be passed for 'distcheck' to work correctly. Use the 'eval' trick which is used by
AC_CONFIG_SUBDIRS to do proper quotation evaluation. Explicitly pass --srcdir because otherwise
it uses the main configure's --srcdir.
2009-03-25 14:43:46 +01:00
Patrick Ohly
61280ab076 deb packaging: allow overriding architecture with PKGARCH
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@767 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-12-01 13:39:50 +00:00
Patrick Ohly
7985377d5f prevent shell expansion inside checkinstall with single quotes
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@766 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-11-16 11:13:40 +00:00
Patrick Ohly
dec941318f fixed unversioned replaces/conflicts in package
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@755 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-10 20:45:35 +00:00
Patrick Ohly
777d91b915 build one deb which replaces the zoo of evolution-<evover> packages
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@751 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-10-09 19:32:17 +00:00
Patrick Ohly
878bac6f9b removed unused BACKEND_REGISTRIES substitution from regenerated configure.in: it is already part of src/Makefile.am
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@728 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-17 08:45:32 +00:00
Patrick Ohly
18412e544d include Doxyfile in distribution
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@710 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-04 19:06:28 +00:00
Patrick Ohly
9a7fca01b4 cleaned up Doxygen documentation + included Funambol API
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@693 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-08-02 17:48:17 +00:00
Patrick Ohly
9a9a75dbc2 added building of html source code documentation with Doxygen
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@687 15ad00c4-1369-45f4-8270-35d70d36bdcd
2008-07-30 20:11:12 +00: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
Renamed from Makefile.am (Browse further)