The default bug view has changed. See this FAQ.

build dbus on linux by default (--enable-dbus) to auto-detect online/offline state

RESOLVED FIXED in mozilla1.9beta2

Status

()

Core
Build Config
RESOLVED FIXED
10 years ago
6 years ago

People

(Reporter: Steffen Wilberg, Assigned: Steffen Wilberg)

Tracking

Trunk
mozilla1.9beta2
x86
Linux
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 1 obsolete attachment)

1.44 KB, patch
ted
: review+
Mike Schroepfer
: approval1.9+
Details | Diff | Splinter Review
(Assignee)

Description

10 years ago
Bug 312793 introduced support for dbus online/offline events. Firefox and Thunderbird automatically toggle their state when they receive such an event.
This works fine on windows trunk, but on linux, you need to specify --enable-dbus in the mozconfig due to bug 377992.

Since the new linux reference platform has been introduced, we should build dbus by default and only disable it on the old tinderboxen specifically which don't meet its requirements.

This should be done by changing the --enable-dbus switch in configure.in.
Another option would be to add --enable-dbus to the mozconfig of the linux tinderboxen:
http://mxr.mozilla.org/seamonkey/source/tools/tinderbox-configs/firefox/linux/mozconfig
http://mxr.mozilla.org/seamonkey/source/tools/tinderbox-configs/thunderbird/linux/mozconfig
As I said in bug 377992 comment 8, we want builds to match our official nightlies unless features are explicitly disabled.  This means that to do this right, the --enable-dbus switch should become a --disable-dbus switch, and the check for dbus should error if it is not found.

I'm not sure if all the trunk Linux tinderboxen have been updated though, or just Firefox.  preed, can you comment on this?

Comment 2

10 years ago
I know they have not... but we could turn this on for just Firefox right now.

That might be useful to get some testing, and then as we upgrade the other images, they'll know it'll "just work" (or... y'know... *should* "just work" ;-)
(Assignee)

Comment 3

10 years ago
All of the tinderboxen have been migrated, including Thunderbird and Seamonkey, haven't they? So we could enable dbus now for every app, I guess.
(Assignee)

Comment 4

10 years ago
Created attachment 289210 [details] [diff] [review]
patch
Assignee: nobody → steffen.wilberg
Status: NEW → ASSIGNED
Attachment #289210 - Flags: review?(benjamin)
Comment on attachment 289210 [details] [diff] [review]
patch

r=me with a slight change.  Change MOZ_ENABLE_DBUS=force to be MOZ_ENABLE_DBUS=1 and remove the whole if block around the AC_MSG_ERROR below, so that we always error out if MOZ_ENABLE_DBUS is set but the library doesn't exist.
Attachment #289210 - Flags: review?(benjamin) → review+
(Assignee)

Comment 6

10 years ago
Created attachment 289248 [details] [diff] [review]
patch v2
Attachment #289210 - Attachment is obsolete: true
Attachment #289248 - Flags: review?(ted.mielczarek)
Comment on attachment 289248 [details] [diff] [review]
patch v2

We'll have to make sure that when this gets checked in, any tinderboxes that don't have the required version of dbus get --disable-dbus in their mozconfigs.
Attachment #289248 - Flags: review?(ted.mielczarek) → review+
(Assignee)

Updated

10 years ago
Attachment #289248 - Flags: approval1.9?

Updated

10 years ago
Attachment #289248 - Flags: approval1.9? → approval1.9+
(Assignee)

Updated

10 years ago
Keywords: checkin-needed
Checking in configure.in;
/cvsroot/mozilla/configure.in,v  <--  configure.in
new revision: 1.1890; previous revision: 1.1889
done

I'll fix any mozconfigs for tinderboxen that break for those that are in CVS.
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
Blocks: 404738
Depends on: 454391

Updated

6 years ago
Blocks: 697382

Updated

6 years ago
No longer blocks: 697382
You need to log in before you can comment on or make changes to this bug.