Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 29221 Details for
Bug 47740
blueglass-xcursors golden-xcursors silver-xcursors should support xorg-x11 as well as xfree
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Suggested xcursors-kdelook.eclass
xcursors-kdelook.eclass (text/plain), 2.29 KB, created by
Ed Catmur
on 2004-04-13 12:07:45 UTC
(
hide
)
Description:
Suggested xcursors-kdelook.eclass
Filename:
MIME Type:
Creator:
Ed Catmur
Created:
2004-04-13 12:07:45 UTC
Size:
2.29 KB
patch
obsolete
># Copyright 2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ ># ># Author: Ed Catmur <ed@catmur.co.uk> ># ># This eclass is designed to eliminate common code for X cursor themes from ># kdelook.org. ># The inheriting ebuild may set: ># KDELOOK_ID: the package ID on kdelook.org e.g. "5532" ># KDELOOK_PN: the package name on kdelook.org e.g. "BlueGlass-XCursors-3D" ># XCURSORS_PN: the directory in the tarball and for install e.g. "Blue" > >ECLASS="xcursors-kdelook" >INHERITED="${INHERITED} ${ECLASS}" > >EXPORT_FUNCTIONS src_install pkg_postinst > >KDELOOK_PN=${KDELOOK_PN:-${PN}} >XCURSORS_PN=${XCURSORS_PN:-${PN}} >DESCRIPTION="A high quality set of Xfree 4.3.0 / Xorg animated mouse cursors" >HOMEPAGE="http://www.kde-look.org/content/show.php?content=${KDELOOK_ID}" >SRC_URI="http://www.kde-look.org/content/files/${KDELOOK_ID}-${KDELOOK_PN}-${PV}.tar.bz2" >LICENSE="LGPL-2.1" >SLOT="0" >KEYWORDS="x86 sparc amd64 ~alpha ~ppc" >IUSE="" >DEPEND="" >RDEPEND="|| ( > >=x11-base/xfree-4.3.0-r2 > x11-base/xorg-x11 > )" > >get_x_package() { > if has_version '>=x11-base/xfree-4.3.0-r2'; then > X_PACKAGE="xfree" > X_CONFIG="XF86Config" > elif has_version x11-base/xorg-x11; then > X_PACKAGE="xorg-x11" > X_CONFIG="xorg.conf" > fi >} > >src_install() { > get_x_package > mkdir -p ${D}/usr/share/cursors/${X_PACKAGE}/${XCURSORS_PN}/cursors/ > cp -d ${WORKDIR}/${KDELOOK_PN}-${PV}/${XCURSORS_PN}/cursors/* ${D}/usr/share/cursors/${X_PACKAGE}/${XCURSORS_PN}/cursors/ || die > dodoc ${WORKDIR}/${KDELOOK_PN}-${PV}/{COPYING,README} >} > >pkg_postinst() { > get_x_package > einfo "To use this set of cursors, edit or create the file ~/.Xdefaults" > einfo "and add the following line:" > einfo "Xcursor.theme: ${XCURSORS_PN}" > einfo "" > einfo "Also, you can change the size by adding a line like:" > einfo "Xcursor.size: 48" > einfo "" > einfo "" > einfo "To globally use this set of mouse cursors edit the file:" > einfo " /usr/share/cursors/${X_PACKAGE}/default/index.theme" > einfo "and change the line:" > einfo " Inherits=[current setting]" > einfo "to" > einfo " Inherits=${XCURSORS_PN}" > 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 ${X_CONFIG}:" > ewarn "Option \"HWCursor\" \"false\"" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47740
: 29221 |
29222