[Bug 14942] New: Doesn't build against recent NetworkManager

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 10 12:36:24 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=14942

           Summary: Doesn't build against recent NetworkManager
           Product: GeoClue
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: General
        AssignedTo: geoclue at lists.freedesktop.org
        ReportedBy: mccann at jhu.edu
         QAContact: geoclue at lists.freedesktop.org


Doesn't build against recent NetworkManager releases due to:
http://svn.gnome.org/viewvc/NetworkManager/trunk/include/NetworkManager.h?r1=2309&r2=2345

The following seems to work:
diff --git a/src/connectivity-networkmanager.c
b/src/connectivity-networkmanager.c
index 213413b..ba9480f 100644
--- a/src/connectivity-networkmanager.c
+++ b/src/connectivity-networkmanager.c
@@ -14,6 +14,10 @@
 #include <NetworkManager.h> /*for DBus strings */
 #include "connectivity-networkmanager.h"

+#ifndef NM_DBUS_SIGNAL_STATE_CHANGE
+#define NM_DBUS_SIGNAL_STATE_CHANGE      "StateChange"
+#endif
+
 static void geoclue_networkmanager_connectivity_init
(GeoclueConnectivityInterface *iface);

 G_DEFINE_TYPE_WITH_CODE (GeoclueNetworkManager, geoclue_networkmanager,
G_TYPE_OBJECT,


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the GeoClue mailing list