GNOME Bugzilla – Bug 315046
gnome-power-preferences fails to link when built without libnotify support
Last modified: 2005-09-15 11:56:38 UTC
Version details: 0.2.0 Distribution/Version: YDL-4.0.1 gnome-power-preferences fails to link when built without libnotify support. The cause of the problem is a failure to include libdbus-glib-1 in gnome_power_preferences_LDADD One way to fix this is to add $(DBUS_LIBS) to the definition of gnome_power_preferences_LDADD when HAVE_LIBNOTIFY=no --- gnome-power-manager-0.2.0/src/Makefile.am- 2005-09-01 11:06:01.000000000 -0400 +++ gnome-power-manager-0.2.0/src/Makefile.am 2005-09-01 11:06:38.000000000 -0400 @@ -52,7 +52,7 @@ $(LIBNOTIFY_LIBS) $(GLIB_LIBS) $(GNOME_LIBS) $(HAL_LIBS) else gnome_power_preferences_LDADD = \ - $(GLIB_LIBS) $(GNOME_LIBS) $(HAL_LIBS) + (GLIB_LIBS) $(GNOME_LIBS) $(HAL_LIBS) $(DBUS_LIBS) endif gnome_power_manager_SOURCES = \ gnome-power-preferences does link when built with libnotify support. The reason for this is $(LIBNOTIFY_LIBS) includes libdbus-glib-1 -Joseph
Fixed in 0.3.0, Thanks.