Slavek,
As I work with code from master to build with v3.5.13-sru, if I find solutions, I'll pass them along to you. The first couple I've done are applications/abakus and kgtk-qt3. Simple changes. Here are the recipes:
pkgname=tde-abakus
## Port TDE 14.0.0 GIT -> v3.5.13-sru (name change of tde -> kde) sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/acinclude.m4.in sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/cvs.sh sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/cmake/modules/FindTDE.cmake sed -i 's/tdelibs.cmake/kdelibs.cmake/' ${pkgname#*-}/cmake/modules/FindTDE.cmake sed -i 's/tde([a-z])/kde\1/g' ${pkgname#*-}/src/CMakeLists.txt
pkgname=tde-kgtk-qt3
## Port TDE 14.0.0 GIT -> v3.5.13-sru (name change of tde -> kde) sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/acinclude.m4.in sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/cvs.sh sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/cmake/modules/FindTDE.cmake sed -i 's/tdelibs.cmake/kdelibs.cmake/' ${pkgname#*-}/cmake/modules/FindTDE.cmake
I run them from my build script against the current R14 code to build with v3.5.13-sru. I guess we could apply them and create a patch, but is seems easy enough to just do it at build time for those modules that just have simple changes.
On Sunday 29 of July 2012 23:43:50 David C. Rankin wrote:
Slavek,
As I work with code from master to build with v3.5.13-sru, if I find solutions, I'll pass them along to you. The first couple I've done are applications/abakus and kgtk-qt3. Simple changes. Here are the recipes:
pkgname=tde-abakus
## Port TDE 14.0.0 GIT -> v3.5.13-sru (name change of tde -> kde) sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/acinclude.m4.in sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/cvs.sh sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/cmake/modules/FindTDE.cmake sed -i 's/tdelibs.cmake/kdelibs.cmake/' ${pkgname#*-}/cmake/modules/FindTDE.cmake sed -i 's/tde([a-z])/kde\1/g' ${pkgname#*-}/src/CMakeLists.txt
pkgname=tde-kgtk-qt3
## Port TDE 14.0.0 GIT -> v3.5.13-sru (name change of tde -> kde) sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/acinclude.m4.in sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/admin/cvs.sh sed -i 's/tde-config/kde-config/g' ${pkgname#*-}/cmake/modules/FindTDE.cmake sed -i 's/tdelibs.cmake/kdelibs.cmake/' ${pkgname#*-}/cmake/modules/FindTDE.cmake
I run them from my build script against the current R14 code to build with v3.5.13-sru. I guess we could apply them and create a patch, but is seems easy enough to just do it at build time for those modules that just have simple changes.
Take the R14 sources code to v3.5.13-sru in this way has many pitfalls. If in the source code was performed some renames (kwin=>twin, kdeinit=>tdeinit, kdesocket=>tsocket), compilation time can be successful, but the resulting binary may have many problems at run.
When selecting patches to v3.5.13-sru I have to act careful. :) The replenishment v3.5.13-sru in the remaining modules continuing...
Slavek --
On 07/30/2012 03:51 PM, Slávek Banko wrote:
Take the R14 sources code to v3.5.13-sru in this way has many pitfalls. If in the source code was performed some renames (kwin=>twin, kdeinit=>tdeinit, kdesocket=>tsocket), compilation time can be successful, but the resulting binary may have many problems at run.
When selecting patches to v3.5.13-sru I have to act careful. :) The replenishment v3.5.13-sru in the remaining modules continuing...
Hmm, I see your point. I'll test on some small apps. I just did kbookreader in a similar way, but I do see how a kwin->twin would kill the app at run time. Thanks for the help! If I was better with the GIT commands, I think this would be much easier....