-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace firebird2 dependency with firebird and refactor repo logic.
Msys2 has removed its firebird2 package. This change replaces the package reference in our mingw-w64-natron-build-deps-qt5 package. The pacman repo building workflow logic has been reworked so that it generates versioned .zip files and builds the repo locally if it can't download the current repo version. This allows changes to the repo to generate the new zip file AND allows the installer and CI workflows to pass at the same time. This makes it easier to verify that the changes to the repo actually fix build issues when the pull request workflows run.
- Loading branch information
Showing
7 changed files
with
61 additions
and
34 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/bash | ||
|
||
NATRON_DIR= | ||
NATRON_REPO_DIR= | ||
if [[ -z $1 || -z $2 ]]; then | ||
echo "Usage: $(basename $0) <natron_directory> <natron_repo_directory>" | ||
exit 1 | ||
else | ||
NATRON_DIR=$(realpath $1) | ||
NATRON_REPO_DIR=$(realpath $2) | ||
fi | ||
|
||
source ${NATRON_DIR}/tools/MINGW-packages/natron_repo_common.sh | ||
|
||
if [[ ! -d ${NATRON_REPO_DIR} ]]; then | ||
mkdir ${NATRON_REPO_DIR} | ||
fi | ||
|
||
cd ${NATRON_REPO_DIR} | ||
|
||
WINDOWS_PACMAN_REPO_VERSION=`cat ${NATRON_DIR}/tools/MINGW-packages/windows_pacman_repo_version.txt` | ||
ZIP_FILENAME="natron_package_repo-${WINDOWS_PACMAN_REPO_VERSION}.zip" | ||
wget https://github.com/NatronGitHub/Natron/releases/download/windows-mingw-package-repo/${ZIP_FILENAME} | ||
|
||
if [[ -e ${ZIP_FILENAME} ]]; then | ||
unzip ${ZIP_FILENAME} | ||
else | ||
echo "Failed to fetch ${ZIP_FILENAME}" | ||
|
||
echo "Building pacman repo locally." | ||
|
||
# install necessary dependencies for building pacman repo. | ||
pacman -S --needed --noconfirm git base-devel | ||
|
||
${NATRON_DIR}/tools/MINGW-packages/build_natron_package_repo.sh ${NATRON_REPO_DIR} | ||
fi | ||
|
||
UNIX_NATRON_REPO_DIR=`cygpath -u ${NATRON_REPO_DIR}` | ||
natron_repo_init ${UNIX_NATRON_REPO_DIR} |
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 @@ | ||
20240120-1 |