On 5.7.2015 22:56, BLFS Trac wrote:
#6688: Drop gstreamer-0.10 and associated packages
-------------------------+--------------------------
  Reporter:  bdubbs@…     |       Owner:  blfs-book@…
      Type:  enhancement  |      Status:  new
  Priority:  normal       |   Milestone:  7.8
Component:  BOOK         |     Version:  SVN
  Severity:  normal       |  Resolution:
  Keywords:               |
-------------------------+--------------------------

Comment (by bdubbs@…):

  For qt4, add -no-webkit

  For qtwebkit-2.3.4:

  NOCONFIGURE=1 sh autogen.sh
  ./configure --prefix=$QT4DIR --with-gstreamer-1.0
  make

  Using -j10 failed after 10 minutes

  ProcessLauncherGtk.cpp:
  error: 'AF_UNIX' was not declared
  error: 'SOCK_STREAM' was not declared
  error: 'socketpair' was not declared in this scope

  sed -i '/errno.h/i #include <sys/socket.h>' path/to/ProcessLauncherGtk.cpp

  then
  undefined reference to `void
  JSC::JSObject::putByIndexBeyondVectorLengthWithoutAttributes ...

  Found a patch at https://bugreports.qt.io/browse/QTBUG-44829

  Add to ./Source/JavaScriptCore/runtime/JSObject.cpp:
  {{{
  template void
  JSObject::putByIndexBeyondVectorLengthWithoutAttributes<Int32Shape>(
        ExecState* exec, unsigned i, JSValue value);
  template void
  JSObject::putByIndexBeyondVectorLengthWithoutAttributes<DoubleShape>(
        ExecState* exec, unsigned i, JSValue value);
  template void
  JSObject::putByIndexBeyondVectorLengthWithoutAttributes<ContiguousShape>(
        ExecState* exec, unsigned i, JSValue value);
  }}}


  around line 1928.

  Directories added: include/webkitgtk-3.0, share/webkitgtk-3.0

  Libraries: libjavascriptcoregtk-3.0.so libwebkit2gtk-3.0.so (36M!/28M
  stripped)  libwebkitgtk-3.0.so

  Libexec: WebKitPluginProcess (34M!/27M stripped) WebKitWebProcess

  bin: jsc-3


Congrats. You've built the GTK+3 version of WebKit. I have put a reference to my build script for a reason. It includes commands required to build the *Qt4* version of WebKit.
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to