summaryrefslogtreecommitdiff
path: root/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* Add missing license text for LGPL-2.1-or-laterSimon McVittie2022-11-291-0/+1
| | | | | Fixes: 8c1d0f13 "dbus/dbus-backtrace-win.c: New file with backtrace generator for Windows" Signed-off-by: Simon McVittie <smcv@collabora.com>
* cmake: Add BSD-style licensesSimon McVittie2022-11-291-0/+2
| | | | | | | | I've erred on the side of caution and treated the COPYING-CMAKE-SCRIPTS license (a BSD-3-Clause variation) as its own distinct license. Co-authored-by: Ralf Habacker <ralf.habacker@freenet.de> Signed-off-by: Simon McVittie <smcv@collabora.com>
* dbus-arch-deps: Mark as AFL-2.0 OR GPL-2.0-or-laterSimon McVittie2022-11-291-0/+1
| | | | | | | | | | | | | This was probably meant to be relicensed from AFL-2.0 to AFL-2.1 at the same time as the rest of the codebase, but it wasn't. For now, just convert its documented license status into machine-readable form. The history of this file seems to be completely Red Hat and Collabora, so we should be able to relicense it to (AFL-2.1 OR GPL-2.0-or-later) or even to MIT, but let's start by making the stated license more obvious. Signed-off-by: Simon McVittie <smcv@collabora.com>
* dbus-hash: Add (AFL-2.1 OR GPL-2.0-or-later) AND TCL SPDX license identifierSimon McVittie2022-11-291-0/+1
| | | | | | | The TCL-derived code is under its own license, so the overall license of the file is (AFL-2.1 OR GPL-2.0-or-later) AND TCL. Signed-off-by: Simon McVittie <smcv@collabora.com>
* dbus/dbus-sha.c: add LicenseRef-pycrypto-orig SPDX license markerRalf Habacker2022-11-291-0/+1
| | | | | | | | This permissive license does not appear to be a match for anything on the SPDX license list, so we need to use the LicenseRef- prefix for a custom license. Co-authored-by: Simon McVittie <smcv@collabora.com>
* dbus/versioninfo.rc.in: add LicenseRef-GAP SPDX license markerRalf Habacker2022-11-291-0/+1
| | | | | | | | | | | | This permissive license does not appear to be a match for anything on the SPDX license list, so we need to use the LicenseRef- prefix for a custom license. It's referred to as GAP (presumably short for "GNU all-permissive") in https://sources.debian.org/src/libassuan/2.5.5-1/debian/copyright/ so use the same abbreviation here. Co-authored-by: Simon McVittie <smcv@collabora.com>
* build: Show a warning if the system bus socket is not interoperableSimon McVittie2022-10-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | We would like to start using ${runstatedir}/dbus/system_bus_socket, so that distributors who make /var/run a symbolic link to /run will usually get their dbus-daemon listening on /run/dbus/system_bus_socket, which has some advantages in corner cases, such as when /var is mediated by an automounter or is unmounted during system shutdown. Unfortunately, the interoperable path in the D-Bus Specification is /var/run/dbus/system_bus_socket for historical reasons (D-Bus is older than /run), and older versions of Slackware are known to have had /run and /var/run as distinct directories. Do a check during configuration to catch systems configured like this and show a warning. When cross-compiling, this assumes that the system where dbus is built (the build system in Autotools/Meson, or the "host" in CMake terminology) has its /var/run and /run set up in a way that is compatible with the system where dbus will run (the host system in Autotools/Meson, or the "target" in CMake terminology). This is not 100% correct, but seems good enough for a warning that will hopefully only trigger for misguided OS distributors. Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Distribute update-authors.sh in tarballsSimon McVittie2022-07-151-0/+1
| | | | | | | Newer versions of Meson require the script for a run_target() to be present at configure time, even if the script isn't run. Signed-off-by: Simon McVittie <smcv@collabora.com>
* CI: Add glue to build with mingw-w64 toolchain on DebianSimon McVittie2022-07-131-0/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Change how we create symlinks from MesonSimon McVittie2022-07-131-1/+0
| | | | | | | | | | | | Use install_symlink() in Meson versions that support it, or a script with similar invocation in versions that do not. This will make it straightforward to migrate to install_symlink() when we drop support for Meson versions older than 0.61.0. Based on an implementation in the game-data-packager package, which used a shell script. Signed-off-by: Simon McVittie <smcv@collabora.com>
* subprojects: Allow expat and GLib to be built as subprojectsSimon McVittie2022-07-131-0/+2
| | | | | | | This should let us build everything with a mingw-w64 toolchain, without having to use prebuilt dependencies from MSYS. Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Make update-authors convenience target runnable from MesonSimon McVittie2022-07-131-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Distribute Meson build system in release tarballsSimon McVittie2022-07-131-0/+4
| | | | | | | As long as we are treating Autotools as a first-class citizen, what we release will be `make distcheck` output. Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Include license files in releasesSimon McVittie2022-06-241-0/+3
| | | | | Fixes: 272928b "COPYING: Move full license text into LICENSES/" Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Fix update-authors rule to work out-of-treeSimon McVittie2022-02-231-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* Merge branch 'code-coverage' into 'master'Simon McVittie2019-01-231-1/+1
|\ | | | | | | | | | | | | | | | | Adapt to API change in AX_CODE_COVERAGE version 28 Closes #249 See merge request dbus/dbus!88 Reviewed-by: @pwithnall
| * Adapt to API change in AX_CODE_COVERAGE version 28Simon McVittie2019-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AX_CODE_COVERAGE recently changed the way it embedded its Makefile rules in the output file: instead of using @CODE_COVERAGE_RULES@, users are now meant to include aminclude_static.am. The new AX_CODE_COVERAGE is only in the latest autoconf-archive release, version 2019.01.06, which is inconveniently new, so bundle everything we need for the moment. This requires us to stop using the deprecated CODE_COVERAGE_LDFLAGS (which we still used to support older versions of autoconf-archive) and replace them with CODE_COVERAGE_LIBS. Signed-off-by: Simon McVittie <smcv@collabora.com>
* | Move cmake related build system to top levelRalf Habacker2019-01-221-15/+8
|/ | | | Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
* CONTRIBUTING: Reformat as MarkdownSimon McVittie2018-10-191-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Don't ship detailed changelogs for releases over 10 years oldSimon McVittie2018-08-291-2/+0
| | | | | | Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=107630
* Rename HACKING to CONTRIBUTINGSimon McVittie2018-08-221-1/+1
| | | | Signed-off-by: Simon McVittie <smcv@collabora.com>
* build: Include README.cmake in Autotools "make dist"Simon McVittie2017-10-231-0/+1
| | | | | | | | | | Our official source releases are Autotools "make dist" tarballs, but there's no reason why CMake users can't use those too, and we already include the CMake build files. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103420
* build: Distribute individual files and directories from cmake/Simon McVittie2017-10-231-1/+16
| | | | | | | | | | If we distribute the entire directory in "make dist" tarballs, then we include the generated files cmake/DBus1Config.cmake and cmake/DBus1ConfigVersion.cmake, which we should not. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103420
* build: Don't explicitly clean up configure-generated filesSimon McVittie2017-10-231-5/+0
| | | | | | | | | | | cmake/DBus1Config.cmake, cmake/DBus1ConfigVersion.cmake and dbus-1.pc are all generated by AC_CONFIG_FILES, so they are automatically listed in $(CONFIG_CLEAN_FILES) and cleaned in "make distclean" without further help from us. Signed-off-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Philip Withnall <withnall@endlessm.com> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103420
* cmake, autotools: Add find package config support for cmake clientsRalf Habacker2017-03-201-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | With this support cmake and autotools generates cmake equivalent of pkgconfig files on configure time named DBus1Config*.cmake. These files are installed into the related directory where cmake expects find_package related config files. For instructions how to use this feature with clients see readme.cmake. With previous DBus versions each cmake client using DBus as dependency needed a related FindDBus*.cmake in its source distribution or in the cmake binary packages. With the 'config' find package style support provided by this patch this requirement has been removed. The generated config file uses pkgconfig on unix or autotools to fetch package build flags, which is the prefered way. On Windows we do not want to require CMake users to have pkg-config installed so it uses cmake buildin target export support for exporting all targets into DBus1ConfigTargets*.cmake. [smcv: make sure variable substitution works in Autotools too] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=99721 Reviewed-by: Simon McVittie <smcv@collabora.com> Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de> Signed-off-by: Simon McVittie <smcv@collabora.com>
* Use AX_CODE_COVERAGE for test-coverage statisticsThomas Zimmermann2016-08-151-1/+2
| | | | | | | | | | | | | | | | | | | DBus uses custom rules in its Makefiles to implement test-coverage statistics. This patch implements test-coverage statistics with the autoconf macro AX_CODE_COVERAGE. The script automatically tests for tools (e.g., gcov, lcov), sets build variables and creates Makefile rules. Run 'configure' with '--enable-code-coverage' to enable support for test-coverage statistics. Run 'make check-code-coverage' to run the tests and generate the statistics. Signed-off-by: Thomas Zimmermann <tdz@users.sourceforge.net> [smcv: do not alter compiler.m4; move AM_CXXFLAGS to the one place we compile C++] Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88922
* build: Dist autogen.shColin Walters2013-02-051-0/+1
| | | | | | | For convenience of people who have to patch the autotools. See also http://people.gnome.org/~walters/docs/build-api.txt https://bugs.freedesktop.org/show_bug.cgi?id=60330
* include README.valgrind in tarballsSimon McVittie2012-11-091-0/+1
|
* build: Ensure docs are enabled for distcheckColin Walters2012-11-091-0/+1
| | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=55426 Signed-off-by: Colin Walters <walters@verbum.org> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Build docs after running tests, and remove redundant DIST_SUBDIRSSimon McVittie2011-07-181-2/+1
| | | | | | | | | | | If DIST_SUBDIRS isn't set, it defaults to SUBDIRS, so it's just noise. Running tests before building documentation is an easy way to speed up the hack/make check/fix cycle, by not wasting time rebuilding the documentation (which is often slow) until all the tests compile and pass. https://bugs.freedesktop.org/show_bug.cgi?id=34405 Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
* Honour aclocal flags in Makefile.am, rather than gluing them onto ACLOCALSimon McVittie2011-02-241-1/+1
| | | | | | | Part of a patch by Javier Jardón. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32245 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Import compiler.m4 and lcov.am from telepathy-glib, and use them to replace gcovSimon McVittie2011-02-171-40/+2
| | | | | Reviewed-by: Colin Walters <walters@verbum.org> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=10887
* Dist additional README's too.Ralf Habacker2010-12-211-1/+4
|
* Merge branch 'documentation-build-system'Will Thompson2010-10-261-0/+2
|\
| * Squash warnings and spurious output from autogen.shWill Thompson2010-10-051-0/+2
| |
* | Dist Readme.win instead of Readme.windbusAndre Heinecke2010-10-131-1/+1
|/
* Include cmake subdirectory in source distribution.Ralf Habacker2010-09-101-1/+2
|
* systemd: install systemd socket and service file by defaultLennart Poettering2010-07-091-1/+4
|
* build-sys: add make target for updating AUTHORS filedbus-1.3.1Lennart Poettering2010-06-231-0/+3
|
* Rename README.win to README.windbus to match its originTor Lillqvist2009-12-011-1/+2
| | | | Also add it to EXTRA_DIST.
* getting ready for 1.2 stable branchJohn (J5) Palmieri2008-04-041-1/+5
| | | | | | | * ChangeLog.pre-1-2: rename ChangeLog * NEWS.pre-1-2: rename NEWS * Makefile.am: list the pre files in EXTRA_DIST; the pre-1-0 files had not been added yet so do that too
* 2006-10-21 Havoc Pennington <hp@redhat.com>Havoc Pennington2006-10-221-1/+2
| | | | | | | | | | | * Makefile.am (EXTRA_DIST): dist cleanup-man-pages.sh so it's in the tarball if packagers want to run it * cleanup-man-pages.sh: Add a script which munges all the internal API man pages out of the Doxygen output. This reduces the size of the installed man pages from 7 to 2 megs, and avoids namespace-polluting pages. Right now (like Doxygen) this script isn't in the build, it's something packagers can do manually.
* * Remove all bindingsJohn (J5) Palmieri2006-07-141-47/+6
|
* Oops, forgot part of the patch. Same ChangeLog entry.Thiago Macieira2006-04-301-1/+1
|
* * Makefile.am:Thiago Macieira2006-04-301-0/+3
| | | | | | * configure.in: * dbus-qt4-1.pc.in: Add a pkg-config file for libdbus-qt4-1. Thanks to Brad Hards for providing the patch
* bring Qt3 library back. Some apps that are not in the KDE trunk are using it.Harald Fernengel2005-09-301-2/+6
|
* 2005-03-20 Colin Walters <walters@verbum.org>Colin Walters2005-03-211-2/+2
| | | | * Makefile.am (SUBDIRS, DIST_SUBDIRS): Build tools before test.
* 2004-12-24 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-12-241-14/+14
| | | | | | | * test/decode-gcov.c: change to use .gcno and .gcda files, but the file format has also changed and I haven't adapted to that yet * Makefile.am: load .gcno files from latest gcc
* 2004-07-24 Havoc Pennington <hp@redhat.com>Havoc Pennington2004-07-251-0/+1
| | | | | | | * Makefile.am (DIST_SUBDIRS): add DIST_SUBDIRS, problem solved by Owen * test/Makefile.am (DIST_SUBDIRS): here also
* Various mono related changes to facilitate GAC support.Owen Fraser-Green2004-05-151-1/+1
|