fedora and ubuntu compile webkit

libldap-2.5-0 (>= 2.5.4) but it is not installable Ubuntu 阅读详情


code: http://trac.webkit.org/wiki/UsingGitWithWebKit

代码浏览:   http://trac.webkit.org/browser

 

compile process(for GTK): http://trac.webkit.org/wiki/BuildingGtk

 

 

 

一: fedora 编译 webkit;  webkit and glib compile error

1, download GLIB 2.28

download glib-2.28.8.tar.zip

2, compile and install GLIB 2.28

[leo@leo glib-2.28.8]$ pwd

/mnt/sdb1/webkit/glib-2.28.8

[leo@leo glib-2.28.8]$ ./configure

[leo@leo glib-2.28.8]$ make

[leo@leo glib-2.28.8]$ make install

 

3, download WebKit-r90503.tar.bz2

 

4, compile  http://trac.webkit.org/wiki/BuildingGtk

[leo@leo WebKit-r90503]$ pwd

/mnt/sdb1/webkit/WebKit-r90503

[leo@leo WebKit-r90503]$ Tools/Scripts/build-webkit --gtk  [--debug]checking for GLIB - version >= 2.27.90... no

*** Could not run GLIB test program, checking why...

*** The test program failed to compile or link. See the file config.log for the

*** exact error that occured. This usually means GLIB is incorrectly installed.

configure: error: You need the GLib dev tools in your path


5,  resolve 4's error:

do 1,2,3

[leo@leo WebKit-r90503]$ pwd

/mnt/sdb1/webkit/WebKit-r90503

[leo@leo WebKit-r90503]$ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

 [leo@leo WebKit-r90503]$  vim configure

you will find:    enable_glibtest 

 [leo@leo WebKit-r90503]$  ./configure --disable-glibtest


6, build error for libsoup:

checking for LIBSOUP... no

configure: error: Package requirements (libsoup-2.4 >= 2.33.6) were not met:

Requested'libsoup-2.4 >= 2.33.6' but version of libsoup is 2.31.90

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSOUP_CFLAGS

and LIBSOUP_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

 [leo@leo WebKit-r90503]$  vim configure

17670 # minimum base dependencies                                                                                                                            

17671 #LIBSOUP_REQUIRED_VERSION=2.33.6                                                                                                                       

17672LIBSOUP_REQUIRED_VERSION=2.31.8 

 

7, 6 cannot resolve this build error:  需要安装 libsoup-2.34.2 或者更新的版本;

download  libsoup-2.34.2.tar.gz

compile libsoup-2.34.2.tar.gz:

[leo@leo libsoup-2.34.2]$ pwd                                                                                                                                

/mnt/sdb1/webkit/libsoup-2.34.2 

[leo@leo libsoup-2.34.2]$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

[leo@leo libsoup-2.34.2]$ ./configure --disable-glibtest 

checking for glib-networking (glib TLS implementation)... no

configure: error: libsoup requires glib-networking for TLS support.

If you are building a package, you can pass--disable-tls-check to

allow building libsoup anyway (since glib-networking is not actually

required at compile time), but you should be sure to add a runtime

dependency on it.

[leo@leo libsoup-2.34.2]$ ./configure --disable-glibtest --disable-tls-check

[leo@leo libsoup-2.34.2]$ make[leo@leo libsoup-2.34.2]$ sudo make install

 

 

8, gnome 库资源: 

http://linorg.usp.br/gnome/sources/

 

 

9, execute webkit

[leo@leo WebKit-r90503]$ pwd

/mnt/sdb1/webkit/WebKit-r90503

[leo@leo WebKit-r90503]$./Programs/GtkLauncher 

http://svtplay.se/

 WebKit-r53596/WebKitTools/Scripts$ ./run-launcher  --gtk

 

 

 

9.1 键盘支持:[leo@leo WebKit-r90503]$ vi ./Source/WebKit/gtk/webkit/webkitwebsettings.cpp 

552     g_object_class_install_property(gobject_class,                                                                                                      

 553                                     PROP_ENABLE_SPATIAL_NAVIGATION,                                                                                     

 554                                     g_param_spec_boolean("enable-spatial-navigation",                                                                   

 555                                                          _("Enable Spatial Navigation"),                                                                

 556                                                          _("Whether to enable Spatial Navigation"),                                                     

 557                                                          /*FALSE*/TRUE,                                                                                          

 558                                                          flags));                

 

 

9.2  http  Proxy:

https://lists.webkit.org/pipermail/webkit-help/2009-December/000477.html

proxy支持:[leo@leo WebKit-r90503]$ vi Tools/GtkLauncher/main.c 

411 #ifndef WEBKIT2                                                                                                                                          

412 /* #ifdef SOUP_TYPE_PROXY_RESOLVER_DEFAULT */                                                                                                            

413 #if 0                                                                                                                                                    

414     soup_session_add_feature_by_type(webkit_get_default_session(), SOUP_TYPE_PROXY_RESOLVER_DEFAULT);                                                    

415 #else                                                                                                                                                    

416     const char *httpProxy = g_getenv("http_proxy");                                                                                                      

417     if (httpProxy) {                                                                                                                                     

418         SoupURI *proxyUri = soup_uri_new(httpProxy);                                                                                                     

419         g_object_set(webkit_get_default_session(), SOUP_SESSION_PROXY_URI, proxyUri, NULL);                                                              

420         soup_uri_free(proxyUri);                                                                                                                         

421     }                                                                                                                                                    

422 #endif                                                                                                                                                   

423 #endif      

proxy支持:[leo@leo WebKit-r90503]$   export http_proxy="http://wwwgate0-ch.mot.com:1080"


10, 


 

 

 

 

 

 二, ubuntu 编译webkit

 

1, install depent lib:

leo@leosu:/mnt$ sudo apt-get install autoconf automake autotools-dev  bison   flex  gperf  glib-networking gtk-doc-tools libenchant-dev libgail-dev libgeoclue-dev libglib2.0-dev libgstreamer-plugins-base0.10-dev libgtk2.0-dev  libicu-dev libjpeg62-dev libpango1.0-dev  libpng12-dev libsoup2.4-dev  libsqlite3-dev libtool libxslt-dev libxt-dev 

ubuntu 1110 need the following:

1.1   install gmail-3

           $sudo apt-get install libgail-3-0

1.2 config PKG_CONFIG_PATH;

    $export PKG_CONFIG_PATH="/usr/lib/pkgconfig:$PKG_CONFIG_PATH"

 

 

2,  compile:

leo@leosu:/mnt/my_webkit/WebKit-r90503$ pwd

/mnt/my_webkit/WebKit-r90503

leo@leosu:/mnt/my_webkit/WebKit-r90503$   Tools/Scripts/build-webkit --gtk   [--debug]
3, excute: leo@leosu:/mnt/my_webkit/WebKit-r90503$ Tools/Scripts/run-launcher --gtk leo@leosu:/mnt/my_webkit/WebKit-r90503$  Tools/Scripts/run-launcher --gtk --enable-caret-browsing=true  --enable-spatial-navigation=true  --tab-key-cycles-through-elements=true

Tools/Scripts/run-launcher --gtk --enable-caret-browsing=true  --enable-spatial-navigation=true  --tab-key-cycles-through-elements=false 

 

WebKit-r53596/WebKitTools/Scripts$ ./run-launcher  --gtk

 

 

leo@leosu:/mnt/my_webkit/WebKit-r90503$ Tools/Scripts/run-launcher --gtk --help-all

 --enable-caret-browsing=gboolean                         是否启用辅助功能增强型键盘导航

  --enable-spatial-navigation=gboolean                     Whether to enable Spatial Navigation

  --enable-frame-flattening=gboolean                       Whether to enable Frame Flattening

--tab-key-cycles-through-elements=gboolean               是否允许元素间 Tab 键循环。

 --auto-shrink-images=gboolean                            自动缩小单个图像以适应需求。


 

 

 

 

 

三,调试  运行, 打印

编译调试选项 --debug, 注意,可以在文件中加上打印信息; 比如:   

./Source/WebCore/dom/KeyboardEvent.cpp and  ./Source/WebCore/page/EventHandler.cpp 中添加下面的打印信息;

 fprintf(stderr, "%s:%d:%s,  leosu \n",__FILE__, __LINE__,__FUNCTION__ );

     #Tools/Scripts/build-webkit --gtk   --debug

执行编译出来的可执行文件:

   #WebKitBuild/Debug/Programs/GtkLauncher --gtk  [--debug]

 int KeyboardEvent::keyCode() const

{

    // IE: virtual key code for keyup/keydown, character code for keypress

    // Firefox: virtual key code for keyup/keydown, zero for keypress

    // We match IE.

    if (!m_keyEvent) {

   fprintf(stderr, "%s:%d:%s,  leosu \n",__FILE__, __LINE__,__FUNCTION__ );

        return 0;}

    if (type() == eventNames().keydownEvent || type() == eventNames().keyupEvent){

     fprintf(stderr, "%s:%d:%s,  m_keyEvent->windowsVirtualKeyCode()=%d leosu \n",__FILE__, __LINE__,__FUNCTION__, m_keyEvent->windowsVirtualKeyCode() );

        return m_keyEvent->windowsVirtualKeyCode(); }

fprintf(stderr, "%s:%d:%s,  leosu \n",__FILE__, __LINE__,__FUNCTION__ );

    return charCode();

}

 

 

 

 

 

 

四, STB  version and related into webkit.

 

4.1,  531 releated:

you can get version from the following way on STB:

/ekioh_src_motorola_20100720_r4525/src/3rdParty/WebKit531/pkg/webkit-Safari-6531.22.2.tar.bz2//WebCore/ChangeLog

or

leosu@leosu:/mnt/sda3/dev_iptv/DEV_youtube_4_4/applications/3pp/ekioh-webkit/opensource/src/3rdParty/webkit/work/WebCore$ pwd

/mnt/sda3/dev_iptv/DEV_youtube_4_4/applications/3pp/ekioh-webkit/opensource/src/3rdParty/webkit/work/WebCore

leosu@leosu:/mnt/sda3/dev_iptv/DEV_youtube_4_4/applications/3pp/ekioh-webkit/opensource/src/3rdParty/webkit/work/WebCore$ vim ChangeLog

2010-01-27  Mark Rowe  <mrowe@apple.com>

       Merge r53567.

    2010-01-20  Jon Honeycutt  <jhoneycutt@apple.com>

 

tag info:

http://svn.webkit.org/repository/webkit/tags/

http://svn.webkit.org/repository/webkit/tags/Safari-6531.22.2/

http://svn.webkit.org/repository/webkit/tags/Safari-6531.22.7/ChangeLog

  2009-07-07  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Simon Hausmann.

        Exclude DumpRenderTree.pro from symbian build

        * WebKit.pro:

 

review all version info:

http://nightly.webkit.org/builds/trunk/src/1

http://nightly.webkit.org/builds/trunk/src/38

 

http://nightly.webkit.org/builds/trunk/src/42

r45600 11.1 MB2009-07-07 18:41:44 UTC

r45585 11.1 MB2009-07-07 09:32:17 UTC

r45583 11.1 MB2009-07-07 03:32:55 UTC



4.2   534 releated.

http://wiki.mot-mobility.com/KreaTV/EkiohWebKit534Evaluation

              WebKit  534 port from Ekioh which seems to be based on  WebKit  534.43
http://svn.webkit.org/repository/webkit/tags/Safari-534.43/ChangeLog           2011-05-16             http://nightly.webkit.org/builds/trunk/src/24

                        r86536 17.9 MB2011-05-16 09:48:11 UTC        r86505 17.9 MB2011-05-15 18:01:48 UTC

 

 

4.3 

 

 

 

 

 

 

 

 

五, 网上资料:

 

 

webkit是一个浏览器内核,google的chrome就是基于它的,下面介绍一下如何在Ubuntu 11.04下编译Webkit源代码。网上有大量的关于如何在Windows下或者如何用Qt来编译Webkit,本文不对此进行介绍,只介绍如何在命令行下编译Webkit源代码: 1.下载:在http://nightly.webkit.org/ 下载webkit的最新版本源码,我的是WebKit-r96832

2.编译:
./WebKit-r96832/Tools/Scripts/build-webkit --gtk

正常情况下会缺少各种库,没关系,一个一个解决。下面列举了我所遇到的一些问题:

sudo apt-get install libtool
sudo apt-get install gtk-doc-tools

错误:undefined macro XXX (不记得了~~)
解决:sudo apt-get install libgtkhtml*       (全部安装)

错误:configure: error: JPEG library (libjpeg) not found
解决:sudo apt-get install libjpeg8-dev      (当时我编译的时候libjpeg的最新版是8,你编译的时候要选择当前的最新版,下同!)

错误:Cannot find icu-config. The ICU library is needed.
解决:sudo apt-get install libicu-dev



错误:configure: error: Package requirements (gail-3.0 >= 3.0) were not met: No package 'gail-3.0' found
解决:sudo apt-get install libgail-3-dev



错误:configure: error: X Toolkit Intrinsics library (libXt) not found
解决:sudo apt-get install libxt-dev



错误:configure: error: Package requirements (libsoup-2.4 >= 2.33.6) were not met: No package 'libsoup-2.4' found
解决:sudo apt-get install libsoup2.4-dev



错误:configure: error: SQLite3 is required for the Database related features
解决:sudo apt-get install libsqlite3-dev



错误:configure: error: Package requirements (libxslt >= 1.1.7) were not met: No package 'libxslt' found
解决:sudo apt-get install libxslt-dev



错误:configure: error: Package requirements (geoclue) were not met: No package 'geoclue' found
解决:sudo apt-get install libgeoclue-dev



错误:configure: error: Package requirements (gstreamer-0.10 >= 0.10
                     gstreamer-app-0.10
                     gstreamer-base-0.10
                     gstreamer-interfaces-0.10
                     gstreamer-pbutils-0.10
                     gstreamer-plugins-base-0.10 >= 0.10.30
                     gstreamer-video-0.10) were not met:


                     No package 'gstreamer-0.10' found
                     No package 'gstreamer-app-0.10' found
                     No package 'gstreamer-base-0.10' found
                     No package 'gstreamer-interfaces-0.10' found
                     No package 'gstreamer-pbutils-0.10' found
                     No package 'gstreamer-plugins-base-0.10' found
                     No package 'gstreamer-video-0.10' found
解决:sudo apt-get install libgstreamer*


最后终于没有问题,开始编译了!
./WebKit-r96832/Tools/Scripts/build-webkit --gtk

经过了漫长的等待(整整一个小时!),终于编译通过了!!!
记录一下编译通过的输出:
===========================================================
 WebKit is now built (1h:01m:41s). 
 To run GtkLauncher with this newly-built code, use the
 "Tools/Scripts/run-launcher" script.
===========================================================


如何运行?
./Tools/Scripts/run-launcher --gtk 就可以啦!

code: http://trac.webkit.org/wiki/UsingGitWithWebKit

代码浏览:   http://trac.webkit.org/browser

 

compile process(for GTK): http://trac.webkit.org/wiki/BuildingGtk

 

 

 

一: fedora 编译 webkit;  webkit and glib compile error

1, download GLIB 2.28

download glib-2.28.8.tar.zip

2, compile and install GLIB 2.28

[leo@leo glib-2.28.8]$ pwd

/mnt/sdb1/webkit/glib-2.28.8

[leo@leo glib-2.28.8]$ ./configure

[leo@leo glib-2.28.8]$ make

[leo@leo glib-2.28.8]$ make install

 

3, download WebKit-r90503.tar.bz2

 

4, compile  http://trac.webkit.org/wiki/BuildingGtk

[leo@leo WebKit-r90503]$ pwd

/mnt/sdb1/webkit/WebKit-r90503

[leo@leo WebKit-r90503]$ Tools/Scripts/build-webkit --gtk  [--debug]checking for GLIB - version >= 2.27.90... no

*** Could not run GLIB test program, checking why...

*** The test program failed to compile or link. See the file config.log for the

*** exact error that occured. This usually means GLIB is incorrectly installed.

configure: error: You need the GLib dev tools in your path


5,  resolve 4's error:

do 1,2,3

[leo@leo WebKit-r90503]$ pwd

/mnt/sdb1/webkit/WebKit-r90503

[leo@leo WebKit-r90503]$ export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

 [leo@leo WebKit-r90503]$  vim configure

you will find:    enable_glibtest 

 [leo@leo WebKit-r90503]$  ./configure --disable-glibtest


6, build error for libsoup:

checking for LIBSOUP... no

configure: error: Package requirements (libsoup-2.4 >= 2.33.6) were not met:

Requested'libsoup-2.4 >= 2.33.6' but version of libsoup is 2.31.90

Consider adjusting the PKG_CONFIG_PATH environment variable if you

installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBSOUP_CFLAGS

and LIBSOUP_LIBS to avoid the need to call pkg-config.

See the pkg-config man page for more details.

 [leo@leo WebKit-r90503]$  vim configure

17670 # minimum base dependencies                                                                                                                            

17671 #LIBSOUP_REQUIRED_VERSION=2.33.6                                                                                                                       

17672LIBSOUP_REQUIRED_VERSION=2.31.8 

 

7, 6 cannot resolve this build error:  需要安装 libsoup-2.34.2 或者更新的版本;

download  libsoup-2.34.2.tar.gz

compile libsoup-2.34.2.tar.gz:

[leo@leo libsoup-2.34.2]$ pwd                                                                                                                                

/mnt/sdb1/webkit/libsoup-2.34.2 

[leo@leo libsoup-2.34.2]$export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH

[leo@leo libsoup-2.34.2]$ ./configure --disable-glibtest 

checking for glib-networking (glib TLS implementation)... no

configure: error: libsoup requires glib-networking for TLS support.

If you are building a package, you can pass--disable-tls-check to

allow building libsoup anyway (since glib-networking is not actually

required at compile time), but you should be sure to add a runtime

dependency on it.

[leo@leo libsoup-2.34.2]$ ./configure --disable-glibtest --disable-tls-check

[leo@leo libsoup-2.34.2]$ make[leo@leo libsoup-2.34.2]$ sudo make install

 

 

8, gnome 库资源: 

http://linorg.usp.br/gnome/sources/

 

 

9, execute webkit

[leo@leo WebKit-r90503]$ pwd

/mnt/sdb1/webkit/WebKit-r90503

[leo@leo WebKit-r90503]$./Programs/GtkLauncher 

http://svtplay.se/

 WebKit-r53596/WebKitTools/Scripts$ ./run-launcher  --gtk

 

 

 

9.1 键盘支持:[leo@leo WebKit-r90503]$ vi ./Source/WebKit/gtk/webkit/webkitwebsettings.cpp 

552     g_object_class_install_property(gobject_class,                                                                                                      

 553                                     PROP_ENABLE_SPATIAL_NAVIGATION,                                                                                     

 554                                     g_param_spec_boolean("enable-spatial-navigation",                                                                   

 555                                                          _("Enable Spatial Navigation"),                                                                

 556                                                          _("Whether to enable Spatial Navigation"),                                                     

 557                                                          /*FALSE*/TRUE,                                                                                          

 558                                                          flags));                

 

 

9.2  http  Proxy:

https://lists.webkit.org/pipermail/webkit-help/2009-December/000477.html

proxy支持:[leo@leo WebKit-r90503]$ vi Tools/GtkLauncher/main.c 

411 #ifndef WEBKIT2                                                                                                                                          

412 /* #ifdef SOUP_TYPE_PROXY_RESOLVER_DEFAULT */                                                                                                            

413 #if 0                                                                                                                                                    

414     soup_session_add_feature_by_type(webkit_get_default_session(), SOUP_TYPE_PROXY_RESOLVER_DEFAULT);                                                    

415 #else                                                                                                                                                    

416     const char *httpProxy = g_getenv("http_proxy");                                                                                                      

417     if (httpProxy) {                                                                                                                                     

418         SoupURI *proxyUri = soup_uri_new(httpProxy);                                                                                                     

419         g_object_set(webkit_get_default_session(), SOUP_SESSION_PROXY_URI, proxyUri, NULL);                                                              

420         soup_uri_free(proxyUri);                                                                                                                         

421     }                                                                                                                                                    

422 #endif                                                                                                                                                   

423 #endif      

proxy支持:[leo@leo WebKit-r90503]$   export http_proxy="http://wwwgate0-ch.mot.com:1080"


10, 


 

 

 

 

 

 二, ubuntu 编译webkit

 

1, install depent lib:

leo@leosu:/mnt$ sudo apt-get install autoconf automake autotools-dev  bison   flex  gperf  glib-networking gtk-doc-tools libenchant-dev libgail-dev libgeoclue-dev libglib2.0-dev libgstreamer-plugins-base0.10-dev libgtk2.0-dev  libicu-dev libjpeg62-dev libpango1.0-dev  libpng12-dev libsoup2.4-dev  libsqlite3-dev libtool libxslt-dev libxt-dev 

ubuntu 1110 need the following:

1.1   install gmail-3

           $sudo apt-get install libgail-3-0

1.2 config PKG_CONFIG_PATH;

    $export PKG_CONFIG_PATH="/usr/lib/pkgconfig:$PKG_CONFIG_PATH"

 

 

2,  compile:

leo@leosu:/mnt/my_webkit/WebKit-r90503$ pwd

/mnt/my_webkit/WebKit-r90503

leo@leosu:/mnt/my_webkit/WebKit-r90503$   Tools/Scripts/build-webkit --gtk   [--debug]
3, excute: leo@leosu:/mnt/my_webkit/WebKit-r90503$ Tools/Scripts/run-launcher --gtk leo@leosu:/mnt/my_webkit/WebKit-r90503$  Tools/Scripts/run-launcher --gtk --enable-caret-browsing=true  --enable-spatial-navigation=true  --tab-key-cycles-through-elements=true

Tools/Scripts/run-launcher --gtk --enable-caret-browsing=true  --enable-spatial-navigation=true  --tab-key-cycles-through-elements=false 

 

WebKit-r53596/WebKitTools/Scripts$ ./run-launcher  --gtk

 

 

leo@leosu:/mnt/my_webkit/WebKit-r90503$ Tools/Scripts/run-launcher --gtk --help-all

 --enable-caret-browsing=gboolean                         是否启用辅助功能增强型键盘导航

  --enable-spatial-navigation=gboolean                     Whether to enable Spatial Navigation

  --enable-frame-flattening=gboolean                       Whether to enable Frame Flattening

--tab-key-cycles-through-elements=gboolean               是否允许元素间 Tab 键循环。

 --auto-shrink-images=gboolean                            自动缩小单个图像以适应需求。


 

 

 

 

 

三,调试  运行, 打印

编译调试选项 --debug, 注意,可以在文件中加上打印信息; 比如:   

./Source/WebCore/dom/KeyboardEvent.cpp and  ./Source/WebCore/page/EventHandler.cpp 中添加下面的打印信息;

 fprintf(stderr, "%s:%d:%s,  leosu \n",__FILE__, __LINE__,__FUNCTION__ );

     #Tools/Scripts/build-webkit --gtk   --debug

执行编译出来的可执行文件:

   #WebKitBuild/Debug/Programs/GtkLauncher --gtk  [--debug]

 int KeyboardEvent::keyCode() const

{

    // IE: virtual key code for keyup/keydown, character code for keypress

    // Firefox: virtual key code for keyup/keydown, zero for keypress

    // We match IE.

    if (!m_keyEvent) {

   fprintf(stderr, "%s:%d:%s,  leosu \n",__FILE__, __LINE__,__FUNCTION__ );

        return 0;}

    if (type() == eventNames().keydownEvent || type() == eventNames().keyupEvent){

     fprintf(stderr, "%s:%d:%s,  m_keyEvent->windowsVirtualKeyCode()=%d leosu \n",__FILE__, __LINE__,__FUNCTION__, m_keyEvent->windowsVirtualKeyCode() );

        return m_keyEvent->windowsVirtualKeyCode(); }

fprintf(stderr, "%s:%d:%s,  leosu \n",__FILE__, __LINE__,__FUNCTION__ );

    return charCode();

}

 

 

 

 

 

 

四, STB  version and related into webkit.

 

4.1,  531 releated:

you can get version from the following way on STB:

/ekioh_src_motorola_20100720_r4525/src/3rdParty/WebKit531/pkg/webkit-Safari-6531.22.2.tar.bz2//WebCore/ChangeLog

or

leosu@leosu:/mnt/sda3/dev_iptv/DEV_youtube_4_4/applications/3pp/ekioh-webkit/opensource/src/3rdParty/webkit/work/WebCore$ pwd

/mnt/sda3/dev_iptv/DEV_youtube_4_4/applications/3pp/ekioh-webkit/opensource/src/3rdParty/webkit/work/WebCore

leosu@leosu:/mnt/sda3/dev_iptv/DEV_youtube_4_4/applications/3pp/ekioh-webkit/opensource/src/3rdParty/webkit/work/WebCore$ vim ChangeLog

2010-01-27  Mark Rowe  <mrowe@apple.com>

       Merge r53567.

    2010-01-20  Jon Honeycutt  <jhoneycutt@apple.com>

 

tag info:

http://svn.webkit.org/repository/webkit/tags/

http://svn.webkit.org/repository/webkit/tags/Safari-6531.22.2/

http://svn.webkit.org/repository/webkit/tags/Safari-6531.22.7/ChangeLog

  2009-07-07  Norbert Leser  <norbert.leser@nokia.com>

        Reviewed by Simon Hausmann.

        Exclude DumpRenderTree.pro from symbian build

        * WebKit.pro:

 

review all version info:

http://nightly.webkit.org/builds/trunk/src/1

http://nightly.webkit.org/builds/trunk/src/38

 

http://nightly.webkit.org/builds/trunk/src/42

r45600 11.1 MB2009-07-07 18:41:44 UTC

r45585 11.1 MB2009-07-07 09:32:17 UTC

r45583 11.1 MB2009-07-07 03:32:55 UTC



4.2   534 releated.

http://wiki.mot-mobility.com/KreaTV/EkiohWebKit534Evaluation

              WebKit  534 port from Ekioh which seems to be based on  WebKit  534.43
http://svn.webkit.org/repository/webkit/tags/Safari-534.43/ChangeLog           2011-05-16             http://nightly.webkit.org/builds/trunk/src/24

                        r86536 17.9 MB2011-05-16 09:48:11 UTC        r86505 17.9 MB2011-05-15 18:01:48 UTC

 

 

4.3 

 

 

 

 

 

 

 

 

五, 网上资料:

 

 

webkit是一个浏览器内核,google的chrome就是基于它的,下面介绍一下如何在Ubuntu 11.04下编译Webkit源代码。网上有大量的关于如何在Windows下或者如何用Qt来编译Webkit,本文不对此进行介绍,只介绍如何在命令行下编译Webkit源代码: 1.下载:在http://nightly.webkit.org/ 下载webkit的最新版本源码,我的是WebKit-r96832

2.编译:
./WebKit-r96832/Tools/Scripts/build-webkit --gtk

正常情况下会缺少各种库,没关系,一个一个解决。下面列举了我所遇到的一些问题:

sudo apt-get install libtool
sudo apt-get install gtk-doc-tools

错误:undefined macro XXX (不记得了~~)
解决:sudo apt-get install libgtkhtml*       (全部安装)

错误:configure: error: JPEG library (libjpeg) not found
解决:sudo apt-get install libjpeg8-dev      (当时我编译的时候libjpeg的最新版是8,你编译的时候要选择当前的最新版,下同!)

错误:Cannot find icu-config. The ICU library is needed.
解决:sudo apt-get install libicu-dev



错误:configure: error: Package requirements (gail-3.0 >= 3.0) were not met: No package 'gail-3.0' found
解决:sudo apt-get install libgail-3-dev



错误:configure: error: X Toolkit Intrinsics library (libXt) not found
解决:sudo apt-get install libxt-dev



错误:configure: error: Package requirements (libsoup-2.4 >= 2.33.6) were not met: No package 'libsoup-2.4' found
解决:sudo apt-get install libsoup2.4-dev



错误:configure: error: SQLite3 is required for the Database related features
解决:sudo apt-get install libsqlite3-dev



错误:configure: error: Package requirements (libxslt >= 1.1.7) were not met: No package 'libxslt' found
解决:sudo apt-get install libxslt-dev



错误:configure: error: Package requirements (geoclue) were not met: No package 'geoclue' found
解决:sudo apt-get install libgeoclue-dev



错误:configure: error: Package requirements (gstreamer-0.10 >= 0.10
                     gstreamer-app-0.10
                     gstreamer-base-0.10
                     gstreamer-interfaces-0.10
                     gstreamer-pbutils-0.10
                     gstreamer-plugins-base-0.10 >= 0.10.30
                     gstreamer-video-0.10) were not met:


                     No package 'gstreamer-0.10' found
                     No package 'gstreamer-app-0.10' found
                     No package 'gstreamer-base-0.10' found
                     No package 'gstreamer-interfaces-0.10' found
                     No package 'gstreamer-pbutils-0.10' found
                     No package 'gstreamer-plugins-base-0.10' found
                     No package 'gstreamer-video-0.10' found
解决:sudo apt-get install libgstreamer*


最后终于没有问题,开始编译了!
./WebKit-r96832/Tools/Scripts/build-webkit --gtk

经过了漫长的等待(整整一个小时!),终于编译通过了!!!
记录一下编译通过的输出:
===========================================================
 WebKit is now built (1h:01m:41s). 
 To run GtkLauncher with this newly-built code, use the
 "Tools/Scripts/run-launcher" script.
===========================================================


如何运行?
./Tools/Scripts/run-launcher --gtk 就可以啦!

libicu60_60.2-3ubuntu3_amd64.deb 立即下载

相关推荐

Livox MID360与Fast-LIO2的实战部署指南:从驱动安装到点云处理

本文提供Livox MID360激光雷达与Fast-LIO2激光惯性里程计从零开始的实战部署指南。详细介绍了Ubuntu系统下的驱动安装、网络配置、点云数据验证以及Fast-LIO2算法的编译、参数配置与联合启动流程,帮助开发者快速搭建移动机器人SLAM系统,并包含关键参数调优与常见故障排查方法。

java5的博客 1023

fedora+编译linux内核,fedora下的内核手动编译(未修改)

第一步 安装必要的工具首先要安装必要的包。包有:libncurses5-dev(menuconfig需要的)和essentialsudo apt-get install build-essential bin86 kernel-packagesudo apt-get install libqt3-headers libqt3-mt-dev //sudo apt-get install makes...

weixin_27188815的博客 608

SAP FICO CK40N批量发布标准价:常见报错排查与实战解决指南

本文详细解析了SAP FICO模块中CK40N批量发布标准价的常见报错及解决方案。从物料选择、成本核算到最终发布的全流程,提供了针对'已有标准成本估算记号'等典型报错的实战处理技巧,并分享了预防性维护与批量处理的高效方法,帮助财务人员提升工作效率。

weixin_29234509的博客 304

Ubuntu16.04LTS配置软件(含Boost、Eigen、DART 6.8)

虚拟操作系统版本为Ubuntu16.04LTS,成功安装了Boost、Eigen、DART 6.8。

qq_38825788的博客 1281

扣子(coze)案例^第22期:零代码打造小红书竞品监控系统+AI自动生成运营策略建议

本文详细介绍了如何利用扣子(coze)平台零代码搭建小红书竞品监控系统。该系统通过自动化工作流抓取竞品笔记数据,并存入飞书多维表格,结合AI能力自动生成包含可视化分析报告在内的运营策略建议,帮助运营者高效进行数据驱动的市场分析。

weixin_29313239的博客 1004

Veritas NetBackup 10.1 Windows安装指南:从账户配置到完整部署

本文详细介绍了Veritas NetBackup 10.1在Windows系统上的完整安装流程,从账户配置到部署验证。重点讲解了创建专用服务账户、安装组件选择、许可证输入等关键步骤,并提供了常见问题排查和进阶配置建议,帮助用户顺利完成企业级备份解决方案的部署。

weixin_26765287的博客 453

PHP7.3.10编译安装

php7.3.10编译安装 配置安装环境(裸机): centos7.2 下载指定PHP版本源码包 github https://github.com/php/php-src.git download https://www.php.net/downloads.php su - root && cd ~/ wget https://www.php.net/distribu...

LXDOS的专栏 1389

从智能家居到智慧城市:AI Agent Harness Engineering 作为统一控制中枢

我们可以把每个独立的智能系统看作一根带有独立功能的电线:智能家居Agent是负责家庭设备控制的电线,社区Agent是负责社区管理的电线,城市交通Agent是负责交通调度的电线,而AHE就是把这些分散的电线整合起来的「智能线束」:它不仅负责把不同接口、不同协议、不同层级的Agent连接起来,还提供统一的编排、调度、协同、观测能力,实现全局效用最大化的智能决策。

AI Agent Harness Engineering 202

ubuntu使用apt-get --如何解决Please verify ICU install prefix and make sure icu-config works.

Error: configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works. Resolution: CentOS / RedHat: yum install libicu-devel Ubuntu/D

一亩地的专栏 4570

树莓派5首次开机保姆级教程(无显示器通过VNC连接树莓派桌面)

选择 Interface Options > VNC > Yes 启用服务。2.在Windows电脑上安装VNC软件。重启树莓派:sudo reboot。3.使用VNC远程访问树莓派桌面。

qq_34184505的博客 2349

华为AC外置Portal认证方案配置步骤指南

华为AC外置Portal认证方案配置步骤指南

m0_46129105的博客 7667

CentOS 安装 libicu-dev

安装polyglot过程中需要安装icu。 1. 安装polyglot https://polyglot.readthedocs.io/en/latest/Tokenization.html 2. 安装icu polyglot文档中给出在ubantu上使用apt-get的方法: sudo apt-get install libicu-dev 在CentOS上,如果有root权限可以使用yum https://www.ivdone.top/article/1544.html。 作为非root.

Hello World! Keep Coding 1万+

Qt版Dalsa线扫相机的采集Demo

Qt Dalsa

追赶时代的博客 604

Tauri框架离线语音转文字应用架构实践:Handy生产环境部署与性能调优深度解析

Handy是一款基于Tauri框架构建的跨平台离线语音转文字应用,采用React前端与Rust后端技术栈,为开发者提供完全离线的实时语音转录解决方案。在Linux、macOS和Windows生产环境部署过程中,开发者常面临系统依赖缺失、音频权限配置、模型下载网络故障等10大技术挑战。本文将深入剖析Handy的核心架构设计,提供生产级部署配置方案,并详细解析常见问题的技术原理与解决方案。 ## 问

gitblog_00675的博客 775

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

STM32F407中文手册

STM32f407中文手册 本参考手册面向应用开发人员,提供有关使用 STM32F405xx/07xx、STM32F415xx/17xx、 STM32F42xxx 和 STM32F43xxx 微控制器存储器与外设的完整信息。STM32F405xx/07xx、STM32F415xx/17xx、STM32F42xxx 和 STM32F43xxx 构成一个微 控制器系列,各产品具有不同的存储器大小、封装和外设。有关订购信息以及器件的机械与电气特性,请参见数据手册。有关 ARM Cortex™-M4F 内核的信息,请参见《Cortex™-M4F 技术参考手册》。

Ubuntu18.04通过apt安装libssl1.1因依赖问题导致失败的解决办法

问题如下: root@ecx-CXIuB1Re1X:~/bbr# apt-get install openssl libssl-dev -y Reading package lists... Done Building dependency tree Reading state information... Done libunwind8 is already the newest version (1.2.1-8). zip is already the newest version (3...

liulilittle的博客 7161

IMSL CNL 7.0.0 (x86-64)Crack

IMSL CNL 7.0.0 (x86-64)Crack intel的算法库破解文件,这是C++版本的破解文件

从零开始成为GStreamer专家——HTTPS支持

Gstremer https支持

intel1985的专栏 1783

安装过程中出现PKG_CONFIG_PATH的问题解决方法

在安装开源软件的过程中, 经常会碰到提示配置PKG_CONFIG_PATH路径, 或者直接提示没有安装某某库, 但是我们已经安装了啊。 其实造成这种情况的原因很简单, 就是安装的目录不能被依赖程序找到。 具体的原理可以网上搜索 configure, pkg-config , PKG_CONFIG_PATH这三者直接的关系。此处不再赘述。 解决方法就是让依赖库能找到我们的安装目录...

wangxiaohigh 1878

Depends:xxx but it is not going to be installed

出现这个问题时,首先查看/etc/apt/source.list确保源说正确的,如果源未正确设置,则按正确方法设置源,然后执行sudo apt-get update更新源。如果已确保源是正确的,但该问题还是存在,则安装aptitude对依赖关系进行智能处理。

hhhlizhao的博客 4651

ubuntu编译zxing-cpp踩坑

它已经从github上下载了stb这个包,下载到zxing-cpp.release/_deps这个文件夹里面。但还是链接不上,原因不明,有知道的大哥可以在评论区说一下。既然它通过这种cmake自动化下载并添加的方式无法解决stb依赖,那我们就手动添加依赖。这个链接里面的内容安装,期间可能会遇到运行下面的命令。包这个操作的,但最后却没生效,语句的作用看注释。按照以上步骤安装了Qt但仍报错找不到的。一行,其中的换成你的版本号,这里换成。这个文件里面定义这条命令的。这个关键字,再找,发现是在。

lyxichigoichie的博客 1604

ubuntu12.04:apt-get 依赖版本过高( Depends: binutils-msp430 (>= 2.21~) but it is not going to be )

sudo apt-get update && sudo apt-get install -f ps: apt-get -f install=apt-get install -f ,是修复依赖关系(depends)的命令,就是假如你的系统上有某个package不满足依赖条件, 这个命令就会自动修复,安装那个package依赖的package。

Mamba的专栏 1537

基于docker构建香橙派zero系统构建环境

基于docker编译orangepi zero镜像,为搭建交叉编译环境提供一个基础。

Lozenyi的博客 1903

linux包依赖损坏报错的解决【记录问题】

包依赖关系损坏问题(重要) 问题: The following packages have unmet dependencies: libcairo2-dev : Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed Depends: libglib2.0-dev but it is no...

少磊的博客 1747

WebKit 分析–for android【new】

Java调WebView, WebView(UI线程)向WebViewCore(WebCore线程)发消息,再由WebViewCore正调BrowserFrame,回调CallbackProxy 网上有许多webkit的分析文章,其中针对android porting的一篇文章WebKit – WebKit For Android,写的非常好,分析得非常深入。不过这篇文章针

tuhuolong的专栏 2084

Android webkit,webview和chrome的关系

Android webkit Webkit是一个开源的浏览器排版和渲染引擎,包含WebCore和JavascriptCore。WebKit有众多的实现(Qt、Gtk, windows, chromium, android, etc)。 Android 4.0平台的Web引擎框架采用了WebKit中的WebCore,javascript引擎则是采用google的V8引擎。Android

X-Prince的博客 1万+

安装软件包libicu57 (安装w3af过程)

安装过程参考:https://blog.youkuaiyun.com/f786548139/article/details/80604586 问题出现: 在安装所需软件包时: libjavascriptcoregtk-1.0-0 : 依赖: libicu57 (&gt;= 57.1-1~) 但无法安装它   这时需要安装(我的更新源并没有libicu57) debian软件仓库(https://p...

hints'blog 8353
上一篇: Linux桌面环境下的网页制作工具Quanta, kompozer,
下一篇: linux 进程间通信综述
bamboolsu
博客等级 码龄22年 200粉丝 394原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值