Fix .policy file translation in Ubuntu CI docker image (!124)

Now that the official Ubuntu latest docker image has updated to Ubuntu
24.04 LTS [1] the build CI job fails like this:
    $ make -j $nproc
    ...
    /usr/bin/msgfmt --desktop --template gparted.desktop.in -d ./po -o gparted.desktop
    /usr/bin/msgfmt --xml --template org.gnome.gparted.policy.in -d ./po -o org.gnome.gparted.policy
    /usr/bin/msgfmt: cannot locate ITS rules for org.gnome.gparted.policy.in
    make[2]: *** [Makefile:1060: org.gnome.gparted.policy] Error 1

The needed fix is already documented in the README file [2].  Install
the required package into the Ubuntu CI docker images to fix this.

[1] Ubuntu Docker official image
    https://hub.docker.com/_/ubuntu/
        "Supported tags and respective Dockerfile links
        ...
        24.04, ..., latest, ...
        "
[2] 16c2533af0
    Document future Debian/Ubuntu build time dependency in README (!121)

Closes !124 - Update CI jobs for Ubuntu 24.04 LTS and use Rocky Linux 8
This commit is contained in:
Mike Fleetwood 2024-08-05 07:06:39 +01:00
parent 43585d502f
commit 558ee66e69
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ stages:
- apt update
- apt install -y build-essential gnome-common yelp-tools libglib2.0-dev-bin
uuid-dev libparted-dev libgtkmm-3.0-dev policykit-1
libpolkit-gobject-1-dev
# Extra packages only needed during the test stage.
- apt install -y btrfs-progs e2fsprogs exfatprogs f2fs-tools dosfstools
mtools hfsutils hfsprogs jfsutils util-linux cryptsetup-bin