Which libraries does webkit utilize? - webkit

I'm looking for a list of libraries used by webkitgtk/safari.
I've googled, checked wikipedia and even the webkit.org site, to no avail.
Specifically, by libraries I mean libpng, etc.
I pulled the regular webkit repo via svn:
svn checkout https://svn.webkit.org/repository/webkit/trunk webkit
I'm building it for x64 and using ASAN (via the set-webkit-configuration script),
then followed these instructions:
.../Tools/gtk/install-dependencies
.../Tools/Scripts/update-webkitgtk-libs
.../Tools/Scripts/build-webkit --gtk

I found the list of dependencies:
https://trac.webkit.org/wiki/WebKitGTK/Dependencies

Related

Problem building GNURadio in custom environment

I am trying to build the latest GNURadio package on my development system. Unfortunately this system configuration is tightly controlled and I can't just install new packages of software on it as it is used to develop a product and all development systems are kept in lockstep. We are currently on an older version of RedHat.
While I cannot modify the system includes I can download and use newer versions of packages locally (in non-system directories) as long as that doesn't affect the product build/debug environment. Normally this isn't a problem.
However, when building GNURadio I found that our development platforms use an older version of the Boost libraries than is required to build GNURadio. So, I got the latest version of Boost and extracted it into my local (home) directory. I found several directions for, I thought, instructing CMake to use additional include directories. Unfortunately, this hasn't seemed to work with the Boost libraries. CMake keeps complaining that it finds the older version of Boost and not the newer one I have extracted locally.
I have tried using
-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES=<dir>
and
-DCMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES_BEFORE=<dir>
and this had no effect. I then tried adding the following to the top-level CMakeLists.txt file:
SET(CMAKE_INCLUDE_DIRECTORIES_BEFORE ON)
SET(CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES <dir>)
or, even
include_directories(BEFORE <dir>)
Again, no joy.
I did a bit of digging and found that there is a GrBoost.cmake module and it had an additional configuration for the boost directory so I added this:
list(PREPEND BOOST_LIBRARYDIR "<dir>")
to the top of the file. Again, no luck.
I've never used CMake before (and I'm not really keen on learning yet another build system if I don't have to - our company just switched to bazel and I am coming up to speed on that) so I am flying blind here.
What do I have to do to get CMake to look in my local directory to find the Boost stuff I downloaded?
Ok. As it often happens, just after asking the question I was able to find an answer.
It turns out that there is a command-line option to CMake (CMAKE_PREFIX_PATH=<dir>) where you can specify additional base paths to search for CMake config files. I just added this to the command-line and it was found just fine.
I wasn't even aware that Boost came with such config files. Live and learn.
#vre's comment would have probably worked just as well (maybe better, in fact).

Where are the pre-built windows binaries for xalan-c?

The link on this website, https://apache.github.io/xalan-c/install.html, for the Windows binaries is broken. I tried poking around on the base URL of the vcpkg github project to see if I could manually navigate to find more info but I could not find anything. I'd appreciate a link.

cmake find_package full list of installed modules

Where, or how, can I get the full list of packages supported by find_package?
I understand those are modules, so they must reside somewhere?
I'm building on online automated packaging system for C++/ROS, and I need to have a detailed list of what is available (as package).
Here is a complete guide for it.

Build QtWebkit with V8

For some days I've been looking forward to build QtWebkit with V8 support.
I found lot of resources over the internet, some of them old like this one from 2010:
http://webkit.sed.hu/blog/20101216/benchmarking-qtwebkit-v8-linux
"For some time it has been possible to build and run QtWebKit on Linux
using Google's V8 JavaScript engine instead of the default
JavaScriptCore."
And this one from 2011:
https://lists.webkit.org/pipermail/webkit-qt/2011-January/001111.html
The current trunk should also build now with:
Tools/Scripts/build-webkit --qt --v8
I also found this one:
http://qt-project.org/wiki/V8_Port
THE PROJECT WAS ABANDONED [bugreports.qt-project.org]
The --v8 doesn't seems to be recognized in Webkit's build_webkit script and there doesn't seems to be a similar option.
A find in Webkit's source revealed v8 tests and bindings existing in the project.
So it's there a way to build QtWebkit with v8 or is it abandoned?
People at #qtwebkit (freenode.net) said that V8 support was abandoned.
But I found this that may be worth trying:
https://github.com/qtwebkit-v8ers/qtwebkit-v8

wxWindows 2.9 binary for windows

After an upgrade to the new Haskell Platform, my existing wxHaskell programs are broken.
They all seem to now require wxWidgets 2.9, for which I can't find any binary versions.
wxPack has 2.8, and beyond that one has to get a compiler and build it locally from what I see.
There are tutorials on this from various sources, each a few pages long, with various advice on setup, changing configurations, etc. Install wxConfig, install minGW compilers, setup configurations, rebuild, etc.
Is there any source of a simple binary install? I'd hope for some simple apt-get or cabal like tool, Haskell library tools (on Windows?) seem less integrated than others that I'm familiar with.
(Update) I did install and compile wxWidgets locally, and still cannot get the wxHaskell components to install. I'm sure that all of this just requires some fairly simple details, but again after some time already, hope not to have to spend a lot more time on this, and wish it was more automated!
Configuring wxc-0.90.0.3...
Configuring wxc to build against wxWidgets 2.9
setup.exe: Missing dependencies on foreign libraries:
* Missing C libraries: wxmsw29ud_all, wxtiffd, wxjpegd, wxpngd, wxzlibd,
wxregexud, wxexpatd, wxregexud
This problem can usually be solved by installing the system packages that
provide these libraries (you may need the "-dev" versions). If the libraries
are already installed but in a non-standard location then you can use the
flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.
cabal: Error: some packages failed to install:
wx-0.90.0.1 depends on wxc-0.90.0.3 which failed to install.
wxc-0.90.0.3 failed during the configure step. The exception was: ExitFailure 1
wxcore-0.90.0.1 depends on wxc-0.90.0.3 which failed to install.
Yes, you can. CodeLite (C++ IDE I use) was recently upgraded to use wx29.
Since there are no binaries yet on repo, Dave set up some. Find all instruction in CodeLite's wiki below
wxWidgets 2.9 Packages and Repositories
If you are using windows Just go to download page for Codelite and download codelite with wxWidgets. Install it, copy the installed wxWidgets directory wherever it is needed!
Also it seems like there are official binaries. I have never tested download anything there so try yourself. The link is this one
Feel free to ask any question