Skip to content

Commit c757298

Browse files
committed
Fix: add a temporary workaround for giflib
At the moment, the giflib recipe in the Conan Centre is broken. This is due to a change in the directory structure of the upstream giflib project. A pull request has been submitted to Conan (29758), but it has not yet been merged. In the meantime, this patch will do the job for LuxCoreDeps. However, it will need to be reverted once the pull request has been accepted.
1 parent f5f36e4 commit c757298

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

run-conan.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,16 @@ if [ ! -d "conan-center-index" ]; then
7171
cd conan-center-index
7272
git reset --hard ${CONAN_COMMIT}
7373
git clean -df # cleans any untracked files/folders
74+
75+
# Workaround for temporary unavailability of giflib in conan index (2026-03-22)
76+
# TODO Remove when patch has been accepted
77+
#git remote add "upstream" git@github.com:conan-io/conan-center-index.git
78+
#git fetch upstream pull/29758/head:giflib
79+
#git cherry-pick 0e95d1b1e8380d72df48c7c48efe14f39239826a
80+
git config --global user.name "LuxCoreDeps"
81+
git config --global user.email "luxcoredeps@luxcore.com"
82+
curl -L https://github.com/conan-io/conan-center-index/pull/29758.patch | git am
83+
7484
cd ..
7585
fi
7686
conan remote add mycenter ./conan-center-index --force

0 commit comments

Comments
 (0)