summaryrefslogtreecommitdiff
path: root/dbus/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Only support systemd: transport if we have systemd librariesSimon McVittie2014-02-191-11/+2
| | | | | | | | | This means we can drop our convenience copy of sd-daemon.[ch]. We're checking for libsd-daemon anyway, to support journald and logind integration. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71818 Reviewed-by: Lennart Poettering <lennart@poettering.net>
* Rename dbus-test to test-dbus to match common test application naming scheme.Ralf Habacker2014-01-171-3/+3
| | | | | | [reverted the dbus-specification part -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=73495 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* libdbus-1.la: have proper dependencies on WindowsSimon McVittie2013-08-291-1/+1
| | | | | | | | | | | | | | Assigning to libdbus_1_la_DEPENDENCIES defeats Automake's normal dependency logic, which makes libdbus-1.la depend on all the static libraries that will go into it (it still had a corrct dependency on the other objects, which go through a separate variable). This meant libdbus-init-win wasn't necessarily built first. Use EXTRA_libdbus_1_la_DEPENDENCIES to avoid that problem. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=68505 Acked-by: Ralf Habacker <ralf.habacker@freenet.de>
* Revert "Factor out DBusAuthorization from DBusTransport"Simon McVittie2013-08-231-6/+4
| | | | This reverts commit 600621dbc8073527a958091316eddfbb490c1032.
* Factor out DBusAuthorization from DBusTransportCosimo Alfarano2013-08-231-4/+6
| | | | | | | | | | In order to authorize/reject a connection in a polite way, instead of cutting it off after authentication succeed and Hello() is sent, because authorization failed, we need to factor out some authorization bits from DBusTransport and pass them to DBusAuth. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39720 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* tests to embedded tests: replaced in automake filesChengwei Yang2013-06-281-1/+1
| | | | | | Signed-off-by: Chengwei Yang <chengwei.yang@intel.com> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66291
* Convert a{sv} helpers from Stats into generic utility codeSimon McVittie2013-06-251-0/+2
| | | | | | Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54445 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
* Move libdbus-init-win.cpp to its own convenience librarySimon McVittie2013-06-121-1/+11
| | | | | | | | | Otherwise libdbus-1 ends up linked as if it contained C++, even on Unix, where it doesn't; in turn, that makes it export all the underscore-prefixed symbols that aren't meant to be exported. Reviewed-by: Thiago Macieira <thiago@kde.org> Reviewed-by: David Zeuthen <davidz@redhat.com>
* dbus_threads_init_default, dbus_threads_init: be safe to call at any timeSimon McVittie2013-05-101-0/+1
| | | | | | | | | | | | | | On Unix, we use a pthreads mutex, which can be allocated and initialized in global memory. On Windows, we use a CRITICAL_SECTION, together with a call to InitializeCriticalSection() from the constructor of a global static C++ object (thanks to Ralf Habacker for suggesting this approach). Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54972 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Alban Crequy <alban.crequy@collabora.co.uk> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
* Disable sd-daemon.c's support for POSIX message queuesSimon McVittie2013-04-231-0/+4
| | | | | | | | This fixes build failures with recent glibc while avoiding an otherwise useless librt dependency. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=63166 Reviewed-by: Thiago Macieira <thiago@kde.org>
* Update sd-daemon.[ch] from systemdSimon McVittie2013-02-121-2/+2
| | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=60681
* Add dbus-syntax.[ch]Simon McVittie2012-02-241-0/+2
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39549 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
* Add support for inserting (a subset of) Valgrind client requestsSimon McVittie2012-02-131-1/+3
| | | | | | | | | | | | If valgrind support is disabled, we define stub versions of the Valgrind client requests I plan to use, so the actual code doesn't need #ifdef hell. [With unnecessary AC_SUBST removed as per Lennart's review -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37286 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Lennart Poettering <lennart@poettering.net>
* at_console: ask systemd whether a user is at the consoleLennart Poettering2012-02-071-1/+2
| | | | | | | | | | | | | systemd manages seats and users. This patch optionally asks systemd whether a user is at the console. It used libsystemd-login for that, a low-level library that allows querying this kind of information without expensive round trips. In order to be nice to the Debian folks this patch falls back to traditional modes of operation if systemd is not found to be around. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=39609 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Merge branch 'socket-set-33337'Simon McVittie2012-02-071-0/+7
|\ | | | | | | | | Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33337
| * Add an implementation of DBusSocketSet using epollSimon McVittie2011-06-131-0/+4
| | | | | | | | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33337 Bug-NB: NB#197191 Bug-NB: NB#225019
| * DBusSocketSet: new abstraction for struct pollfd[] or whateverSimon McVittie2011-06-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | In this second version of this patch, DBusSocketSet is an "abstract base class" so that when using a better OS-specific API fails, we can always fall back to _dbus_poll(). For instance, this is necessary when the "better OS-specific API" is epoll on Linux, the build machine has a modern glibc version, and the host machine either has an old kernel, is emulated in qemu (which does not support the epoll syscalls yet), or both. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33337 Bug-NB: NB#197191 Bug-NB: NB#225019
* | Remove dbus-auth-script from the shared librarySimon McVittie2011-10-121-2/+2
| | | | | | | | | | | | | | Only the tests use this. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34976 Reviewed-by: Cosimo Alfarano <cosimo.alfarano@collabora.co.uk>
* | dbus: use AM_CPPFLAGSSimon McVittie2011-07-291-4/+13
| |
* | Don't explicitly link thread and network libs into various testsSimon McVittie2011-07-291-1/+1
| | | | | | | | | | | | | | | | | | These tests get everything they need from the public or internal API of libdbus-internal.la, and libtool knows how to pull in libraries' dependencies, so we don't need explicit linking. spawn-test and break-loader don't actually need test-utils.[ch] either.
* | Rename DBUS_CLIENT_LIBS to LIBDBUS_LIBS to more accurately reflect its meaningSimon McVittie2011-07-291-2/+2
| | | | | | | | | | | | This does still need to be in configure.ac, because it's common to dbus/Makefile.am (linking the static/shared library) and dbus-1*.pc.in (telling static library users which additional libraries they must link).
* | dbus: remove export_symbols_internal, it will always be emptySimon McVittie2011-07-291-6/+0
| | | | | | | | The whole point of libdbus-internal.la is that it exports all its symbols.
* | Simplify linking by moving -export-dynamic to AM_LDFLAGSSimon McVittie2011-07-291-3/+13
| |
* | Remove DBUS_CLIENT_CFLAGS, which is always emptySimon McVittie2011-07-291-1/+0
| |
* | Remove leftover reference to dbus-md5.[ch]Simon McVittie2011-07-291-3/+0
| |
* | Run dbus-test from test/, not dbus/Simon McVittie2011-07-181-11/+4
|/ | | | | | | This avoids failures caused by test/data not having been set up yet. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
* Don't force use of -fPIE for the dbus-daemon if apparently supportedSimon McVittie2011-04-261-4/+6
| | | | | | | | | | | | | | | | | | | | | It's a minor security benefit, but not automatically beneficial (it enables ASLR, but breaks prelinking, some buggy toolchains, and some gdb versions). Distributions who know their infrastructure works well can enable it just as easily via ./configure CFLAGS="-fPIE" LDFLAGS="-pie" without extra support from us, and that's a generic solution applicable to many packages. Similarly, don't force libdbus and libdbus-internal to be PIC: libtool knows better than we do whether that's necessary/beneficial on a particular platform. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=16621 Bug: https://bugs.freedesktop.org/show_bug.cgi?id=27215 Bug-NB: NB#171940 Reviewed-by: Colin Walters <walters@verbum.org>
* Don't distribute dbus-arch-deps.h in the tarballSimon McVittie2011-02-171-3/+2
| | | | | | | It's generated by configure and specific to a system, so there's no point. Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=34292
* Enable launchd.Benjamin Reed2010-12-061-0/+8
| | | | | | | This patch enables support for Mac OS X's launch daemon for startup as well as sharing of the DBus session bus environment. It includes a LaunchAgent plist for automatic start of the session bus.
* systemd: add systemd-style socket-activationLennart Poettering2010-07-091-8/+14
| | | | | | This is a pretty straightforward implementation of systemd-style socket activation using the reference implementation of the $LISTEN_FDS/$LISTEN_PID env var parsing as supplied by systemd upstream.
* Revert "Bug 28460 - Refactored dbus configuration access."Will Thompson2010-06-171-2/+0
| | | | | | This reverts commit 6f9077ee870ad02119facf83d1293301b4535c3b, which broke the build on Unix (see previous patch) and introduced a bunch of warnings.
* Bug 28460 - Refactored dbus configuration access.Ralf Habacker2010-06-141-0/+2
| | | | | | | | | | | | | | | | | | Libdbus uses several config variables. On unix these settings are read from environment variables by using _dbus_getenv. On other platforms like wince there are no environment variables available and _dbus_getenv needs an emulation for those plattforms (see dbus/dbus-sysdeps-wince-glue.c) To cleanup this emulation the appended patch adds a config api by adding _dbus_config_... functions. Also having all client config related functions listed in one header file provides a good overview about which config attributes are available. The default implementation retrieves the config values from environment variables. For other os this could be easily extended or replaced by.
* Add support for Windows CE to the code base.Marcus Brinkmann2010-04-131-0/+7
|
* clean up def file change.Marcus Brinkmann2010-04-131-6/+0
|
* Renamed libdbus-convenience to libdbus-internal for automake (to stay in ↵Ralf Habacker2010-03-231-8/+8
| | | | sync with cmake).
* Update dll export for autoconf (to stay in sync with cmake).Marcus Brinkmann2010-03-231-31/+7
|
* Define dbus_1_EXPORTS when appropriate.Marcus Brinkmann2010-03-191-0/+1
|
* Fix the make dist target.Marcus Brinkmann2010-03-161-1/+5
|
* Generate Windows def files from def.in files.Marcus Brinkmann2010-02-261-5/+20
|
* Merge branch 'master' of ssh://git.freedesktop.org/git/dbus/dbusRalf Habacker2010-02-091-1/+5
|\
| * dbus-spawn.h is internal, it shouldn't be installedRomain Pokrzywka2010-02-071-1/+4
| |
| * Merge branch 'my-dbus-1.2'Colin Walters2010-01-281-0/+1
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: bus/Makefile.am dbus/dbus-sysdeps-util-unix.c dbus/dbus-transport.c test/test-service.c
| | * Bug 22805 - Fix build with -Wl,--as-neededColin Walters2009-07-311-0/+1
| | | | | | | | | | | | | | | Explicitly link dbus_convenience.la against DBUS_CLIENT_LIBS because it uses $THREAD_LIBS, just like the main library does.
* | | moved out dbus file related functions from sysdeps into separate files - ↵Ralf Habacker2009-12-201-0/+4
|/ / | | | | | | tested on windows
* | moved out DBusPipe implementation into separate filesRalf Habacker2009-12-181-0/+4
| |
* | Actually do install the .def file on WindowsTor Lillqvist2009-12-011-1/+6
| |
* | Use dbus-1.def on WindowsTor Lillqvist2009-12-011-4/+4
| |
* | The current state of the nonce-tcp implementationFrank Osterfeld2009-12-011-0/+1
| | | | | | | | | | | | | | | | Merged and cleaned up patch from my [Frank Osterfeld's] local work branch. Cherry-picked from commit e2801eca57b2d9e09afd662ed5ef6fc83be73afc and edited by tml@iki.fi to make it apply, and fixing whitespace issues.
* | use WINDRES instead of RC to compile rc fileNguyễn Thái Ngọc Duy2009-12-011-5/+1
| | | | | | | | | | This is the way used by GTK+ and other packages. I don't know much about "RC" though. (cherry picked from commit d5b993ebc1411b15e4563d05fbd92cf8b29cbb4c)
* | remove dbus-uuidgen from Windows build (cherry picked from commit ↵Nguyễn Thái Ngọc Duy2009-12-011-2/+2
| | | | | | | | 73873e002ac9ba6159388b2c7b4190c30961ec68)