-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from kloptops/main
Updated xdelta3, updated port.json version.
- Loading branch information
Showing
6 changed files
with
35 additions
and
4 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,28 @@ | ||
# This file is for me to remember how to build xdelta/gptokeyb/gptokeyb2/sdl_resolution | ||
|
||
# TODO: document the others. | ||
|
||
# XDELTA3 Compilation | ||
|
||
## Compile liblzma statically | ||
```sh | ||
./configure --enable-static=yes --enable-shared=no | ||
make -j4 | ||
sudo make install | ||
``` | ||
|
||
## Compile xdelta3 statically with liblzma | ||
|
||
```sh | ||
git clone "https://github.com/jmacd/xdelta.git" | ||
cd xdelta | ||
git checkout release3_1_apl | ||
wget https://patch-diff.githubusercontent.com/raw/jmacd/xdelta/pull/241.diff | ||
git apply 241.diff | ||
cd xdelta3 | ||
|
||
./generate_build_files.sh | ||
LDFLAGS=-L/usr/local/lib/ CXXFLAGS=-I/usr/local/include ./configure --with-liblzma | ||
make -j4 | ||
strip xdelta3 | ||
``` |
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.