From 620082575dfe75ece8728002e1a4d10f142aabbb Mon Sep 17 00:00:00 2001 From: Anjandev Momi Date: Mon, 30 May 2022 18:13:19 -0400 Subject: [PATCH] add pinephone-keyboard config (MR 3175) closes #1515 This patch HAS NOT been tested to see if it actually fixes #1515. I do not have my pinephone keyboard with me and will not till v22.06 is out. Can someone please test this patch before merging? Note: this is being merged upstream but needs a refactor of the Makefile. See: https://lists.sr.ht/~mil/sxmo-devel/patches/32630 Since we cannot get the refactor of the Makefile out before the next release, this is the next best thing [ci:skip-build] already built successfully in CI. --- main/postmarketos-ui-sxmo-de-sway/APKBUILD | 12 +++++++++++- .../pinephone-keyboard.conf | 5 +++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 main/postmarketos-ui-sxmo-de-sway/pinephone-keyboard.conf diff --git a/main/postmarketos-ui-sxmo-de-sway/APKBUILD b/main/postmarketos-ui-sxmo-de-sway/APKBUILD index d3f70cefb..a104b5633 100644 --- a/main/postmarketos-ui-sxmo-de-sway/APKBUILD +++ b/main/postmarketos-ui-sxmo-de-sway/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Miles Alan pkgname=postmarketos-ui-sxmo-de-sway pkgver=1.9.0 -pkgrel=0 +pkgrel=1 pkgdesc="Simple Mobile: Mobile environment based on SXMO and running on sway" url="http://sr.ht/~mil/Sxmo" arch="noarch !armhf" @@ -47,8 +47,18 @@ _pmb_recommends=" " provides="postmarketos-ui-sxmo" provider_priority=1 +# TODO: Remove this file when this config +# has been merged upstream. +# Link: https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3177 +source="pinephone-keyboard.conf" options="!check" # has no tests package() { mkdir -p "$pkgdir" + mkdir -p "$pkgdir"/etc/sway/config.d + install -Dm644 "$srcdir"/pinephone-keyboard.conf \ + "$pkgdir"/etc/sway/config.d/pinephone-keyboard.conf } +sha512sums=" +1741b6ff4cf89c4d58e008d08c72b3411df72090d1a1caec3d89a855e79f37c3bfda2b8401bb46e1c1843e28bc796ade5f91d75a147ff4b61a0bdc1ae1f87c77 pinephone-keyboard.conf +" diff --git a/main/postmarketos-ui-sxmo-de-sway/pinephone-keyboard.conf b/main/postmarketos-ui-sxmo-de-sway/pinephone-keyboard.conf new file mode 100644 index 000000000..2d3b46c53 --- /dev/null +++ b/main/postmarketos-ui-sxmo-de-sway/pinephone-keyboard.conf @@ -0,0 +1,5 @@ +input "0:0:PinePhone_Keyboard" { + xkb_layout us + xkb_model ppkb + xkb_options lv3:ralt_switch +}