Skip to content

Commit

Permalink
[Fix] Build for Ubuntu 24.04 (#2494)
Browse files Browse the repository at this point in the history
  • Loading branch information
lixun910 authored Aug 30, 2024
1 parent 3ce5d2c commit 21e039e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/ubuntu_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,24 @@ jobs:
chmod +x BuildTools/ubuntu/create_deps.sh
chmod +x BuildTools/ubuntu/install.sh
echo ${{ env.TARGET_OS }}
export DEBIAN_FRONTEND=noninteractive
sudo apt-get update -y
sudo apt-get install -y ca-certificates libgnutls30
echo '-k' > ~/.curlrc
sudo apt-get install -y libpq-dev
sudo apt-get install -y gdal-bin
sudo apt-get install -y libgdal-dev
sudo apt-get install -y unzip cmake dh-autoreconf libgtk-3-dev libgl1-mesa-dev libglu1-mesa-dev
export OS=${{ env.TARGET_OS }}
if [ $OS = 'jammy' ] ; then
sudo apt-get install -y libwebkit2gtk-4.0-dev
elif [ $OS = 'focal' ] ; then
sudo apt-get install -y libwebkit2gtk-4.0-dev
elif [ $OS = 'noble' ] ; then
sudo apt-get install -y libgtk-4-dev libwebkit2gtk-4.1-dev
else
sudo apt-get install -y libwebkitgtk-3.0-dev
fi
- uses: actions/cache@v3
id: cache
Expand Down
2 changes: 1 addition & 1 deletion BuildTools/ubuntu/package/DEBIAN/control_noble
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Architecture: amd64
Priority: optional
Section: graphics
Installed-Size: 121795
Depends: libgdal34, zlib1g, libexpat1, freeglut3, libreadline8, libgtk-4-1, libssl3, libwebkit2gtk-4.1-0
Depends: libgdal34, zlib1g, libexpat1, freeglut3-dev, libreadline8, libgtk-4-1, libssl3, libwebkit2gtk-4.1-0
Maintainer: Luc Anselin < [email protected] >
Provides: geoda
Homepage: http://spatial.uchicago.edu
Expand Down

0 comments on commit 21e039e

Please sign in to comment.