x11-libs/xcb-util-cursor: use gentoo-specific cursor paths from libXcursor
authorJason A. Donenfeld <zx2c4@gentoo.org>
Tue, 13 Sep 2016 01:53:38 +0000 (03:53 +0200)
committerJason A. Donenfeld <zx2c4@gentoo.org>
Tue, 13 Sep 2016 01:53:46 +0000 (03:53 +0200)
Gentoo has a long strange tradition of using /usr/share/cursors/xorg-x11
for cursors. Love it or hate it, that's how it is. x11-libs/libXcursor has
respected this. However, until recently -- commit here [1] -- xcb-util-cursor
did not support this. Now, finally, it does. So, we copy over the same paths
as with libXcursor. This fixes numerous bugs.

Package-Manager: portage-2.3.0

x11-libs/xcb-util-cursor/xcb-util-cursor-0.1.3-r1.ebuild [moved from x11-libs/xcb-util-cursor/xcb-util-cursor-0.1.3.ebuild with 81% similarity]

similarity index 81%
rename from x11-libs/xcb-util-cursor/xcb-util-cursor-0.1.3.ebuild
rename to x11-libs/xcb-util-cursor/xcb-util-cursor-0.1.3-r1.ebuild
index 13afbcabf621d11841bdb30e27def1297b90be54..ab567b835b1e8ab471ec0984fc89b3ad8a73f2c4 100644 (file)
@@ -31,6 +31,7 @@ DEPEND="${RDEPEND}
 src_configure() {
        XORG_CONFIGURE_OPTIONS=(
                $(use_with doc doxygen)
+               --with-cursorpath='~/.cursors:~/.icons:/usr/local/share/cursors/xorg-x11:/usr/local/share/cursors:/usr/local/share/icons:/usr/local/share/pixmaps:/usr/share/cursors/xorg-x11:/usr/share/cursors:/usr/share/pixmaps/xorg-x11:/usr/share/icons:/usr/share/pixmaps'
        )
 
        xorg-2_src_configure