-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates: gdal, grass, ... and package libcurl!
- Loading branch information
1 parent
40ca7e8
commit 7e64944
Showing
64 changed files
with
862 additions
and
200 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 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 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 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 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,36 @@ | ||
#!/bin/bash | ||
|
||
function check_libcurl() { | ||
env_var_exists VERSION_libcurl | ||
env_var_exists LINK_libcurl | ||
} | ||
|
||
function bundle_libcurl() { | ||
try cp -av $DEPS_LIB_DIR/libcurl.*dylib $BUNDLE_LIB_DIR | ||
} | ||
|
||
function fix_binaries_libcurl() { | ||
install_name_id @rpath/$LINK_libcurl $BUNDLE_CONTENTS_DIR/MacOS/lib/$LINK_libcurl | ||
|
||
for i in \ | ||
$LINK_libssh2 \ | ||
$LINK_libssl \ | ||
$LINK_libcrypto \ | ||
$LINK_zlib \ | ||
$LINK_zstd | ||
do | ||
install_name_change $DEPS_LIB_DIR/$i @rpath/$i $BUNDLE_LIB_DIR/$LINK_libcurl | ||
done | ||
} | ||
|
||
function fix_binaries_libcurl_check() { | ||
verify_binary $BUNDLE_LIB_DIR/$LINK_libcurl | ||
} | ||
|
||
function fix_paths_libcurl() { | ||
: | ||
} | ||
|
||
function fix_paths_libcurl_check() { | ||
: | ||
} |
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,54 @@ | ||
#!/bin/bash | ||
|
||
function check_libicu() { | ||
env_var_exists VERSION_libicu | ||
env_var_exists LINK_libicudata | ||
} | ||
|
||
function bundle_libicu() { | ||
try cp -av $DEPS_LIB_DIR/libicudata.*dylib $BUNDLE_LIB_DIR | ||
try cp -av $DEPS_LIB_DIR/libicuuc.*dylib $BUNDLE_LIB_DIR | ||
try cp -av $DEPS_LIB_DIR/libicui18n.*dylib $BUNDLE_LIB_DIR | ||
try cp -av $DEPS_LIB_DIR/libicuio.*dylib $BUNDLE_LIB_DIR | ||
try cp -av $DEPS_LIB_DIR/libicutu.*dylib $BUNDLE_LIB_DIR | ||
} | ||
|
||
function fix_binaries_libicu() { | ||
targets=( | ||
$LINK_libicudata | ||
$LINK_libicuuc | ||
$LINK_libicui18n | ||
$LINK_libicuio | ||
$LINK_libicutu | ||
) | ||
for i in ${targets[*]} | ||
do | ||
try install_name_tool -id @rpath/$i $BUNDLE_LIB_DIR/$i | ||
for j in ${targets[*]} | ||
do | ||
try install_name_tool -change $DEPS_LIB_DIR/$j @rpath/$j $BUNDLE_LIB_DIR/$i | ||
done | ||
done | ||
} | ||
|
||
function fix_binaries_libicu_check() { | ||
targets=( | ||
$LINK_libicudata | ||
$LINK_libicuuc | ||
$LINK_libicui18n | ||
$LINK_libicuio | ||
$LINK_libicutu | ||
) | ||
for i in ${targets[*]} | ||
do | ||
verify_binary $BUNDLE_LIB_DIR/$i | ||
done | ||
} | ||
|
||
function fix_paths_libicu() { | ||
: | ||
} | ||
|
||
function fix_paths_libicu_check() { | ||
: | ||
} |
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,36 @@ | ||
#!/bin/bash | ||
|
||
function check_libssh2() { | ||
env_var_exists VERSION_libssh2 | ||
env_var_exists LINK_libssh2 | ||
} | ||
|
||
function bundle_libssh2() { | ||
try cp -av $DEPS_LIB_DIR/libssh2.*dylib $BUNDLE_LIB_DIR | ||
} | ||
|
||
function fix_binaries_libssh2() { | ||
install_name_id @rpath/$LINK_libssh2 $BUNDLE_LIB_DIR/$LINK_libssh2 | ||
|
||
install_name_change $DEPS_LIB_DIR/$LINK_libssh2 @rpath/$LINK_libssh2 $BUNDLE_LIB_DIR/$LINK_libssh2 | ||
|
||
for i in \ | ||
$LINK_libssl \ | ||
$LINK_zlib \ | ||
$LINK_libcrypto | ||
do | ||
install_name_change $DEPS_LIB_DIR/$i @rpath/$i $BUNDLE_LIB_DIR/$LINK_libssh2 | ||
done | ||
} | ||
|
||
function fix_binaries_libssh2_check() { | ||
verify_binary $BUNDLE_LIB_DIR/$LINK_libssh2 | ||
} | ||
|
||
function fix_paths_libssh2() { | ||
: | ||
} | ||
|
||
function fix_paths_libssh2_check() { | ||
: | ||
} |
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 | ||
|
||
function check_libunistring() { | ||
env_var_exists VERSION_libunistring | ||
env_var_exists LINK_libunistring | ||
} | ||
|
||
function bundle_libunistring() { | ||
try cp -av $DEPS_LIB_DIR/libunistring.*dylib $BUNDLE_LIB_DIR | ||
} | ||
|
||
function fix_binaries_libunistring() { | ||
install_name_id @rpath/$LINK_libunistring $BUNDLE_CONTENTS_DIR/MacOS/lib/$LINK_libunistring | ||
|
||
install_name_change $DEPS_LIB_DIR/$LINK_libunistring @rpath/$LINK_libunistring $BUNDLE_CONTENTS_DIR/MacOS/lib/$LINK_libunistring | ||
} | ||
|
||
function fix_binaries_libunistring_check() { | ||
verify_binary $BUNDLE_LIB_DIR/$LINK_libunistring | ||
} | ||
|
||
function fix_paths_libunistring() { | ||
: | ||
} | ||
|
||
function fix_paths_libunistring_check() { | ||
: | ||
} |
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 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 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 | ||
|
||
function check_python_cftime() { | ||
env_var_exists VERSION_python_cftime | ||
} | ||
|
||
function bundle_python_cftime() { | ||
: | ||
} | ||
|
||
function fix_binaries_python_cftime() { | ||
: | ||
} | ||
|
||
function fix_binaries_python_cftime_check() { | ||
: | ||
} | ||
|
||
function fix_paths_python_cftime() { | ||
CFTIME_EGG=$BUNDLE_PYTHON_SITE_PACKAGES_DIR/cftime-${VERSION_python_cftime}-py${VERSION_major_python}-macosx-${MACOSX_DEPLOYMENT_TARGET}-x86_64.egg | ||
clean_path $CFTIME_EGG/EGG-INFO/SOURCES.txt | ||
} | ||
|
||
function fix_paths_python_cftime_check() { | ||
: | ||
} |
Oops, something went wrong.