superkaramba: added cmake rules for example files and create xcursor.so at build time.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/45/head
@ -0,0 +1,7 @@
|
||||
add_subdirectory( globalMouse )
|
||||
|
||||
install(
|
||||
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/
|
||||
DESTINATION ${DATA_INSTALL_DIR}/superkaramba/examples
|
||||
PATTERN CMakeLists.txt EXCLUDE
|
||||
)
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 6.6 KiB |
Before Width: | Height: | Size: 311 B After Width: | Height: | Size: 311 B |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 305 B After Width: | Height: | Size: 305 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
@ -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
|
||||
)
|
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
@ -1,27 +1,36 @@
|
||||
#!/bin/sh
|
||||
themes=(
|
||||
"text/text.theme"
|
||||
"autoHide/main.theme"
|
||||
"bar/bar.theme"
|
||||
"graph/graph.theme"
|
||||
"image/image.theme"
|
||||
"popupMenu/popupMenu.theme"
|
||||
"taskBar/cleanbar/cleanbar.theme"
|
||||
"richtext/richtext.theme"
|
||||
"richtext/rtext.theme"
|
||||
"globalMouse/eyes.theme"
|
||||
"unicode/unicode.theme"
|
||||
"mouseDrag/karmix/karmix.theme"
|
||||
"input_api/input_api.theme"
|
||||
"input_example/input_example.theme"
|
||||
)
|
||||
themes="
|
||||
autoHide/main.theme
|
||||
bar/bar.theme
|
||||
change_interval/interval.theme
|
||||
cleanbar/cleanbar.theme
|
||||
control_management/mgmt.theme
|
||||
disableRightClickMenu/disable_menu.theme
|
||||
globalMouse/eyes.theme
|
||||
graph/graph.theme
|
||||
image/image.theme
|
||||
input_api/input_api.theme
|
||||
input_example/input_example.theme
|
||||
mouseDrag/karmix.theme
|
||||
mouseDrop/mousedrop.theme
|
||||
openCloseTheme/1.theme
|
||||
openCloseTheme/2.theme
|
||||
popupMenu/popupMenu.theme
|
||||
richtext/richtext.theme
|
||||
richtext/rtext.theme
|
||||
service_group/service_group.theme
|
||||
setIncomingData/1.theme
|
||||
setIncomingData/2.theme
|
||||
text/text.theme
|
||||
unicode/unicode.theme
|
||||
"
|
||||
|
||||
for theme in "${themes[@]}"
|
||||
for theme in $themes
|
||||
do
|
||||
echo $theme
|
||||
dcop `dcop superkaramba* | head -n 1` default openTheme $PWD/$theme
|
||||
read a
|
||||
dcop `dcop superkaramba* | head -n 1` default closeTheme `expr $theme : '.*/\(.*\)\.'`
|
||||
echo $theme
|
||||
dcop `dcop superkaramba* | head -n 1` default openTheme $PWD/$theme
|
||||
read a
|
||||
dcop `dcop superkaramba* | head -n 1` default closeTheme `expr $theme : '.*/\(.*\)\.'`
|
||||
done
|
||||
|
||||
#dcop `dcop superkaramba* | head -n 1` default quit
|
||||
|