On 03/11/2016 05:40 PM, Russell Brown wrote:
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:
- Remove the original 'admin' folder
- Use script experimental/qt3-tqt3/convert_existing_qt3_app_to_tqt3
- Use script experimental/kde-tde/convert_existing_kde3_app_to_tde
- Add new 'admin' folder from the main/common/admin
- 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?
Russell, since you are building for Jessie, it would be more advisable to build the package in the Debian way, instead of doing "manually". I would suggest to proceed like this: 1) convert your current klt code to TDE as previously described. 2) copy Konsole from tdebase in a new folder, still in tdebase. For example klt, as per your application name 3) compare the converted code with the konsole copy. Only transfer the required changes, without all the additional files 4) add klt to the CMakeLists.txt file and "convert" the debian/konsole-trinity.* files in debian/klt-trinity files 5) add klt package to debian/control 6) build the whole tdebase in the debian way
Let me know if you have any progress.
By the way, what are the differences with the current Konsole? If something is interesting, we may decide to add it to the "official" Konsole. Cheers Michele