summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-16 10:20:58 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-07-16 10:20:58 +0200
commit0d9b56ff5bbc3b263bb24d60a5d53e09e2785532 (patch)
treebe9cd87ce9f41713ed2710b9b424861155a43f33 /README.md
parent6c629d45711b613257d30e8d5a1527003d9c3f1f (diff)
parent657d8b8812f16b2c377e5b77ff2ffcc4046a7dce (diff)
Updated version 3.25.1 from 'upstream/3.25.1'
with Debian dir 8914d0848d9107f42ab3763c541ef1480cee0f27
Diffstat (limited to 'README.md')
-rw-r--r--README.md42
1 files changed, 12 insertions, 30 deletions
diff --git a/README.md b/README.md
index 416f0f7..7609fc1 100644
--- a/README.md
+++ b/README.md
@@ -10,41 +10,25 @@ https://launchpad.net/simple-scan
## BUILDING
-Unfortunatly Simple Scan is a little bit picky about dependencies when building.
-The latest version of Simple Scan is primarily developed on
-
-* Ubuntu 12.04 LTS
-
-and know to successfully build using the following commands:
-
+Install the dependencies (on Ubuntu/Debian):
```
-sudo apt-get install bzr
-bzr branch lp:simple-scan simple-scan && cd simple-scan
-sudo apt-get build-dep simple-scan
-sudo apt-get install libsqlite3-dev
-sudo apt-get install valac-0.22 vala-0.22
-sudo update-alternatives --config valac # select vala-0.22
-
-# one of the follwing
-./autogen.sh # system-wide installation
-./autogen.sh --prefix=`pwd`/install # for development purposes
-
-make
-make install
-./install/bin/simple-scan
+$ sudo apt install bzr meson valac libgtk-3-dev libgusb-dev libcolord-dev libpackagekit-glib2-dev libsane-dev gettext itstool
```
-Due to popular demand we have an experimental git mirror at
-https://github.com/mnagel/simple-scan
-You can clone from there should you prefer git over bzr.
-Please keep in mind that the sync bzr->git is done manually.
-
+Get the source:
+```
+$ bzr branch lp:simple-scan
+```
+Build locally with:
+```
+$ meson --prefix $PWD/install build/
+$ ninja -C build/ all install
+$ XDG_DATA_DIRS=install/share:$XDG_DATA_DIRS ./install/bin/simple-scan
+```
## DEBUGGING
-The following tips might be helpful when debugging.
-
There is a --debug command line switch to enable more verbose logging:
```
./install/bin/simple-scan --debug
@@ -65,8 +49,6 @@ When debugging hardware issues always check xsane and especially scanimage.
* http://xsane.org/
* http://www.sane-project.org/man/scanimage.1.html
-
-
## CONTRIBUTING
The preferred way to contribute code to Simple Scan is