Raf Czlonka
ce97560e56
Remove double quotes, use curly braces where appropriate, and fix
...
the $BUSNAME device node path
2020-03-25 20:15:37 +00:00
Raf Czlonka
6fed5be5f3
$BUSNAME is a full device path, not just the device node name
2020-03-25 20:12:53 +00:00
Raf Czlonka
2c9a411b12
Remove superfluous double quotes
...
Device nodes are always comprised of alphanumeric characters so
there's no need to quote them. That being said, where appropriate,
use curly braces if the variable doesn't terminate the string -
technically, this isn't necessary as the character which follows
is a dot ('.'), which isn't a legal character in variable names so
there's no ambiguity but it makes the variable "stand out" at the
very least.
2020-03-25 20:05:04 +00:00
Raf Czlonka
d24a5171c2
chown -> chmod
2020-03-25 20:03:41 +00:00
Raf Czlonka
6b1b071b77
Group commands and add conditionals
2020-03-25 03:02:56 +00:00
Raf Czlonka
0d0c03ab68
Change the owner as well as the group - missed earlier
2020-03-25 02:48:53 +00:00
Raf Czlonka
9687ff8aa0
Additionally to user:group, modes also need changing
2020-03-25 02:47:54 +00:00
Raf Czlonka
5a842d8dd6
Remove useless comments
2020-03-25 02:44:37 +00:00
Raf Czlonka
0b978ea742
Simplify - use test(1) and && instead of 'if ... then ... fi"
2020-03-25 02:25:50 +00:00
Raf Czlonka
a129b7767d
Incorporate hotplugd(8) patches from the OpenBSD port
...
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_attach?rev=1.3
https://cvsweb.openbsd.org/~checkout~/ports/graphics/sane-backends/patches/patch-tools_openbsd_detach?rev=1.2
While there, use "$()" instead of "``" for running commands in a
subshell (this is to match `attach` change commited earlier).
More whitespace fixes.
2020-03-25 02:07:05 +00:00
Raf Czlonka
61881417fa
Provide a working hotplugd(8) attach example
...
Current example not only doesn't work but also hard-codes `ugen0` device name.
Fix whitespace while there.
2020-03-25 01:59:59 +00:00
Olaf Meeuwissen
1f9590ab5a
Remove timestamps from sane-desc output. Re #228
2020-03-08 21:29:29 +09:00
Ralph Little
97dea94959
Revert "plustex: suppressed format truncated compiler warning."
...
This reverts commit cc7fbd35e535e22cd13cd58979921e0c01fb38b4
2019-12-19 12:14:16 +00:00
Olaf Meeuwissen
311b9ff5bf
Remove dependency on external resources during CI. Fixes #178
...
The update-upstreams.sh script is kept for the convenience of those who
want or need to use it. It has been slightly modified to provide more
feedback in case of error conditions.
2019-12-02 20:43:51 +09:00
Olaf Meeuwissen
e00d5462de
Fix libusb related [-Werror=deprecated-declarations] warnings
...
See http://libusb.sourceforge.net/api-1.0/group__libusb__lib.html
2019-09-28 17:46:22 +09:00
Olaf Meeuwissen
8f3b84f6f4
Adjust ChangeLog trailer comment to match Makefile.am comment
2019-08-26 21:53:09 +09:00
Olaf Meeuwissen
f37326784d
Merge branch 'ci-tweaks' into 'master'
...
CI tweaks
See merge request sane-project/backends!125
2019-08-12 09:16:37 +00:00
Olaf Meeuwissen
08bff060f8
CI: Fix make distclean target
...
Implicit compile dependencies prevent automake from adding dependency
tracking files to the list of files to clean up.
2019-08-11 17:20:47 +09:00
Olaf Meeuwissen
21bb96d61e
Merge branch 'fix-warnings' into 'master'
...
Fix -Wimplicit-fallthrough warnings
See merge request sane-project/backends!85
2019-08-11 01:48:16 +00:00
Olaf Meeuwissen
1be824f2c5
Merge branch 'sanei-usb-testing-mode' into 'master'
...
sanei: Support capture and replay of USB data for testing
See merge request sane-project/backends!55
2019-08-08 14:01:30 +00:00
Olaf Meeuwissen
85674f1213
doc: Update as per post-release instructions
2019-08-01 21:13:33 +09:00
Olaf Meeuwissen
7799a072b4
CI: Add a scripted release process
2019-07-30 22:40:11 +09:00
Povilas Kanapickas
e40596c2a5
Fix -Wimplicit-fallthrough warnings by adding standard annotations
2019-06-30 11:58:32 +03:00
Olaf Meeuwissen
1017d790b6
Always use the latest upstream config.{guess,sub} in source tarballs
...
This was one of the release tasks but we may as well find out as soon
as possible whether these break anything ;-)
2019-06-30 12:45:03 +09:00
Olaf Meeuwissen
b596f98879
Include an up-to-date ChangeLog with every build
2019-06-30 12:45:03 +09:00
Povilas Kanapickas
a88b6241cd
configure: Add option to enable USB record-replay
2019-06-16 20:46:39 +03:00
Povilas Kanapickas
3b2ecec808
style-check: Ignore patch files
2019-06-01 14:41:32 +03:00
Povilas Kanapickas
1c3e1aa184
autotools: Remove files generated by autotools from version control
2019-06-01 14:38:36 +03:00
Olaf Meeuwissen
be9736020f
autofoo: Sync generated files
...
The AX_CXX_COMPILE_STDCXX* macros that were embedded in aclocal.m4
have been replaced with the versions found in the autoconf-archive
package from Debian 9.
2019-05-21 22:14:46 +09:00
Povilas Kanapickas
9e3b5d6381
Update generated files
2019-05-11 00:03:26 +03:00
Povilas Kanapickas
2653cbaec7
Run autoreconf and automake
2019-03-20 23:09:07 +02:00
Simon J Mudd
37bbbed3cb
check-po.awk: Fix minor typos
2018-09-30 20:48:52 +02:00
Olaf Meeuwissen
c6bfe88c31
Update mailing lists addresses to new location
2018-04-18 21:36:00 +09:00
Olaf Meeuwissen
a78969384b
autotools: Sync derived files
...
This was done by running
libtoolize --copy
autoreconf --force --install
on Debian GNU/Linux 9.3.
2018-03-17 10:35:57 +09:00
Olaf Meeuwissen
9b0db823ed
Make absolute URLs in the sane-desc HTML output site-relative
2018-03-07 21:38:56 +09:00
Edward Betts
e895ee55be
sane-find-scanner: Recognize --help as a valid option
2017-12-05 22:07:26 +09:00
Olaf Meeuwissen
bdba3cc073
tools/umax_pp: Fix [-Wunused-variable] compiler warning
...
The file descriptor is only used in code conditionalised on the
HAVE_LINUX_PPDEV_H preprocessor define.
2017-07-18 20:50:28 +09:00
Olaf Meeuwissen
a06e9a4075
Script updating of upstream files
2017-06-12 20:53:53 +09:00
Olaf Meeuwissen
baec9c4e26
autofoo: Sync with configure.ac, Makefile.am changes
2017-06-07 22:50:56 +09:00
Olaf Meeuwissen
828f1a3949
style-check: skip directories, sanitize file names
...
When generating lists of files with `find`, directories may get output
if you try to prune paths and it has a habit of prefixing paths with a
leading `./`.
2017-06-02 21:13:34 +09:00
Olaf Meeuwissen
ba8e76d937
.editorconfig: add script to check and fix style issues
...
The various checks cover all settings in the `.editorconfig` file.
The `--fix` support, however, does not attempt to correct charset
issues because the encoding cannot be determined automatically.
Note that image files as well as generated files in the repository
are exempted from all style checks.
2017-05-31 21:34:59 +09:00
Olaf Meeuwissen
01c5dbc82b
.editorconfig: Fix sane-desc tool to match cleaned up references
...
Changes to the test reference files should not, famous last words ;-),
have any effect on the use of the tool's actual outputs.
Note that the tests use a "concocted" `testfile.desc` as their input.
2017-05-30 22:39:30 +09:00
Olaf Meeuwissen
f0f187f995
.editorconfig: trim trailing blank lines
2017-05-29 21:14:30 +09:00
Olaf Meeuwissen
23891a2646
.editorconfig: trim trailing whitespace
2017-05-29 21:14:29 +09:00
Jörg Frings-Fürst
e21bb28e50
Source code string typo fixes
2017-05-13 18:38:43 +09:00
Olaf Meeuwissen
490c4501c7
Sync autofoo
2016-09-25 17:04:23 +09:00
Olaf Meeuwissen
da49686efe
sane-find-scanner: disable USB if not supported
...
This fixes a [-Wpedantic] compiler warning about ISO C forbidding empty
translation units. The check-usb-chip.c file reduces to such a file in
the case USB support was explicitly disabled or no usable library found.
2016-09-25 17:00:54 +09:00
Olaf Meeuwissen
bfd1626c4b
Sync autofoo
2016-07-13 23:44:26 +09:00
Olaf Meeuwissen
2481e1e98b
Sync autofoo
2016-07-10 21:54:24 +09:00
Olaf Meeuwissen
d62d0a2e45
check-po.awk: fix awk invocation
...
The awk utility has been moved to /usr/bin and the script relies on
features present in gawk but not in mawk.
2016-07-06 20:23:12 +09:00