summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-11-25 16:55:42 +0000
committerMichael Weber <xmw@gentoo.org>2010-11-25 16:55:42 +0000
commitd8ddd62ddd52e7156c9dac75fb76454895c601b5 (patch)
tree5bafc084fab39003f207850c98f44834739a0578 /x11-wm
parentVersion bump to solve clipboard issues (diff)
downloadgentoo-2-d8ddd62ddd52e7156c9dac75fb76454895c601b5.tar.gz
gentoo-2-d8ddd62ddd52e7156c9dac75fb76454895c601b5.tar.bz2
gentoo-2-d8ddd62ddd52e7156c9dac75fb76454895c601b5.zip
Better solution for the missing constants.pxi
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/parti/ChangeLog6
-rw-r--r--x11-wm/parti/files/parti-9999-constants.pxi287
-rw-r--r--x11-wm/parti/parti-0.0.6_p456.ebuild4
-rw-r--r--x11-wm/parti/parti-9999.ebuild4
4 files changed, 9 insertions, 292 deletions
diff --git a/x11-wm/parti/ChangeLog b/x11-wm/parti/ChangeLog
index 28f78689b125..435fe6dc6c81 100644
--- a/x11-wm/parti/ChangeLog
+++ b/x11-wm/parti/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-wm/parti
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/ChangeLog,v 1.5 2010/11/25 16:51:10 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/ChangeLog,v 1.6 2010/11/25 16:55:42 xmw Exp $
+
+ 25 Nov 2010; Michael Weber <xmw@gentoo.org> parti-0.0.6_p456.ebuild,
+ parti-9999.ebuild, -files/parti-9999-constants.pxi:
+ Better solution for the missing constants.pxi
*parti-0.0.6_p456 (25 Nov 2010)
diff --git a/x11-wm/parti/files/parti-9999-constants.pxi b/x11-wm/parti/files/parti-9999-constants.pxi
deleted file mode 100644
index 854026807c57..000000000000
--- a/x11-wm/parti/files/parti-9999-constants.pxi
+++ /dev/null
@@ -1,287 +0,0 @@
-cdef extern from *:
- unsigned int XNone "None"
- unsigned int PointerWindow
- unsigned int InputFocus
- unsigned int PointerRoot
- unsigned int CurrentTime
- unsigned int IsUnmapped
- unsigned int IsUnviewable
- unsigned int IsViewable
- unsigned int NoEventMask
- unsigned int KeyPressMask
- unsigned int KeyReleaseMask
- unsigned int ButtonPressMask
- unsigned int ButtonReleaseMask
- unsigned int EnterWindowMask
- unsigned int LeaveWindowMask
- unsigned int PointerMotionMask
- unsigned int PointerMotionHintMask
- unsigned int Button1MotionMask
- unsigned int Button2MotionMask
- unsigned int Button3MotionMask
- unsigned int Button4MotionMask
- unsigned int Button5MotionMask
- unsigned int ButtonMotionMask
- unsigned int KeymapStateMask
- unsigned int ExposureMask
- unsigned int VisibilityChangeMask
- unsigned int StructureNotifyMask
- unsigned int ResizeRedirectMask
- unsigned int SubstructureNotifyMask
- unsigned int SubstructureRedirectMask
- unsigned int FocusChangeMask
- unsigned int PropertyChangeMask
- unsigned int ColormapChangeMask
- unsigned int OwnerGrabButtonMask
- unsigned int KeyPress
- unsigned int KeyRelease
- unsigned int ButtonPress
- unsigned int ButtonRelease
- unsigned int MotionNotify
- unsigned int EnterNotify
- unsigned int LeaveNotify
- unsigned int FocusIn
- unsigned int FocusOut
- unsigned int KeymapNotify
- unsigned int Expose
- unsigned int GraphicsExpose
- unsigned int NoExpose
- unsigned int VisibilityNotify
- unsigned int CreateNotify
- unsigned int DestroyNotify
- unsigned int UnmapNotify
- unsigned int MapNotify
- unsigned int MapRequest
- unsigned int ReparentNotify
- unsigned int ConfigureNotify
- unsigned int ConfigureRequest
- unsigned int GravityNotify
- unsigned int ResizeRequest
- unsigned int CirculateNotify
- unsigned int CirculateRequest
- unsigned int PropertyNotify
- unsigned int SelectionClear
- unsigned int SelectionRequest
- unsigned int SelectionNotify
- unsigned int ColormapNotify
- unsigned int ClientMessage
- unsigned int MappingNotify
- unsigned int LASTEvent
- unsigned int PropModeReplace
- unsigned int PropModePrepend
- unsigned int PropModeAppend
- unsigned int CWX
- unsigned int CWY
- unsigned int CWWidth
- unsigned int CWHeight
- unsigned int CWBorderWidth
- unsigned int CWSibling
- unsigned int CWStackMode
- unsigned int Above
- unsigned int Below
- unsigned int BottomIf
- unsigned int TopIf
- unsigned int Opposite
- unsigned int Success
- unsigned int BadRequest
- unsigned int BadValue
- unsigned int BadWindow
- unsigned int BadPixmap
- unsigned int BadAtom
- unsigned int BadCursor
- unsigned int BadFont
- unsigned int BadMatch
- unsigned int BadDrawable
- unsigned int BadAccess
- unsigned int BadAlloc
- unsigned int BadColor
- unsigned int BadGC
- unsigned int BadIDChoice
- unsigned int BadName
- unsigned int BadLength
- unsigned int BadImplementation
- unsigned int FirstExtensionError
- unsigned int LastExtensionError
- unsigned int USPosition
- unsigned int USSize
- unsigned int PPosition
- unsigned int PSize
- unsigned int PMinSize
- unsigned int PMaxSize
- unsigned int PResizeInc
- unsigned int PAspect
- unsigned int PBaseSize
- unsigned int PWinGravity
- unsigned int InputHint
- unsigned int StateHint
- unsigned int IconPixmapHint
- unsigned int IconWindowHint
- unsigned int IconPositionHint
- unsigned int IconMaskHint
- unsigned int WindowGroupHint
- unsigned int XUrgencyHint
- unsigned int WithdrawnState
- unsigned int NormalState
- unsigned int IconicState
- unsigned int RevertToParent
- unsigned int RevertToPointerRoot
- unsigned int RevertToNone
- unsigned int NotifyNormal
- unsigned int NotifyGrab
- unsigned int NotifyUngrab
- unsigned int NotifyAncestor
- unsigned int NotifyVirtual
- unsigned int NotifyInferior
- unsigned int NotifyNonlinear
- unsigned int NotifyNonlinearVirtual
- unsigned int NotifyPointer
- unsigned int NotifyPointerRoot
- unsigned int NotifyDetailNone
- unsigned int GrabModeSync
- unsigned int GrabModeAsync
- unsigned int AnyKey
- unsigned int AnyModifier
-const = {
- "XNone": XNone,
- "PointerWindow": PointerWindow,
- "InputFocus": InputFocus,
- "PointerRoot": PointerRoot,
- "CurrentTime": CurrentTime,
- "IsUnmapped": IsUnmapped,
- "IsUnviewable": IsUnviewable,
- "IsViewable": IsViewable,
- "NoEventMask": NoEventMask,
- "KeyPressMask": KeyPressMask,
- "KeyReleaseMask": KeyReleaseMask,
- "ButtonPressMask": ButtonPressMask,
- "ButtonReleaseMask": ButtonReleaseMask,
- "EnterWindowMask": EnterWindowMask,
- "LeaveWindowMask": LeaveWindowMask,
- "PointerMotionMask": PointerMotionMask,
- "PointerMotionHintMask": PointerMotionHintMask,
- "Button1MotionMask": Button1MotionMask,
- "Button2MotionMask": Button2MotionMask,
- "Button3MotionMask": Button3MotionMask,
- "Button4MotionMask": Button4MotionMask,
- "Button5MotionMask": Button5MotionMask,
- "ButtonMotionMask": ButtonMotionMask,
- "KeymapStateMask": KeymapStateMask,
- "ExposureMask": ExposureMask,
- "VisibilityChangeMask": VisibilityChangeMask,
- "StructureNotifyMask": StructureNotifyMask,
- "ResizeRedirectMask": ResizeRedirectMask,
- "SubstructureNotifyMask": SubstructureNotifyMask,
- "SubstructureRedirectMask": SubstructureRedirectMask,
- "FocusChangeMask": FocusChangeMask,
- "PropertyChangeMask": PropertyChangeMask,
- "ColormapChangeMask": ColormapChangeMask,
- "OwnerGrabButtonMask": OwnerGrabButtonMask,
- "KeyPress": KeyPress,
- "KeyRelease": KeyRelease,
- "ButtonPress": ButtonPress,
- "ButtonRelease": ButtonRelease,
- "MotionNotify": MotionNotify,
- "EnterNotify": EnterNotify,
- "LeaveNotify": LeaveNotify,
- "FocusIn": FocusIn,
- "FocusOut": FocusOut,
- "KeymapNotify": KeymapNotify,
- "Expose": Expose,
- "GraphicsExpose": GraphicsExpose,
- "NoExpose": NoExpose,
- "VisibilityNotify": VisibilityNotify,
- "CreateNotify": CreateNotify,
- "DestroyNotify": DestroyNotify,
- "UnmapNotify": UnmapNotify,
- "MapNotify": MapNotify,
- "MapRequest": MapRequest,
- "ReparentNotify": ReparentNotify,
- "ConfigureNotify": ConfigureNotify,
- "ConfigureRequest": ConfigureRequest,
- "GravityNotify": GravityNotify,
- "ResizeRequest": ResizeRequest,
- "CirculateNotify": CirculateNotify,
- "CirculateRequest": CirculateRequest,
- "PropertyNotify": PropertyNotify,
- "SelectionClear": SelectionClear,
- "SelectionRequest": SelectionRequest,
- "SelectionNotify": SelectionNotify,
- "ColormapNotify": ColormapNotify,
- "ClientMessage": ClientMessage,
- "MappingNotify": MappingNotify,
- "LASTEvent": LASTEvent,
- "PropModeReplace": PropModeReplace,
- "PropModePrepend": PropModePrepend,
- "PropModeAppend": PropModeAppend,
- "CWX": CWX,
- "CWY": CWY,
- "CWWidth": CWWidth,
- "CWHeight": CWHeight,
- "CWBorderWidth": CWBorderWidth,
- "CWSibling": CWSibling,
- "CWStackMode": CWStackMode,
- "Above": Above,
- "Below": Below,
- "BottomIf": BottomIf,
- "TopIf": TopIf,
- "Opposite": Opposite,
- "Success": Success,
- "BadRequest": BadRequest,
- "BadValue": BadValue,
- "BadWindow": BadWindow,
- "BadPixmap": BadPixmap,
- "BadAtom": BadAtom,
- "BadCursor": BadCursor,
- "BadFont": BadFont,
- "BadMatch": BadMatch,
- "BadDrawable": BadDrawable,
- "BadAccess": BadAccess,
- "BadAlloc": BadAlloc,
- "BadColor": BadColor,
- "BadGC": BadGC,
- "BadIDChoice": BadIDChoice,
- "BadName": BadName,
- "BadLength": BadLength,
- "BadImplementation": BadImplementation,
- "FirstExtensionError": FirstExtensionError,
- "LastExtensionError": LastExtensionError,
- "USPosition": USPosition,
- "USSize": USSize,
- "PPosition": PPosition,
- "PSize": PSize,
- "PMinSize": PMinSize,
- "PMaxSize": PMaxSize,
- "PResizeInc": PResizeInc,
- "PAspect": PAspect,
- "PBaseSize": PBaseSize,
- "PWinGravity": PWinGravity,
- "InputHint": InputHint,
- "StateHint": StateHint,
- "IconPixmapHint": IconPixmapHint,
- "IconWindowHint": IconWindowHint,
- "IconPositionHint": IconPositionHint,
- "IconMaskHint": IconMaskHint,
- "WindowGroupHint": WindowGroupHint,
- "XUrgencyHint": XUrgencyHint,
- "WithdrawnState": WithdrawnState,
- "NormalState": NormalState,
- "IconicState": IconicState,
- "RevertToParent": RevertToParent,
- "RevertToPointerRoot": RevertToPointerRoot,
- "RevertToNone": RevertToNone,
- "NotifyNormal": NotifyNormal,
- "NotifyGrab": NotifyGrab,
- "NotifyUngrab": NotifyUngrab,
- "NotifyAncestor": NotifyAncestor,
- "NotifyVirtual": NotifyVirtual,
- "NotifyInferior": NotifyInferior,
- "NotifyNonlinear": NotifyNonlinear,
- "NotifyNonlinearVirtual": NotifyNonlinearVirtual,
- "NotifyPointer": NotifyPointer,
- "NotifyPointerRoot": NotifyPointerRoot,
- "NotifyDetailNone": NotifyDetailNone,
- "GrabModeSync": GrabModeSync,
- "GrabModeAsync": GrabModeAsync,
- "AnyKey": AnyKey,
- "AnyModifier": AnyModifier,
-}
diff --git a/x11-wm/parti/parti-0.0.6_p456.ebuild b/x11-wm/parti/parti-0.0.6_p456.ebuild
index 5147b47c3da5..eb8598ced413 100644
--- a/x11-wm/parti/parti-0.0.6_p456.ebuild
+++ b/x11-wm/parti/parti-0.0.6_p456.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/parti-0.0.6_p456.ebuild,v 1.1 2010/11/25 16:51:10 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/parti-0.0.6_p456.ebuild,v 1.2 2010/11/25 16:55:42 xmw Exp $
EAPI=2
@@ -35,5 +35,5 @@ pkg_setup() {
}
src_prepare() {
- $(PYTHON -2 -a) make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi
+ $(PYTHON -2 -a) make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi || die
}
diff --git a/x11-wm/parti/parti-9999.ebuild b/x11-wm/parti/parti-9999.ebuild
index fdba3722861f..65a780d77464 100644
--- a/x11-wm/parti/parti-9999.ebuild
+++ b/x11-wm/parti/parti-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/parti-9999.ebuild,v 1.1 2010/08/31 12:29:29 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/parti/parti-9999.ebuild,v 1.2 2010/11/25 16:55:42 xmw Exp $
EAPI=2
@@ -42,6 +42,6 @@ pkg_setup() {
src_prepare() {
if [ ! -e wimpiggy/lowlevel/constants.pxi ] ; then
- cp "${FILESDIR}"/${P}-constants.pxi wimpiggy/lowlevel/constants.pxi || die
+ $(PYTHON -2 -a) make_constants_pxi.py wimpiggy/lowlevel/constants.txt wimpiggy/lowlevel/constants.pxi || die
fi
}