me
/
guix
Archived
1
0
Fork 0

gnu: lxsession: Build with GTK 3.

* gnu/packages/lxde.scm (lxsession)[snippet]: Delete trailing #t.
[configure-flags]: New argument.
[phases]: Delete trailing #t.
[inputs]: Remove labels.
Maxim Cournoyer 2022-08-17 22:14:16 -04:00
parent 50ece0e14c
commit 15badf7b1e
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 6 additions and 7 deletions

View File

@ -539,21 +539,20 @@ in LXDE.")
(and (string-suffix? ".c" file) (and (string-suffix? ".c" file)
(file-exists? (c->vala file)))))) (file-exists? (c->vala file))))))
(for-each delete-file (for-each delete-file
(find-files "." generated-c-file?)) (find-files "." generated-c-file?))))))
#t))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:configure-flags (list "--enable-gtk3")
#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'rm-stamp (add-after 'unpack 'rm-stamp
(lambda _ (lambda _
(for-each delete-file (find-files "." "\\.stamp$")) (for-each delete-file (find-files "." "\\.stamp$"))
;; Force regeneration of configure script. ;; Force regeneration of configure script.
(delete-file "configure") (delete-file "configure"))))))
#t)))))
(inputs (inputs
`(("gtk+-2" ,gtk+-2) (list gtk+
("polkit" ,polkit))) polkit))
(native-inputs (native-inputs
(list pkg-config (list pkg-config
intltool intltool