summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-23 17:16:43 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-07-23 17:16:43 +0100
commit7ef26213b5b3b46444f87a603ee3bb5c6381a56a (patch)
treec3631dd5caee38da4825286073a90e1988f07c2f
parent8c2ef87d94525af4b1e7f21e18b0a07b30ab425b (diff)
downloaddbus-python-7ef26213b5b3b46444f87a603ee3bb5c6381a56a.tar.gz
Require dbus 1.0.
It's been out for ages, and we can finally drop DBUS_API_SUBJECT_TO_CHANGE if we do.
-rw-r--r--NEWS2
-rw-r--r--configure.ac2
-rw-r--r--dbus-python.pc.in2
-rw-r--r--include/dbus-python.h1
4 files changed, 4 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 56c48b5..a6a08f0 100644
--- a/NEWS
+++ b/NEWS
@@ -20,6 +20,8 @@ Fixes:
* Make multiple filters added by Connection.add_message_filter work
(fd.o #15547, thanks to Huang Peng).
+* Require dbus 1.0 so we can get rid of DBUS_API_SUBJECT_TO_CHANGE
+
D-Bus Python Bindings 0.82.4 (2007-12-10)
=========================================
diff --git a/configure.ac b/configure.ac
index a9bd749..1f6c06f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -134,7 +134,7 @@ AC_SUBST([RST2HTMLFLAGS])
AM_CONDITIONAL([ENABLE_API_DOCS], [test "$enable_api_docs" != no])
AM_CONDITIONAL([ENABLE_DOCS], [test "$enable_html_docs" != no])
-PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.93])
+PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0])
PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.70])
dnl avoid deprecated stuff if possible
diff --git a/dbus-python.pc.in b/dbus-python.pc.in
index 6af2f9f..477288c 100644
--- a/dbus-python.pc.in
+++ b/dbus-python.pc.in
@@ -7,6 +7,6 @@ datadir=@datadir@
Name: dbus-python
Description: Python bindings for D-Bus
-Requires: dbus-1
+Requires: dbus-1 >= 1.0
Version: @VERSION@
Cflags: -I${includedir}
diff --git a/include/dbus-python.h b/include/dbus-python.h
index ff83e71..509c89f 100644
--- a/include/dbus-python.h
+++ b/include/dbus-python.h
@@ -30,7 +30,6 @@
#define DBUS_PYTHON_H
#include <Python.h>
-#define DBUS_API_SUBJECT_TO_CHANGE 1
#include <dbus/dbus.h>
DBUS_BEGIN_DECLS