Skip to content

Commit 3de6704

Browse files
poppler: fix build (google#13530)
Signed-off-by: David Korczynski <[email protected]>
1 parent 2a8c8d3 commit 3de6704

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

projects/poppler/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ RUN git clone https://github.com/glennrp/libpng.git && cd libpng && git checkout
3030
RUN git clone --depth 1 https://gitlab.freedesktop.org/fontconfig/fontconfig.git
3131
RUN git clone --depth 1 https://gitlab.freedesktop.org/cairo/cairo.git
3232
RUN git clone --depth 1 --branch=5.15 git://code.qt.io/qt/qtbase.git
33-
RUN git clone --depth 1 https://gitlab.gnome.org/GNOME/pango.git
33+
# Pin libpango to avoid build failure:
34+
# Header for g_sort_array() was not included in gen_script_for_lang.c
35+
# https://gitlab.gnome.org/GNOME/pango/-/commits/main/tools/gen-script-for-lang.c?ref_type=heads
36+
RUN git clone https://gitlab.gnome.org/GNOME/pango.git && cd pango && git checkout d0cd499e17cdcfdc3f7a93d0d28a3df3c5f9b10e
3437
ADD https://ftp.gnome.org/pub/gnome/sources/glib/2.80/glib-2.80.0.tar.xz $SRC
3538
RUN tar xvJf $SRC/glib-2.80.0.tar.xz
3639
RUN wget https://archives.boost.io/release/1.87.0/source/boost_1_87_0.tar.bz2

0 commit comments

Comments
 (0)