From 2621ad2c483b5a3c99a24b16031bae752e29982d Mon Sep 17 00:00:00 2001
From: Masanori Ogino <mogino@acm.org>
Date: Thu, 26 Sep 2024 18:09:47 +0900
Subject: [PATCH] postmarketos-ui-(lxqt|mate): depend on DejaVu (MR 5638)

MR 5540 breaks the Enter key label in onboard OSK with LXQt and Mate. In
theory Droid can be used instead, but it actually does not work.

We can't use _pmb_recommends here since v24.06 -> v24.12 upgrade will
break onboard unless any package depends on font-dejavu.

Signed-off-by: Masanori Ogino <mogino@acm.org>
[ci:skip-build]: already built successfully in CI
---
 main/postmarketos-ui-lxqt/APKBUILD | 3 ++-
 main/postmarketos-ui-mate/APKBUILD | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/main/postmarketos-ui-lxqt/APKBUILD b/main/postmarketos-ui-lxqt/APKBUILD
index efc6d80a0eb..dc9f44244a2 100644
--- a/main/postmarketos-ui-lxqt/APKBUILD
+++ b/main/postmarketos-ui-lxqt/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
 pkgname=postmarketos-ui-lxqt
 pkgver=0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="(X11) Lightweight Qt Desktop Environment (stylus recommended)"
 url="https://lxqt-project.org/"
 # armhf: lxqt-desktop not available
@@ -12,6 +12,7 @@ depends="
 	dbus-x11
 	dnsmasq
 	elogind
+	font-dejavu
 	lxqt-desktop
 	lxqt-policykit
 	mesa-egl
diff --git a/main/postmarketos-ui-mate/APKBUILD b/main/postmarketos-ui-mate/APKBUILD
index b08d967b6a4..c93532c7084 100644
--- a/main/postmarketos-ui-mate/APKBUILD
+++ b/main/postmarketos-ui-mate/APKBUILD
@@ -2,7 +2,7 @@
 # Maintainer: Jakko <jahau@rocketmail.com>
 pkgname=postmarketos-ui-mate
 pkgver=7
-pkgrel=3
+pkgrel=4
 pkgdesc="(X11) MATE Desktop Environment, fork of GNOME2 (stylus recommended)"
 url="http://mate-desktop.org/"
 arch="noarch"
@@ -12,6 +12,7 @@ depends="
 	dbus-x11
 	dnsmasq
 	elogind
+	font-dejavu
 	gtk+2.0
 	lightdm
 	mate-desktop-environment
-- 
GitLab