44 lines
2.0 KiB
Diff
44 lines
2.0 KiB
Diff
Adds and enables some Debian and Ubuntu related webjumps which should
|
|
not be inlcuded in upstream by default.
|
|
|
|
Index: conkeror/modules/debian/debian-webjumps.js
|
|
===================================================================
|
|
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
|
|
+++ conkeror/modules/debian/debian-webjumps.js 2010-09-29 07:55:36.000000000 +0200
|
|
@@ -0,0 +1,29 @@
|
|
+/**
|
|
+ * (C) Copyright 2008-2010 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");
|
|
+define_webjump("debpopcon", "http://qa.debian.org/popcon.php?package=%s");
|
|
+define_webjump("buildd", "https://buildd.debian.org/%s");
|
|
+define_webjump("buildd-ports", "http://buildd.debian-ports.org/%s");
|
|
+define_webjump("debqa", "http://qa.debian.org/developer.php?login=%s");
|
|
+define_webjump("debpopcon", "http://qa.debian.org/popcon.php?package=%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://bugs.launchpad.net/ubuntu/+source/%s");
|
|
+define_webjump("launchpad", "https://launchpad.net/+search?field.text=%s");
|
|
+
|
|
+provide("debian-webjumps");
|
|
Index: conkeror/defaults/preferences/debian-default-modules.js
|
|
===================================================================
|
|
--- conkeror.orig/defaults/preferences/debian-default-modules.js 2010-09-28 01:47:21.000000000 +0200
|
|
+++ conkeror/defaults/preferences/debian-default-modules.js 2010-09-29 07:57:40.000000000 +0200
|
|
@@ -0,0 +1,1 @@
|
|
+pref("conkeror.load.debian/debian-webjumps", 1);
|