trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: September 2015

Re: [trinity-users] Porting an app from TDE 3.5.13.2 to TDE R14.0.1

From: midi-pascal <midi-pascal@...>
Date: Fri, 18 Sep 2015 13:58:06 -0400
On 15-09-18 11:46 AM, Michele Calgaro wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> On 2015/09/18 08:12 AM, midi-pascal wrote:
>> Hi,
>>
>> I started to port an KDE 3.5 app (Kooldock) to TDE R14.0.1. I did it years ago for TDE 3.5.13 with minimal trouble
>> and used it since then with no trouble at all. Kooldock is automake and configure based and was developed as a
>> kdevelop project. I have now a new machine (Ubuntu 14.04 64 bits) on which I installed TDE 14.0.1 with the live TDE
>> ISO. I installed all required Trinity development packages. I can run the automake and configure tools inside
>> TDevelop (TDE-C++) successfully so I am ready to build the Kooldock project.
>>
>> The build fails immediately because of the name of include files i.e. kpopupmenu.h -> tqpopupmenu.h and names of
>> classes i.e QString -> TQString.
>>
>> Is there a way (script or utility) to convert existing KDE 3.5 or TDE 3.5.x code to TDE 14.0.1? Or at least, a
>> documented path to port apps to TDE 14.x.?
>>
>> I am a developer, familiar with sed ands awk so I can manage converting the original sources if only I can get a
>> guidance about what becomes what with TDE 14.x.
>>
>> After trying some manual modifications to the sources I feel some changes in include files are not this
>> straightforward. For example some kxxxxxx.h files are now  txxxxxx.h, others are now tdexxxxxx.h so porting my
>> favorite application would become a nightmare with no how-to or minimal help.
>>
>> I would like to port the Baghira theme too (I did it for TDE 3.5.13 easily) but I am a bit reluctant to compile one
>> line of code at a time, searching each include file/class name change.
>>
>> I love TDE and will stick to it anyway but I ask for some help here - if possible -
>>
>> Thanks for keeping TDE alive. It is the best DE I ever used (and I tried many, believe me!) And thanks for any
>> feedback too.
>>
>> midi-pascal
>>
> Hi,
> have a look here: http://trinity-devel.pearsoncomputing.net/?0::14570
> If you still have problem, let us know.
> BTW, once you convert some apps please let us know. Any improvement to TDE helps :-)
> And if you want to join the dev team, doors are always open!
>
> Cheers
>    Michele
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQIcBAEBCgAGBQJV/DG8AAoJECp1t8qK3tXPOGgP/jp6AZ003lDisCvvAQBirIfH
> cDBH93pHtq2v8qMhnSj1ErJVHrGP4I0zVff5KglkhPbLFEoGRDokhG32Fok3TdfU
> W+sEAonyJfdh8OZrGvGJCDF030zV+RAkMiHuI5DQk7xqAZBkEoX9UKwEInFKpa7t
> sTNoMcP+yIevdgTNR+9yUTL56/E2+crHw18FvODKjG+pUGtvbagn2Dxt13DDkd+j
> OFC+O99DubJ/KAJQ/mx3TzTlCAQzbrXXY7vwcR6yLWwwJMfyj6ULJi97z2pwco1k
> GYLTeswhlTAtU4YI1mdPnzneH9+V9Shx+dYOBAKev/QHgwt9uXcss+JEE09lo1cU
> tyb6+e4hXkLLWYNg0tTpHBY7CnGJZ94VbQ/mK5CmpOX3Y6w3p3EoDK/P/P4+zXHt
> u7A9QR4o5Ua5duLeHNjqaJCm/8rt6j7SYXj8f6xjFIzvTdnM3qDRgTefI9+rBT7I
> 47hVySORDvxMVfwAmkZESAsMKNWWXTcqWvQw3Xnr61ZvsiolCLzeK5gBP2e8KqOO
> 1sZDfDHOeW3zIaLbt5+f6A1lLLhccJGeTRnhS+YBIUhj0hFJhC9gkV/6wM9ntAS2
> pG7FNbuAyHj7YlxSrrbEoFRmOx7DW5IlNCzyjeDA87zObsmXYS0JupNVj/MKg+1R
> wplua59tShLZ7J7jGCw1
> =HtPE
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: trinity-users-unsubscribe@...
> For additional commands, e-mail: trinity-users-help@...
> Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/
> Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>
>
Hi Michele,

Thanks a lot! This is exactly what I was looking for.
However, is there a way I can download the "experimental" directory 
locally to my box?
I can look at the scripts but did not find how to get them except by a 
copy/paste of each individual file.
The must be a better way to do it.
May I kindly ask for one more hint? :-)

Thanks,
midi-pascal