Skip to content

Latest commit

 

History

History
109 lines (76 loc) · 2.9 KB

README.md

File metadata and controls

109 lines (76 loc) · 2.9 KB

SIMPLE SCAN

This is the source code to "Simple Scan" a simple GNOME scanning application, using the sane scanning libraries.

The Simple Scan homepage with further information is located at: 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:

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.16 vala-0.16
sudo update-alternatives --config valac # select vala-0.16

# one of the follwing
./autogen.sh                           # system-wide installation
./autogen.sh --prefix=`pwd`/install    # for development purposes

make
make install
./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

Log messages can also be found in the $HOME/.cache/simple-scan folder.

Simple Scan config goes to $HOME/.gconf/apps/simple-scan/%gconf.xml and that file is best edited with the gconf-editor tool.

If you don't have a scanner ready, you can use a virtual "test" scanner:

./install/bin/simple-scan --debug test

When debugging hardware issues always check xsane and especially scanimage.

CONTRIBUTING

The preferred way to contribute code to Simple Scan is to create a merge request on Launchpad.

If everything is set up correctly the following should work:

FEATURE="foobar"
LAUNCHPADID="name"
bzr branch lp:simple-scan simple-scan-$FEATURE && cd simple-scan-$FEATURE
bzr add .
bzr commit -m "add $FEATURE"
bzr push lp:~$LAUNCHPADID/simple-scan/$FEATURE
xdg-open "https://code.launchpad.net/~"

If this does not work for you, feel free to contact us via one of the channels listed below.

CONTACT

Websites

Mailing Lists

IRC

  • Freenode (irc.ubuntu.com): #simple-scan