XtoW-20170106-1 master
authorJon Turney <jon.turney@dronecode.org.uk>
Fri, 6 Jan 2017 23:22:46 +0000 (23:22 +0000)
committerJon Turney <jon.turney@dronecode.org.uk>
Fri, 6 Jan 2017 23:36:07 +0000 (23:36 +0000)
Add bash to requires
Fix python code in startxtow to work when shared object file extension must be given to dlopen()
Compilation fix

XtoW.cygport
startxtow

index d0a4a725aa8b3c1015d9a6a90565f2ca1d822c5d..385df9c6bc8532a34a750e71495d4001b28d6efd 100644 (file)
@@ -1,11 +1,11 @@
 NAME=XtoW
-VERSION=20160323
+VERSION=20170106
 RELEASE=1
 
 CATEGORY="X11"
 
 XtoW_SUMMARY="Native Compositing X11 Window Manager"
-XtoW_REQUIRES="python rxvt-unicode xinit xwinclip xwin-xdg-menu"
+XtoW_REQUIRES="bash python rxvt-unicode xinit xwinclip xwin-xdg-menu"
 
 GIT_URI="git://people.freedesktop.org/~jturney/XtoW"
 GIT_TAG=${NAME}-${VERSION}
index 50d1e793444c922ec089b629a8028773c196d564..da1ef444ab274e6dc63df6d6178cb9791846f526 100755 (executable)
--- a/startxtow
+++ b/startxtow
@@ -5,7 +5,7 @@
 
 # this is rather round the houses, and introduces a dependency on python, but is a lot quicker than
 # adding RANDR 1.2 support to xf86-video-dummy and then using RANDR to resize the display when XtoW starts.
-DIMENSIONS=`python -c 'from ctypes import *; print cdll.user32.GetSystemMetrics(78), cdll.user32.GetSystemMetrics(79)'`
+DIMENSIONS=`python -c 'import ctypes; h = ctypes.CDLL("user32.dll") ; print h.GetSystemMetrics(78), h.GetSystemMetrics(79)'`
 
 CONFFILE=`mktemp`
 cat >$CONFFILE <<END
This page took 0.022342 seconds and 5 git commands to generate.