-rw-r--r-- | src/plugin/README_plugin.txt | 9 | ||||
-rw-r--r-- | src/plugin/install.rdf | 19 | ||||
-rwxr-xr-x | src/plugin/make_xpi.sh | 22 | ||||
-rw-r--r-- | src/plugin/plugin.c | 199 | ||||
-rw-r--r-- | src/plugin/plugin.h | 29 | ||||
-rw-r--r-- | src/plugin/test.html | 17 |
6 files changed, 295 insertions, 0 deletions
diff --git a/src/plugin/make_xpi.sh b/src/plugin/make_xpi.sh new file mode 100755 index 0000000..cb206db --- a/dev/null +++ b/src/plugin/make_xpi.sh | |||
@@ -0,0 +1,22 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # This script creates a XPI file. | ||
4 | |||
5 | # The structure of an Installable Bundle is documented on-line at: | ||
6 | # https://developer.mozilla.org/en/Bundles. Note that Iceweasel | ||
7 | # 3.0.12 on Debian x86 is unable to find the library if gcc4 is used | ||
8 | # in place of gcc3 or if the library name is not truncated to .so. | ||
9 | # Also running from the GNOME taskbar does not include the DB2 | ||
10 | # run-time in the LD_LIBRARY_PATH which causes the library to fail to | ||
11 | # load with no errors reported. Running from a shell with the | ||
12 | # LD_LIBRARY_PATH set resolves this. DB2 run-time libraries should be | ||
13 | # statically linked however static verions are not including with DB2 | ||
14 | # v9.5 Express/C. | ||
15 | cp ../.libs/libflumapplugin.so.0.0.0 \ | ||
16 | platform/Linux_x86-gcc3/plugins/libflumapplugin.so | ||
17 | |||
18 | # ZIP is used make the extension as per the instructions at: | ||
19 | # https://developer.mozilla.org/en/Extension_Packaging | ||
20 | zip -r flumap.xpi \ | ||
21 | install.rdf \ | ||
22 | platform/* | ||