]> spindle.queued.net Git - midori/commitdiff
fix libsoup detection
authorYves-Alexis Perez <corsac@debian.org>
Tue, 17 Apr 2012 21:07:00 +0000 (23:07 +0200)
committerYves-Alexis Perez <corsac@debian.org>
Tue, 17 Apr 2012 21:07:00 +0000 (23:07 +0200)
debian/changelog
debian/patches/fix-libsoup-detect.patch [new file with mode: 0644]
debian/patches/series

index 31e3d2d32cd713828e3cb7c45427cdc66828bae9..8e1ce44fa97d5fe3d5898d99aa1f46cc30551ab2 100644 (file)
@@ -1,4 +1,4 @@
-midori (0.4.4-1) unstable; urgency=low
+midori (0.4.5-1) UNRELEASED; urgency=low
 
   * New upstream release.
   * Apply patch from Colin Watson to improve conffile handling, using new
@@ -8,6 +8,8 @@ midori (0.4.4-1) unstable; urgency=low
   * debian/midori.maintscript:
     - handle the /etc/xdg/midori/extensions/libadblock.so removal there.
                                                                 closes: #660303
+  * debian/patches:
+    - fix-libsoup detection added.
 
  -- Yves-Alexis Perez <corsac@debian.org>  Sat, 14 Apr 2012 14:47:59 +0200
 
diff --git a/debian/patches/fix-libsoup-detect.patch b/debian/patches/fix-libsoup-detect.patch
new file mode 100644 (file)
index 0000000..c1fcd1b
--- /dev/null
@@ -0,0 +1,19 @@
+diff --git a/wscript b/wscript
+index db74324..c7a0c87 100644
+--- a/wscript
++++ b/wscript
+@@ -260,11 +260,11 @@ def configure (conf):
+     check_pkg ('libsoup-2.4', '2.27.90')
+     conf.define ('LIBSOUP_VERSION', conf.check_cfg (modversion='libsoup-2.4'))
+     if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 3):
+-        conf.define ('LIBSOUP_2_29_3', 1)
++        conf.define ('HAVE_LIBSOUP_2_29_3', 1)
+     if check_version (conf.env['LIBSOUP_VERSION'], 2, 29, 91):
+-        conf.define ('LIBSOUP_2_29_91', 1)
++        conf.define ('HAVE_LIBSOUP_2_29_91', 1)
+     if check_version (conf.env['LIBSOUP_VERSION'], 2, 37, 1):
+-        conf.define ('LIBSOUP_2_37_1', 1)
++        conf.define ('HAVE_LIBSOUP_2_37_1', 1)
+     check_pkg ('libxml-2.0', '2.6')
+     check_pkg ('sqlite3', '3.0', True, var='SQLITE')
index 5367257f30a59fcc1e88dd37ed150700a839a778..6b5507a5e1532d40fb2addd3442613605c6640f8 100644 (file)
@@ -1 +1,2 @@
 add-debian-searches
+fix-libsoup-detect.patch