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

List:       kdevelop-devel
Subject:    Re: KDevelop kate templates
From:       Sascha Cunz <sascha.cunz () tiscali ! de>
Date:       2005-09-15 13:45:00
Message-ID: 200509151545.01057.sascha.cunz () tiscali ! de
[Download RAW message or body]

Hi,
Am Donnerstag 15 September 2005 15:36 schrieb Dominik Haumann:
> On Thursday 15 September 2005 00:51, Amilcar do Carmo Lucas wrote:
> > On Wednesday 14 September 2005 23:07, Dominik Haumann wrote:
> > > afaik next KDevelop will be released with KDE 3.5.
> > > Kate's .desktop file requires a "X-Kate-Version=2.5" in order to load
> > > plugins. KDevelop's kate templates still contain "X-Kate-Version=2.2".
> > > 2 questions:
> > > - should we change that? I say yes.
> > No, KDevelop 3.3 should compile/work with KDE 3.2
> Yes, but this way it is not compatible with KDE 3.5 (regarding kate
> templates). As KDE 3.5 is the last release in the 3.x cycle and as such
> will stay for a long time I thought... ;)
> > > - are we still allowed to change that? - I don't know :-?
> > yes, but please don't.
> well, ok.

May i suggest a solution like the attached patch shows? However we'd have to 
check, if we can do such a change in strings still.

Cheers Sascha

["kateplugin.patch" (text/x-diff)]

Index: plugin.desktop
===================================================================
--- plugin.desktop	(Revision 460695)
+++ plugin.desktop	(Arbeitskopie)
@@ -2,7 +2,7 @@
 Type=Service
 ServiceTypes=Kate/Plugin
 X-KDE-Library=lib%{APPNAMELC}plugin
-X-Kate-Version=2.2
+X-Kate-Version=2.5
 Name=My First Kate Plugin
 Name[br]=Ma lugent Kate kentañ
 Name[cy]=F'ategyn cyntaf Kate
Index: kateplugin.kdevtemplate
===================================================================
--- kateplugin.kdevtemplate	(Revision 460695)
+++ kateplugin.kdevtemplate	(Arbeitskopie)
@@ -148,7 +148,7 @@
 
 [MSG]
 Type=message
-Comment=A plugin for Kate was created at %{dest}
+Comment=A plugin for Kate was created at %{dest}. The plugin will only run with kate \
from KDE3.5. If you want it to run with earlier versions of kate, you have to edit \
%{dest}/src/%{APPNAMELC}.desktop and set X-Kate-Version to 2.2   Comment[da]=Et \
plugin for Kate blev oprettet på %{dest}  Comment[de]=Ein Plugin für Kate wurde in \
%{dest} erstellt.  Comment[es]=Un plugin para Kate ha sido creado en %{dest}


_______________________________________________
KDevelop-devel mailing list
KDevelop-devel@barney.cs.uni-potsdam.de
http://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel

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

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