summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2021-08-21 10:58:17 +0200
committerJörg Frings-Fürst <debian@jff.email>2021-08-21 10:58:17 +0200
commit383626437ca8f9d26518408719b5d778e696eecd (patch)
tree31c1e0bc563aa3705771e54e8514c03af5fe330d /README.md
parentefe8a90877a031270375c1f2c0f1823560d85100 (diff)
New upstream version 40.1upstream/40.1
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 19 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3d96f55..7b6e8ee 100644
--- a/README.md
+++ b/README.md
@@ -7,23 +7,38 @@
It allows you to capture images using [image scanners](https://en.wikipedia.org/wiki/Image_scanner)
(e.g. flatbed scanners) that have suitable [SANE drivers](http://sane-project.org/) installed.
-# Building from source
+# Building the flatpak with GNOME Builder
+
+It is recommended to use the development flatpak for developing this application.
+That way you won't have to download all dependencies yourself and it'll be consistent between all distros.
+
+1. Download [GNOME Builder](https://flathub.org/apps/details/org.gnome.Builder)
+2. Click the `Clone Repository` button in Builder and use https://gitlab.gnome.org/GNOME/simple-scan.git as the URL.
+3. Click the Run button in the headerbar
+
+Note that this flatpak requires access to all devices (--device=all), and so isn't made for general use.
+For this reason and until a more suitable solution is found to interact with a host `saned`, please don't
+try to publish it on Flathub.
+
+# Building manually from source
Install the dependencies
For Ubuntu/Debian:
```
-$ sudo apt install git meson valac libgtk-3-dev libgusb-dev libcolord-dev libpackagekit-glib2-dev libwebp-dev libsane-dev gettext itstool
+$ sudo apt install -y meson valac gcc gettext itstool gobject-introspection libfribidi-dev libgirepository1.0-dev libgtk-3-dev libgusb-dev libcolord-dev libpackagekit-glib2-dev libwebp-dev libsane-dev git ca-certificates
+
```
For Fedora:
```
-$ sudo dnf install -y meson vala gettext itstool gtk3-devel libgusb-devel colord-devel PackageKit-glib-devel libwebp-devel sane-backends-devel
+$ sudo dnf install -y meson vala gettext itstool fribidi-devel gtk3-devel gobject-introspection-devel libgusb-devel colord-devel PackageKit-glib-devel libwebp-devel sane-backends-devel git
```
For Arch Linux:
```
-sudo pacman -S meson vala gettext itstool gtk3 libusb colord libpackagekit-glib libwebp sane
+sudo pacman -S meson vala gettext itstool fribidi gtk3 gobject-introspection libgusb colord libwebp sane git
+
```
Get the source: