From cc1506edb9847be169c826e2f457de47a4fe2109 Mon Sep 17 00:00:00 2001 From: Nil Gradisnik Date: Mon, 9 Apr 2018 21:58:37 -0700 Subject: [PATCH] Add build from source instructions --- README.md | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 -- 2.39.2