various: upstream of patches from Ubuntu and Fedora.

I think this probably captures the bulk of patches from various distros.
merge-requests/27/head
Ralph Little 2025-06-06 12:45:01 -07:00
rodzic 3322b8221a
commit bde5bf2ae6
4 zmienionych plików z 10 dodań i 15 usunięć

Wyświetl plik

@ -224,7 +224,7 @@ invoke
via a command-line of the form: via a command-line of the form:
.PP .PP
.RS .RS
scanadf --help --device scanadf \-\-help \-\-device
.I dev .I dev
.RE .RE
.PP .PP
@ -273,13 +273,13 @@ work at this time are:
- Bell+Howell Copiscan II series scanners. - Bell+Howell Copiscan II series scanners.
.br .br
.B sane-hp .B sane-hp
- Hewlett Packard scanners. The --source=ADF option must be specified (earlier - Hewlett Packard scanners. The \-\-source=ADF option must be specified (earlier
versions of the backend used the options --scantype=ADF versions of the backend used the options \-\-scantype=ADF
or --scan-from-adf option, instead). or \-\-scan-from-adf option, instead).
.br .br
.B sane-umax .B sane-umax
- UMAX scanners. Support exists in build 12 and later. - UMAX scanners. Support exists in build 12 and later.
The --source="Automatic Document Feeder" option must be specified. The \-\-source="Automatic Document Feeder" option must be specified.
.br .br
.RE .RE

Wyświetl plik

@ -15,7 +15,7 @@ xscanimage \- scan an image
.B xscanimage .B xscanimage
provides a graphical user-interface to control an image provides a graphical user-interface to control an image
acquisition device such as a flatbed scanner or a camera. It allows acquisition device such as a flatbed scanner or a camera. It allows
previewing and scanning invidual images and can be invoked either previewing and scanning individual images and can be invoked either
directly from the command-line or through The GIMP image manipulation directly from the command-line or through The GIMP image manipulation
program. In the former case, program. In the former case,
.B xscanimage .B xscanimage
@ -45,11 +45,11 @@ simply copy it to one of the
plug-ins directories. If you want to conserve disk-space, you can plug-ins directories. If you want to conserve disk-space, you can
create a symlink instead. For example, for gimp-1.0.x the command create a symlink instead. For example, for gimp-1.0.x the command
.PP .PP
ln -s @BINDIR@/xscanimage ~/.gimp/plug-ins/ ln \-s @BINDIR@/xscanimage ~/.gimp/plug-ins/
.PP .PP
and for gimp-1.2.x the command and for gimp-1.2.x the command
.PP .PP
ln -s @BINDIR@/xscanimage ~/.gimp-1.2/plug-ins/ ln \-s @BINDIR@/xscanimage ~/.gimp-1.2/plug-ins/
.PP .PP
adds a symlink for the adds a symlink for the
.B xscanimage .B xscanimage

Wyświetl plik

@ -1502,12 +1502,7 @@ gsg_set_sensitivity (GSGDialog * dialog, int sensitive)
if (!SANE_OPTION_IS_ACTIVE (opt->cap) if (!SANE_OPTION_IS_ACTIVE (opt->cap)
|| opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget) || opt->type == SANE_TYPE_GROUP || !dialog->element[i].widget)
continue; continue;
#ifdef SANE_CAP_ALWAYS_SETTABLE
if (!(opt->cap & SANE_CAP_ALWAYS_SETTABLE))
gtk_widget_set_sensitive (dialog->element[i].widget, sensitive); gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
#else
gtk_widget_set_sensitive (dialog->element[i].widget, sensitive);
#endif
} }
} }

Wyświetl plik

@ -329,7 +329,7 @@ query (void)
_("Andy Beck, Tristan Tarrant, and David Mosberger"), _("Andy Beck, Tristan Tarrant, and David Mosberger"),
_("8th June 1997"), _("8th June 1997"),
_("<Toolbox>/File/Acquire/xscanimage/Device dialog..."), _("<Toolbox>/File/Acquire/xscanimage/Device dialog..."),
_("RGB, GRAY"), NULL,
GIMP_EXTENSION, GIMP_EXTENSION,
nargs, nreturn_vals, args, return_vals); nargs, nreturn_vals, args, return_vals);
@ -374,7 +374,7 @@ query (void)
"interface."), "interface."),
_("Andy Beck, Tristan Tarrant, and David Mosberger"), _("Andy Beck, Tristan Tarrant, and David Mosberger"),
_("Andy Beck, Tristan Tarrant, and David Mosberger"), _("Andy Beck, Tristan Tarrant, and David Mosberger"),
_("8th June 1997"), mpath, _("RGB, GRAY"), GIMP_EXTENSION, _("8th June 1997"), mpath, NULL, GIMP_EXTENSION,
nargs, nreturn_vals, args, return_vals); nargs, nreturn_vals, args, return_vals);
} }
sane_exit (); sane_exit ();