gnu: Add gamin.

* gnu/packages/gnome.scm (gamin): New variable.
This commit is contained in:
Ricardo Wurmus 2019-12-20 21:26:58 +01:00
parent 046fecdcb9
commit 1e600ed0f7
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -8930,6 +8930,43 @@ (define-public gitg
(home-page "https://wiki.gnome.org/Apps/Gitg")
(license license:gpl2+)))
(define-public gamin
(package
(name "gamin")
(version "0.1.10")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.bz2"))
(sha256
(base32
"02n1zr9y8q9lyczhcz0nxar1vmf8p2mmbw8kq0v43wg21jr4i6d5"))))
(build-system gnu-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'remove-deprecated-macro
(lambda _
(substitute* '("server/gam_node.c"
"server/gam_subscription.h"
"server/gam_node.h"
"server/gam_subscription.c")
(("G_CONST_RETURN") "const"))
#t)))))
(inputs
`(("glib" ,glib)))
(native-inputs
`(("intltool" ,intltool)
("pkg-config" ,pkg-config)))
(home-page "https://people.gnome.org/~veillard/gamin/")
(synopsis "File alteration monitor")
(description
"Gamin is a file and directory monitoring system defined to be a subset
of the FAM (File Alteration Monitor) system. This is a service provided by a
library which allows to detect when a file or a directory has been modified.")
(license license:gpl2+)))
(define-public gnome-mahjongg
(package
(name "gnome-mahjongg")