summaryrefslogtreecommitdiffstats
path: root/superkaramba/examples/globalMouse
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/examples/globalMouse')
-rw-r--r--superkaramba/examples/globalMouse/CMakeLists.txt11
-rw-r--r--superkaramba/examples/globalMouse/README2
-rw-r--r--superkaramba/examples/globalMouse/extension/setup.py8
-rwxr-xr-xsuperkaramba/examples/globalMouse/xcursor.sobin27408 -> 0 bytes
4 files changed, 16 insertions, 5 deletions
diff --git a/superkaramba/examples/globalMouse/CMakeLists.txt b/superkaramba/examples/globalMouse/CMakeLists.txt
new file mode 100644
index 0000000..9df1a76
--- /dev/null
+++ b/superkaramba/examples/globalMouse/CMakeLists.txt
@@ -0,0 +1,11 @@
+##### xcursor.so #######################
+
+include_directories(
+ ${PYTHON_INCLUDE_DIR}
+)
+
+tde_add_library( xcursor MODULE NO_LIBTOOL_FILE
+ SOURCES extension/xcursor.c
+ LINK ${PYTHON_LIBRARIES} X11
+ DESTINATION ${DATA_INSTALL_DIR}/superkaramba/examples/globalMouse
+)
diff --git a/superkaramba/examples/globalMouse/README b/superkaramba/examples/globalMouse/README
index 758ce4b..7d2abc3 100644
--- a/superkaramba/examples/globalMouse/README
+++ b/superkaramba/examples/globalMouse/README
@@ -19,7 +19,7 @@ INSTALLATION:
named build. This file needs to be copied in the same directory as the
eyes.theme and eyes.py file.
- A precompiled xcursor.so file is included (Compiled on Mandrake 9.1).
+ A precompiled xcursor.so file is included.
CHANGES:
* Moving the theme now works as it should.
diff --git a/superkaramba/examples/globalMouse/extension/setup.py b/superkaramba/examples/globalMouse/extension/setup.py
index 49bd87b..2003334 100644
--- a/superkaramba/examples/globalMouse/extension/setup.py
+++ b/superkaramba/examples/globalMouse/extension/setup.py
@@ -5,10 +5,10 @@ def main():
version = '1.0',
description = 'Determines the position of the X mouse cursor',
ext_modules = [Extension('xcursor',
- include_dirs = ['/usr/X11R6/include'],
- libraries = ['X11'],
- library_dirs = ['/usr/X11R6/lib'],
- sources = ['xcursor.c'])])
+ include_dirs = ['/usr/X11R6/include'],
+ libraries = ['X11'],
+ library_dirs = ['/usr/X11R6/lib'],
+ sources = ['xcursor.c'])])
if __name__ == "__main__":
main()
diff --git a/superkaramba/examples/globalMouse/xcursor.so b/superkaramba/examples/globalMouse/xcursor.so
deleted file mode 100755
index 167bb29..0000000
--- a/superkaramba/examples/globalMouse/xcursor.so
+++ /dev/null
Binary files differ