mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 20:55:46 +01:00
Fix make_jar.sh; add missing components.
This commit is contained in:
@@ -16,8 +16,9 @@ mkdir -p $stage
|
|||||||
if hg root >/dev/null 2>&1
|
if hg root >/dev/null 2>&1
|
||||||
then
|
then
|
||||||
root="$(hg root)"; mf="$(hg mf)"
|
root="$(hg root)"; mf="$(hg mf)"
|
||||||
|
find=$(which find)
|
||||||
find() {
|
find() {
|
||||||
set -x
|
$find "$@" -name '*.jar'
|
||||||
echo "$mf" | sed -n "s!$(pwd | sed "s!$root/\?!!")/\?!!p" |
|
echo "$mf" | sed -n "s!$(pwd | sed "s!$root/\?!!")/\?!!p" |
|
||||||
grep "^$1"
|
grep "^$1"
|
||||||
}
|
}
|
||||||
|
|||||||
32
pentadactyl/components/dactyl.js
Normal file
32
pentadactyl/components/dactyl.js
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
// Copyright (c) 2008-2010 Kris Maglione <maglione.k at Gmail>
|
||||||
|
//
|
||||||
|
// This work is licensed for reuse under an MIT license. Details are
|
||||||
|
// given in the LICENSE.txt file included with this file.
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
const Ci = Components.interfaces, Cc = Components.classes;
|
||||||
|
|
||||||
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
|
function Dactyl() {
|
||||||
|
this.wrappedJSObject = this;
|
||||||
|
}
|
||||||
|
Dactyl.prototype = {
|
||||||
|
contractID: "@dactyl.googlecode.com/base/dactyl",
|
||||||
|
classID: Components.ID("{8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}"),
|
||||||
|
|
||||||
|
classDescription: "Dactyl component base definitions",
|
||||||
|
QueryInterface: XPCOMUtils.generateQI([]),
|
||||||
|
|
||||||
|
appname: "Pentadactyl",
|
||||||
|
name: "pentadactyl",
|
||||||
|
idname: "PENTADACTYL",
|
||||||
|
host: "Firefox"
|
||||||
|
};
|
||||||
|
|
||||||
|
if (XPCOMUtils.generateNSGetFactory)
|
||||||
|
const NSGetFactory = XPCOMUtils.generateNSGetFactory([Dactyl]);
|
||||||
|
else
|
||||||
|
const NSGetModule = XPCOMUtils.generateNSGetModule([Dactyl]);
|
||||||
|
|
||||||
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
32
teledactyl/components/dactyl.js
Normal file
32
teledactyl/components/dactyl.js
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
// Copyright (c) 2008-2010 Kris Maglione <maglione.k at Gmail>
|
||||||
|
//
|
||||||
|
// This work is licensed for reuse under an MIT license. Details are
|
||||||
|
// given in the LICENSE.txt file included with this file.
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
const Ci = Components.interfaces, Cc = Components.classes;
|
||||||
|
|
||||||
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
|
function Dactyl() {
|
||||||
|
this.wrappedJSObject = this;
|
||||||
|
}
|
||||||
|
Dactyl.prototype = {
|
||||||
|
contractID: "@dactyl.googlecode.com/base/dactyl",
|
||||||
|
classID: Components.ID("{8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}"),
|
||||||
|
|
||||||
|
classDescription: "Dactyl component base definitions",
|
||||||
|
QueryInterface: XPCOMUtils.generateQI([]),
|
||||||
|
|
||||||
|
appname: "Teledactyl",
|
||||||
|
name: "teledactyl",
|
||||||
|
idname: "TELEDACTYL",
|
||||||
|
host: "Thunderbird"
|
||||||
|
};
|
||||||
|
|
||||||
|
if (XPCOMUtils.generateNSGetFactory)
|
||||||
|
const NSGetFactory = XPCOMUtils.generateNSGetFactory([Dactyl]);
|
||||||
|
else
|
||||||
|
const NSGetModule = XPCOMUtils.generateNSGetModule([Dactyl]);
|
||||||
|
|
||||||
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
32
xulmus/components/dactyl.js
Normal file
32
xulmus/components/dactyl.js
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
// Copyright (c) 2008-2010 Kris Maglione <maglione.k at Gmail>
|
||||||
|
//
|
||||||
|
// This work is licensed for reuse under an MIT license. Details are
|
||||||
|
// given in the LICENSE.txt file included with this file.
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
const Ci = Components.interfaces, Cc = Components.classes;
|
||||||
|
|
||||||
|
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
|
||||||
|
|
||||||
|
function Dactyl() {
|
||||||
|
this.wrappedJSObject = this;
|
||||||
|
}
|
||||||
|
Dactyl.prototype = {
|
||||||
|
contractID: "@dactyl.googlecode.com/base/dactyl",
|
||||||
|
classID: Components.ID("{8e4a8e2f-95a0-4d8f-90ac-fc9d7d8f5468}"),
|
||||||
|
|
||||||
|
classDescription: "Dactyl component base definitions",
|
||||||
|
QueryInterface: XPCOMUtils.generateQI([]),
|
||||||
|
|
||||||
|
appname: "Xulmus",
|
||||||
|
name: "xulmus",
|
||||||
|
idname: "XULMUS",
|
||||||
|
host: "Songbird"
|
||||||
|
};
|
||||||
|
|
||||||
|
if (XPCOMUtils.generateNSGetFactory)
|
||||||
|
const NSGetFactory = XPCOMUtils.generateNSGetFactory([Dactyl]);
|
||||||
|
else
|
||||||
|
const NSGetModule = XPCOMUtils.generateNSGetModule([Dactyl]);
|
||||||
|
|
||||||
|
// vim: set fdm=marker sw=4 ts=4 et:
|
||||||
Reference in New Issue
Block a user