artyom-poptsov / guile-udev

GNU Guile bindings to libudev.
GNU General Public License v3.0
7 stars 3 forks source link
guile scheme udev

-- mode: org; --

Guile-Udev is a [[https://www.gnu.org/software/guile/][GNU Guile]] bindings to [[https://en.wikipedia.org/wiki/Udev][libudev]].

** License Guile-Udev is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Please see =COPYING= file for the terms of GNU General Public License.

** Requirements

*** Build-time dependencies

** Building and installation *** GNU Guix To install the latest release of Guile-Udev on [[https://guix.gnu.org/][GNU Guix]], issue the following command:

+BEGIN_EXAMPLE shell

$ guix install guile-udev

+END_EXAMPLE

If you want to install the Git version you can use =guix.scm= package description that Guile-Udev provides in the repository:

+BEGIN_EXAMPLE shell

$ guix build -f guix.scm $ guix package -f guix.scm

+END_EXAMPLE

*** Ubuntu GNU/Linux On Ubuntu GNU/Linux 20.04 you'll need to install the needed dependencies to be able to build the library with Guile 3.0:

+BEGIN_EXAMPLE shell

$ sudo apt install \ gcc \ make \ guile-3.0-dev \ libudev-dev \ gettext \ automake \ autoconf \ texinfo \ pkg-config \ libguile-dev

+END_EXAMPLE

*** Manual To build and install the library, use the following commands:

+BEGIN_EXAMPLE shell

$ autoreconf -vif $ ./configure $ make $ make install

+END_EXAMPLE

** Usage Please see the documentation in Info format for API documentation and usage examples -- you can open it by typing =info guile-udev= in the shell, or using =C-h i m guile-udev RET= combo in Emacs. Also take a look on examples in the =examples= directory.