[Xfce4-commits] <midori:master> Show libSoup version from pkg-config in about:version
Christian Dywan
noreply at xfce.org
Sat Apr 30 13:16:02 CEST 2011
Updating branch refs/heads/master
to e6d8e10606a07aa81a00c37cb5c6bcea943607cc (commit)
from 4435b8fcef3fd14044986d090e21073393aa2e2c (commit)
commit e6d8e10606a07aa81a00c37cb5c6bcea943607cc
Author: Christian Dywan <christian at twotoasts.de>
Date: Sat Apr 30 12:00:12 2011 +0200
Show libSoup version from pkg-config in about:version
midori/midori-view.c | 7 -------
wscript | 1 +
2 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/midori/midori-view.c b/midori/midori-view.c
index 3ccfce0..31d6612 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -4221,13 +4221,6 @@ midori_view_set_uri (MidoriView* view,
#define WEBKIT_USER_AGENT_MAJOR_VERSION 532
#define WEBKIT_USER_AGENT_MINOR_VERSION 1
#endif
- #if defined (HAVE_LIBSOUP_2_29_3)
- #define LIBSOUP_VERSION "2.29.3"
- #elif defined (HAVE_LIBSOUP_2_27_90)
- #define LIBSOUP_VERSION "2.27.90"
- #else
- #define LIBSOUP_VERSION "2.25.2"
- #endif
#ifdef G_ENABLE_DEBUG
#define DEBUGGING " (Debug)"
#else
diff --git a/wscript b/wscript
index beee243..80cc190 100644
--- a/wscript
+++ b/wscript
@@ -209,6 +209,7 @@ def configure (conf):
check_pkg ('libsoup-2.4', '2.27.90', False, var='LIBSOUP_2_27_90')
check_pkg ('libsoup-2.4', '2.29.3', False, var='LIBSOUP_2_29_3')
check_pkg ('libsoup-2.4', '2.29.91', False, var='LIBSOUP_2_29_91')
+ conf.define ('LIBSOUP_VERSION', conf.check_cfg (modversion='libsoup-2.4'))
check_pkg ('libxml-2.0', '2.6')
check_pkg ('sqlite3', '3.0', True, var='SQLITE')
More information about the Xfce4-commits
mailing list