forked from kylehuff/gpgauth-npapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
71 lines (44 loc) · 1.66 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Description
====================
gpgauth-npapi is an NPAPI plugin project that provides gpgAuth related Public Key/Private Key operations for use with gpgAuth client-side browser implementations.
This is a firebreath NPAPI plugin project, and this repository includes a submodule of FireBreath 1.4
Current Version: v1.0.3b
Building Dependencies
=====================
* cmake
* development headers and libraries for libgpgme and gpg-error
* gtk2.0-dev
Prep Build Environment
======================
From the root of this repository, do the following:
git submodule update --recursive --init
Next, type one of the following, depending on your OS:
Linux:
./firebreath/prepmake.sh . build
Windows:
For visual studio 2008:
firebreath\prep2008.cmd . build
For visual studio 2009:
firebreath\prep2009.cmd . build
For visual studio 2010:
firebreath\prep2010.cmd . build
Mac OSX:
firebreath/prepmac.sh . build
(or to specify i386: firebreath/prepmac.sh . build -DCMAKE_OSX_ARCHITECTURES=i386 -DCMAKE_BUILD_TYPE=MinSizeRel)
Build gpgAuth Plugin
====================
* cd ./build
Linux:
* make gpgAuthPlugin
Mac OSX:
xcodebuild -configuration MinSizeRel -target gpgAuthPlugin ARCHS="i386"
MS Windows:
cmake --build . --config MinSizeRel --target gpgAuthPlugin
Move/Copy the plugin file to someplace accessible by the browser/extension
====================
Under linux, you can find the compiled .so file under:
build/bin/gpgAuthPlugin/npgpgAuthPlugin.so
Under Windows you can find the compiled .dll file under:
build\bin\gpgAuthPlugin\MinSizeRel\npgpgAuthPlugin.dll
Under Mac OSX you can find the compiled .plugin file under:
build/projects/gpgAuthPlugin/MinSizeRel/gpgAuthPlugin.plugin