Files
odfstudio/external/cairo
Michael Weghorn 1c44d34e7e external cairo/pixmap: Exclude .gitlab-ci.d when extracting tarball
Use gb_UnpackedTarball_set_exclude_pattern newly introduced
in previous commit

    Change-Id: I066f706e6a396a2eb325c5e75c8e9a108174bb88
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Wed Apr 1 09:04:10 2026 +0200

        gbuild: Allow setting an exclude pattern for tarball extraction

to not extract the files in the "pixman-0.46.4/.gitlab-ci.d"
directory of the pixman tarball.

Since this is only used for pixman's Gitlab CI, it is not relevant
for the LibreOffice build and the directory contains symlinks
which would result in the extraction to fail in an --enable-headless
wsl-as-helper build on Windows like this:

    [build UPK] pixman-0.46.4.tar.xz
    tar: .gitlab-ci.d/meson-cross/linux-386-gnu.meson: Cannot create symlink to ‘native-gnu.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-386-llvm.meson: Cannot create symlink to ‘native-llvm.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-amd64-gnu.meson: Cannot create symlink to ‘native-gnu.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-amd64-llvm.meson: Cannot create symlink to ‘native-llvm.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-arm64-v8-gnu.meson: Cannot create symlink to ‘native-gnu.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-arm64-v8-llvm.meson: Cannot create symlink to ‘native-llvm.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-mipsel-gnu.meson: Cannot create symlink to ‘native-gnu-noopenmp.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-mipsel-llvm.meson: Cannot create symlink to ‘native-llvm-noopenmp.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-ppc64le-gnu.meson: Cannot create symlink to ‘native-gnu.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-ppc64le-llvm.meson: Cannot create symlink to ‘native-llvm.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-riscv64-gnu.meson: Cannot create symlink to ‘native-gnu.meson’: No such file or directory
    tar: .gitlab-ci.d/meson-cross/linux-riscv64-llvm.meson: Cannot create symlink to ‘native-llvm.meson’: No such file or directory
    tar: Exiting with failure status due to previous errors
    make[1]: *** [C:/Users/mwegh/DEVELO~1/git/LIBREO~1/solenv/gbuild/UnpackedTarball.mk:61: C:/Users/mwegh/development/git/libreoffice/workdir/UnpackedTarget/pixman-0.46.4.tar.xz] Error 2

Same error seen when trying to manually extract the tarball
using tar in Git Bash.
The inability to extract certain tarballs containing symlinks
in Git Bash/msys2 is a known problem, reported at [1].

[1] https://github.com/msys2/MSYS2-packages/issues/1216

Change-Id: I59b7bdeb341c5c018e96f600a4e640251fd95975
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203128
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2026-04-02 07:37:06 +02:00
..
2025-09-27 21:38:46 +02:00
…
…

The graphics library, used for anti-aliasing. From [http://cairographics.org/].

This code is used by default only on Linux, though it is also
available on Mac. There is a cairo-canvas implementation that is the
main customer, and it is enabled via 'use hardware acceleration' in
the general options.