artifacts: - public.zip environment: BUILD_SUBMITTER: dalligi CI: "true" CI_API_GRAPHQL_URL: https://gitlab.freedesktop.org/api/graphql CI_API_V4_URL: https://gitlab.freedesktop.org/api/v4 CI_COMMIT_AUTHOR: Kenny Levinsen CI_COMMIT_BEFORE_SHA: 50edd3a42dc5e6a7e225642ad192e5ed20bc7103 CI_COMMIT_BRANCH: master CI_COMMIT_DESCRIPTION: |4- Certain signal-related properties, such as the signal mask and handlers that are set to ignore, are not reset by exec and therefore affect the new process image. In case of Xwayland, a compositor setting SIGCHLD to SIG_IGN causes keyboard compilation to fail as it expects waitpid to work by default. Reset the signal mask and the two signals that sway is known to set. CI_COMMIT_MESSAGE: | xwayland: Reset signal mask and handlers before exec Certain signal-related properties, such as the signal mask and handlers that are set to ignore, are not reset by exec and therefore affect the new process image. In case of Xwayland, a compositor setting SIGCHLD to SIG_IGN causes keyboard compilation to fail as it expects waitpid to work by default. Reset the signal mask and the two signals that sway is known to set. CI_COMMIT_REF_NAME: master CI_COMMIT_REF_PROTECTED: "true" CI_COMMIT_REF_SLUG: master CI_COMMIT_SHA: 954dba3968c2eea3bf2c21defe01bf540fd102f9 CI_COMMIT_SHORT_SHA: 954dba39 CI_COMMIT_TIMESTAMP: "2025-03-13T01:37:20+01:00" CI_COMMIT_TITLE: 'xwayland: Reset signal mask and handlers before exec' CI_CONFIG_PATH: .gitlab-ci.yml CI_DEFAULT_BRANCH: master CI_JOB_ID: "72869355" CI_JOB_NAME: alpine CI_JOB_NAME_SLUG: alpine CI_JOB_STAGE: test CI_JOB_STARTED_AT: "2025-03-13T18:32:58Z" CI_JOB_URL: https://gitlab.freedesktop.org/wlroots/wlroots/-/jobs/72869355 CI_NODE_TOTAL: "1" CI_PAGES_DOMAIN: pages.freedesktop.org CI_PAGES_HOSTNAME: wlroots.pages.freedesktop.org CI_PAGES_URL: https://wlroots.pages.freedesktop.org/wlroots CI_PIPELINE_CREATED_AT: "2025-03-13T18:32:55Z" CI_PIPELINE_ID: "1383835" CI_PIPELINE_IID: "1504" CI_PIPELINE_NAME: "" CI_PIPELINE_SOURCE: push CI_PIPELINE_URL: https://gitlab.freedesktop.org/wlroots/wlroots/-/pipelines/1383835 CI_PROJECT_CLASSIFICATION_LABEL: "" CI_PROJECT_DESCRIPTION: A modular Wayland compositor library CI_PROJECT_ID: "12103" CI_PROJECT_NAME: wlroots CI_PROJECT_NAMESPACE: wlroots CI_PROJECT_NAMESPACE_ID: "9759" CI_PROJECT_PATH: wlroots/wlroots CI_PROJECT_PATH_SLUG: wlroots-wlroots CI_PROJECT_REPOSITORY_LANGUAGES: c,meson,glsl,makefile,shell CI_PROJECT_ROOT_NAMESPACE: wlroots CI_PROJECT_TITLE: wlroots CI_PROJECT_URL: https://gitlab.freedesktop.org/wlroots/wlroots CI_PROJECT_VISIBILITY: public CI_REGISTRY: registry.freedesktop.org CI_REGISTRY_USER: gitlab-ci-token CI_RUNNER_DESCRIPTION: dalligi SourceHut bridge CI_RUNNER_ID: "2241" CI_RUNNER_TAGS: '["dalligi"]' CI_SERVER_FQDN: gitlab.freedesktop.org CI_SERVER_HOST: gitlab.freedesktop.org CI_SERVER_NAME: GitLab CI_SERVER_PORT: "443" CI_SERVER_PROTOCOL: https CI_SERVER_REVISION: 3ddc2ace157 CI_SERVER_SHELL_SSH_HOST: ssh.gitlab.freedesktop.org CI_SERVER_SHELL_SSH_PORT: "22" CI_SERVER_URL: https://gitlab.freedesktop.org CI_SERVER_VERSION: 17.9.2 CI_SERVER_VERSION_MAJOR: "17" CI_SERVER_VERSION_MINOR: "9" CI_SERVER_VERSION_PATCH: "2" CI_TEMPLATE_REGISTRY_HOST: registry.gitlab.com GITLAB_CI: "true" GITLAB_FEATURES: "" GITLAB_USER_EMAIL: kl@kl.wtf GITLAB_USER_ID: "7380" GITLAB_USER_LOGIN: kennylevinsen GITLAB_USER_NAME: Kenny Levinsen image: alpine/edge packages: - eudev-dev - glslang - lcms2-dev - libdisplay-info-dev - libinput-dev - libliftoff-dev - libxkbcommon-dev - mesa-dev - meson - pixman-dev - vulkan-headers - vulkan-loader-dev - wayland-dev - wayland-protocols - xcb-util-image-dev - xcb-util-renderutil-dev - xcb-util-wm-dev - xwayland-dev - libseat-dev - hwdata-dev - go - zip sources: - https://gitlab-ci-token:glcbt-64_nueg5_xiixUoKA5Ujo5C@gitlab.freedesktop.org/wlroots/wlroots.git#954dba3968c2eea3bf2c21defe01bf540fd102f9 tasks: - setup: | cd wlroots meson setup build --fatal-meson-warnings --default-library=both -Dauto_features=enabled -Dxcb-errors=disabled --buildtype=debugoptimized - build: | cd wlroots ninja -C build sudo ninja -C build install - build-features-disabled: | cd wlroots meson setup build --reconfigure -Dauto_features=disabled ninja -C build - tinywl: | cd wlroots/tinywl make - docs: | go install 'codeberg.org/emersion/gyosu@latest' include_dir="$(echo /usr/local/include/wlroots-*)" ~/go/bin/gyosu \ -DWLR_USE_UNSTABLE \ $(pkg-config --cflags-only-I $(basename "$include_dir")) \ -Iwlroots/build/protocol/ \ -fexported-symbols='wlr_*' -fexported-symbols='WLR_*' \ -ffile-prefix-map="$include_dir/"= \ -fsite-name=wlroots \ -o public \ "$include_dir/wlr/" zip -r ~/public.zip public/