From 9d36f37d59f614eb4b551bd6b5c67789e1f9092c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= Date: Sun, 12 Nov 2023 10:01:21 +0100 Subject: [PATCH] build gl2ps --- .github/workflows/make.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/make.yaml b/.github/workflows/make.yaml index 2de018114b..603ca26036 100644 --- a/.github/workflows/make.yaml +++ b/.github/workflows/make.yaml @@ -219,6 +219,11 @@ jobs: # qt6-qtbase-dev # qt6-qt5compat-dev # qt6-qttools-dev + # The following packages are only needed to buid gl2ps + # cmake + # wget + # libpng + # sudo packages: > build-base autoconf @@ -272,6 +277,10 @@ jobs: gzip tar zip + cmake + wget + libpng + sudo - name: prepare ccache # create key with human readable timestamp @@ -298,6 +307,27 @@ jobs: echo "compression = true" >> ~/.ccache/ccache.conf ccache -s + - name: build gl2ps + # There is no gl2ps package distributed by Alpine Linux for some reason. + run: | + mkdir -p gl2ps && cd gl2ps + printf "::group::\033[0;32m==>\033[0m Download tarball\n" + wget -O gl2ps-1.4.2.tgz https://geuz.org/gl2ps/src/gl2ps-1.4.2.tgz + echo "::endgroup::" + printf "::group::\033[0;32m==>\033[0m Unpack tarball\n" + tar zxvf gl2ps-1.4.2.tgz + echo "::endgroup::" + printf "::group::\033[0;32m==>\033[0m Configure\n" + mkdir -p build && cd build + cmake -DCMAKE_BUILD_TYPE=Release ../gl2ps-1.4.2 + echo "::endgroup::" + printf "::group::\033[0;32m==>\033[0m Build\n" + cmake --build . + echo "::endgroup::" + printf "::group::\033[0;32m==>\033[0m Install\n" + sudo cmake --install . + echo "::endgroup::" + - name: bootstrap run: GNULIB_URL=https://github.com/coreutils/gnulib.git ./bootstrap