[Kde-bindings] KDE/kdebindings/ruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri May 30 13:49:41 UTC 2008


SVN commit 814497 by rdale:

* Add a script engine based ruby plasma applet api, implemented in Ruby as three plugins.
  The first plugin is a custom package to allow the main script to be called 'main.rb', and the
  other two implement the applet and data engine.
* The script engine version doesn't work yet, although the examples that use the full C++ api
  should still work

CCMAIL: kde-bindings at kde.org

 M  +7 -5      CMakeLists.txt  
 A             plasma (directory)  
 A             plasma/CMakeLists.txt  
 A             plasma/examples (directory)  
 A             plasma/examples/CMakeLists.txt  
 A             plasma/examples/applets (directory)  
 A             plasma/examples/applets/CMakeLists.txt  
 A             plasma/examples/applets/analog-clock (directory)  
 A             plasma/examples/applets/analog-clock/CMakeLists.txt  
 A             plasma/examples/applets/analog-clock/analog_clock_config.ui  
 A             plasma/examples/applets/analog-clock/clock.rb  
 A             plasma/examples/applets/analog-clock/contents (directory)  
 A             plasma/examples/applets/analog-clock/contents/code (directory)  
 A             plasma/examples/applets/analog-clock/contents/code/main  
 A             plasma/examples/applets/analog-clock/contents/ui (directory)  
 A             plasma/examples/applets/analog-clock/contents/ui/config.ui  
 A             plasma/examples/applets/analog-clock/metadata.desktop  
 A             plasma/examples/applets/analog-clock/plasma-ruby-clock-default.desktop  
 A             plasma/examples/applets/digital-clock (directory)  
 A             plasma/examples/applets/digital-clock/CMakeLists.txt  
 A             plasma/examples/applets/digital-clock/calendar.ui  
 A             plasma/examples/applets/digital-clock/clock.rb  
 A             plasma/examples/applets/digital-clock/digital_clock_config.ui  
 A             plasma/examples/applets/digital-clock/plasma-ruby-digital-clock-default.desktop  
 A             plasma/examples/applets/webapplet (directory)  
 A             plasma/examples/applets/webapplet/CMakeLists.txt  
 A             plasma/examples/applets/webapplet/plasma-ruby-applet-web.desktop  
 A             plasma/examples/applets/webapplet/web_applet.rb  
 A             plasma/src (directory)  
 A             plasma/src/CMakeLists.txt  
 A             plasma/src/applet.rb  
 A             plasma/src/data_engine.rb  
 A             plasma/src/lib (directory)  
 A             plasma/src/lib/CMakeLists.txt  
 A             plasma/src/lib/KDE (directory)  
 A             plasma/src/lib/KDE/CMakeLists.txt  
 A             plasma/src/lib/KDE/plasma.rb  
 A             plasma/src/package_ruboid.rb  
 A             plasma/src/plasma-scriptengine-ruby-applet.desktop  
 A             plasma/src/plasma-scriptengine-ruby-dataengine.desktop  
 A             plasma/src/plasma-scriptengine-ruby-package.desktop  
 A             plasma/src/plasma.cpp   [License: UNKNOWN]
 A             plasma/src/plasma_applet_automoc.cpp.files  
 A             plasma/src/plasmahandlers.cpp   [License: GPL (v2+)]


--- trunk/KDE/kdebindings/ruby/CMakeLists.txt #814496:814497
@@ -9,6 +9,7 @@
 OPTION(ENABLE_QWT "build Qwt" OFF)
 OPTION(ENABLE_SOPRANO "build Soprano" OFF)
 OPTION(ENABLE_AKONADI "build Akonadi" OFF)
+OPTION(ENABLE_PLASMA "build Plasma" OFF)
 
 SET(CUSTOM_RUBY_SITE_ARCH_DIR ${RUBY_SITE_ARCH_DIR} CACHE DIR "custom installation directory for ruby binary extension" )
 SET(CUSTOM_RUBY_SITE_LIB_DIR ${RUBY_SITE_LIB_DIR} CACHE DIR "custom installation directory for ruby extension" )
@@ -19,6 +20,7 @@
 set(QWT_ENABLED "no")
 set(SOPRANO_ENABLED "no")
 set(AKONADI_ENABLED "no")
+set(PLASMA_ENABLED "no")
 
 if(RUBY_EXECUTABLE AND RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
     if(ENABLE_QTRUBY)
@@ -29,10 +31,10 @@
         add_subdirectory( korundum )
         set(KORUNDUM_ENABLED "yes")
     endif(ENABLE_KORUNDUM)
-#    if(ENABLE_PLASMA)
-#        add_subdirectory( plasma )
-#        set(PLASMA_ENABLED "yes")
-#    endif(ENABLE_PLASMA)
+    if(ENABLE_PLASMA)
+        add_subdirectory( plasma )
+        set(PLASMA_ENABLED "yes")
+    endif(ENABLE_PLASMA)
     if(ENABLE_SOPRANO)
         add_subdirectory( soprano )
         set(SOPRANO_ENABLED "yes")
@@ -52,7 +54,7 @@
 endif(RUBY_EXECUTABLE AND RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
 message(STATUS "Build QtRuby... " ${QTRUBY_ENABLED})
 message(STATUS "Build Korundum... " ${KORUNDUM_ENABLED})
-# message(STATUS "Build Plasma... " ${PLASMA_ENABLED})
+message(STATUS "Build Plasma... " ${PLASMA_ENABLED})
 message(STATUS "Build Soprano... " ${SOPRANO_ENABLED})
 message(STATUS "Build Akonadi... " ${AKONADI_ENABLED})
 message(STATUS "Build QScintilla... " ${QSCINTILLA_ENABLED})



More information about the Kde-bindings mailing list