Bro. Michael Henry wrote:
Hello,
How do I make TDevelop "SEE" the Include directory? I have spent 2 days of Building, "can't find such and such header file", coping over said header to the main directory, and redo... This is getting old. I searched online, but the online thing I come up with was Linux automatically pointed to ALL headers and if an IDE couldn't find headers, it was a bug. Any help would be appreciated.
Hi going back to the original question:
I would like to convert some KDE3 apps/QT3 apps to TDE/TQT
I had absolutely no issue converting a KDE3 app to TDE recently by following Timothy's advise in the thread
"how to setup environment for compiling older KDE3 packages on TDE r14"
Here is his answer again:
"There are two scripts in the TDE source archive (experimental/qt3-tqt3/convert_existing_qt3_app_to_tqt3 and experimental/kde-tde/convert_existing_kde3_app_to_tde). Look at those scripts, make any modifications needed for your system, and run them from within the original source archive.
If you want to help by adding a new application to TDE, you could first import the original sources to a new GIT repository, then clean up the old Makefile.in and configure files and commit that as a cleanup commit. After that run the conversion scripts, verify buildability, and commit the converted sources before pushing the entire repository up to GitHub or similar.
Note that you will probably want to delete the old admin module and replace it with the current TDE admin submodule. You can do that from within your converted source directory as follows: rm -rf admin git submodule add http://system@scm.trinitydesktop.org/scm/git/tde-common-admin admin git submodule add http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake cmake git submodule update --init git commit -a -m "Added common directories" git push origin master
Hope this helps!
Tim"
====== In my case I had to apply some customization to the automake build scripts and fix this and that.
#libtoolize
cat /usr/share/aclocal/libtool.m4 /usr/share/aclocal/ltoptions.m4 /usr/share/aclocal/ltversion.m4 /usr/share/aclocal/ltsugar.m4 /usr/share/aclocal/lt~obsolete.m4
aclocal.m4
perl -pi -e 's:&kwin:TDE Window:g' doc/*/howto-bug-reporting.docbook perl -pi -e 's:theKProcessController:theTDEProcessController:g' kplayer/kplayerprocess.cpp
# fixed in admin/acinclude.m4.in #perl -pi -e 's:LIBSM\ =\ -lSM\ -lICE:LIBSM\ =\ -lSM\ -lICE\ -lDCOP\ -ltdeio:' kplayer/Makefile #LIBSM=""
//extern TQDragManager* qt_dnd_manager; kplayer/kplayernodeview.cpp
bash ../../../kplayer-0.6.3-myconfig
dh_make -s \ -c gpl2 \ -e deloptes@deloptes.org \ -f ../kplayer_0.6.3.orig.tar.bz2 \ --packagename kplayer-trinity
# after make maintainer-clean
rm -v Makefile.in admin/config.guess admin/config.guess.cdbs-orig admin/config.guess.dh-orig admin/config.sub admin/config.sub.cdbs-orig admin/config.sub.dh-orig config.h.in doc/Makefile.in doc/da/Makefile.in doc/en/Makefile.in doc/es/Makefile.in doc/it/Makefile.in doc/pt/Makefile.in doc/sv/Makefile.in icons/Makefile.in kplayer/Makefile.in po/Makefile.in aclocal.m4 stamp-h.in configure
====== and the content of the myconfig file is like this. I think you need to try something that fits your build env. I also think the admin scripts for the automake are not fitting debian jessie the best.
export PREFIX=/opt/trinity export SYSCONFDIR=/etc/trinity export LIBDIR=/opt/trinity/lib export MANDIR=/opt/trinity/man export QTDIR=/usr/include/tqt/Qt export PATH=$QTDIR/bin:/usr/share/tqt3/bin:/opt/trinity/bin:$PATH #export LD_LIBRARY_PATH=$QTDIR/lib:/opt/trinity/lib:/opt/trinity/lib/trinity $LD_LIBRARY_PATH export PKG_CONFIG_PATH=:/opt/trinity/lib/pkgconfig:$QTDIR/lib/pkgconfig $PKG_CONFIG_PATH # Enable only one of the following: export DEBUG_AUTOTOOL_OPT="--disable-debug" #export DEBUG_CMAKE_OPT=""
export CFLAGS="$CPUOPT $CFLAGS -I/usr/include/tqt -I/usr/include/tqt3 -Wall" export CXXFLAGS="$CPUOPT $CXXFLAGS -I/usr/include/tqt -I/usr/include/tqt3 -Wall" export LDFLAGS="$LDFLAGS -L/opt/trinity/lib -L/usr/lib -Wall"
make -f admin/Makefile.common
dpkg-buildpackage -rfakeroot -b -us -uc -j8
======