-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.4.0 release, Merge branch 'develop'
- Loading branch information
Showing
18 changed files
with
180 additions
and
149 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
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 was deleted.
Oops, something went wrong.
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.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,5 +21,4 @@ fi | |
make -j12 | ||
cp .libs/*.so $BASE_DIR | ||
strip $BASE_DIR/*.so | ||
make clean | ||
popd |
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,26 @@ | ||
#!/bin/bash | ||
|
||
# Adapted from https://wimlib.net/git/?p=wimlib;a=tree;f=tools/windeps/Makefile; | ||
|
||
# Absolute path to this script, e.g. /home/user/bin/foo.sh | ||
BASE_ABS_PATH=$(readlink -f "$0") | ||
# Absolute path this script is in, thus /home/user/bin | ||
BASE_DIR=$(dirname "${BASE_ABS_PATH}") | ||
CORES=$(grep -c ^processor /proc/cpuinfo) | ||
|
||
# libxml2 source directory must be parameter | ||
pushd "${PWD}" | ||
LIB_PREFIX="${HOME}/wimlib-build" | ||
mkdir "${LIB_PREFIX}" | ||
cd "$1" | ||
rm -rf build | ||
mkdir build | ||
CFLAGS="-Os -fPIC" meson . build \ | ||
--strip --default-library static \ | ||
--prefix "${LIB_PREFIX}" \ | ||
--buildtype release \ | ||
-Dutils=false -Dexamples=false -Duseroot=false -Ddisable-mtab=false | ||
cd build | ||
ninja -j "${CORES}" | ||
ninja install | ||
popd |
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,22 @@ | ||
#!/bin/bash | ||
|
||
# Adapted from https://wimlib.net/git/?p=wimlib;a=tree;f=tools/windeps/Makefile; | ||
|
||
# Absolute path to this script, e.g. /home/user/bin/foo.sh | ||
BASE_ABS_PATH=$(readlink -f "$0") | ||
# Absolute path this script is in, thus /home/user/bin | ||
BASE_DIR=$(dirname "${BASE_ABS_PATH}") | ||
CORES=$(grep -c ^processor /proc/cpuinfo) | ||
|
||
# libxml2 source directory must be parameter | ||
pushd "${PWD}" | ||
LIB_PREFIX="${HOME}/wimlib-build" | ||
mkdir "${LIB_PREFIX}" | ||
cd "$1" | ||
make clean | ||
./configure --enable-static --disable-shared \ | ||
--prefix="${LIB_PREFIX}" CFLAGS="-Os -fPIC" \ | ||
--with-minimum --without-lzma --with-tree --with-writer | ||
make "-j${CORES}" | ||
make install | ||
popd |
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 @@ | ||
#!/bin/bash | ||
|
||
# Adapted from https://wimlib.net/git/?p=wimlib;a=tree;f=tools/make-windows-release; | ||
# Run after running build_linux_static_libxml.sh | ||
|
||
# Absolute path to this script, e.g. /home/user/bin/foo.sh | ||
BASE_ABS_PATH=$(readlink -f "$0") | ||
# Absolute path this script is in, thus /home/user/bin | ||
BASE_DIR=$(dirname "${BASE_ABS_PATH}") | ||
CORES=$(grep -c ^processor /proc/cpuinfo) | ||
ARCH=$(uname -m) | ||
|
||
# sudo apt install libfuse-dev | ||
pushd "${PWD}" | ||
LIB_PREFIX="${HOME}/wimlib-build" | ||
cd $1 | ||
if [ "${ARCH}" = "x86_64" ]; then | ||
EXTRA_ARGS="--enable-ssse3-sha1" | ||
fi | ||
make clean | ||
./configure --enable-dynamic --disable-static \ | ||
LIBXML2_CFLAGS="-I${LIB_PREFIX}/include/libxml2" \ | ||
LIBXML2_LIBS="-L${LIB_PREFIX}/lib -lxml2" \ | ||
--without-libcrypto --without-ntfs-3g "${EXTRA_ARGS}" | ||
make "-j${CORES}" | ||
cp ".libs/libwim.so" "${BASE_DIR}" | ||
strip "${BASE_DIR}/libwim.so" | ||
popd |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
# Adapted from https://wimlib.net/git/?p=wimlib;a=tree;f=tools/make-windows-release; | ||
# Run after running build_linux_static_libxml.sh | ||
|
||
# wimlib source directory must be parameter | ||
# Ex)./build_posix_wimlib.sh | ||
|
||
# This build requires nasm | ||
# $ brew install nasm | ||
pushd $PWD | ||
LIB_PREFIX=$HOME/wimlib-build | ||
WIMLIB_SRC_DIR=$1 | ||
cd $WIMLIB_SRC_DIR | ||
./configure --enable-dynamic --disable-static \ | ||
LIBXML2_CFLAGS="-I$LIB_PREFIX/include/libxml2" \ | ||
LIBXML2_LIBS="-L$LIB_PREFIX/lib" \ | ||
PKG_CONFIG_PATH="$LIB_PREFIX/lib/pkgconfig" \ | ||
--without-libcrypto --without-ntfs-3g --without-fuse --enable-ssse3-sha1 | ||
make -j4 | ||
cp .libs/*.dylib . | ||
strip ./*.dylib | ||
popd |
Oops, something went wrong.