view ci/setup-xvfb.sh @ 26443:fee1e854e183 v8.2.3752

patch 8.2.3752: build error when using Photon GUI Commit: https://github.com/vim/vim/commit/8603be338ac810446f23c092f21bc6082f787519 Author: h-east <h.east.727@gmail.com> Date: Mon Dec 6 11:24:09 2021 +0000 patch 8.2.3752: build error when using Photon GUI Problem: Build error when using Photon GUI. Solution: Adjust #ifdef. (closes https://github.com/vim/vim/issues/9288)
author Bram Moolenaar <Bram@vim.org>
date Mon, 06 Dec 2021 12:30:05 +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