summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2018-08-02 11:59:43 +0200
committerRuben Pollan <meskio@sindominio.net>2018-08-02 11:59:43 +0200
commit9d01aa59d31adef5cbacff3158e1b93b922e73e6 (patch)
tree377ea3c8f1fa8c5f3ee4134fcfdec0ee2e760d31
parent42ed17e9302562e14169031ca2c1fc6eb1a49f3b (diff)
[doc] update readme to linux warnings and standalone
-rw-r--r--README.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md
index 17bad8e..0b5b8d0 100644
--- a/README.md
+++ b/README.md
@@ -33,6 +33,21 @@ Using homebrew:
```
+Linux
+----------
+Building the systray in linux will produce some `-Wdeprecated-declarations` warnings, like that:
+```
+cgo-gcc-prolog: In function ‘_cgo_3f9f61f961c9_Cfunc_gtk_font_button_get_font_name’:
+cgo-gcc-prolog:5455:2: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations]
+In file included from /usr/include/gtk-3.0/gtk/gtk.h:106:0,
+ from ../../../go/src/github.com/gotk3/gotk3/gtk/gtk.go:48:
+/usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here
+ const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button);
+ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+```
+They are expected and don't produce any problem on the systray.
+
+
Run it
-------------
bitmask-systray assumes that you already have bitmaskd running.
@@ -43,6 +58,18 @@ Run bitmask and the systray:
$ ./bitmask-systray
```
+Standalone
+-------------
+
+Is also posible to compile the systray to be standalone (don't depend on bitmask):
+```
+ $ go build -tags standalone
+```
+It still requires a helper and openvpn installed to work. For linux the helper is
+[bitmask-root](https://0xacab.org/leap/bitmask-dev/blob/master/src/leap/bitmask/vpn/helpers/linux/bitmask-root)
+for windows and OSX there is [a helper written in go](https://0xacab.org/leap/riseup_vpn/tree/master/helper).
+
+
i18n
----