From ac03b3a0230589f86f14abd382652be9e8f6df98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 11 Oct 2026 10:52:50 -0400 Subject: [PATCH 1/2] CI: Install wxPython and optional dependencies in the update-i18n job Install wxPython (python3-wxgtk4.0) and the optional dependencies of the tools listed in the menus (cairo, fftw, freetype, geos, libsvm, netcdf, opengl, postgres), and configure with the matching flags. AI was used to carry out the trivial work, following the author's implementation choices. --- .github/workflows/periodic_update.yml | 32 ++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/.github/workflows/periodic_update.yml b/.github/workflows/periodic_update.yml index e75b9828e01..5621d9a27b8 100644 --- a/.github/workflows/periodic_update.yml +++ b/.github/workflows/periodic_update.yml @@ -86,16 +86,36 @@ jobs: sudo apt update sudo apt install -y --no-install-recommends --no-install-suggests \ gettext \ + libcairo2-dev \ + libfftw3-dev \ + libfreetype-dev \ libgdal-dev \ - libproj-dev - - name: Configure grass with minimal packages + libgeos-dev \ + libgl-dev \ + libglu1-mesa-dev \ + libnetcdf-dev \ + libpq-dev \ + libproj-dev \ + libsvm-dev \ + python3-wxgtk4.0 + - name: Configure grass with the packages needed for the menu strings + # wxPython is needed to generate the menu strings, and the tools + # that are not built get a placeholder instead of their description. + # Ubuntu 24.04 does not package PDAL or libLAS, so the point cloud + # import and export tools still get the placeholder. run: | ./configure \ + --with-cairo \ + --with-fftw \ + --with-freetype \ + --with-freetype-includes=/usr/include/freetype2 \ + --with-geos \ + --with-libsvm \ + --with-netcdf \ --with-nls \ - --without-cairo \ - --without-fftw \ - --without-freetype \ - --without-opengl \ + --with-opengl \ + --with-postgres \ + --with-postgres-includes=/usr/include/postgresql \ --without-pdal - name: Build grass core run: make -j"$(nproc)" From 7222042c21eb74a73f110b2134e4e1adaa1b430a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edouard=20Choini=C3=A8re?= <27212526+echoix@users.noreply.github.com> Date: Sun, 11 Oct 2026 11:08:42 -0400 Subject: [PATCH 2/2] CI: Pin periodic_update.yml runner to ubuntu-24.04 --- .github/workflows/periodic_update.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/periodic_update.yml b/.github/workflows/periodic_update.yml index 5621d9a27b8..47ba453d706 100644 --- a/.github/workflows/periodic_update.yml +++ b/.github/workflows/periodic_update.yml @@ -67,7 +67,7 @@ jobs: STEPS_CPR_OUTPUTS_PULL_REQUEST_URL: ${{ steps.cpr.outputs.pull-request-url }} update-i18n: # The type of runner that the job will run on - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 permissions: contents: write