Use newer dependencies everywhere

No need to copy them in most of the jobs

Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/619>
This commit is contained in:
Guido Günther
2024-03-10 10:29:08 +01:00
parent 2d532aa0ff
commit ad69bd5b59
3 changed files with 9 additions and 78 deletions

View File

@ -1,4 +1,4 @@
image: pureos/byzantium
image: debian:bookworm
stages:
- build
@ -23,14 +23,12 @@ build_docs:
- $PKG_ONLY == "1"
build_meson:
image: debian:bookworm
stage: build
artifacts:
paths:
- _build
expire_in: 3h
script:
- mv debian/control-newer debian/control
- apt-get -y build-dep .
- meson . _build/ -Ddepdatadir=/usr/share -Dfind_orphans=true --werror
- ninja -C _build install
@ -38,9 +36,8 @@ build_meson:
variables:
- $PKG_ONLY == "1"
build_deb:future:
build_deb:
image: debian:bookworm
allow_failure: true
tags:
- aarch64
stage: build
@ -49,7 +46,6 @@ build_deb:future:
- '*.deb'
script:
- rm -f ../*.deb
- mv debian/control-newer debian/control
- apt-get -y build-dep .
- apt-get -y install devscripts
- REV=$(git log -1 --format=%h)
@ -61,7 +57,6 @@ build_deb:future:
- cp ../*.deb .
build_reference:
image: debian:bookworm
stage: build
needs:
- job: build_meson
@ -90,13 +85,11 @@ test_lintian:
- $PKG_ONLY == "1"
test:
image: debian:bookworm
stage: test
needs:
- job: build_meson
artifacts: true
script:
- mv debian/control-newer debian/control
- apt-get -y build-dep .
- apt-get -y install clang-tidy
- ninja -C _build test

14
debian/control vendored
View File

@ -3,7 +3,7 @@ Section: x11
Priority: optional
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
Build-Depends:
cargo-mozilla,
cargo,
debhelper-compat (= 13),
meson (>=0.51.0),
ninja-build,
@ -13,10 +13,10 @@ Build-Depends:
libgnome-desktop-3-dev,
libgtk-3-dev,
libfeedback-dev,
librust-bitflags-1-dev (>= 1.0),
librust-clap-2+default-dev (>= 2.32),
librust-gio+v2-44-dev,
librust-glib+v2-44-dev,
librust-bitflags-dev (>= 1.0),
librust-clap-dev (>= 2.32),
librust-gio+v2-58-dev,
librust-glib+v2-58-dev,
librust-glib-sys-dev,
librust-gtk+v3-22-dev (>= 0.5),
librust-gtk-sys-dev,
@ -24,12 +24,12 @@ Build-Depends:
librust-serde-derive-1-dev (>= 1.0),
librust-serde-yaml-0.8-dev (>= 0.8),
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
librust-zbus-dev (>=1.0),
librust-zbus-dev (>= 1.9),
libwayland-dev (>= 1.16),
lsb-release,
python3,
python3-ruamel.yaml,
rustc-mozilla,
rustc,
wayland-protocols (>= 1.14),
Standards-Version: 4.1.3
Homepage: https://gitlab.gnome.org/World/Phosh/squeekboard

62
debian/control-newer vendored
View File

@ -1,62 +0,0 @@
Source: squeekboard
Section: x11
Priority: optional
Maintainer: Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm>
Build-Depends:
cargo,
debhelper-compat (= 13),
meson (>=0.51.0),
ninja-build,
pkg-config,
libbsd-dev,
libglib2.0-dev,
libgnome-desktop-3-dev,
libgtk-3-dev,
libfeedback-dev,
librust-bitflags-dev (>= 1.0),
librust-clap-dev (>= 2.32),
librust-gio+v2-58-dev,
librust-glib+v2-58-dev,
librust-glib-sys-dev,
librust-gtk+v3-22-dev (>= 0.5),
librust-gtk-sys-dev,
librust-maplit-1-dev (>= 1.0),
librust-serde-derive-1-dev (>= 1.0),
librust-serde-yaml-0.8-dev (>= 0.8),
librust-xkbcommon-0.4+wayland-dev (>= 0.4),
librust-zbus-dev (>= 1.9),
libwayland-dev (>= 1.16),
lsb-release,
python3,
python3-ruamel.yaml,
rustc,
wayland-protocols (>= 1.14),
Standards-Version: 4.1.3
Homepage: https://gitlab.gnome.org/World/Phosh/squeekboard
Package: squeekboard
Architecture: linux-any
Depends:
# for Greek polytonic readability
fonts-gfs-didot-classic,
# for the Adwaita-dark theme
gnome-themes-extra-data,
${shlibs:Depends},
${misc:Depends},
Breaks:
librem5-base (<< 24),
Description: On-screen keyboard for Wayland
Virtual keyboard supporting Wayland, built primarily for the Librem 5 phone.
Package: squeekboard-devel
Architecture: linux-any
Depends:
python3,
python3-gi,
${shlibs:Depends},
${misc:Depends},
Description: Resources for making Squeekboard layouts
Tools for creating and testing Squeekboard layouts:
.
* squeekboard-entry
* squeekboard-test-layout