patch (Closes: #525991)
* New Upstream Version
* refresh patches
+ * change the default-homepage patch to use the files in debian/config/
+ to set the default homepage based on whether it's debian, ubuntu,
+ etc (second half of ubuntu diff)
- -- Ryan Niebur <ryanryan52@gmail.com> Thu, 28 May 2009 23:16:32 -0700
+ -- Ryan Niebur <ryanryan52@gmail.com> Thu, 28 May 2009 23:28:24 -0700
midori (0.1.6-1) experimental; urgency=low
--- /dev/null
+midori/midori-debian.h
--- /dev/null
+#define DEBIAN_DISTRO_DEFAULT_HOMEPAGE "file:///usr/share/doc/midori/user/midori.html"
--- /dev/null
+#define DEBIAN_DISTRO_DEFAULT_HOMEPAGE "file:///usr/share/ubuntu-artwork/home/index.html"
Build-Depends:
debhelper (>= 7.0.50),
quilt (>= 0.46-7),
+ lsb-release,
libgtk2.0-dev (>= 2.10),
libglib2.0-dev,
libwebkit-dev (>= 1.1),
--- a/midori/midori-websettings.c
+++ b/midori/midori-websettings.c
-@@ -558,7 +558,7 @@
+@@ -10,6 +10,7 @@
+ */
+
+ #include "midori-websettings.h"
++#include "midori-debian.h"
+
+ #include "sokoke.h"
+
+@@ -558,7 +559,7 @@
"homepage",
_("Homepage"),
_("The homepage"),
- "http://www.google.com",
-+ "file:///usr/share/doc/midori/user/midori.html",
++ DEBIAN_DISTRO_DEFAULT_HOMEPAGE,
flags));
/**
%:
dh --with quilt $@
+override_dh_quilt_patch:
+ ln -sf ../debian/config/$(shell lsb_release -is).h midori/midori-debian.h
+ test -e midori/midori-debian.h
+ dh_quilt_patch
+
override_dh_auto_clean:
./waf --nocache distclean
rm -rf _build_