diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2021-08-21 10:58:21 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2021-08-21 10:58:21 +0200 |
commit | 11c0cfbd587f1f07c797ac506e1b0cac63cfd2c7 (patch) | |
tree | 3953a15b915d41a87f5d586c968b3ef22c50deb1 /README.md | |
parent | c502fe7b056b00189313cdf1d7494ecf150acd52 (diff) | |
parent | 383626437ca8f9d26518408719b5d778e696eecd (diff) |
Update upstream source from tag 'upstream/40.1'
Update to upstream version '40.1'
with Debian dir c17505f9670c12d3b8774b06e0aa025eaae21458
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 23 |
1 files changed, 19 insertions, 4 deletions
@@ -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: |