summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/matchbox-keyboard
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-11-07 13:31:53 +0000
commit8c22ff0d8b70d9b12f0487ef696a7e915b9e3173 (patch)
treeefdc32587159d0050a69009bdf2330a531727d95 /meta/recipes-sato/matchbox-keyboard
parentd412d2747595c1cc4a5e3ca975e3adc31b2f7891 (diff)
downloadpoky-8c22ff0d8b70d9b12f0487ef696a7e915b9e3173.tar.gz
The poky repository master branch is no longer being updated.
You can either: a) switch to individual clones of bitbake, openembedded-core, meta-yocto and yocto-docs b) use the new bitbake-setup You can find information about either approach in our documentation: https://docs.yoctoproject.org/ Note that "poky" the distro setting is still available in meta-yocto as before and we continue to use and maintain that. Long live Poky! Some further information on the background of this change can be found in: https://lists.openembedded.org/g/openembedded-architecture/message/2179 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/matchbox-keyboard')
-rw-r--r--meta/recipes-sato/matchbox-keyboard/files/0001-desktop-file-Hide-the-keyboard-from-app-list.patch33
-rw-r--r--meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh21
-rw-r--r--meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb57
3 files changed, 0 insertions, 111 deletions
diff --git a/meta/recipes-sato/matchbox-keyboard/files/0001-desktop-file-Hide-the-keyboard-from-app-list.patch b/meta/recipes-sato/matchbox-keyboard/files/0001-desktop-file-Hide-the-keyboard-from-app-list.patch
deleted file mode 100644
index 6b7a5cfecb..0000000000
--- a/meta/recipes-sato/matchbox-keyboard/files/0001-desktop-file-Hide-the-keyboard-from-app-list.patch
+++ /dev/null
@@ -1,33 +0,0 @@
1From 38da4cd575edb7463cfff241afff64c2f66ea09a Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Tue, 12 Apr 2016 09:40:37 +0300
4Subject: [PATCH] desktop file: Hide the keyboard from app list
5
6matchbox-keyboard is not a normal app and there's no need to start
7it via the desktop app grid when using Sato desktop:
8* when there's no hardware keyboard, the panel applet can be used to
9 show/hide the daemonized matchbox-keyboard
10* when there is a hardware keyboard, matchbox-keyboard can still be
11 started for debug purposes from command line or the applet can be
12 enabled by editing /etc/formfactor/machconfig
13
14So hide the keyboard from the desktop app list.
15
16Upstream-Status: Inappropriate [configuration]
17Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
18---
19 matchbox-keyboard.desktop | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/matchbox-keyboard.desktop b/matchbox-keyboard.desktop
23index c092bfe..613d349 100644
24--- a/matchbox-keyboard.desktop
25+++ b/matchbox-keyboard.desktop
26@@ -6,3 +6,4 @@ Type=Application
27 Icon=matchbox-keyboard.png
28 Categories=Panel;Utility;MB
29 X-MB-INPUT-MECHANSIM=True
30+NoDisplay=true
31--
322.1.4
33
diff --git a/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh b/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh
deleted file mode 100644
index 6cf188b2d0..0000000000
--- a/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh
+++ /dev/null
@@ -1,21 +0,0 @@
1#!/bin/sh
2
3. /etc/formfactor/config
4
5CMD=""
6
7if [ "$HAVE_KEYBOARD" = "0" ]; then
8 CMD="matchbox-keyboard -d"
9elif [ "$DISPLAY_CAN_ROTATE" = "1" ]; then
10 if [ "$HAVE_KEYBOARD_PORTRAIT" = "1" -a "$HAVE_KEYBOARD_LANDSCAPE" = "0" ]; then
11 CMD="matchbox-keyboard -d -o landscape"
12 elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then
13 CMD="matchbox-keyboard -d -o portrait"
14 fi
15fi
16
17if [ "$CMD" ]; then
18 # Delay to make sure the window manager is active
19 # by waiting for the desktop to say its finished loading
20 dbus-wait org.matchbox_project.desktop Loaded && $CMD &
21fi
diff --git a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb b/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
deleted file mode 100644
index 5fc6c67bfc..0000000000
--- a/meta/recipes-sato/matchbox-keyboard/matchbox-keyboard_0.1.1.bb
+++ /dev/null
@@ -1,57 +0,0 @@
1SUMMARY = "Matchbox virtual keyboard for X11"
2DESCRIPTION = "An on screen 'virtual' or 'software' keyboard."
3HOMEPAGE = "http://matchbox-project.org"
4BUGTRACKER = "http://bugzilla.yoctoproject.org/"
5SECTION = "x11"
6
7LICENSE = "LGPL-2.1-only"
8LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
9 file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \
10 file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7"
11
12DEPENDS = "libfakekey expat libxft"
13
14#SRCREV for 0.1.1
15SRCREV = "630d89068dc0a1e9199306d405cb32f892dfa4d3"
16SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1;protocol=https \
17 file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \
18 file://80matchboxkeyboard.sh"
19
20inherit autotools pkgconfig gettext gtk-immodules-cache features_check
21
22# The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES
23REQUIRED_DISTRO_FEATURES = "x11"
24
25EXTRA_OECONF = "--disable-cairo"
26
27PACKAGECONFIG ??= "gtk3-im applet"
28PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2"
29PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+"
30PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3"
31
32PACKAGES += "${PN}-im ${PN}-applet"
33
34FILES:${PN} = "${bindir}/ \
35 ${sysconfdir} \
36 ${datadir}/applications \
37 ${datadir}/pixmaps \
38 ${datadir}/matchbox-keyboard"
39
40FILES:${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so \
41 ${libdir}/gtk-3.0/*/immodules/*.so"
42
43FILES:${PN}-applet = "${libdir}/matchbox-panel/*.so"
44
45do_install:append () {
46 install -d ${D}/${sysconfdir}/X11/Xsession.d/
47 install -m 755 ${UNPACKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/
48
49 rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
50 rm -f ${D}${libdir}/gtk-3.0/*/immodules/*.la
51 rm -f ${D}${libdir}/matchbox-panel/*.la
52}
53
54GTKIMMODULES_PACKAGES = "${PN}-im"
55
56RDEPENDS:${PN} = "formfactor dbus-wait"
57RRECOMMENDS:${PN} = "${PN}-applet"