Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 759286

Summary: question about x11 cursors themes installation directory
Product: Gentoo Linux Reporter: Fab <netbox253>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal CC: alexander, ionen, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fab 2020-12-09 20:50:36 UTC
Hi,

May I ask why some X11 cursors themes are installed into /usr/share/icons :
> $ grep -R '/usr/share/icons' /var/db/repos/gentoo/x11-themes/*-xcursors
> /var/db/repos/gentoo/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild:		insinto /usr/share/icons/${NEUTRAL_PN}
> /var/db/repos/gentoo/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild:		insinto /usr/share/icons/${PLUS_PN}
> /var/db/repos/gentoo/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild:		insinto /usr/share/icons/${PLUSPLUS_PN}
> /var/db/repos/gentoo/x11-themes/neutral-xcursors/neutral-xcursors-20150106.ebuild:		insinto /usr/share/icons/${WHITE_PN}
> /var/db/repos/gentoo/x11-themes/vanilla-dmz-aa-xcursors/vanilla-dmz-aa-xcursors-0.4.5.ebuild:	insinto /usr/share/icons/Vanilla-DMZ-AA/cursors
> /var/db/repos/gentoo/x11-themes/vanilla-dmz-aa-xcursors/vanilla-dmz-aa-xcursors-0.4.5.ebuild:	insinto /usr/share/icons/Vanilla-DMZ-AA
> /var/db/repos/gentoo/x11-themes/vanilla-dmz-xcursors/vanilla-dmz-xcursors-0.4.5.ebuild:	insinto /usr/share/icons/Vanilla-DMZ/cursors
> /var/db/repos/gentoo/x11-themes/vanilla-dmz-xcursors/vanilla-dmz-xcursors-0.4.5.ebuild:	insinto /usr/share/icons/Vanilla-DMZ

While other themes are installed into /usr/share/cursors :
> $ grep -R 'insinto /usr/share/cursors' /var/db/repos/gentoo/x11-themes/*-xcursors
> /var/db/repos/gentoo/x11-themes/blueglass-xcursors/blueglass-xcursors-0.4.ebuild:	insinto /usr/share/cursors/xorg-x11/Blue
> /var/db/repos/gentoo/x11-themes/gentoo-xcursors/gentoo-xcursors-0.3.2.ebuild:	insinto /usr/share/cursors/xorg-x11
> /var/db/repos/gentoo/x11-themes/haematite-xcursors/haematite-xcursors-1.0.ebuild:	insinto /usr/share/cursors/xorg-x11/${MY_PN}
> /var/db/repos/gentoo/x11-themes/obsidian-xcursors/obsidian-xcursors-1.0.ebuild:	insinto /usr/share/cursors/xorg-x11/${MY_PN}
> /var/db/repos/gentoo/x11-themes/pearlgrey-xcursors/pearlgrey-xcursors-1.0.ebuild:	insinto /usr/share/cursors/xorg-x11/${MY_PN}
> /var/db/repos/gentoo/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild:	insinto /usr/share/cursors/xorg-x11/Silver

Thanks.
Comment 1 Jonas Stein gentoo-dev 2020-12-13 12:45:02 UTC
The definition of x11 themes is here 
https://specifications.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
Comment 2 Fab 2020-12-13 15:03:20 UTC
Yes, but icons != cursors.

Look at vanilla-dmz-xcursors-0.4.5.ebuild⁽¹⁾. Currently all files are installed into /usr/share/icons.
But if you look the historical tree⁽²⁾, they were installed into /usr/share/cursors.

Why this theme is installed into /usr/share/icons while most of the others are installed into /usr/share/cursors ?

(Why do I ask this ? because this break bug #464826.)

1. https://gitweb.gentoo.org/repo/gentoo.git/tree/x11-themes/vanilla-dmz-xcursors/vanilla-dmz-xcursors-0.4.5.ebuild
2. https://gitweb.gentoo.org/repo/gentoo/historical.git/tree/x11-themes/vanilla-dmz-xcursors/vanilla-dmz-xcursors-0.4.ebuild
Comment 3 Ionen Wolkens gentoo-dev 2021-01-08 07:16:26 UTC
Sorry for late reply, but had a look at this and every themes installing in /usr/share/cursors seem to be the wrong ones.

In case of vanilla-dmz-xcursors this was introduced by bug #554920 with the intend to fix the paths. Debian it mentions does install cursor themes in /usr/share/icons/<theme>/cursors, so does Arch, and likely others.

Some external documentation[1] also points to:
~/.local/share/icons/<theme>/cursors

Given can call them "cursor icons" it doesn't necessarily make no sense.

If you wish for changes, please file bugs against individual specific packages so they can be assigned rather than a broad question. So I'll close this one.

[1] https://wiki.archlinux.org/index.php/Cursor_themes#Manually