On Wednesday 24 of July 2013 19:11:47 Slávek Banko wrote:
On Wednesday 24 of July 2013 16:29:28 François Andriot wrote:
Le 10/06/2013 09:18, Timothy Pearson a écrit :
You can try using the automated conversion script here: http://git.trinitydesktop.org/cgit/experimental/tree/qt3-tqt3/convert_e xi sting_qt3_app_to_tqt3
Be warned that it takes a LOT of CPU time to run, and that the result probably won't compile the first time around. However, it will deal with 99% of the tedious renaming without intervention.
You then need to take into account the more recent TDE header file and class name changes. Unfortunately, I do not have a script to automatically convert a project to use the new TDE class names and header files, so you would need to make those changes by hand or via your own scripts.
How I typically handle import of a new application is I first commit the last known working version of the application from the original source (i.e. the original project website) to a new GIT repository. I then apply and commit all changes needed to get it building on Qt3 with TDE 3.5.13.x, then finally run the autoconversion tools and commit the first working version for TDE R14. This keeps the original versions around in the GIT history in case something broke during build fixes and/or R14 conversion and is not noticed until far in the future (this has happened many times before!)
Tim
Hello, I've posted in bug report 531 http://bugs.trinitydesktop.org/show_bug.cgi?id=531 a "sed" command to convert ksensors to TDE R14.
It could be a starting point for a more generic script, as the one for QT3/TQT3 .
Francois
Sorry, I updated your script by my own, which I have previously successfully tested with the recently added applications. In this is addressed more renaming than in your initial script. Is located in experimental/kde-tde/convert_existing_kde3_app_to_tde
François, if you're not against it, I'll take care of integrating into GIT applications on which you have worked.
Slavek
Note: In script is not done conversion qt3 => tqt intentionally, so that it can be incorporated into GIT as a separate commit prior to conversion kde => tde. As it can be seen in the recently integrated applications.
Slavek --