[Kde-bindings] KDE/kdebindings/ruby/plasma
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Thu Jul 3 18:30:29 UTC 2008
SVN commit 827761 by rdale:
* Change the install destination to plasma_scriptengine_ruby and the modules
of the plugin classes to match
CCMAIL: kde-bindings at kde.org
M +2 -0 ChangeLog
M +6 -3 src/CMakeLists.txt
M +1 -1 src/applet.rb
M +1 -1 src/data_engine.rb
M +1 -1 src/package_ruboid.rb
M +1 -1 src/plasma-scriptengine-ruby-applet.desktop
M +1 -1 src/plasma-scriptengine-ruby-dataengine.desktop
M +1 -1 src/plasma-scriptengine-ruby-package.desktop
--- trunk/KDE/kdebindings/ruby/plasma/ChangeLog #827760:827761
@@ -1,6 +1,8 @@
2008-07-03 Richard Dale <richard.j.dale at gmail.com>
* Add slots and signals for scripting applets and data engines corresponding
to the ones in Plasma::Applet and Plasma::DataEngine
+* Change the install destination to plasma_scriptengine_ruby and the modules
+ of the plugin classes to match
2008-06-30 Richard Dale <richard.j.dale at gmail.com>
* For script engine based applets, add the directory where the mainScript was
--- trunk/KDE/kdebindings/ruby/plasma/src/CMakeLists.txt #827760:827761
@@ -2,6 +2,9 @@
include_directories( ${CMAKE_SOURCE_DIR}/smoke ${RUBY_INCLUDE_PATH} ${CMAKE_SOURCE_DIR}/ruby/qtruby/src)
INCLUDE_DIRECTORIES (${QT_INCLUDES})
+IF (NOT PLASMA_FOUND)
+ FIND_PACKAGE(Plasma REQUIRED)
+ENDIF (NOT PLASMA_FOUND)
set(plasma_applet_LIB_SRCS
plasma.cpp
@@ -17,9 +20,9 @@
set_target_properties(plasma_applet PROPERTIES PREFIX "")
install(TARGETS plasma_applet DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
-install(FILES package_ruboid.rb DESTINATION ${DATA_INSTALL_DIR}/ruby_applet_script)
-install(FILES applet.rb DESTINATION ${DATA_INSTALL_DIR}/ruby_applet_script)
-install(FILES data_engine.rb DESTINATION ${DATA_INSTALL_DIR}/ruby_applet_script)
+install(FILES package_ruboid.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby)
+install(FILES applet.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby)
+install(FILES data_engine.rb DESTINATION ${DATA_INSTALL_DIR}/plasma_scriptengine_ruby)
install(FILES plasma-scriptengine-ruby-package.desktop DESTINATION ${SERVICES_INSTALL_DIR})
install(FILES plasma-scriptengine-ruby-applet.desktop DESTINATION ${SERVICES_INSTALL_DIR})
--- trunk/KDE/kdebindings/ruby/plasma/src/applet.rb #827760:827761
@@ -19,7 +19,7 @@
require 'plasma_applet'
-module RubyAppletScript
+module PlasmaScriptengineRuby
class Applet < Plasma::AppletScript
def initialize(parent, args)
super(parent)
--- trunk/KDE/kdebindings/ruby/plasma/src/data_engine.rb #827760:827761
@@ -19,7 +19,7 @@
require 'plasma_applet'
-module RubyAppletScript
+module PlasmaScriptengineRuby
class DataEngine < Plasma::DataEngineScript
def initialize(parent, args)
super(parent)
--- trunk/KDE/kdebindings/ruby/plasma/src/package_ruboid.rb #827760:827761
@@ -19,7 +19,7 @@
require 'plasma_applet'
-module RubyAppletScript
+module PlasmaScriptengineRuby
class PackageRuboid < Plasma::PackageStructure
def initialize(parent, args)
super(parent, "Ruboid")
--- trunk/KDE/kdebindings/ruby/plasma/src/plasma-scriptengine-ruby-applet.desktop #827760:827761
@@ -54,7 +54,7 @@
Type=Service
Icon=text-x-script
X-KDE-Library=krubypluginfactory
-X-KDE-PluginKeyword=ruby_applet_script/applet.rb
+X-KDE-PluginKeyword=plasma_scriptengine_ruby/applet.rb
X-EngineName=ruby-applet-script
X-Plasma-API=ruby-script
X-Plasma-PackageFormat=Ruboid
--- trunk/KDE/kdebindings/ruby/plasma/src/plasma-scriptengine-ruby-dataengine.desktop #827760:827761
@@ -54,7 +54,7 @@
Type=Service
Icon=text-x-script
X-KDE-Library=krubypluginfactory
-X-KDE-PluginKeyword=ruby_applet_script/data_engine.rb
+X-KDE-PluginKeyword=plasma_scriptengine_ruby/data_engine.rb
X-EngineName=ruby-dataengine-script
X-Plasma-API=ruby-script
X-Plasma-PackageFormat=Ruboid
--- trunk/KDE/kdebindings/ruby/plasma/src/plasma-scriptengine-ruby-package.desktop #827760:827761
@@ -5,5 +5,5 @@
Type=Service
Icon=text-x-script
X-KDE-Library=krubypluginfactory
-X-KDE-PluginKeyword=ruby_applet_script/package_ruboid.rb
+X-KDE-PluginKeyword=plasma_scriptengine_ruby/package_ruboid.rb
X-KDE-PluginInfo-Name=Ruboid
More information about the Kde-bindings
mailing list