* dbus version required
@ 2008-02-26 16:44 Mathias Dahl
2008-02-27 9:04 ` Michael Albinus
0 siblings, 1 reply; 2+ messages in thread
From: Mathias Dahl @ 2008-02-26 16:44 UTC (permalink / raw)
To: emacs-devel
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.
/Mathias
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: dbus version required
2008-02-26 16:44 dbus version required Mathias Dahl
@ 2008-02-27 9:04 ` Michael Albinus
0 siblings, 0 replies; 2+ messages in thread
From: Michael Albinus @ 2008-02-27 9:04 UTC (permalink / raw)
To: Mathias Dahl; +Cc: emacs-devel
"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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-02-27 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-26 16:44 dbus version required Mathias Dahl
2008-02-27 9:04 ` Michael Albinus
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.