trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

Re: [trinity-devel] TDE kwrite improvement (add the sort from kate->tools->sort)

From: Darrell Anderson <humanreadable@...>
Date: Wed, 29 Feb 2012 09:27:03 -0800 (PST)
> The plugin is in ~/.kde/share/apps/kate/plugins/sort and the
> rc file is:
>
> Yes, these are all stock plugins from openSuSE 11.4
> (3.5.10) that Ilya maintains. All of the source.rpms are available here:
> 
> http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_11.4/src/
> 
>   Specifically, the kate-sort plugin is:
> 
> http://ftp5.gwdg.de/pub/opensuse/repositories/KDE:/KDE3/openSUSE_11.4/src/kde3-katesort-1.0-1.3.src.rpm
> 
>   The contents of the source are:
> 
> 11:15 alchemy:~/suse/114/tmp> rpm2cpio
> ../srpm/kde3-katesort-1.0-1.3.src.rpm |
> cpio -idmv
> hi16-action-katesort.png
> hi32-action-katesort.png
> katesort-1.0.tar.bz2
> kde3-katesort-1.0-icons.diff
> kde3-katesort.spec

> > If you can discern from where you obtained that plugin,
> then perhaps we can hack the code into a katepart plugin
> rather than a kate plugin. If we can do that then you/our
> desire to add sorting to kwrite will be possible.
> > 
> > Many of the kate plugins are installed from tdeaddons.
> The standard katepart plugins come from tdelibs.
> 
>   It would be supercool to add this to tde :)

Okay, so now we know from where the sources are obtained. An enhancement request should be able to push the plugin and Suse sources into tdeaddons. That provides the plugin to all Trinity users for kate.

Based on the sources file name (katesort-1.0.tar.bz2), looks like this is the original source:

http://kde-apps.org/content/show.php/Katesort+plugin?content=69495

The next step would be to hack the code and if possible convert the plugin to a katepart plugin. I have no idea what is involved to do that or whether that is possible.

Darrell