summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-01-29travis-ci: Get autoconf-archive from deb.debian.orgSimon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29travis-ci: Only test Python 2.7, 3.4 against system python executableSimon McVittie1-2/+0
It's a bit redundant to do otherwise, and for some reason the detection of support for -Wno-duplicated-branches fails for the Python 2.7 build, causing a spurious failure. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Avoid using async keywordSimon McVittie2-5/+5
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Require dbus 1.8Simon McVittie3-3/+6
On Travis-CI, cheat our way around the obsolete version of Ubuntu used for most builds: we can in fact compile against dbus 1.6, if we apply some force. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Adjust dependency notes in NEWSSimon McVittie1-2/+2
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Merge commit 'f5f817bf93e9fe1503cd327b546a1237f59e96b4'Simon McVittie2-1/+35
2018-01-29Add some notes on integrating dbus-gmain into larger projectsSimon McVittie1-0/+34
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29Use system extensions instead of strict C99Simon McVittie1-1/+1
Python 3.6 headers cause warnings when using a strict C99 compiler. Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Integrate dbus-gmainSimon McVittie7-12/+28
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29test-thread-client: Avoid deprecated g_thread_createSimon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29Add 'dbus-gmain/' from commit 'c9f1a9671e5c67da3a7d730407241b995c6606f9'Simon McVittie14-0/+1992
git-subtree-dir: dbus-gmain git-subtree-mainline: 41b21ef63ea7d95bf61f2993183a6f5c2c526cb8 git-subtree-split: c9f1a9671e5c67da3a7d730407241b995c6606f9
2018-01-29Use GLIB instead of DBUS_GLIB as prefix for GLib dependencySimon McVittie1-8/+8
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29Require dbus-run-sessionSimon McVittie3-11/+3
Signed-off-by: Simon McVittie <smcv@collabora.com>
2018-01-29Distribute ancillary files for dbus-gmainSimon McVittie1-0/+7
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29Move dbus-gmain to root directorySimon McVittie14-0/+0
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29Remove everything except dbus-gmain subdirectorySimon McVittie143-36630/+0
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29dbus-gmain: Add CONTRIBUTING fileSimon McVittie1-0/+25
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29dbus-gmain: Allow swapping the namespace usedSimon McVittie7-24/+42
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29dbus-gmain: Add a .gitignoreSimon McVittie1-0/+16
This makes it a bit more self-contained. Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29dbus-gmain: Add more copyright and authorship informationSimon McVittie7-2/+631
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-29dbus-gmain: Don't include config.h unless HAVE_CONFIG_H is definedSimon McVittie5-0/+10
This should make it a little easier to integrate into more build systems. Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22dbus-gmain: Add a READMESimon McVittie1-0/+15
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22Move tests for dbus-gmain to dbus-gmain/tests/Simon McVittie18-67/+73
Use dbus-run-session to run the only one that can be used as an automated test right now. Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22dbus-gmain: Move to its own directorySimon McVittie11-23/+34
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22dbus-gmain.c: Remove trailing whitespaceSimon McVittie1-40/+40
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22Remove obsolete --with-test-socket-dir optionSimon McVittie1-1/+0
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22Remove remnants of --with-introspect-xml optionSimon McVittie1-4/+0
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22Build libdbus-gmain into a separate convenience librarySimon McVittie2-1/+30
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22Make dbus-gmain.h internal, and rename its symbolsSimon McVittie8-25/+76
If we embed dbus-gmain in dbus-glib, dbus-python, at-spi2-core and others as a submodule or subtree, we won't want it to export the same ABI in all of them. Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-22dbus-gmain.c: Screen-scrape copyright notices from git historySimon McVittie1-2/+6
Signed-off-by: Simon McVittie <smcv@debian.org>
2018-01-17Officially de-support Python 3.3 tooSimon McVittie2-3/+3
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-05Update NEWSSimon McVittie1-3/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-05Rename source directories for C code to silence an ImportWarningSimon McVittie32-32/+32
Python warns that it is not importing these directories because they contain no __init__.py. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-05Update NEWSSimon McVittie1-0/+11
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-05Suppress documentation of __gtype__ in epydoc, for reproducible buildsSimon McVittie2-1/+7
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-05build: Build with -Wno-duplicated-branches if the compiler supports itSimon McVittie1-0/+2
Otherwise building with gcc 7 fails like this: _dbus_bindings/server.c: In function ‘DBusPyServer_set_auth_mechanisms’: /usr/include/python2.7/abstract.h:1161:43: error: this condition has identical branches [-Werror=duplicated-branches] (PyList_Check(o) ? PyList_GET_SIZE(o) : PyTuple_GET_SIZE(o)) ^ _dbus_bindings/server.c:101:14: note: in expansion of macro ‘PySequence_Fast_GET_SIZE’ length = PySequence_Fast_GET_SIZE(fast_seq); ^~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-05Avoid NULL dereference if DBusPyServer_NewConsumingDBusServer failsSimon McVittie1-0/+5
Detected by gcc 7. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01Update NEWSSimon McVittie1-0/+10
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01Work around limitations of Python 2 distutils and AX_PYTHON_DEVELSimon McVittie1-0/+12
Python 2 doesn't have the LDVERSION, so AX_PYTHON_DEVEL has to form PYTHON_LIBS using plain VERSION, which doesn't have the _d suffix. There doesn't seem to be a good way to find out that we need this, so I can't upstream a fix to autoconf-archive. However, the -dbg flavour is mostly a Debianism anyway, and in the long term the problem will be fixed by Python 2 going away. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01Bundle an updated AX_PYTHON_DEVEL to fix LIBS vs. LDFLAGSSimon McVittie1-0/+327
See <https://github.com/peti/autoconf-archive/pull/124>. aclocal's "serial number" mechanism means we'll still use the OS's copy if newer. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01Officially de-support Python 3.2Simon McVittie2-3/+4
One test fails on travis-ci. It might be a spurious failure, but I have no interest in supporting versions whose vendors have dropped security support. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01travis-ci: Install python-gi-dbg when testing python-dbgSimon McVittie1-0/+4
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01ci-build: Export PYTHON to make sure we get exactly that versionSimon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01ci-build: Write out config.log after attempting configureSimon McVittie1-1/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01travis-ci: Use ccache, and cache pip installations tooSimon McVittie1-1/+6
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01travis-ci: Test Python 3.6 now that it has releasesSimon McVittie1-0/+2
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01travis-ci: Use autoconf-archive from Debian 9 'stretch'Simon McVittie1-1/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01Revert "test/import-repeatedly: skip on Python 3.6 for now"Simon McVittie1-11/+0
Python 3.6.0a4 is meant to have fixed this. This reverts commit 1013581fef91c9be087d6264084cec34c2ca6e9a. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01build: Use AX_PYTHON_DEVEL to find PythonSimon McVittie3-76/+18
This avoids needing our own increasingly elaborate code to find the python-config executable corresponding to our python executable. Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-11-01.gitignore: Ignore dbus._versionSimon McVittie1-0/+1
Signed-off-by: Simon McVittie <smcv@collabora.com>