Darrell,
I have completed conversion of the katesort-1.0 source to TQt3/TDE and it builds fine. Download the converted source here:
http://www.3111skyline.com/dl/dt/trinity/cfg/applications-katesort-plugin.ta...
The source installs properly in /opt/trinity/share/apps/kate/plugins like all the rest of the plugins, but for some reason isn't automatically read and included by kate when kate is started. I'll look at the kate code. I suspect it is due to all plugins beginning with kate..... and this just being 'sort' instead of 'katesort'
The package contents and the plugin_sort.rc are:
tde-katesort-plugin-R14preRC1-1-i686.pkg.tar.xz
/opt/ /opt/trinity/ /opt/trinity/lib/ /opt/trinity/lib/trinity/ /opt/trinity/lib/trinity/libsortplugin.la /opt/trinity/lib/trinity/libsortplugin.so /opt/trinity/share/ /opt/trinity/share/apps/ /opt/trinity/share/apps/kate/ /opt/trinity/share/apps/kate/plugins/ /opt/trinity/share/apps/kate/plugins/sort/ /opt/trinity/share/apps/kate/plugins/sort/plugin_sort.rc /opt/trinity/share/doc/ /opt/trinity/share/doc/tde/ /opt/trinity/share/doc/tde/HTML/ /opt/trinity/share/doc/tde/HTML/cs/ /opt/trinity/share/doc/tde/HTML/cs/katesort/ /opt/trinity/share/doc/tde/HTML/cs/katesort/common /opt/trinity/share/doc/tde/HTML/cs/katesort/index.cache.bz2 /opt/trinity/share/doc/tde/HTML/cs/katesort/index.docbook /opt/trinity/share/doc/tde/HTML/cs/katesort/sort_plugin_cs.png /opt/trinity/share/doc/tde/HTML/en/ /opt/trinity/share/doc/tde/HTML/en/katesort/ /opt/trinity/share/doc/tde/HTML/en/katesort/common /opt/trinity/share/doc/tde/HTML/en/katesort/index.cache.bz2 /opt/trinity/share/doc/tde/HTML/en/katesort/index.docbook /opt/trinity/share/doc/tde/HTML/en/katesort/sort_plugin_en.png /opt/trinity/share/icons/ /opt/trinity/share/icons/hicolor/ /opt/trinity/share/icons/hicolor/16x16/ /opt/trinity/share/icons/hicolor/16x16/actions/ /opt/trinity/share/icons/hicolor/16x16/actions/katesort.png /opt/trinity/share/icons/hicolor/32x32/ /opt/trinity/share/icons/hicolor/32x32/actions/ /opt/trinity/share/icons/hicolor/32x32/actions/katesort.png /opt/trinity/share/services/ /opt/trinity/share/services/katesort.desktop
/opt/trinity/share/apps/kate/plugins/sort/plugin_sort.rc
<!DOCTYPE kpartgui> <kpartplugin name="sort" library="libsortplugin" version="1"> <MenuBar> <Menu name="tools"><Text>&Tools</Text> <Action name="edit_insert_sort"/> </Menu> </MenuBar> <ToolBar name="extraToolBar"> <Action name="edit_insert_sort"/> </ToolBar> <ActionProperties> <Action icon="katesort" name="edit_insert_sort" /> </ActionProperties> </kpartplugin>
This is done, the only thing left is to get the hook working so kate autoloads the plugin on start.
On 02/25/2014 03:30 PM, David C. Rankin wrote:
Darrell,
I have completed conversion of the katesort-1.0 source to TQt3/TDE and it builds fine. Download the converted source here:
http://www.3111skyline.com/dl/dt/trinity/cfg/applications-katesort-plugin.ta...
It works perfectly!! All you had to do was go to Configure -> Kate -> First Plugins -> [x] Sort. You guys test and then push the code to git. Works great! Screenshot:
http://www.3111skyline.com/dl/dt/trinity/ss/katesort.jpg
On Tue February 25 2014 3:30:35 pm David C. Rankin wrote:
Darrell,
I have completed conversion of the katesort-1.0 source to TQt3/TDE and it builds fine. Download the converted source here:
http://www.3111skyline.com/dl/dt/trinity/cfg/applications-katesort-plugin.ta...
Please attach to the bug report.
Darrell
On 02/25/2014 03:50 PM, David C. Rankin wrote:
On 02/25/2014 03:46 PM, Darrell wrote:
Please attach to the bug report.
Darrell
uploading now. Just build it like you build any other autotools app.
I have built and confirmed katesort-plugin on both R14 i686 and x86_64. You guys (and girls) test and let us know of any issues in bug 881. If there are none, let's get this code added to the tree under main/applications. The build I used for it is:
cp /usr/share/aclocal/libtool.m4 ./admin/libtool.m4.in cp /usr/share/libtool/config/ltmain.sh ./admin make -f admin/Makefile.common
./configure \ --prefix=${TDEDIR} \ --with-qt-dir=${QTDIR} \ --with-qt-includes=${QTDIR}/include \ --with-qt-libraries=${QTDIR}/lib \ --with-extra-includes="/usr/include/tqt:/usr/include/tqt/Qt" \ --with-extra-libs="${TDEDIR}/lib:${TDEDIR}/lib/trinity" \ --sysconfdir=${TDEDIR}/etc \ --localstatedir=/var \ --enable-closure
make $NUMJOBS
It probably does not need --enable-closure and you can probably get rid of some of the --with-extra-....., but those do not hurt.