summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild')
-rw-r--r--x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild24
1 files changed, 15 insertions, 9 deletions
diff --git a/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild b/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild
index 6647d50be1e2..f5ee48368056 100644
--- a/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild
+++ b/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild,v 1.13 2004/11/24 02:41:37 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-themes/silver-xcursors/silver-xcursors-0.4.ebuild,v 1.14 2005/06/17 03:17:15 smithj Exp $
MY_P="5533-Silver-XCursors-3D-${PV}"
DESCRIPTION="A high quality set of Xfree 4.3.0 animated mouse cursors"
@@ -27,22 +27,28 @@ src_install() {
}
pkg_postinst() {
+ X11_IMPLEM_P="$(best_version virtual/x11)"
+ X11_IMPLEM="${X11_IMPLEM_P%-[0-9]*}"
+ X11_IMPLEM="${X11_IMPLEM##*\/}"
+
einfo "To use this set of cursors, edit or create the file ~/.Xdefaults"
einfo "and add the following line:"
einfo "Xcursor.theme: Silver"
einfo ""
- einfo "Also, you can change the size by adding a line like:"
+ einfo "You can change the size by adding a line like:"
einfo "Xcursor.size: 48"
einfo ""
- einfo "To globally use this set of mouse cursors edit the file:"
- einfo " /usr/share/cursors/${X11_IMPLEM}/default/index.theme"
+ einfo "Also, to globally use this set of mouse cursors edit the file:"
+ einfo " /usr/local/share/cursors/${X11_IMPLEM}/default/index.theme"
einfo "and change the line:"
- einfo " Inherits=[current setting]"
+ einfo " Inherits=[current setting]"
einfo "to"
- einfo " Inherits=Silver"
+ einfo " Inherits=Silver"
+ einfo ""
einfo "Note this will be overruled by a user's ~/.Xdefaults file."
einfo ""
ewarn "If you experience flickering, try setting the following line in"
- ewarn "the Device section of your XF86Config:"
- ewarn "Option \"HWCursor\" \"false\""
+ ewarn ""
+ ewarn "the Device section of your xorg.conf file:"
+ ewarn " Option \"HWCursor\" \"false\""
}