From 4a84dc6b27ae67b1740eb9f459e88550c22f6156 Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Sat, 4 Mar 2017 08:10:29 +0100 Subject: [PATCH 1/2] Remove deprecated soup call and bump dependency to soup 2.42 --- build/updatechecker.m4 | 2 +- updatechecker/src/updatechecker.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/updatechecker.m4 b/build/updatechecker.m4 index cb95fa3a2..66723e814 100644 --- a/build/updatechecker.m4 +++ b/build/updatechecker.m4 @@ -3,7 +3,7 @@ AC_DEFUN([GP_CHECK_UPDATECHECKER], GP_ARG_DISABLE([Updatechecker], [auto]) GP_CHECK_PLUGIN_DEPS([Updatechecker], UPDATECHECKER, - [libsoup-2.4 >= 2.4.0]) + [libsoup-2.4 >= 2.42]) GP_COMMIT_PLUGIN_STATUS([Updatechecker]) diff --git a/updatechecker/src/updatechecker.c b/updatechecker/src/updatechecker.c index 4a5ff41a5..1ec5a03e4 100644 --- a/updatechecker/src/updatechecker.c +++ b/updatechecker/src/updatechecker.c @@ -83,7 +83,7 @@ static void update_check(gint type) GEANY_VERSION, NULL); g_message("Checking for updates (querying URL \"%s\")", UPDATE_CHECK_URL); - soup = soup_session_async_new_with_options( + soup = soup_session_new_with_options( SOUP_SESSION_USER_AGENT, user_agent, SOUP_SESSION_TIMEOUT, 10, NULL); From 3738891b9d58ddaee7998fd267d22cdab845060d Mon Sep 17 00:00:00 2001 From: Frank Lanitz Date: Sat, 4 Mar 2017 08:15:13 +0100 Subject: [PATCH 2/2] Adjust documentation for dependency update --- updatechecker/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updatechecker/README b/updatechecker/README index 63a25a1d5..07852bdac 100644 --- a/updatechecker/README +++ b/updatechecker/README @@ -40,7 +40,7 @@ Updatechecker depends on a recent version of Geany (0.20 or above) as well as on: * GTK >= 2.12 -* libsoup 2.4 >= 2.4.0 +* libsoup 2.4 >= 2.42 To compile it on your own you will need the devel packages for these.