-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c74e806
Showing
12 changed files
with
113 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# WebCore Dependencies | ||
|
||
This repo contains instructions for building the dependencies for our WebCore port. | ||
|
||
Pre-built binaries for each platform are provided via GitHub Releases. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Build requirements: | ||
You must have already built and installed openssl | ||
|
||
To build: | ||
cd into source | ||
./configure CFLAGS='-Os' CC='clang' CXX='clang++' --disable-shared --with-ssl=/usr/local/ssl | ||
make | ||
|
||
Build products (libcurl.a) will be in: lib/.libs | ||
|
10 changes: 10 additions & 0 deletions
10
WebKitLibraries/source/freetype-2.6.5/ULTRALIGHT-README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
To build: | ||
|
||
./configure --disable-shared --with-zlib=no --with-bzip2=no CPPFLAGS='-fPIC' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Install it so we can build harfbuzz: | ||
sudo make install | ||
|
||
Output will be in: | ||
/objs/.libs/libfreetype.a |
13 changes: 13 additions & 0 deletions
13
WebKitLibraries/source/harfbuzz-1.3.4/ULTRALIGHT-README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Before you build: | ||
|
||
Build and install freetype | ||
|
||
Make sure pkg-config is installed otherwise it won't be able to find freetype: | ||
sudo apt install pkg-config | ||
|
||
To build: | ||
|
||
./configure --enable-static --disable-shared --with-freetype=yes --with-icu=yes --with-cairo=no --with-gobject=no --with-glib=no --with-fontconfig=no CPPFLAGS='-fPIC -DU_DISABLE_RENAMING=1 -DU_STATIC_IMPLEMENTATION=1' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Build products (libharfbuzz.a and libharfbuzz-icu.a) will be in src/.libs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Before you build: | ||
Copy icudt56l.dat into icu/source/data/in and replace the existing file. | ||
|
||
To build on mac/linux: | ||
cd into icu/source | ||
./configure --enable-static --disable-shared --disable-dyload --disable-renaming CPPFLAGS='-fPIC' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Install it so we can build Harfbuzz: | ||
sudo make install | ||
|
||
Build products will be in icu/source/lib |
Binary file not shown.
9 changes: 9 additions & 0 deletions
9
WebKitLibraries/source/libjpeg-turbo-1.5.3/ULTRALIGHT-README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Before you build, make sure nasm is installed: | ||
sudo apt install nasm | ||
|
||
To build: | ||
|
||
./configure --enable-static --disable-shared CPPFLAGS='-fPIC' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Build products (libjpeg.a) will be in .libs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
To build: | ||
|
||
./configure --enable-static --disable-shared CPPFLAGS='-fPIC' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Build products (libpng16.a) will be in .libs directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
To build: | ||
|
||
./configure --enable-static --disable-shared --with-python=no CPPFLAGS='-fPIC' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Install it so we can build libxslt: | ||
sudo make install | ||
|
||
Build products (libxml2.a) will be in .libs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Build requirements: | ||
Make sure LIBTOOL is installed: | ||
sudo apt install libtool | ||
|
||
To build: | ||
./autogen.sh --enable-static --disable-shared --with-python=no CPPFLAGS='-fPIC' CXXFLAGS='-Os' CFLAGS='-Os' CC='clang' CXX='clang++' | ||
make | ||
|
||
Build products (libxslt.a) will be in libxslt/.libs |
13 changes: 13 additions & 0 deletions
13
WebKitLibraries/source/openssl-1.0.2p/ULTRALIGHT-README.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
To build on linux: | ||
cd into source | ||
|
||
For 64-bit: | ||
./Configure no-shared linux-x86_64-clang -fPIC -Os | ||
For 32-bit: | ||
CC=clang CXX=clang++ ./Configure no-shared linux-elf -fPIC -Os | ||
make | ||
|
||
Install it so we can build cURL later: | ||
sudo make install | ||
|
||
Build products (libssl.a and libcrypto.a) will be in same source directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
To build: | ||
|
||
For 64-bit: | ||
CFLAGS="-m64 -Os -fPIC" CC="clang" CXX="clang++" ./configure --static | ||
|
||
For 32-bit: | ||
CFLAGS="-m32 -Os -fPIC" CC="clang" CXX="clang++" ./configure --static | ||
|
||
Build it: | ||
make | ||
|
||
Build products (libz.a) will be in same source directory. | ||
|
||
Install it so we can build libpng: | ||
|
||
sudo make install |