Skip to content

Commit 06eaf23

Browse files
feat: update vte2.91 to 0.83.90-1
1 parent 2a99e74 commit 06eaf23

File tree

190 files changed

+31591
-83513
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

190 files changed

+31591
-83513
lines changed

.gitlab-ci.yml

Lines changed: 52 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2023 Zander Brown
1+
# Copyright © 2025 Christian Persch
22
#
33
# This library is free software: you can redistribute it and/or modify
44
# it under the terms of the GNU Lesser General Public License as published
@@ -13,43 +13,56 @@
1313
# You should have received a copy of the GNU Lesser General Public License
1414
# along with this library. If not, see <https://www.gnu.org/licenses/>.
1515

16-
image: fedora:latest
16+
include:
17+
- project: 'chpe/versuch-ci'
18+
ref: 5d4fb973fa5e9aba49da0c590b92b2a3abb931ce
19+
file: '/versuch.yml'
20+
inputs:
21+
release-service: real
1722

18-
doc:
19-
only:
20-
refs:
21-
- tags
22-
variables:
23-
MESON_ARGS: >-
24-
-Ddocs=true
25-
-Dgtk4=true
26-
-Dvapi=false
27-
before_script:
28-
- dnf -y install fribidi-devel g++ git glib2-devel gnutls-devel
29-
gobject-introspection-devel gperf gtk3-devel gtk4-devel
30-
libicu-devel meson pango-devel pcre2-devel python3-jinja2
31-
python3-packaging python3-pygments python3-toml python3-typogrify
32-
systemd-devel lz4-devel gi-docgen
33-
script:
34-
- meson --prefix=/app ${MESON_ARGS} _build
35-
- ninja -C _build
36-
- mkdir _doc
37-
- cp .gitlab-ci/docs.html _doc/index.html
38-
- mv _build/doc/reference/vte-2.91/ _doc/gtk3
39-
- mv _build/doc/reference/vte-2.91-gtk4/ _doc/gtk4
40-
artifacts:
41-
expose_as: 'Browse documentation'
42-
paths:
43-
- _doc/index.html
44-
- _doc
23+
variables:
24+
VERSUCH_FEDORA_VERSION: 41
4525

46-
pages:
47-
needs: ['doc']
48-
only:
49-
refs:
50-
- tags
51-
script:
52-
- cp -r _doc public
53-
artifacts:
54-
paths:
55-
- public
26+
# Increase this serial when changing VERSUCH_FEDORA_PACKAGES
27+
# below, and reset to 0 when changing VERSUCH_FEDORA_VERSION
28+
# above.
29+
VERSUCH_FEDORA_SERIAL: '1'
30+
31+
VERSUCH_FEDORA_PACKAGES: >-
32+
clang
33+
clang-analyzer
34+
clang-tools-extra
35+
fast_float-devel
36+
fmt-devel
37+
fribidi-devel
38+
gcc-c++
39+
gettext-devel
40+
gi-docgen
41+
glib2-devel
42+
gnutls-devel
43+
gobject-introspection-devel
44+
gtk3-devel
45+
gtk4-devel
46+
libicu-devel
47+
lz4-devel
48+
meson
49+
pango-devel
50+
pcre2-devel
51+
python3-jinja2
52+
python3-packaging
53+
python3-pygments
54+
python3-toml
55+
python3-typogrify
56+
simdutf-devel
57+
systemd-devel
58+
vala
59+
60+
VERSUCH_COMMON_BUILD_OPTIONS: >-
61+
--prefix=/usr
62+
-Dgtk3=true
63+
-Dgtk4=true
64+
-Dgir=true
65+
-Dvapi=true
66+
-Ddocs=true
67+
68+
VERSUCH_CI_BOT_NAME: "VTE Automation"

.gitlab-ci/make-release.sh

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
#!/bin/bash
2+
#
3+
# Copyright © 2025 Christian Persch
4+
#
5+
# This library is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU Lesser General Public License as published
7+
# by the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
10+
# This library is distributed in the hope that it will be useful,
11+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
12+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13+
# GNU Lesser General Public License for more details.
14+
#
15+
# You should have received a copy of the GNU Lesser General Public License
16+
# along with this library. If not, see <https://www.gnu.org/licenses/>.
17+
18+
# Usage: make-release.sh [token-file] [ref] [version]
19+
# e.g.: make-release.sh token master 1.99.90 # release from master
20+
# or : make-release.sh token stable-1-0 1.0.17 # release from stable-1-0 branch
21+
22+
# The project ID is displayed on the project's page in gitlab, or use
23+
# the API to get it (replacing ${NAMESPACE} and ${PROJECT} accordingly):
24+
# curl --silent -H "Content-Type: application/json" "https://gitlab.gnome.org/api/v4/projects/${NAMESPACE}%2F${PROJECT}" | jq -r .id
25+
26+
CI_PROJECT_ID=1893
27+
28+
if [ $BASH_ARGC -ne 3 ]; then
29+
echo "Usage: $0 TOKEN-FILE COMMIT-REF VERSION"
30+
exit 1
31+
fi
32+
33+
TOKEN_FILE="$1"
34+
COMMIT_REF="$2"
35+
PROJECT_VERSION="$3"
36+
37+
CI_API_V4_URL="https://gitlab.gnome.org/api/v4"
38+
39+
request=$(curl --silent \
40+
--request POST \
41+
--form-string "token=$(cat $TOKEN_FILE)" \
42+
--form-string "ref=${COMMIT_REF}" \
43+
--form-string "variables[TRIGGER_ACTION]=release" \
44+
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline")
45+
46+
pipeline_url=$(echo "$request" | jq .web_url)
47+
48+
# The release pipeline creates the tag. This used to trigger the
49+
# pipeline for the tag, which causes the tarball to be installed
50+
# using the gnome release service (if configured). However, this
51+
# https://gitlab.com/gitlab-org/gitlab/-/issues/569187 broke this
52+
# deliberately, and unless and until there exist a way to do this
53+
# again (see https://gitlab.com/gitlab-org/gitlab/-/issues/569974)
54+
# the tag's pipeline needs to be triggered manually.
55+
#
56+
# As an added complication, while the release pipeline knows the
57+
# version (by tracing meson), here we don't know it. The user must
58+
# input it manually.
59+
60+
echo "Monitor ${pipeline_url} for completion."
61+
echo "When completed, press ENTER; on failure, press Ctrl-C to abort."
62+
63+
read
64+
65+
request=$(curl --silent \
66+
--request POST \
67+
--form-string "token=$(cat $TOKEN_FILE)" \
68+
--form-string "ref=${PROJECT_VERSION}" \
69+
"${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/trigger/pipeline")
70+
71+
tag_pipeline_url=$(echo "$request" | jq .web_url)
72+
73+
if [ "$tag_pipeline_url" == "null" ]; then
74+
echo "$request" | jq .
75+
else
76+
echo "Tag pipeline ${tag_pipeline_url}"
77+
fi

COPYING.README

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Most of VTE is licenced under the terms of the GNU Lesser General
2+
Public License, version 3. Parts of the source are under the
3+
terms of the GNU General Public License, version 3. Parts also
4+
incorporate sources copied from elsewhere under a compatible licence.
5+
6+
As required by the licences themselves and/or for convenience,
7+
this repository distributes copies of the text of these licences:
8+
9+
* COPYING.GPL3: GPL 3 licence
10+
* COPYING.LGPL3: Lesser GPL 3 licence
11+
* COPYING.CC-BY-4-0: CC-BY-4.0 licence
12+
* COPYING.XTERM: Xterm licence
13+
14+
The presence of these licence texts does not declare, either
15+
explicitly or implicitly, that any part of the source is covered
16+
by any or all of these licences. Consult the source files for
17+
information on which licence(s) apply to each file. Files without
18+
licence information are only available under the LGPL, unless
19+
the commit message of the commit adding these file(s) states
20+
otherwise.

0 commit comments

Comments
 (0)