Merge lp:~ted/ubuntu-geoip/gnome-features into lp:ubuntu-geoip

Proposed by Ted Gould
Status: Merged
Approved by: Ted Gould
Approved revision: 35
Merged at revision: 34
Proposed branch: lp:~ted/ubuntu-geoip/gnome-features
Merge into: lp:ubuntu-geoip
Prerequisite: lp:~ted/ubuntu-geoip/gtype-deprecation
Diff against target: 43 lines (+4/-1)
3 files modified
configure.ac (+1/-0)
debian/control (+1/-0)
src/ubuntu-geoip-provider.c (+2/-1)
To merge this branch: bzr merge lp:~ted/ubuntu-geoip/gnome-features
Reviewer Review Type Date Requested Status
Charles Kerr (community) Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+153035@code.launchpad.net

Commit message

Add the gnome feature for proxy configuration support.

Description of the change

Add the gnome feature for proxy configuration support.

To post a comment you must log in.
lp:~ted/ubuntu-geoip/gnome-features updated
35. By Ted Gould

Adding the gnome headers as a build dep

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Charles Kerr (charlesk) wrote :

Good fix.

It would be better to have test coverage for this, but am not going to block the review on it, the one new call is on a shipping lib...

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure.ac'
--- configure.ac 2012-10-15 15:21:30 +0000
+++ configure.ac 2013-03-13 01:14:21 +0000
@@ -37,6 +37,7 @@
37PKG_CHECK_MODULES(PROVIDER, glib-2.0 >= $GLIB_REQUIRED_VERSION37PKG_CHECK_MODULES(PROVIDER, glib-2.0 >= $GLIB_REQUIRED_VERSION
38 geoclue >= GEOCLUE_REQUIRED_VERSION38 geoclue >= GEOCLUE_REQUIRED_VERSION
39 libsoup-2.4 >= SOUP_REQUIRED_VERSION39 libsoup-2.4 >= SOUP_REQUIRED_VERSION
40 libsoup-gnome-2.4 >= SOUP_REQUIRED_VERSION
40 libnm-glib >= NM_REQUIRED_VERSION)41 libnm-glib >= NM_REQUIRED_VERSION)
4142
42AC_SUBST(PROVIDER_CFLAGS)43AC_SUBST(PROVIDER_CFLAGS)
4344
=== modified file 'debian/control'
--- debian/control 2012-11-27 20:06:12 +0000
+++ debian/control 2013-03-13 01:14:21 +0000
@@ -9,6 +9,7 @@
9 pkg-config,9 pkg-config,
10 libglib2.0-dev,10 libglib2.0-dev,
11 libsoup2.4-dev,11 libsoup2.4-dev,
12 libsoup-gnome2.4-dev,
12 libgeoclue-dev,13 libgeoclue-dev,
13 libnm-glib-dev (>= 0.8.998),14 libnm-glib-dev (>= 0.8.998),
14 libdbustest1-dev,15 libdbustest1-dev,
1516
=== modified file 'src/ubuntu-geoip-provider.c'
--- src/ubuntu-geoip-provider.c 2013-03-13 01:14:21 +0000
+++ src/ubuntu-geoip-provider.c 2013-03-13 01:14:21 +0000
@@ -34,7 +34,7 @@
34#include <geoclue/gc-iface-address.h>34#include <geoclue/gc-iface-address.h>
3535
36/* Soup */36/* Soup */
37#include <libsoup/soup.h>37#include <libsoup/soup-gnome.h>
3838
39/* Network Manager */39/* Network Manager */
40#include <nm-client.h>40#include <nm-client.h>
@@ -252,6 +252,7 @@
252 /* Allocate */252 /* Allocate */
253 if (test_data == NULL) {253 if (test_data == NULL) {
254 self->priv->soup = soup_session_async_new();254 self->priv->soup = soup_session_async_new();
255 soup_session_add_feature_by_type(self->priv->soup, soup_proxy_resolver_gnome_get_type());
255 self->priv->client = nm_client_new();256 self->priv->client = nm_client_new();
256 g_signal_connect(G_OBJECT(self->priv->client), "notify::" NM_CLIENT_STATE, G_CALLBACK(nm_state_change), self);257 g_signal_connect(G_OBJECT(self->priv->client), "notify::" NM_CLIENT_STATE, G_CALLBACK(nm_state_change), self);
257258

Subscribers

People subscribed via source and target branches

to all changes: