From c8735d93d0545f524a7fc997796a06ca891b29f5 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Thu, 24 Sep 2009 02:36:22 +0200 Subject: [PATCH] Add some Debian + Ubuntu webjumps to the .deb package The following webjumps are now included and enabled by default in the Debian package of conkeror: debpkg, debfile, debbugs, debpts, ubuntupkg, ubuntufile, ubuntubugs, and launchpad --- debian/changelog | 4 +++- debian/patches/deb-webjumps.diff | 38 ++++++++++++++++++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 debian/patches/deb-webjumps.diff diff --git a/debian/changelog b/debian/changelog index 4591efa..a95b290 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,8 +12,10 @@ conkeror (0.9.1-1) UNRELEASED; urgency=low * Do not include the whole contrib subdirectory in the binary package. (Closes: #547896) Only include the xrev debugging tool for now. + * A few Debian and Ubuntu webjumps have been added and enabled by + default. (Closes: #547908) - -- Axel Beckert Thu, 24 Sep 2009 01:21:14 +0200 + -- Axel Beckert Thu, 24 Sep 2009 02:35:02 +0200 conkeror (0.9~git090624-1) unstable; urgency=low diff --git a/debian/patches/deb-webjumps.diff b/debian/patches/deb-webjumps.diff new file mode 100644 index 0000000..c5066c4 --- /dev/null +++ b/debian/patches/deb-webjumps.diff @@ -0,0 +1,38 @@ +Index: conkeror-0.9.1/modules/debian/webjumps.js +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ conkeror-0.9.1/modules/debian/webjumps.js 2009-09-24 02:16:50.000000000 +0200 +@@ -0,0 +1,22 @@ ++/** ++ * (C) Copyright 2008-2009 Axel Beckert ++ * ++ * Use, modification, and distribution are subject to the terms specified in the ++ * COPYING file. ++ * ++ * Webjumps to interact with Debian and Ubuntu websites ++**/ ++ ++require("webjump.js"); ++ ++// Debian // ++define_webjump("debpkg", "http://packages.debian.org/%s"); ++define_webjump("debfile", "http://packages.debian.org/?searchon=contents&keywords=%s&mode=path&suite=unstable&arch=any"); ++define_webjump("debbugs", "http://bugs.debian.org/%s"); ++define_webjump("debpts", "http://packages.qa.debian.org/%s"); ++ ++// Ubuntu // ++define_webjump("ubuntupkg", "http://packages.ubuntu.com/%s"); ++define_webjump("ubuntufile", "http://packages.ubuntu.com/search?searchon=contents&keywords=%s&mode=path&arch=any"); ++define_webjump("ubuntubugs", "http://launchpad.net/ubuntu/+source/%s"); ++define_webjump("launchpad", "https://launchpad.net/+search?field.text=%s"); +Index: conkeror-0.9.1/defaults/preferences/default-modules.js +=================================================================== +--- conkeror-0.9.1.orig/defaults/preferences/default-modules.js 2009-09-24 02:17:21.000000000 +0200 ++++ conkeror-0.9.1/defaults/preferences/default-modules.js 2009-09-24 02:17:48.000000000 +0200 +@@ -61,3 +61,6 @@ + pref("conkeror.load.page-modes/dailymotion", 1); + pref("conkeror.load.page-modes/gmail", 0); + pref("conkeror.load.page-modes/xkcd", 1); ++ ++// Debian modules ++pref("conkeror.load.debian/webjumps", 1); diff --git a/debian/patches/series b/debian/patches/series index 1dc4768..604de33 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ sensible-editor.diff +deb-webjumps.diff -- 2.11.4.GIT