[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ANN] Guile-Udev 0.2.1 released
From: |
Artyom V. Poptsov |
Subject: |
[ANN] Guile-Udev 0.2.1 released |
Date: |
Sun, 26 Dec 2021 12:05:23 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello Guilers,
I'm pleased to announce Guile-Udev 0.2.1:
https://github.com/artyom-poptsov/guile-udev/releases/tag/v0.2.1
See the full list of the user-visible changes below.
* What is Guile-Udev?
Guile-Udev is a GNU Guile library that provides bindings to libudev[1]
library.
The library comes with Info documentation and usage examples.
* User-visible changes
--8<---------------cut here---------------start------------->8---
* Changes in version 0.2.1 (2021-12-26)
** Fix compilation errors on aarch64
The naming conflict between variable 'fd_set' and 'typedef(fd_set)' can
cause compilation errors on aarch64, just like in this issue reported on
C++: <http://www.cplusplus.com/forum/unices/108481/>
Now this problem should be fixed.
Reported by: Antlers <antlers@github.com> in
<https://github.com/artyom-poptsov/guile-udev/pull/1>
** Bump libtool library version
The library version wasn't properly updated in the 0.2.0 release. Now it is
bumped to 1:1:0 according to libtool recommendations:
<https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html>
Old programs that use Guile-UDev 0.1.0 or 0.2.0 can use the new version
0.2.1 as a drop-in replacement.
--8<---------------cut here---------------end--------------->8---
* Usage examples
There is an example named 'examples/device-listener.scm'. It listens to
USB events and prints device paths from events to the stdout.
Also the library is used as a foundation for a USB flash auto-mounter
daemon that I've written for one of my jobs:
https://gitlab.com/gkaz/mst/-/blob/master/mstd/mstd
Happy hacking!
- Artyom
References:
1: https://en.wikipedia.org/wiki/Udev
--
Artyom "avp" Poptsov <poptsov.artyom@gmail.com>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [ANN] Guile-Udev 0.2.1 released,
Artyom V. Poptsov <=