gnu: elogind: Update to 232.3.
* gnu/packages/freedesktop.scm (elogind): Update to 232.3. [home-page]: Use new upstream home page. [arguments]: Disable tests, add new required configure flags; add build phase "autogen". [native-inputs]: Add autoconf, automake, libtool, and python.master
parent
8036caa75a
commit
fa67d56541
|
@ -204,14 +204,14 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
(define-public elogind
|
(define-public elogind
|
||||||
(package
|
(package
|
||||||
(name "elogind")
|
(name "elogind")
|
||||||
(version "219.14")
|
(version "232.3")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "https://wingolog.org/pub/" name "/"
|
(uri (string-append "https://github.com/elogind/elogind/"
|
||||||
name "-" version ".tar.xz"))
|
"archive/v" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jckc4wx199n1q4r4fv43ibjs6nlq91s39w9r78ilk1z383m1hcx"))
|
"1g3bqzw5dhd5zaivqgbi13n5zy219qmkrk6vmbhfprs8qvyn843f"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
|
@ -222,14 +222,26 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
(("XSLTPROC_FLAGS = ") "XSLTPROC_FLAGS = --novalid"))))))
|
(("XSLTPROC_FLAGS = ") "XSLTPROC_FLAGS = --novalid"))))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:tests? #f ;FIXME: "make check" in the "po" directory fails.
|
||||||
|
#:configure-flags
|
||||||
(list (string-append "--with-libcap="
|
(list (string-append "--with-libcap="
|
||||||
(assoc-ref %build-inputs "libcap"))
|
(assoc-ref %build-inputs "libcap"))
|
||||||
(string-append "--with-udevrulesdir="
|
(string-append "--with-udevrulesdir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib/udev/rules.d"))
|
"/lib/udev/rules.d")
|
||||||
|
(string-append "--with-rootprefix="
|
||||||
|
(assoc-ref %outputs "out"))
|
||||||
|
;; These are needed to ensure that lto linking works.
|
||||||
|
"RANLIB=gcc-ranlib"
|
||||||
|
"AR=gcc-ar"
|
||||||
|
"NM=gcc-nm")
|
||||||
#:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent")
|
#:make-flags '("PKTTYAGENT=/run/current-system/profile/bin/pkttyagent")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'autogen
|
||||||
|
(lambda _
|
||||||
|
(and (zero? (system* "intltoolize" "--force" "--automake"))
|
||||||
|
(zero? (system* "autoreconf" "-vif")))))
|
||||||
(add-before 'build 'fix-service-file
|
(add-before 'build 'fix-service-file
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Fix the file name of the 'elogind' binary in the D-Bus
|
;; Fix the file name of the 'elogind' binary in the D-Bus
|
||||||
|
@ -239,8 +251,12 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
(string-append "Exec=" (assoc-ref %outputs "out")
|
(string-append "Exec=" (assoc-ref %outputs "out")
|
||||||
"/libexec/elogind/elogind\n"))))))))
|
"/libexec/elogind/elogind\n"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("intltool" ,intltool)
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("libtool" ,libtool)
|
||||||
|
("intltool" ,intltool)
|
||||||
("gettext" ,gettext-minimal)
|
("gettext" ,gettext-minimal)
|
||||||
|
("python" ,python)
|
||||||
("docbook-xsl" ,docbook-xsl)
|
("docbook-xsl" ,docbook-xsl)
|
||||||
("docbook-xml" ,docbook-xml)
|
("docbook-xml" ,docbook-xml)
|
||||||
("xsltproc" ,libxslt)
|
("xsltproc" ,libxslt)
|
||||||
|
@ -260,7 +276,7 @@ the freedesktop.org XDG Base Directory specification.")
|
||||||
("dbus" ,dbus)
|
("dbus" ,dbus)
|
||||||
("eudev" ,eudev)
|
("eudev" ,eudev)
|
||||||
("acl" ,acl))) ;to add individual users to ACLs on /dev nodes
|
("acl" ,acl))) ;to add individual users to ACLs on /dev nodes
|
||||||
(home-page "https://github.com/wingo/elogind")
|
(home-page "https://github.com/elogind/elogind")
|
||||||
(synopsis "User, seat, and session management service")
|
(synopsis "User, seat, and session management service")
|
||||||
(description "Elogind is the systemd project's \"logind\" service,
|
(description "Elogind is the systemd project's \"logind\" service,
|
||||||
extracted out as a separate project. Elogind integrates with PAM to provide
|
extracted out as a separate project. Elogind integrates with PAM to provide
|
||||||
|
|
Loading…
Reference in New Issue