[fractal.wiki] Create home



commit a4aa5b48e2c7e2f159b52b837b8f7a29cb0c5ddf
Author: Daniel Garcia Moreno <dani danigm net>
Date:   Tue Jul 7 07:21:35 2020 +0000

    Create home

 home.md | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
---
diff --git a/home.md b/home.md
new file mode 100644
index 0000000..cabd461
--- /dev/null
+++ b/home.md
@@ -0,0 +1,37 @@
+## How to build
+
+### Flatpak
+
+This is the recommended way to build and use. The easiest way is to just use 
[gnome-builder](https://wiki.gnome.org/Apps/Builder), just open the folder and click play and the app should 
start to build.
+
+If you want to build without builder you can use flatpak for that:
+
+```
+$ flatapk-builder --force-clean build flatpak/org.gnome.Fractal.json
+$ flatpak-builder --run build flatpak/org.gnome.Fractal.json fractal
+```
+
+### Fedora
+
+If you decide to ignore our recommendation and build on your host system,
+outside of Flatpak or snap, you will need Meson and Ninja (as well as Rust and Cargo).
+outside of Flatpak or snap, you will need Meson and Ninja (as well as Rust and Cargo). Also some
+crates requires to have the development packages in place to complete the build, therefore additional
+packages are required. For Fedora 32 this is the list of dependencies.
+
+```sh
+$ dnf install -y rust cargo meson make gtk3-devel gspell-devel openssl-devel gmp-devel \
+            gstreamer1-devel gstreamer1-plugins-base-tools \
+            gstreamer1-plugins-base-devel \
+            gstreamer1-plugins-good gstreamer1-plugins-good-extras \
+            gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free-devel \
+            gstreamer1-plugins-bad-free-extras
+```
+
+Now the build process can continue with:
+
+```sh
+$ meson _build --prefix=/usr/local
+$ ninja -C _build
+$ ninja -C _build install
+```
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]