Hello Guilers!
This is the announcement on the initial release of Guile-XOSD, the
bindings for 'libxosd' library¹.
Guile-XOSD is based on the old 'lisposd' project² (the author is Cc-ed):
lisposd already had a .c file (which is the main part, of course). I
just made several additions to "finish" this project. The main changes
are: Makefile was replaced with the GNU Build System infrastructure;
documentation (info manual and docstrings) and examples were added.
All changes are listed here:
https://github.com/alezost/guile-xosd/releases/tag/v0.1
————————————————————————————————————————————————————————————————
Git repo: git://github.com/alezost/guile-xosd.git
The release tarball:
https://github.com/alezost/guile-xosd/releases/download/v0.1/guile-xosd-0.1.tar.gz
MD5: 37f7d40ae3dfb510ada479a98688078e guile-xosd-0.1.tar.gz
SHA256: febb380c3904f3ab6f2712db685ffac7594fac026ea04288387afd07e7233f4b
guile-xosd-0.1.tar.gz
————————————————————————————————————————————————————————————————
Guile-XOSD can be easily installed with GNU Guix using the attached
"guile-xosd.scm" file:
guix package --install-from-file=guile-xosd.scm
————————————————————————————————————————————————————————————————
The usage is straightforward:
(use-modules (xosd))
(define osd (xosd-create 1))
(xosd-set-pos! osd 'top)
(xosd-set-align! osd 'right)
(xosd-set-font! osd "-*-dejavu sans-bold-r-normal-*-*-600-*-*-p-*-*-1")
(xosd-set-colour! osd "yellow")
(xosd-set-shadow-offset! osd 4)
(xosd-set-shadow-colour! osd "red")
(xosd-display-string osd 0 "Hello!")
Screenshot for the above code: http://i.imgur.com/0K4kodV.png
¹ http://sourceforge.net/projects/libxosd
² https://github.com/sigma/lisposd
(use-modules
(guix packages)
(guix download)
(guix licenses)
(guix build-system gnu)
(gnu packages guile)
(gnu packages pkg-config)
(gnu packages xorg)
(gnu packages xdisorg))
(package
(name "guile-xosd")
(version "0.1")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/alezost/" name "/releases/download/v"
version "/" name "-" version ".tar.gz"))
(sha256
(base32
"0jrz4gkhgzbs7244583f0an4ynf7z9gninqj4xpspwq47463ifzy"))))
(build-system gnu-build-system)
(native-inputs
`(("pkg-config" ,pkg-config)))
(inputs
`(("guile" ,guile-2.0)
("libx11" ,libx11)
("libxext" ,libxext)
("libxinerama" ,libxinerama)
("xosd" ,xosd)))
(home-page "https://github.com/alezost/guile-xosd")
(synopsis "XOSD bindings for Guile")
(description
"Guile-XOSD provides Guile bindings for @code{libxosd}, the \"X On
Screen Display\" library.")
(license gpl3+))