Skip to content

Commit

Permalink
Fix build on Ubuntu 24.04
Browse files Browse the repository at this point in the history
Signed-off-by: Vitalii Koshura <[email protected]>
  • Loading branch information
AenBleidd committed Dec 19, 2024
1 parent 7103422 commit 4f30572
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,13 @@ jobs:
run: |
sudo add-apt-repository universe
sudo apt-get -qq update
sudo apt-get install -y libncurses5
sudo apt-get install -y libncurses6
- name: Fix libncurses5 missing for armv6
if: ${{ matrix.type == 'armv6' }}
run: |
sudo ln -s /lib/x86_64-linux-gnu/libncurses.so.6 /lib/x86_64-linux-gnu/libncurses.so.5
sudo ln -s /lib/x86_64-linux-gnu/libtinfo.so.6 /lib/x86_64-linux-gnu/libtinfo.so.5
- name: Check if build is running from origin repo
if: ${{ success() && env.AWS_ACCESS_KEY_ID != 0 && env.AWS_SECRET_ACCESS_KEY != 0 }}
Expand Down Expand Up @@ -209,7 +215,7 @@ jobs:
run: |
sudo add-apt-repository universe
sudo apt-get -qq update
sudo apt-get install -y libncurses5
sudo apt-get install -y libncurses6
- name: Check if build is running from origin repo
if: ${{ success() && env.AWS_ACCESS_KEY_ID != 0 && env.AWS_SECRET_ACCESS_KEY != 0 }}
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/linux-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -923,12 +923,7 @@ jobs:
- name: Install dependencies
if: ${{ success() && env.SKIP_RUN == 0 }}
run: |
# Install aptly version 1.5.0+ (to support ubuntu xz compression)
# gpg1 is used for compatibility with aptly
wget -qO - https://www.aptly.info/pubkey.txt | sudo apt-key add -
echo "deb http://repo.aptly.info/ squeeze main" | sudo tee -a /etc/apt/sources.list
sudo apt update -qq
sudo apt-get install -y aptly gnupg1 gpgv1
sudo apt-get install -y aptly
- name: Setup GPG keys
if: ${{ success() && env.SKIP_RUN == 0 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt-get -qq update
sudo apt-get install -y autopoint libftgl-dev freeglut3-dev libcurl4-openssl-dev libxmu-dev libxi-dev libfcgi-dev libxss-dev libnotify-dev libxcb-util0-dev libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev libwebkit2gtk-4.0-dev p7zip-full libxxf86vm-dev ocl-icd-opencl-dev zip
sudo apt-get install -y autopoint libftgl-dev freeglut3-dev libcurl4-openssl-dev libxmu-dev libxi-dev libfcgi-dev libxss-dev libnotify-dev libxcb-util0-dev libgtk-3-dev libsecret-1-dev libgcrypt20-dev libsystemd-dev libwebkit2gtk-4.1-dev p7zip-full libxxf86vm-dev ocl-icd-opencl-dev zip libltdl-dev
- name: Install dependencies for arm64
if: success() && endsWith(matrix.type, 'arm64')
Expand Down
2 changes: 1 addition & 1 deletion mingw/ci_make_apps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export CXX="x86_64-w64-mingw32-g++"
export CC="x86_64-w64-mingw32-gcc"
# condor
export MINGW_FLAGS="-Dflockfile=_lock_file -Dfunlockfile=_unlock_file"
export CURL_EXTRA_LDFLAGS="-lcurl -lwinmm -lpthread -lssl -lcrypto -lws2_32 -lzlib -ladvapi32 -lcrypt32"
export CURL_EXTRA_LDFLAGS="-lcurl -lwinmm -lpthread -lssl -lcrypto -lws2_32 -lzlib -ladvapi32 -lcrypt32 -lbcrypt"
# wrapper
export MINGW_WRAPPER_FLAGS="-DEINSTEINATHOME_CROSS_BUILD -DMINGW_WIN32 -DHAVE_STRCASECMP -D_WINDOWS -D_WIN32 -DWIN32 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_MT -DBOINC -DNODB -D_CONSOLE -fexceptions"
export MINGW_ZIP_FIX="../../zip/zip/__p___mb_cur_max.c"
Expand Down

0 comments on commit 4f30572

Please sign in to comment.