[Kde-bindings] branches/work/kdebindings-smoke2

Arno Rehn kde at arnorehn.de
Tue Feb 12 16:48:05 UTC 2008


SVN commit 774166 by arnorehn:

* Add smokeplasma and ruby plasma bindings.

CCMAIL: kde-bindings at kde.org



 M  +1 -0      ChangeLog  
 M  +15 -14    ruby/CMakeLists.txt  
 A             ruby/plasma (directory)  
 A             ruby/plasma/CMakeLists.txt  
 A             ruby/plasma/example.rb  
 A             ruby/plasma/lib (directory)  
 A             ruby/plasma/lib/Plasma.rb  
 A             ruby/plasma/plasma.cpp   [License: UNKNOWN]
 A             ruby/plasma/plasma.rb  
 M  +9 -3      smoke/CMakeLists.txt  
 M  +4 -5      smoke/kde/kde_smoke.h  
 A             smoke/plasma (directory)  
 A             smoke/plasma/CMakeLists.txt  
 A             smoke/plasma/classlist  
 A             smoke/plasma/generate.pl.cmake  
 AM            smoke/plasma/generate_makefile_am.pl  
 A             smoke/plasma/header_list  
 A             smoke/plasma/hint_header_list.pl  
 A             smoke/plasma/plasma_header_list  
 A             smoke/plasma/plasma_smoke.h   [License: UNKNOWN]
 A             smoke/plasma/qtguess.pl.cmake  


--- branches/work/kdebindings-smoke2/ChangeLog #774165:774166
@@ -1,6 +1,7 @@
 2008-02-12  Arno Rehn  <arno at arnorehn.de>
 
     * Added missing lib/ directory in ruby/qsci.
+    * Add smokeplasma and ruby plasma bindings.
 
 2008-02-11  Arno Rehn  <arno at arnorehn.de>
 
--- branches/work/kdebindings-smoke2/ruby/CMakeLists.txt #774165:774166
@@ -4,33 +4,34 @@
 # QtRuby/Korundum
 
 OPTION(ENABLE_QTRUBY "build QtRuby" ON)
-#OPTION(ENABLE_KORUNDUM "build Korundum" ON)
-#OPTION(ENABLE_PLASMA "build Plasma" ON)
+OPTION(ENABLE_KORUNDUM "build Korundum" ON)
+OPTION(ENABLE_PLASMA "build Plasma" ON)
 
 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" )
 
 set(QTRUBY_ENABLED "no")
-#set(KORUNDUM_ENABLED "no")
+set(KORUNDUM_ENABLED "no")
+set(PLASMA_ENABLED "no")
+
 if(RUBY_EXECUTABLE AND RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
     if(ENABLE_QTRUBY)
         add_subdirectory( qtruby )
         set(QTRUBY_ENABLED "yes")
     endif(ENABLE_QTRUBY)
-#     if(ENABLE_KORUNDUM)
-#         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_KORUNDUM)
+        add_subdirectory( korundum )
+        set(KORUNDUM_ENABLED "yes")
+    endif(ENABLE_KORUNDUM)
+    if(ENABLE_PLASMA)
+        add_subdirectory( plasma )
+        set(PLASMA_ENABLED "yes")
+    endif(ENABLE_PLASMA)
 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})
 add_subdirectory( qsci )
-add_subdirectory( korundum )
-#message(STATUS "Build Korundum... " ${KORUNDUM_ENABLED})
-#message(STATUS "Build Plasma... " ${PLASMA_ENABLED})
 
 #####################################################################
 # Kross Ruby
--- branches/work/kdebindings-smoke2/smoke/CMakeLists.txt #774165:774166
@@ -1,10 +1,11 @@
 OPTION(ENABLE_SMOKE "build Smoke" ON)
 OPTION(ENABLE_SMOKEQSCI "build SmokeQSci" On)
-OPTION(ENABLE_SMOKEKDE "build SmokeKDE" OFF)
+OPTION(ENABLE_SMOKEKDE "build SmokeKDE" ON)
+OPTION(ENABLE_SMOKEPLASMA "build SmokePlasma" ON)
 
 set(SMOKE_ENABLED "no")
 
-if(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEKDE)
+if(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEKDE OR ENABLE_SMOKEPLASMA)
     add_subdirectory(qt)
     set(SMOKE_ENABLED "yes - Qt")
 
@@ -18,8 +19,13 @@
         set(SMOKE_ENABLED "${SMOKE_ENABLED}, KDE")
     endif(ENABLE_SMOKEKDE)
 
-endif(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEKDE)
+    if(ENABLE_SMOKEPLASMA)
+        add_subdirectory(plasma)
+        set(SMOKE_ENABLED "${SMOKE_ENABLED}, Plasma")
+    endif(ENABLE_SMOKEPLASMA)
 
+endif(ENABLE_SMOKE OR ENABLE_SMOKEQSCI OR ENABLE_SMOKEKDE OR ENABLE_SMOKEPLASMA)
+
 message(STATUS "Build Smoke... " ${SMOKE_ENABLED})
 
 install(FILES smoke.h DESTINATION ${CMAKE_INSTALL_PREFIX}/include/smoke)
--- branches/work/kdebindings-smoke2/smoke/kde/kde_smoke.h #774165:774166
@@ -1,11 +1,10 @@
 #ifndef KDE_SMOKE_H
 #define KDE_SMOKE_H
 
-#include <kdemacros.h>
+#include <smoke.h>
+
 // Defined in smokedata.cpp, initialized by init_kde_Smoke(), used by all .cpp files
-extern KDE_EXPORT Smoke* kde_Smoke;
-extern KDE_EXPORT void init_kde_Smoke();
+extern SMOKE_EXPORT Smoke* kde_Smoke;
+extern SMOKE_EXPORT void init_kde_Smoke();
 
-class QGlobalSpace { };
-
 #endif
** branches/work/kdebindings-smoke2/smoke/plasma/generate_makefile_am.pl #property svn:executable
   + *



More information about the Kde-bindings mailing list