diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-12-13 06:50:43 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-12-13 06:50:43 +0000 |
commit | 0c172f48143686da31b1f827b8bbb61b68f46858 (patch) | |
tree | 0b7ba4179dd52cebd320ed9a2d88543b96981bd0 /x11-apps | |
parent | Add modular X dependencies. (diff) | |
download | gentoo-2-0c172f48143686da31b1f827b8bbb61b68f46858.tar.gz gentoo-2-0c172f48143686da31b1f827b8bbb61b68f46858.tar.bz2 gentoo-2-0c172f48143686da31b1f827b8bbb61b68f46858.zip |
Fix the missing fglrx_pp_proto.h
(Portage version: 2.0.53)
Diffstat (limited to 'x11-apps')
-rw-r--r-- | x11-apps/ati-drivers-extra/ChangeLog | 6 | ||||
-rw-r--r-- | x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild | 5 | ||||
-rw-r--r-- | x11-apps/ati-drivers-extra/files/fglrx_pp_proto.h | 126 |
3 files changed, 134 insertions, 3 deletions
diff --git a/x11-apps/ati-drivers-extra/ChangeLog b/x11-apps/ati-drivers-extra/ChangeLog index 45cae8d8aa40..62cf6c64d2d7 100644 --- a/x11-apps/ati-drivers-extra/ChangeLog +++ b/x11-apps/ati-drivers-extra/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-apps/ati-drivers-extra # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ChangeLog,v 1.4 2005/12/11 04:07:48 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ChangeLog,v 1.5 2005/12/13 06:50:43 lu_zero Exp $ + + 13 Dec 2005; Luca Barbato <lu_zero@gentoo.org> +files/fglrx_pp_proto.h, + ati-drivers-extra-8.20.8.ebuild: + Workaround *ati-drivers-extra-8.20.8 (11 Dec 2005) diff --git a/x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild index 43af6b46faea..6213597b5633 100644 --- a/x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild +++ b/x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild,v 1.1 2005/12/11 04:07:48 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/ati-drivers-extra/ati-drivers-extra-8.20.8.ebuild,v 1.2 2005/12/13 06:50:43 lu_zero Exp $ IUSE="qt" @@ -47,7 +47,8 @@ src_unpack() { epatch ${FILESDIR}/ati-drivers-extra-8.19.10-improvements.patch.bz2 sed -e "s:"${OLDBIN}":"${ATIBIN}":"\ -i ${WORKDIR}/extra/fglrx_panel/Makefile - + #workaround + cp ${FILESDIR}/fglrx_pp_proto.h ${WORKDIR}/extra/fglrx_panel } src_compile() { diff --git a/x11-apps/ati-drivers-extra/files/fglrx_pp_proto.h b/x11-apps/ati-drivers-extra/files/fglrx_pp_proto.h new file mode 100644 index 000000000000..1aecf3070abb --- /dev/null +++ b/x11-apps/ati-drivers-extra/files/fglrx_pp_proto.h @@ -0,0 +1,126 @@ +/**************************************************************************** + * * + * Copyright 1999-2005 ATI Technologies Inc., Markham, Ontario, CANADA. * + * All Rights Reserved. * + * * + * Your use and or redistribution of this software in source and \ or * + * binary form, with or without modification, is subject to: (i) your * + * ongoing acceptance of and compliance with the terms and conditions of * + * the ATI Technologies Inc. software End User License Agreement; and (ii) * + * your inclusion of this notice in any version of this software that you * + * use or redistribute. A copy of the ATI Technologies Inc. software End * + * User License Agreement is included with this software and is also * + * available by contacting ATI Technologies Inc. at http://www.ati.com * + * * + ****************************************************************************/ + +/** \file powerplay.h + * \brief Protocol definitions for the ATI POWERplay extension + * \author Felix Kuehling + */ + +#ifndef __FGLRX_PP_PROTO_H +#define __FGLRX_PP_PROTO_H + +#ifndef XREP_SZ +#define XREP_SZ(name) sizeof(x##name##Reply) +#endif +#ifndef XREQ_SZ +#define XREQ_SZ(name) sizeof(x##name##Req) +#endif + +#define X_FGLQueryPowerPlayInfo 13 +#define X_FGLQueryPowerState 14 +#define X_FGLSetPowerState 15 + +/***************************************************************************** + * FGLQueryPowerPlayInfo */ +typedef struct _FGLQueryPowerPlayInfo { + CARD8 reqType; + CARD8 fireglReqType; + CARD16 length B16; + /* specific */ + CARD32 screen B32; +} xFGLQueryPowerPlayInfoReq; + +typedef struct { + BYTE type; /* X_Reply */ + BYTE pad1; + CARD16 sequenceNumber B16; + CARD32 length B32; + /* specific */ + CARD16 extVersion B16; + CARD16 extRevision B16; + CARD16 ppVersion B16; + CARD16 numPowerStates B16; + CARD32 flags B32; + CARD32 pad2 B32; + CARD32 pad3 B32; + CARD32 pad4 B32; +} xFGLQueryPowerPlayInfoReply; + +#define sz_xFGLQueryPowerPlayInfoReq XREQ_SZ(FGLQueryPowerPlayInfo) +#define sz_xFGLQueryPowerPlayInfoReply XREP_SZ(FGLQueryPowerPlayInfo) + +/***************************************************************************** + * FGLQueryPowerState */ +typedef struct _FGLQueryPowerState { + CARD8 reqType; + CARD8 fireglReqType; + CARD16 length B16; + /* specific */ + CARD32 screen B32; + CARD16 state B16; + CARD16 pad1 B16; +} xFGLQueryPowerStateReq; + +typedef struct { + BYTE type; /* X_Reply */ + BYTE pad1; + CARD16 sequenceNumber B16; + CARD32 length B32; + /* specific */ + CARD32 flags B32; + CARD32 validEvents B32; + CARD32 memClock B32; + CARD32 coreClock B32; + CARD32 refreshRate B32; + CARD16 upperTempLimit B16; + CARD16 lowerTempLimit B16; + CARD16 nextUpperTempState B16; + CARD16 nextLowerTempState B16; +} xFGLQueryPowerStateReply; + +#define sz_xFGLQueryPowerStateReq XREQ_SZ(FGLQueryPowerState) +#define sz_xFGLQueryPowerStateReply XREP_SZ(FGLQueryPowerState) + +/***************************************************************************** + * FGLSetPowerState */ +typedef struct _FGLSetPowerState { + CARD8 reqType; + CARD8 fireglReqType; + CARD16 length B16; + /* specific */ + CARD32 screen B32; + CARD16 event B16; + CARD16 state B16; +} xFGLSetPowerStateReq; + +typedef struct { + BYTE type; /* X_Reply */ + BYTE pad1; + CARD16 sequenceNumber B16; + CARD32 length B32; + /* specific */ + CARD32 result B32; + CARD32 pad2 B32; + CARD32 pad3 B32; + CARD32 pad4 B32; + CARD32 pad5 B32; + CARD32 pad6 B32; +} xFGLSetPowerStateReply; + +#define sz_xFGLSetPowerStateReq XREQ_SZ(FGLSetPowerState) +#define sz_xFGLSetPowerStateReply XREP_SZ(FGLSetPowerState) + +#endif /* __FGLRX_PP_PROTO_H */ |