view ci/setup-xvfb.sh @ 32066:1b2d6aa29267 v9.0.1364

patch 9.0.1364: build error with older Mac OS Commit: https://github.com/vim/vim/commit/da77693b17ff1f17f03ac78f0298294cf7d1087f Author: Yee Cheng Chin <ychin.git@gmail.com> Date: Tue Feb 28 15:51:23 2023 +0000 patch 9.0.1364: build error with older Mac OS Problem: Build error with older Mac OS. Solution: Adjust #ifdef. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/12074)
author Bram Moolenaar <Bram@vim.org>
date Tue, 28 Feb 2023 17:00:04 +0100
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -e

apt-get install -y xvfb

cat <<EOT >/etc/systemd/system/xvfb.service
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :99 -screen 0 1024x768x24
[Install]
WantedBy=multi-user.target
EOT

systemctl enable xvfb.service
systemctl start xvfb.service