[Kde-bindings] KDE/kdebindings/ruby
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Sat Jun 7 16:47:56 UTC 2008
SVN commit 818086 by rdale:
* Add kdevplatform, khtml, okular, phonon and quitools ruby extensions
CCMAIL: kde-bindings at kde.org
M +46 -14 CMakeLists.txt
M +1 -1 akonadi/CMakeLists.txt
A kdevplatform (directory)
A kdevplatform/CMakeLists.txt
A kdevplatform/kdevplatform.cpp [License: GPL (v2+)]
A kdevplatform/kdevplatform.rb
A kdevplatform/kdevplatformhandlers.cpp [License: GPL (v2+)]
A khtml (directory)
A khtml/CMakeLists.txt
A khtml/khtml.cpp [License: GPL (v2+)]
A khtml/khtml.rb
A khtml/khtmlhandlers.cpp [License: GPL (v2+)]
M +2 -0 korundum/examples/dbpedia_references/dbpedia_references.rb
M +0 -16 korundum/src/lib/KDE/korundum4.rb
A okular (directory)
A okular/CMakeLists.txt
A okular/okular.cpp [License: GPL (v2+)]
A okular/okular.rb
A okular/okularhandlers.cpp [License: GPL (v2+)]
A phonon (directory)
A phonon/CMakeLists.txt
A phonon/phonon.cpp [License: GPL (v2+)]
A phonon/phonon.rb
A phonon/phononhandlers.cpp [License: GPL (v2+)]
A qtuitools (directory)
A qtuitools/CMakeLists.txt
A qtuitools/qtuitools.cpp [License: GPL (v2+)]
A qtuitools/qtuitools.rb
A qtuitools/qtuitoolshandlers.cpp [License: GPL (v2+)]
M +2 -2 qtwebkit/CMakeLists.txt
--- trunk/KDE/kdebindings/ruby/CMakeLists.txt #818085:818086
@@ -5,11 +5,17 @@
OPTION(ENABLE_QTRUBY "build QtRuby" ON)
OPTION(ENABLE_QTWEBKIT "build QtWebKit" ON)
-OPTION(ENABLE_KORUNDUM "build Korundum" ON)
+OPTION(ENABLE_QTUITOOLS "build QtUiTools" ON)
+
+OPTION(ENABLE_PHONON "build Phonon" ON)
OPTION(ENABLE_QSCINTILLA "build QScintilla" OFF)
OPTION(ENABLE_QWT "build Qwt" OFF)
OPTION(ENABLE_SOPRANO "build Soprano" OFF)
+
OPTION(ENABLE_AKONADI "build Akonadi" OFF)
+OPTION(ENABLE_KDEVPLATFORM "build KDevPlatform" ON)
+OPTION(ENABLE_KORUNDUM "build Korundum" ON)
+OPTION(ENABLE_KHTML "build KHTML" ON)
OPTION(ENABLE_KTEXTEDITOR "build KTextEditor" ON)
OPTION(ENABLE_NEPOMUK "build Nepomuk" OFF)
OPTION(ENABLE_PLASMA "build Plasma" OFF)
@@ -19,11 +25,15 @@
set(QTRUBY_ENABLED "no")
set(QTWEBKIT_ENABLED "no")
-set(KORUNDUM_ENABLED "no")
+set(QTUITOOLS_ENABLED "no")
+
set(QSCINTILLA_ENABLED "no")
set(QWT_ENABLED "no")
set(SOPRANO_ENABLED "no")
+
set(AKONADI_ENABLED "no")
+set(KDEVPLATFORM_ENABLED "no")
+set(KORUNDUM_ENABLED "no")
set(KTEXTEDITOR_ENABLED "no")
set(NEPOMUK_ENABLED "no")
set(PLASMA_ENABLED "no")
@@ -37,10 +47,44 @@
add_subdirectory( qtruby )
set(QTRUBY_ENABLED "yes")
endif(ENABLE_QTRUBY)
+ if(ENABLE_QTWEBKIT)
+ add_subdirectory( qtwebkit )
+ set(QTWEBKIT_ENABLED "yes")
+ endif(ENABLE_QTWEBKIT)
+ if(ENABLE_QTUITOOLS)
+ add_subdirectory( qtuitools )
+ set(QTUITOOLS_ENABLED "yes")
+ endif(ENABLE_QTUITOOLS)
+
+ if(ENABLE_PHONON)
+ add_subdirectory( phonon )
+ set(PHONON_ENABLED "yes")
+ endif(ENABLE_PHONON)
+ if(ENABLE_QSCINTILLA)
+ add_subdirectory( qscintilla )
+ set(QSCINTILLA_ENABLED "yes")
+ endif(ENABLE_QSCINTILLA)
+ if(ENABLE_QWT)
+ add_subdirectory( qwt )
+ set(QWT_ENABLED "yes")
+ endif(ENABLE_QWT)
+ if(ENABLE_SOPRANO)
+ add_subdirectory( soprano )
+ set(SOPRANO_ENABLED "yes")
+ endif(ENABLE_SOPRANO)
+
if(ENABLE_KORUNDUM)
add_subdirectory( korundum )
set(KORUNDUM_ENABLED "yes")
endif(ENABLE_KORUNDUM)
+ if(ENABLE_KDEVPLATFORM)
+ add_subdirectory( kdevplatform )
+ set(KDEVPLATFORM_ENABLED "yes")
+ endif(ENABLE_KDEVPLATFORM)
+ if(ENABLE_KHTML)
+ add_subdirectory( khtml )
+ set(KHTML_ENABLED "yes")
+ endif(ENABLE_KHTML)
if(ENABLE_NEPOMUK)
add_subdirectory( nepomuk )
set(NEPOMUK_ENABLED "yes")
@@ -49,10 +93,6 @@
add_subdirectory( plasma )
set(PLASMA_ENABLED "yes")
endif(ENABLE_PLASMA)
- if(ENABLE_SOPRANO)
- add_subdirectory( soprano )
- set(SOPRANO_ENABLED "yes")
- endif(ENABLE_SOPRANO)
if(ENABLE_AKONADI)
add_subdirectory( akonadi )
set(AKONADI_ENABLED "yes")
@@ -61,14 +101,6 @@
add_subdirectory( ktexteditor )
set(KTEXTEDITOR_ENABLED "yes")
endif(ENABLE_KTEXTEDITOR)
- if(ENABLE_QSCINTILLA)
- add_subdirectory( qscintilla )
- set(QSCINTILLA_ENABLED "yes")
- endif(ENABLE_QSCINTILLA)
- if(ENABLE_QWT)
- add_subdirectory( qwt )
- set(QWT_ENABLED "yes")
- endif(ENABLE_QWT)
endif(RUBY_EXECUTABLE AND RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
message(STATUS "Build QtRuby... " ${QTRUBY_ENABLED})
message(STATUS "Build Korundum... " ${KORUNDUM_ENABLED})
--- trunk/KDE/kdebindings/ruby/akonadi/CMakeLists.txt #818085:818086
@@ -1,5 +1,5 @@
include_directories( ${CMAKE_SOURCE_DIR}/smoke ${RUBY_INCLUDE_PATH} ${CMAKE_SOURCE_DIR}/ruby/qtruby/src)
-INCLUDE_DIRECTORIES (${QT_INCLUDES})
+INCLUDE_DIRECTORIES (${QT_INCLUDES} ${KDE4_INCLUDE_DIR})
set(akonadi_LIBRARY_SRC akonadi.cpp akonadihandlers.cpp)
--- trunk/KDE/kdebindings/ruby/korundum/examples/dbpedia_references/dbpedia_references.rb #818085:818086
@@ -1,6 +1,8 @@
$KCODE = 'u'
require 'korundum4'
+require 'soprano'
+require 'qtwebkit'
require 'cgi'
require 'rexml/document'
--- trunk/KDE/kdebindings/ruby/korundum/src/lib/KDE/korundum4.rb #818085:818086
@@ -469,26 +469,10 @@
m = KIO
elsif classname =~ /^Sonnet/
m = Sonnet
- elsif classname =~ /^DOM/
- m = DOM
elsif classname =~ /^KNS/
m = KNS
- elsif classname =~ /^Kontact/
- m = Kontact
- elsif classname =~ /^KTextEditor/
- m = KTextEditor
- elsif classname =~ /^Kate/
- m = Kate
- elsif classname =~ /^KMediaPlayer/
- m = KMediaPlayer
- elsif classname =~ /^Ko/
- m = Ko
elsif classname =~ /^KWallet/
m = KWallet
- elsif classname =~ /^SafeSite/
- m = SafeSite
- elsif classname =~ /^Nepomuk/
- m = Nepomuk
else
m = KDE
end
--- trunk/KDE/kdebindings/ruby/qtwebkit/CMakeLists.txt #818085:818086
@@ -1,8 +1,8 @@
include_directories( ${CMAKE_SOURCE_DIR}/smoke ${RUBY_INCLUDE_PATH} ${CMAKE_SOURCE_DIR}/ruby/qtruby/src)
INCLUDE_DIRECTORIES (${QT_INCLUDES})
-set(qsci_LIBRARY_SRC qtwebkit.cpp qtwebkithandlers.cpp)
-add_library(qtwebkit MODULE ${qsci_LIBRARY_SRC})
+set(qtwebkit_LIBRARY_SRC qtwebkit.cpp qtwebkithandlers.cpp)
+add_library(qtwebkit MODULE ${qtwebkit_LIBRARY_SRC})
target_link_libraries(qtwebkit ${QT_QTWEBKIT_LIBRARY} ${RUBY_LIBRARY} smokeqt smokeqtwebkit qtruby4shared)
set_target_properties(qtwebkit PROPERTIES PREFIX "")
install(TARGETS qtwebkit DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
More information about the Kde-bindings
mailing list