mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
51e3e7d9ae
Meson 1.5.1 is available in the fd.o SDK and in Debian testing, so the glib Meson policy says we can update. Update the minimum only as far as 1.4.0 because we don't yet have a need for 1.5.0. This allows us to: - Use file.full_path() to avoid deprecation warnings on str.format(file). - Set c_std=gnu99,c99 to avoid deprecation warnings with gnu99 on MSVC. Update all the CI builds to use the latest 1.4.x patch release, 1.4.2. The FreeBSD runner cannot be updated via `gitlab-ci.yml`, so will be broken for now. Similarly, the macOS build will not work unless `-Dc_std=gnu99` is specified at configure time, due to https://github.com/mesonbuild/meson/issues/13639.
39 lines
722 B
Docker
39 lines
722 B
Docker
FROM alpine:3.19
|
|
|
|
RUN apk add --no-cache \
|
|
bash \
|
|
build-base \
|
|
bzip2-dev \
|
|
dbus \
|
|
desktop-file-utils \
|
|
docbook-xml \
|
|
docbook-xsl \
|
|
gettext-dev \
|
|
git \
|
|
libffi-dev \
|
|
libxml2-utils \
|
|
libxslt \
|
|
meson \
|
|
musl-locales \
|
|
py3-pip \
|
|
python3 \
|
|
pcre2-dev \
|
|
shared-mime-info \
|
|
tzdata \
|
|
util-linux-dev \
|
|
zlib-dev
|
|
|
|
ENV LANG=C.UTF-8 LANGUAGE=C.UTF-8 LC_ALL=C.UTF-8 MUSL_LOCPATH=/usr/share/i18n/locales/musl
|
|
|
|
RUN pip3 install --break-system-packages meson==1.4.2
|
|
|
|
ARG HOST_USER_ID=5555
|
|
ENV HOST_USER_ID ${HOST_USER_ID}
|
|
RUN adduser -D -u $HOST_USER_ID -s /bin/bash user
|
|
|
|
USER user
|
|
WORKDIR /home/user
|
|
|
|
COPY cache-subprojects.sh .
|
|
RUN ./cache-subprojects.sh
|