[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bindings
Subject:    Re: [Kde-bindings] KDE/kdebindings
From:       Arno Rehn <arno () arnorehn ! de>
Date:       2010-02-06 13:49:31
Message-ID: 201002061449.31703.arno () arnorehn ! de
[Download RAW message or body]

On Saturday 06 February 2010 14:05:36 Robert Riemann wrote:
> Hi Arno!
> 
> Amazing. Problem discussed on 3th of february in #kde-ruby and solved
> 3 days later. That's fast.
> 
> 
> I am using packages from opensuse buildservice. Can you provide some
> hints on how to patch my korundum to trunk?
I already did so [0], but to simplify matters I attach the patch here. It 
should apply cleanly to earlier versions of smoke and korundum as well (like 
one of the RCs).
Apply it with patch -p0 in the kdebindings/ directory, rebuild smokekparts and 
korundum.

[0]: http://lists.kde.org/?l=kde-bindings&m=126539905508178&w=2

-- 
Arno Rehn
arno@arnorehn.de

["terminalinterface.patch" (text/x-patch)]

Index: ruby/korundum/src/lib/KDE/korundum4.rb
===================================================================
--- ruby/korundum/src/lib/KDE/korundum4.rb	(revision 1085698)
+++ ruby/korundum/src/lib/KDE/korundum4.rb	(revision 1085699)
@@ -573,6 +573,8 @@
 					now = classname.sub(/^K?(?=[A-Z])/,'KDE::')
 				elsif classname =~ /^K/ && classname !~ /::/
 					now = classname.sub(/(^K)/, 'KDE::')
+				elsif classname =~ /^TerminalInterface/
+					now = "KDE::#{classname}"
 				end
 				now
 			end)
Index: smoke/kparts/kparts_includes.h
===================================================================
--- smoke/kparts/kparts_includes.h	(revision 1085698)
+++ smoke/kparts/kparts_includes.h	(revision 1085699)
@@ -13,3 +13,6 @@
 #include <kparts/browserrun.h>
 #include <kparts/statusbarextension.h>
 #include <kparts/browseropenorsavequestion.h>
+
+#include <kde_terminal_interface.h>
+#include <kde_terminal_interface_v2.h>
Index: smoke/kparts/smokeconfig.xml
===================================================================
--- smoke/kparts/smokeconfig.xml	(revision 1085698)
+++ smoke/kparts/smokeconfig.xml	(revision 1085699)
@@ -64,5 +64,7 @@
         <class>KParts::ReadOnlyPart</class>
         <class>KParts::ReadWritePart</class>
         <class>KParts::StatusBarExtension</class>
+        <class>TerminalInterface</class>
+        <class>TerminalInterfaceV2</class>
     </classList>
 </config>


_______________________________________________
Kde-bindings mailing list
Kde-bindings@kde.org
https://mail.kde.org/mailman/listinfo/kde-bindings


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic