mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-12-05 12:35:42 +00:00
Include IBus in the stock Ubuntu runtime
This commit is contained in:
1 parent
8cf1e60cc2
commit
a63ed2598c
3 files changed
+16
No files matched your search
@@ -28,12 +28,14 @@ gamescope
|
||||
gir1.2-flatpak-1.0
|
||||
gir1.2-glib-2.0
|
||||
gir1.2-gtk-3.0
|
||||
gir1.2-ibus-1.0
|
||||
gnu-coreutils
|
||||
gnupg-agent
|
||||
gpgv
|
||||
grep
|
||||
gzip
|
||||
hostname
|
||||
ibus
|
||||
iproute2
|
||||
iputils-ping
|
||||
less
|
||||
@@ -218,6 +220,7 @@ psmisc
|
||||
pulseaudio-utils
|
||||
python3
|
||||
python3-gi
|
||||
python3-ibus-1.0
|
||||
python3-zstandard
|
||||
sed
|
||||
sensible-utils
|
||||
|
||||
@@ -6,6 +6,8 @@ dpkg
|
||||
flatpak
|
||||
fontconfig
|
||||
gamescope
|
||||
gir1.2-ibus-1.0
|
||||
ibus
|
||||
libegl-mesa0
|
||||
libgl1-mesa-dri
|
||||
libluajit-5.1-2
|
||||
@@ -16,4 +18,5 @@ mesa-libgallium
|
||||
mesa-vulkan-drivers
|
||||
python3
|
||||
python3-gi
|
||||
python3-ibus-1.0
|
||||
xwayland
|
||||
@@ -103,6 +103,15 @@ record_apt_state() {
|
||||
done > /usr/share/droiddeck/apt/system-sources.txt
|
||||
}
|
||||
|
||||
verify_ibus_runtime() {
|
||||
local path
|
||||
for path in /usr/bin/ibus /usr/bin/ibus-daemon /usr/libexec/ibus-dconf; do
|
||||
[ -x "$path" ] || { printf 'Missing executable required for Steam IBus: %s\n' "$path" >&2; return 1; }
|
||||
done
|
||||
/usr/bin/ibus-daemon --version
|
||||
/usr/bin/python3 -c 'import gi; gi.require_version("IBus", "1.0"); from gi.repository import IBus; assert IBus.Bus'
|
||||
}
|
||||
|
||||
finish() {
|
||||
sed -i 's/^Types: deb deb-src$/Types: deb/' /etc/apt/sources.list.d/ubuntu.sources
|
||||
record_apt_state
|
||||
@@ -133,6 +142,7 @@ if [ "$stage" = runtime ]; then
|
||||
|
||||
grep -v '^$' "$here/packages-runtime.txt" | xargs apt-get install -y --no-install-recommends
|
||||
install_held
|
||||
verify_ibus_runtime
|
||||
build_package droiddeck-runtime "$here/overlay-runtime" "$here/protected-runtime.txt" "DroidDeck's Ubuntu runtime"
|
||||
|
||||
update-alternatives --install /usr/bin/sudo sudo /usr/local/bin/sudo 1000
|
||||
|
||||
Reference in new issue
Block a user