From 170cfdd6ee13fb9049ac714c8db6ea8c52a0d4f4 Mon Sep 17 00:00:00 2001 From: dtb Date: Sat, 24 Dec 2022 12:09:20 -0500 Subject: [PATCH] wvkbd --- wiki/unix/X.m4 | 11 +++++++++++ wiki/unix/fonts.m4 | 11 +++++++++++ wiki/unix/index.m4 | 2 ++ wiki/unix/wayland.m4 | 22 ++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 wiki/unix/wayland.m4 diff --git a/wiki/unix/X.m4 b/wiki/unix/X.m4 index f129105..056a2af 100644 --- a/wiki/unix/X.m4 +++ b/wiki/unix/X.m4 @@ -24,6 +24,17 @@ This bug exists on postmarketOS 22.12 (aarch64, based on Alpine Linux 3.17; anki the _code(`PYTHONPATH') fix works as _code(`PYTHONPATH=/usr/lib/python3.11/site-packages/ anki').

+_subheader(`cairo') +_bibliography(` +_bentr(`_link(`cairo', `https://en.wikipedia.org/wiki/Cairo_(graphics)') (Wikipedia)') +') +

+cairo is a graphics rendering library, originally for X but later made cross-platform. +

+

+cairo is available on _ref(`#alpine') as _package(`cairo-dev'). +

+ _subheader(`Fonts') _subsubheader(`日本語') _bibliography(` diff --git a/wiki/unix/fonts.m4 b/wiki/unix/fonts.m4 index 0d5cc1c..51f5476 100644 --- a/wiki/unix/fonts.m4 +++ b/wiki/unix/fonts.m4 @@ -25,6 +25,17 @@ On _ref(`#alpine'), all Noto family fonts match the glob _link(`_package(`font-n In _ref(`#pkgsrc'), all Noto family fonts match the glob _package(`fonts/noto-*').

+_subheader(`Pango') +_bibliography(` +_bentr(`_link(`Pango', `https://pango.gnome.org/')') +') +

+Pango is a font rendering library. +

+

+Pango is packaged for _ref(`#alpine') as _package(`pango-dev'). +

+ _subheader(`Vendor Fonts') _bibliography(` _bentr(`_link(`Fonts for NeXTStep, OpenStep, and Rhapsody', `http://shawcomputing.net/resources/next/software/ns-os-rhap_fonts/NS-OS-Rhap_Fonts_1.html')') diff --git a/wiki/unix/index.m4 b/wiki/unix/index.m4 index 20843b0..34e8518 100644 --- a/wiki/unix/index.m4 +++ b/wiki/unix/index.m4 @@ -45,6 +45,8 @@ include(`pkg-config.m4') include(`telepathy.m4') +include(`wayland.m4') + include(`wifi.m4') include(`volumes.m4') diff --git a/wiki/unix/wayland.m4 b/wiki/unix/wayland.m4 new file mode 100644 index 0000000..c253f59 --- /dev/null +++ b/wiki/unix/wayland.m4 @@ -0,0 +1,22 @@ +_header(`Wayland') +_subheader(`wvkbd') +

+wvkbd (Wayland Virtual Keyboard) is a software keyboard implementation for +environments without a physical keyboard, such as a smartphone or tablet. +_ref(`#x#sxmo') uses wvkbd by default in its variant for Wayland. +

+

+wvkbd depends on _ref(`#x#cairo'), _ref(`#fonts#pango'), the Wayland client libraries, and xkb-common. +

+_subsubheader(`warning: implicit declaration of function `'zwp_virtual_keyboard_*`'') +

+Due to how the Makefile and ref(`#posix#make(1)') work, if compilation is +attempted before _program(`wayland-scanner') is installed, an empty +_file(`proto/virtual-keyboard-unstable-v1-client-protocol.h') will be generated. +The preprocessor won't error for lack of the file but because the file will be +empty the necessary prototypes and constants will be missing and compilation +will fail. +

+

+_code(`make clean') should fix this. +