trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2016

Re: [trinity-devel] Help porting KDE3 app to trinity

From: russell@... (Russell Brown)
Date: Fri, 11 Mar 2016 16:40:06 +0000 (GMT)
Hi Slávek,

Thanks for the response.

Quoth Slávek Banko.....
>Dne p? 11. b?ezna 2016 Russell Brown napsal(a):
>> I'm trying to migrate our systems to a 'pure' TDE 14 environment on
>> Debian Jessie (previously used Wheezy with a TDE and KDE3 mix) and
>> having real problems porting an old KDE3.5 application (it's a modified
>> version of kconsole that's needed to run some of our legacy stuff).
>
>Unfortunately, the procedure is not yet listed on the wiki. However, for 
>applications that use automake procedure is roughly as follows:
>
>1) Remove the original 'admin' folder
>2) Use script experimental/qt3-tqt3/convert_existing_qt3_app_to_tqt3
>3) Use script experimental/kde-tde/convert_existing_kde3_app_to_tde
>4) Add new 'admin' folder from the main/common/admin
>5) Try to build the application and resolve problems that occur :)
>
>What application do you want to port?
>If you want, use my private email address...

As I said in my posting to the list, it's a modified copy of konsole
renamed to klt.

I tried your suggestions above but a) convert_existing_kde3_app_to_tde
seems to be looking for specific applications and b) even after running
this, configure fails with Qt headers not found.

Previously I'd tried adding:

CFLAGS=-I/usr/include/tqt
CXXFLAGS=-I/usr/include/tqt

to configure.in.in and copying the admin folder from
tdebase-trinity-14.0.3/admin then:

make -f Makefile.cvs

(all as suggested here:
http://comments.gmane.org/gmane.comp.desktop.trinity.devel/1938)

The configure says it's worked but the make fails with:

>Making all in klt
>make[2]: Entering directory '/usr/tract/csrc/klt/klt'
>/bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.  -I.. -I. -I/opt/trinity/include -I/usr/share/tqt3/include -I. -include tqt.h   -DQT_THREAD_SUPPORT  -D_REENTRANT  -I/usr/include/tqt -MT TEPty.lo -MD -MP -MF .deps/TEPty.Tpo -c -o TEPty.lo TEPty.cpp
>../libtool: line 2083: TEPty.cpp: command not found
>libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I.  -I/opt/trinity/include -I/usr/share/tqt3/include -I. -include tqt.h -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/include/tqt -MT TEPty.lo -MD -MP -MF .deps/TEPty.Tpo -c ""  -fPIC -DPIC -o .libs/TEPty.o
>g++: error: : No such file or directory


I've taken the liberty of attaching a tgz of the application.  Perhaps
you can see what's going wrong?


-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell@... PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------

Attachments: