From: Michael Albinus <michael.albinus@gmx.de>
To: "Mathias Dahl" <mathias.dahl@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: dbus version required
Date: Wed, 27 Feb 2008 10:04:47 +0100 [thread overview]
Message-ID: <nqlk56kbww.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <7dbe73ed0802260844qdac0fa5ycc8c8c1c136fb280@mail.gmail.com> (Mathias Dahl's message of "Tue, 26 Feb 2008 17:44:47 +0100")
"Mathias Dahl" <mathias.dahl@gmail.com> writes:
> I am trying to include dbus in my build. I added --with-dbus but it
> said it would not include it. I investigated a bit and found out that
> the version required is not on my system. I am using "Mandriva Linux
> release 2007.0 (Official) for i586", which is not super new but I
> don't think it is very old either, and the dbus version is 0.92. My
> question is: is dbus version 1.0 or higher required for what Emacs
> uses it for? If not, could we "lower the barier"? If yes, well, then I
> have to look into how I can upgrade, because the dbus integration
> seems very useful.
Some months ago, I've tried it on an Ubuntu 6.06 (LTS) machine. I
don't remember the D-Bus version, but it was definitely < 1.0.
The D-Bus interface, at least as used in dbusbind.c, was compatible,
and I was able to use this D-Bus version inside Emacs. But I haven't
tested it heavily.
In order to let Emacs build towards such a pre-released D-Bus version,
you shall patch the D-Bus version check in configure.in in order to to
accept a version smaller than 1.0. Additionally, IIRC, you need to add
"-DDBUS_API_SUBJECT_TO_CHANGE" to the compiler options; otherwise you
cannot compile dbusbind.c. This is a check in <dbus/dbus.h> for all
D-Bus versions prior to 1.0, in order to be aware of the possible
interface instability.
And this is also the reason I don't believe we shall support D-Bus
versions < 1.0 officially. The recipe above is just to check whether
D-Bus is useful in your case. In the longer run, you shall upgrade to
D-Bus 1.x.
> /Mathias
Best regards, Michael.
prev parent reply other threads:[~2008-02-27 9:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 16:44 dbus version required Mathias Dahl
2008-02-27 9:04 ` Michael Albinus [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nqlk56kbww.fsf@alcatel-lucent.de \
--to=michael.albinus@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=mathias.dahl@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.