openbsd-ports/x11/gnome/scan/patches/patch-lib_gnome-scan-processor-common_c
ajacoutot cefb2c2eaf Import gnome-scan-0.6
The GNOME Scan project aims to provide scanning features integrated
throughout the GNOME desktop, similar to printing.  The GNOME Scan
project consists of a C/GObject library upon which are built standalone
applications and plugins for various programs.
The application and plugins are called flegita.


Note:
gnome-scan is still in its early stage. It is not a drop-in
replacement for xsane or alikes (yet); it more suited for for mass
acquisition and ADF scanners.
There's an issue with image enhancement which is being worked on
upstream and the gsane backend may not give good results on all
scanners.

ok jasper@
2008-04-14 12:38:02 +00:00

19 lines
977 B
Plaintext

$OpenBSD: patch-lib_gnome-scan-processor-common_c,v 1.1.1.1 2008/04/14 12:38:02 ajacoutot Exp $
--- lib/gnome-scan-processor-common.c.orig Sun Apr 13 15:33:45 2008
+++ lib/gnome-scan-processor-common.c Sun Apr 13 15:34:52 2008
@@ -67,12 +67,13 @@ gnome_scan_processor_common_init (GnomeScanProcessorCo
gs_param_spec_set_widget_type(pspec, GNOME_TYPE_SCAN_PREVIEW_PLUGIN_ROTATION);
gnome_scan_plugin_params_add (GNOME_SCAN_PLUGIN (object), pspec);
+ /* disabled by default as this is very CPU intensive */
pspec = gs_param_spec_boolean ("enhance", N_("Automatic color enhancement"),
N_("Color enhancement produces better "
"photos, but takes more time to process "
"and can be useless for text."),
GS_PARAM_GROUP_PROCESSING_COMMON,
- TRUE,
+ FALSE,
G_PARAM_WRITABLE);
gs_param_spec_set_domain (pspec, GETTEXT_PACKAGE);
gnome_scan_plugin_params_add (GNOME_SCAN_PLUGIN (object), pspec);