Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317841 - mail-client/evolution-2.28.3.1 fails to compile with USE="-dbus networkmanager"
Summary: mail-client/evolution-2.28.3.1 fails to compile with USE="-dbus networkmanager"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-29 22:47 UTC by Thorsten Vollmer
Modified: 2010-05-19 19:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
always enable dbus when networkmanager is requested (patch,865 bytes, patch)
2010-04-29 22:50 UTC, Thorsten Vollmer
Details | Diff
build.log (build.log,11.11 KB, text/plain)
2010-05-18 21:45 UTC, Thorsten Vollmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten Vollmer 2010-04-29 22:47:20 UTC
NetworkManager support in Evolution requires D-Bus, but the ebuild does not reflect this dependency. See the relevant part of configure.ac for details.

dnl Check for dbus-glib-1 and dbus
AC_ARG_ENABLE([dbus],
	[AS_HELP_STRING([--enable-dbus],
	[enable DBUS support (default=yes)])],
	[enable_dbus=$enableval],[enable_dbus=yes])
AC_MSG_CHECKING([if dbus support is enabled])
AC_MSG_RESULT([$enable_dbus])
if test "$enable_dbus" = "yes"; then
	PKG_CHECK_MODULES([DBUS_GLIB], [dbus-glib-1 >= dbus_minimum_version],
	[DBUS_SUPPORT="yes"],
	[AC_MSG_ERROR([DBUS respectively dbus-glib not found! (or version < dbus_minimum_version)!
	If you want to disable DBUS, please append --disable-dbus to configure!
	DBUS is required for NetworkManager - NetworkManager support will then be disabled, too!])])
	AC_DEFINE(DBUS_SUPPORT, 1, [dbus available])
	AC_SUBST(HAVE_DBUS)
	AC_SUBST(DBUS_GLIB_CFLAGS)
	AC_SUBST(DBUS_GLIB_LIBS)
elif test "$enable_dbus" = "no" -a "$enable_nm" = "yes"; then
	AC_MSG_ERROR([DBUS disabled and NetworkManager enabled - this won't work!
	Disable NetworkManager (append --disable-nm to configure)!])
else
	AC_MSG_WARN([DBUS support disabled!])
	DBUS_SUPPORT="no"
fi
Comment 1 Thorsten Vollmer 2010-04-29 22:50:12 UTC
Created attachment 229753 [details, diff]
always enable dbus when networkmanager is requested
Comment 2 Matt Enright 2010-05-18 14:32:02 UTC
evolution 2.30 (ebuild in the gnome overlay right now) has a hard dep on dbus-glib anyways, as a side effect of the kill-bonobo work, so probably best to just worry about getting that stabilized - is this breaking a common use-case right now?
Comment 3 Thorsten Vollmer 2010-05-18 21:45:09 UTC
Created attachment 232041 [details]
build.log
Comment 4 Thorsten Vollmer 2010-05-18 21:47:58 UTC
(In reply to comment #2)
> evolution 2.30 (ebuild in the gnome overlay right now) has a hard dep on
> dbus-glib anyways, as a side effect of the kill-bonobo work, so probably best
> to just worry about getting that stabilized

Evolution 2.30 will not be stabilized anytime soon, and the currently stable version fails to compile as per description, so I still consider this patch necessary. You can safely apply it without a revision bump.
Comment 5 Jim Ramsay (lack) (RETIRED) gentoo-dev 2010-05-19 19:31:57 UTC
Patch applied in mail-client/evolution-2.28.3.1-r1