gnu: libxcursor: Add a search path for XCURSOR_PATH.

* gnu/packages/xorg.scm (libxcursor): Fix indentation.
[native-search-paths]: New field (previously commented).  Update comment.
This commit is contained in:
Maxim Cournoyer 2021-11-18 23:52:34 -05:00
parent 8444b44a8c
commit 7063ee6d9d
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -5734,15 +5734,12 @@ (define-public libxcursor
("xorgproto" ,xorgproto))) ("xorgproto" ,xorgproto)))
(native-inputs (native-inputs
`(("pkg-config" ,pkg-config))) `(("pkg-config" ,pkg-config)))
;; TODO: add XCURSOR_PATH=.../share/icons to profile search paths, so ;; FIXME: The search path below won't be very effective until the bugs
;; libXcursor finds cursors installed into a profile. If we solve bugs ;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138> are solved.
;; <http://bugs.gnu.org/20255> and <http://bugs.gnu.org/22138>, we can fix (native-search-paths
;; this with a search-path as follows: (list (search-path-specification
;; (variable "XCURSOR_PATH")
;; (native-search-paths (files '("share/icons")))))
;; (list (search-path-specification
;; (variable "XCURSOR_PATH")
;; (files '("share/icons")))))
(home-page "https://www.x.org/wiki/") (home-page "https://www.x.org/wiki/")
(synopsis "Xorg Cursor management library") (synopsis "Xorg Cursor management library")
(description "Xorg Cursor management library.") (description "Xorg Cursor management library.")