언어 설정

Menu
Sites
Language
issues about building Webkit

Hi there

I'm having a problem with building WebKit for Tizen IVI. To build webkit using the standard "gbs build -A i586 --include-all" method, it takes almost two hours. Since I need to change and test webkit, the build time is too much for me. Therefore I'm tring a different method  by running these commands :

sudo gbs chroot ~/GBS-ROOT/local/BUILD-ROOTS/scratch.i586.0/
cd /home/abuild/rpmbuild/BUILD/webkit2-efl-123997_0.11.47/BuildWK2-i386 
make

 

webkit2-efl-123997_0.11.47 is the webkit release I'm using right now.

 

The building of webkit went succesfully and I can see the shared library file libewebkit2.so.0.11.47 was created. But  after I copied the newly created shared library file to the target Tizen device , then started my test widget file, it didn't display any graphic interface or window. If I restored the shared library file, then the widget worked correctly.

 

The regular method to build webkit package works correcty, i.e. "gbs build -A i586 --include-all". If I install the webkit package RPM built from the command on the IVI device, it works properly.

 

Anybody has suggestion about this?

 

Thanks a lot,

Chi

 

 

Responses

1 댓글
kimi

Hi,


wrt the build time - use incremental build (--incremental option), for the first time it will take normal time, 
but for the second time it will only build the changed code and code depending on it, which may not take much time, 
another good thing is that --include-all is not needed for incremental build.

The basic usage like:
 

$ gbs build --incremental .... # first time
$ gbs build --incremental   # second time it will not build all sources.
# Change code
$ gbs build --incremental ... # third time build: only build code you changed
...
...
 
You can check if there's any other post script in spec file to run after install rpm, and this script need to run manually if you only copy so directly.

 

Kimi.