mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-19 21:27:37 -05:00
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:
parent
8444b44a8c
commit
7063ee6d9d
1 changed files with 20 additions and 23 deletions
|
@ -5715,34 +5715,31 @@ (define-public libxcursor
|
||||||
(name "libxcursor")
|
(name "libxcursor")
|
||||||
(version "1.2.0")
|
(version "1.2.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
"mirror://xorg/individual/lib/libXcursor-"
|
"mirror://xorg/individual/lib/libXcursor-"
|
||||||
version
|
version
|
||||||
".tar.bz2"))
|
".tar.bz2"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
|
"10l7c9fm0jmpkm9ab9dz8r6m1pr87vvgqjnbx1psz50h4pwfklrs"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("--disable-static")))
|
'(#:configure-flags '("--disable-static")))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("libx11" ,libx11)
|
`(("libx11" ,libx11)
|
||||||
("libxrender" ,libxrender)
|
("libxrender" ,libxrender)
|
||||||
("libxfixes" ,libxfixes)
|
("libxfixes" ,libxfixes)
|
||||||
("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.")
|
||||||
|
|
Loading…
Reference in a new issue