From: Nil Gradisnik Date: Tue, 10 Apr 2018 04:58:37 +0000 (-0700) Subject: Add build from source instructions X-Git-Url: https://git.ozva.co.uk/?a=commitdiff_plain;h=cc1506edb9847be169c826e2f457de47a4fe2109;p=gn-editor Add build from source instructions --- diff --git a/README.md b/README.md index d5816d1..7cf35f6 100644 --- a/README.md +++ b/README.md @@ -10,12 +10,20 @@ There seem to be no simple, fast Markdown editors on Linux. > Inspired by [uberwriter](http://uberwriter.wolfvollprecht.de/). -## Development +## Build from source -Build: +This project depends on [gtk-rs](http://gtk-rs.org/docs-src/requirements.html), [sourceview](https://github.com/gtk-rs/sourceview) and [webkit2gtk](https://github.com/gtk-rs/webkit2gtk-rs). - cargo build +- Ubuntu -Run: + sudo apt install libgtksourceview-3.0-dev libwebkit2gtk-4.0-dev + + +- Fedora + + sudo dnf install gtksourceview3-devel webkitgtk4-devel + + +Build and run cargo run