Initial commit, very few changes from orca 45. Added xfce4-notification daemon support.
This commit is contained in:
9
ci/build_and_install.sh
Normal file
9
ci/build_and_install.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eux -o pipefail
|
||||
|
||||
mkdir -p _build
|
||||
cd _build
|
||||
../autogen.sh --prefix=/usr
|
||||
make
|
||||
make install
|
55
ci/container_builds.yml
Normal file
55
ci/container_builds.yml
Normal file
@ -0,0 +1,55 @@
|
||||
include:
|
||||
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/80f87b3058efb75a1faae11826211375fba77e7f/templates/opensuse.yml"
|
||||
|
||||
variables:
|
||||
# When branching change the suffix to avoid conflicts with images
|
||||
# from the main branch
|
||||
BASE_TAG: "2023-06-09.0-master"
|
||||
FDO_UPSTREAM_REPO: "gnome/orca"
|
||||
|
||||
.orca_opensuse_tumbleweed_x86_64:
|
||||
variables:
|
||||
FDO_DISTRIBUTION_VERSION: "tumbleweed"
|
||||
FDO_DISTRIBUTION_TAG: "x86_64-${BASE_TAG}"
|
||||
|
||||
opensuse-container@x86_64:
|
||||
extends:
|
||||
- .orca_opensuse_tumbleweed_x86_64
|
||||
- .fdo.container-build@opensuse@x86_64
|
||||
stage: "container-build"
|
||||
variables:
|
||||
FDO_DISTRIBUTION_PACKAGES: >-
|
||||
autoconf
|
||||
automake
|
||||
dbus-1
|
||||
dbus-1-devel
|
||||
gcc
|
||||
gettext
|
||||
gettext-tools
|
||||
git
|
||||
glib2-devel
|
||||
gobject-introspection-devel
|
||||
gsettings-desktop-schemas
|
||||
gstreamer-devel
|
||||
itstool
|
||||
libtool
|
||||
libXi-devel
|
||||
libXtst-devel
|
||||
libxkbcommon-devel
|
||||
libxml2-devel
|
||||
libX11-devel
|
||||
make
|
||||
meson
|
||||
ninja
|
||||
python3
|
||||
python3-brlapi
|
||||
python3-louis
|
||||
python3-pip
|
||||
python3-speechd
|
||||
python310-gobject-devel
|
||||
python310-simplejson
|
||||
xvfb-run
|
||||
yelp-devel
|
||||
yelp-tools
|
||||
FDO_DISTRIBUTION_EXEC: >-
|
||||
pip3 install ruff
|
11
ci/install_atspi.sh
Normal file
11
ci/install_atspi.sh
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eux -o pipefail
|
||||
|
||||
git clone --depth 1 https://gitlab.gnome.org/GNOME/at-spi2-core.git
|
||||
cd at-spi2-core
|
||||
mkdir _build
|
||||
|
||||
meson setup --buildtype=debug --prefix=/usr _build .
|
||||
meson compile -C _build
|
||||
meson install -C _build
|
12
ci/install_pyatspi2.sh
Normal file
12
ci/install_pyatspi2.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -eux -o pipefail
|
||||
|
||||
git clone --depth 1 https://gitlab.gnome.org/GNOME/pyatspi2.git
|
||||
cd pyatspi2
|
||||
mkdir _build
|
||||
cd _build
|
||||
|
||||
../autogen.sh --prefix=/usr
|
||||
make
|
||||
make install
|
30
ci/pull-container-image.sh
Normal file
30
ci/pull-container-image.sh
Normal file
@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Utility script so you can pull the container image from CI for local development.
|
||||
# Run this script and follow the instructions; the script will tell you how
|
||||
# to run "podman run" to launch a container that has the same environment as the
|
||||
# one used during CI pipelines. You can debug things at leisure there.
|
||||
|
||||
set -eu
|
||||
set -o pipefail
|
||||
|
||||
CONTAINER_BUILDS=ci/container_builds.yml
|
||||
|
||||
if [ ! -f $CONTAINER_BUILDS ]
|
||||
then
|
||||
echo "Please run this from the toplevel source directory in orca"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
tag=$(grep -e '^ BASE_TAG:' $CONTAINER_BUILDS | head -n 1 | sed -E 's/.*BASE_TAG: "(.+)"/\1/')
|
||||
full_tag=x86_64-$tag
|
||||
echo full_tag=\"$full_tag\"
|
||||
|
||||
image_name=registry.gitlab.gnome.org/gnome/orca/opensuse/tumbleweed:$full_tag
|
||||
|
||||
echo pulling image $image_name
|
||||
podman pull $image_name
|
||||
|
||||
echo ""
|
||||
echo "You can now run this:"
|
||||
echo " podman run --rm -ti --cap-add=SYS_PTRACE -v \$(pwd):/srv/project -w /srv/project $image_name"
|
Reference in New Issue
Block a user