trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: July 2012

Re: [trinity-devel] v3.5.13-sru Updates -> New ports of R14 apps

From: Slávek Banko <slavek.banko@...>
Date: Mon, 30 Jul 2012 22:51:08 +0200
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
--