Opened 4 years ago
Last modified 4 years ago
#5729 closed defect
build-osx-libs update — at Initial Version
Reported by: | martin_2m | Owned by: | |
---|---|---|---|
Priority: | Release Blocker | Milestone: | Alpha 24 |
Component: | Build & Packages | Keywords: | macos |
Cc: | Patch: |
Description
I would like to recommend the following changes to build the libraries. I found the suggestions for these changes here https://gitlab.com/gnutls/gnutls/-/issues/966
I have set the versions for 'gnutls' to 3.6.13. The download URL and the version of 'icu' I set to 66.1.
Here is the patch file for build-osx-libs.sh
--- original_0ad/0ad/libraries/osx/build-osx-libs.sh 2020-04-23 14:23:04.000000000 +0200 +++ 0ad/libraries/osx/build-osx-libs.sh 2020-04-23 13:57:39.000000000 +0200 @@ -37,11 +37,11 @@
GMP_VERSION="gmp-6.1.2" NETTLE_VERSION="nettle-3.5.1" # NOTE: remember to also update LIB_URL below when changing version
-GNUTLS_VERSION="gnutls-3.6.8" +GNUTLS_VERSION="gnutls-3.6.13"
GLOOX_VERSION="gloox-1.0.22" # OS X only includes part of ICU, and only the dylib # NOTE: remember to also update LIB_URL below when changing version
-ICU_VERSION="icu4c-59_1" +ICU_VERSION="icu4c-66_1"
ENET_VERSION="enet-1.3.13" MINIUPNPC_VERSION="miniupnpc-2.0.20180222" SODIUM_VERSION="libsodium-1.0.18"
@@ -656,7 +656,6 @@
LIB_ARCHIVE="$LIB_VERSION.tar.xz" LIB_DIRECTORY="$LIB_VERSION" LIB_URL="https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/"
-
mkdir -p gnutls pushd gnutls > /dev/null
@@ -695,7 +694,7 @@
--without-p11-kit \ --disable-tests \ --disable-nls \
die "GnuTLS build failed" |
die "GnuTLS build failed" |
popd touch .already-built
else
@@ -754,7 +753,7 @@
LIB_VERSION="${ICU_VERSION}" LIB_ARCHIVE="$LIB_VERSION-src.tgz" LIB_DIRECTORY="icu"
-LIB_URL="http://download.icu-project.org/files/icu4c/59.1/" +LIB_URL="https://github.com/unicode-org/icu/releases/download/release-66-1/"
mkdir -p $LIB_DIRECTORY pushd icu > /dev/null