Commit Graph

15 Commits

Author SHA1 Message Date
Tobias Geerinckx-Rice 6845ab5204
gnu: Import (gnu packages image) in (gnu packages scanner).
This is a follow-up to commit 10bd2889d2.

* gnu/packages/scanner.scm: #:use-module (gnu packages image).
2019-03-10 17:12:16 +01:00
Tobias Geerinckx-Rice 10bd2889d2
gnu: sane-backends: Support PNG scanimage output.
* gnu/packages/scanner.scm (sane-backends)[inputs]: Add libpng.
2019-03-10 16:33:55 +01:00
Tobias Geerinckx-Rice abe6e670d3
gnu: sane-backends-minimal: Fix USB support.
* gnu/packages/scanner.scm (sane-backends-minimal)[inputs]: Replace
libusb-compat with libusb.
[arguments]: Disable tests that require USB access.
2019-03-07 02:13:26 +01:00
Efraim Flashner 8e1895964f
gnu: Add hplip-minimal.
* gnu/packages/cups.scm (hplip-minimal): New variable.
* gnu/packages/scanner.scm (sane-backends)[inputs]: Replace hplip with
hplip-minimal.
* doc/guix.texi (Printing Services): Change example code to use
hplip-minimal in place of hplip. Add note explaining when use hplip.
2018-07-25 11:52:59 +03:00
Mark H Weaver 372947725a
gnu: sane-backends-minimal: Return #t from all phases.
* gnu/packages/scanner.scm (sane-backends-minimal)[arguments]: Return #t from
the 'install-udev-rules' phase.
2018-04-12 04:02:40 -04:00
Mark H Weaver 6cbee49d66
gnu: All snippets report errors using exceptions, else return #t.
* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm,
gnu/packages/backup.scm, gnu/packages/base.scm,
gnu/packages/bioinformatics.scm, gnu/packages/cdrom.scm,
gnu/packages/chez.scm, gnu/packages/code.scm, gnu/packages/compression.scm,
gnu/packages/cross-base.scm, gnu/packages/crypto.scm, gnu/packages/cups.scm,
gnu/packages/databases.scm, gnu/packages/dns.scm, gnu/packages/emacs.scm,
gnu/packages/emulators.scm, gnu/packages/engineering.scm,
gnu/packages/enlightenment.scm, gnu/packages/fpga.scm,
gnu/packages/freedesktop.scm, gnu/packages/ftp.scm, gnu/packages/games.scm,
gnu/packages/gcc.scm, gnu/packages/geo.scm, gnu/packages/ghostscript.scm,
gnu/packages/gl.scm, gnu/packages/glib.scm, gnu/packages/gnome.scm,
gnu/packages/gnuzilla.scm, gnu/packages/graphics.scm, gnu/packages/gtk.scm,
gnu/packages/guile.scm, gnu/packages/irc.scm, gnu/packages/java.scm,
gnu/packages/kerberos.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm,
gnu/packages/lxde.scm, gnu/packages/machine-learning.scm,
gnu/packages/mail.scm, gnu/packages/maths.scm, gnu/packages/messaging.scm,
gnu/packages/monitoring.scm, gnu/packages/mp3.scm, gnu/packages/music.scm,
gnu/packages/netpbm.scm, gnu/packages/networking.scm, gnu/packages/node.scm,
gnu/packages/nvi.scm, gnu/packages/ocaml.scm, gnu/packages/pdf.scm,
gnu/packages/perl.scm, gnu/packages/php.scm, gnu/packages/plotutils.scm,
gnu/packages/pretty-print.scm, gnu/packages/profiling.scm,
gnu/packages/pulseaudio.scm, gnu/packages/python-crypto.scm,
gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/robotics.scm,
gnu/packages/sawfish.scm, gnu/packages/scanner.scm, gnu/packages/scheme.scm,
gnu/packages/scribus.scm, gnu/packages/sdl.scm,
gnu/packages/serialization.scm, gnu/packages/shells.scm,
gnu/packages/slang.scm, gnu/packages/smalltalk.scm, gnu/packages/ssh.scm,
gnu/packages/sync.scm, gnu/packages/syncthing.scm, gnu/packages/tbb.scm,
gnu/packages/terminals.scm, gnu/packages/texinfo.scm,
gnu/packages/text-editors.scm, gnu/packages/textutils.scm,
gnu/packages/tls.scm, gnu/packages/unrtf.scm,
gnu/packages/version-control.scm, gnu/packages/video.scm,
gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wm.scm,
gnu/packages/wxwidgets.scm, gnu/packages/xdisorg.scm, gnu/packages/xorg.scm:
In all snippets, report errors using exceptions, or else return #t.
2018-03-16 09:08:31 -04:00
Tobias Geerinckx-Rice 4ed390a0e7
gnu: sane-backends-minimal: Run most tests.
* gnu/packages/scanner.scm (sane-backends-minimal)[arguments]: Add a
‘disable-failing-tests’ phase to do just that, and run the rest.
2017-05-24 22:54:39 +02:00
Tobias Geerinckx-Rice 4febd4b0f4
gnu: sane-backends-minimal, sane-backends: Update to 1.0.27.
* gnu/packages/scanner.scm (sane-backends-minimal): Update to 1.0.27.
[source]: Use (what should be) a more stable download URI.
2017-05-24 22:54:39 +02:00
Ludovic Courtès a32d0c8304
gnu: sane-backends: Remove timestamps from the output.
* gnu/packages/scanner.scm (sane-backends-minimal)[source](modules, snippet):
New fields.
2016-12-17 23:13:05 +01:00
Andy Patterson 4c92874328
gnu: Add and use sane-backends.
* gnu/packages/scanner.scm (sane-backends): New variable.
* gnu/packages/gnome.scm (colord, simple-scan): Use it instead of
'sane-backends-minimal'.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/wine.scm (wine): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-17 23:13:05 +01:00
Andy Patterson 32aa37a2e7
gnu: Add and use sane-backends-minimal.
* gnu/packages/scanner.scm (sane-backends): Rename to...
(sane-backends-minimal): this. Adjust name, source, synopsis and
description accordingly.
* gnu/packages/cups.scm (hplip): Use 'sane-backends-minimal' instead of
'sane-backends'.
* gnu/packages/gnome.scm (colord, simple-scan): Likewise.
* gnu/packages/libreoffice.scm (libreoffice): Likewise.
* gnu/packages/wine.scm (wine): Likewise.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-17 23:13:04 +01:00
Andy Patterson 33a14e29f9
gnu: sane-backends: Disable backend generation.
* gnu/packages/scanner.scm (sane-backends)[arguments]: Add a phase to
disable the compilation of backends.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2016-12-17 23:13:04 +01:00
Al McElrath d976eccd26
gnu: sane-backends: Update to 1.0.25.
* gnu/packages/scanner.scm (sane-backends): Update to 1.0.25.

Signed-off-by: Leo Famulari <leo@famulari.name>
2016-10-09 17:50:28 -04:00
Andy Wingo 3b71b36c08 gnu: sane-backends: Support USB scanners.
* gnu/packages/scanner.scm (sane-backends): Build with libusb-compat as an
  input and install a udev rule to give users access to scanners.

Modified-By: Mark H Weaver <mhw@netris.org>
2015-08-08 14:09:56 -04:00
John Darrington 45c151d9b4 gnu: Add sane-backends
* gnu/packages/scanner.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-10-20 18:13:36 +02:00