I also promised to post the build instructions. So here they are.
If you are using the tap0 interface you may want to apply the attached
poky_tap.patch (you may adjust it to the number of tap interfaces you use).
First you need to compile a mime database. Copy the file
/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/bin/update-mime-database and the attached
freedesktop.org.xml to emulator. The last one is the file
/usr/share/mime/packages/freedesktop.org.xml from my build system with only a few mime types supported by WebKit in it. Execute the following commands on emulator:
Code:
mkdir -p /media/mmcblk0p1/Programs/_midori/share/mime/packages/
mv /home/root/freedesktop.org.xml /media/mmcblk0p1/Programs/_midori/share/mime/packages/
/home/root/update-mime-database /media/mmcblk0p1/Programs/_midori/share/mime
cd /media/mmcblk0p1/Programs/
tar cvf /home/root/midori-mime.tar _midori
Copy
midori-mime.tar to your build system and untar it into
/media/mmcblk0p1/Programs/ directory.
Download
libsoup-2.26.3.tar.bz2 from
http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.26/ , set environment variables from the attached file
irex_env.sh and execute the following commands:
Code:
tar jxf libsoup-2.26.3.tar.bz2
mkdir libsoup_build
cd libsoup_build
LDFLAGS=-L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib ../libsoup-2.26.3/configure --prefix=/media/mmcblk0p1/Programs/_midori --host=arm-poky-linux-gnueabi --without-gnome --disable-static --disable-ssl --disable-glibtest
make
make install
sed -e 's,-L[^ ]*,-L/media/mmcblk0p1/Programs/_midori/lib,' -i /media/mmcblk0p1/Programs/_midori/lib/libsoup-2.4.la
sed -e 's, /usr/lib/, /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib/,g' -i /media/mmcblk0p1/Programs/_midori/lib/libsoup-2.4.la
Apply the attached
poky_icu.patch in
/usr/local . Then download and install WebKit 1.1.1 using the following commands:
Code:
svn co http://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-1.1.1 webkit
cd webkit
sed -e '$s/^/echo /' -i autogen.sh
./autogen.sh
mkdir -p WebKitBuild/Release
cd WebKitBuild/Release
LDFLAGS=-L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib LIBSOUP_CFLAGS=-I/media/mmcblk0p1/Programs/_midori/include/libsoup-2.4 LIBSOUP_LIBS='-L/media/mmcblk0p1/Programs/_midori/lib -lsoup-2.4' icu_config='/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/bin/icu-config' ../../configure --prefix=/media/mmcblk0p1/Programs/_midori --host=arm-poky-linux-gnueabi --disable-database --disable-dom-storage --disable-gnomekeyring --disable-icon-database --disable-offline-web-applications --disable-3D-transforms --disable-channel-messaging --disable-svg --disable-svg-animation --disable-svg-filters --disable-svg-foreign-object --disable-svg-fonts --disable-svg-as-image --disable-svg-use-element --enable-xpath --enable-xslt --disable-wml --disable-video --disable-web-workers --disable-coverage --disable-debug --disable-dashboard-support --enable-shared --disable-static
make
make install
Download
midori-0.1.10.tar.bz2 from
http://www.twotoasts.de/index.php?/p...i_summary.html and execute the following commands:
Code:
tar jxf midori-0.1.10.tar.bz2
patch -p0 < midori-0.1.10.patch
cd midori-0.1.10
LDFLAGS='-L/media/mmcblk0p1/Programs/_midori/lib -L/usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib' PKG_CONFIG_PATH="/media/mmcblk0p1/Programs/_midori/lib/pkgconfig:$PKG_CONFIG_PATH" CFLAGS='-O2 -I/media/mmcblk0p1/Programs/_midori/include/libsoup-2.4 -I/media/mmcblk0p1/Programs/_midori/include/webkit-1.0' ./configure --prefix=/media/mmcblk0p1/Programs/_midori --disable-docs --disable-hildon
sed -e "s;gnueabi/media;gnueabi/usr/lib', '/media;" -i ./_build_/c4che/default.cache.py
make
make install
Copy some libraries:
Code:
cp /usr/local/poky/eabi-glibc/arm/arm-poky-linux-gnueabi/usr/lib/{libXt.so.6,libicudata.so.36,libicui18n.so.36,libicuuc.so.36,libxslt.so.1} /media/mmcblk0p1/Programs/_midori/lib
After that compare your
/media/mmcblk0p1/Programs/_midori with content of the archive I attached in my previous post and make necessary adjustments.