Skip to content

Commit

Permalink
Merge pull request #871 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
yoe-kiosk-browser, c4: Defined a knob to use linuxfb and update layers
  • Loading branch information
cbrake authored Nov 20, 2023
2 parents 2a1510c + 45ba287 commit 94cb244
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ and this project adheres to
gnomebase.bbclass
- Obsolete dleyna related recipes
- Update linux-raspberrypi to 6.1.61
- Add systemd startup to yoe-kiosk-browser to run it usin linuxfb
- Add G31 mali driver and make it work with ODROID-C4
- Update rpi-config to tip of tree

### Added

Expand All @@ -46,7 +49,7 @@ and this project adheres to
- reptyr, python3-unoconv, python3-screeninfo, python3-zopeevent
- python3-flask-restx, exiftool, python3-pdm, python3-pdm-backend
- python3-wand, python3-py7zr, python3-pyppmd, python3-pybcj
- bindfs, kmsxx, python3-file-magic
- bindfs, kmsxx, python3-file-magic, btop
- Add KAS support in meta-riscv
- Add handler to create go recipes Add go-vendor class
- Add recipetool handler to create go recipes
Expand Down
4 changes: 3 additions & 1 deletion conf/projects/odroid-c4/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ DISTRO = "yoe"
# "yoe-<libc>-<init-system>-<windowing-system>"
YOE_PROFILE = "yoe-glibc-systemd-eglfs"

DISTRO_FEATURES:remove = "opengl"
# Acknowledge that Synaptics can revoke their license at any time on the
# Rapsberry pi firmware
LICENSE_FLAGS_ACCEPTED += "\
Expand All @@ -25,6 +24,9 @@ OLDEST_KERNEL = "4.9"
#TEST_SERVER_IP = "10.0.0.13"
TEST_TARGET = "simpleremote"

# Install the linuxfb systemd launch unit
YOE_KIOSK_BROWSER_SYSTEMD_UNIT = "yoe-kiosk-browser-linuxfb.service"

# 4.9 kernel as such can not do drm backends
PACKAGECONFIG_GRAPHICS:append:pn-qtbase = " linuxfb"

Expand Down
2 changes: 1 addition & 1 deletion sources/meta-openembedded
Submodule meta-openembedded updated 81 files
+1 −1 meta-filesystems/recipes-utils/binfs/bindfs_1.17.6.bb
+7 −9 ...multimedia/recipes-multimedia/juce/projucer/0001-StandardHeader-Include-utility-for-GCC-12-compatibil.patch
+1 −1 meta-multimedia/recipes-multimedia/pipewire/pipewire_0.3.85.bb
+6 −9 meta-networking/recipes-protocols/mdns/mdns/0001-Create-subroutine-for-cleaning-recent-interfaces.patch
+6 −6 meta-networking/recipes-protocols/mdns/mdns/0001-Handle-interface-without-ifa_addr.patch
+4 −7 meta-networking/recipes-protocols/mdns/mdns/0001-dns-sd-Include-missing-headers.patch
+6 −9 meta-networking/recipes-protocols/mdns/mdns/0002-Create-subroutine-for-tearing-down-an-interface.patch
+5 −8 meta-networking/recipes-protocols/mdns/mdns/0002-make-Set-libdns_sd.so-soname-correctly.patch
+9 −12 meta-networking/recipes-protocols/mdns/mdns/0003-Track-interface-socket-family.patch
+8 −11 meta-networking/recipes-protocols/mdns/mdns/0004-Indicate-loopback-interface-to-mDNS-core.patch
+4 −7 meta-networking/recipes-protocols/mdns/mdns/0004-make-Separate-TLS-targets-from-libraries.patch
+12 −15 meta-networking/recipes-protocols/mdns/mdns/0005-Use-list-for-changed-interfaces.patch
+5 −5 meta-networking/recipes-protocols/mdns/mdns/0005-mDNSCore-Fix-broken-debug-parameter.patch
+7 −10 meta-networking/recipes-protocols/mdns/mdns/0006-Handle-noisy-netlink-sockets.patch
+3 −7 meta-networking/recipes-protocols/mdns/mdns/0006-make-Add-top-level-Makefile.patch
+5 −8 meta-networking/recipes-protocols/mdns/mdns/0007-Mark-deleted-interfaces-as-being-changed.patch
+8 −11 meta-networking/recipes-protocols/mdns/mdns/0008-Handle-errors-from-socket-calls.patch
+6 −8 meta-networking/recipes-protocols/mdns/mdns/0009-remove-unneeded-headers.patch
+4 −4 meta-networking/recipes-protocols/mdns/mdns/0015-Add-missing-limits.h.patch
+2 −2 meta-networking/recipes-protocols/mdns/mdns_2200.40.37.0.1.bb
+1 −1 meta-networking/recipes-support/openvpn/openvpn_2.6.7.bb
+1 −1 meta-networking/recipes-support/uftp/uftp_5.0.2.bb
+0 −30 meta-oe/recipes-bsp/ledmon/ledmon/0001-Don-t-build-with-Werror-to-fix-compile-error.patch
+90 −0 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
+10 −17 meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
+1 −1 meta-oe/recipes-connectivity/irssi/irssi_1.4.5.bb
+1 −1 meta-oe/recipes-connectivity/libmtp/libmtp_1.1.21.bb
+1 −1 meta-oe/recipes-connectivity/ser2net/ser2net_4.5.1.bb
+2 −2 meta-oe/recipes-core/libsigc++-2.0/libsigc++-2.0_2.12.1.bb
+2 −2 meta-oe/recipes-core/libsigc++-2.0/libsigc++-3_3.6.0.bb
+6 −7 meta-oe/recipes-core/libxml/libxml++-5.0_5.0.1.bb
+1 −1 meta-oe/recipes-core/opencl/ocl-icd_2.3.2.bb
+5 −5 meta-oe/recipes-core/opencl/opencl-icd-loader_2023.04.17.bb
+30 −28 meta-oe/recipes-core/uutils-coreutils/uutils-coreutils-crates.inc
+1 −1 meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.0.23.bb
+3 −3 meta-oe/recipes-crypto/botan/botan_3.2.0.bb
+2 −2 meta-oe/recipes-devtools/capnproto/capnproto_1.0.1.bb
+1 −1 meta-oe/recipes-devtools/cloc/cloc_1.98.bb
+1 −1 meta-oe/recipes-devtools/cpuid/cpuid_20230614.bb
+1 −1 meta-oe/recipes-devtools/ctags/ctags_6.0.20231112.0.bb
+3 −1 meta-oe/recipes-devtools/gst-editing-services/gst-editing-services_1.22.7.bb
+3 −3 meta-oe/recipes-devtools/luaposix/luaposix_36.2.1.bb
+2 −3 meta-oe/recipes-devtools/mercurial/mercurial_6.5.bb
+1 −1 meta-oe/recipes-extended/flatpak/flatpak/0001-flatpak-pc-add-pc_sysrootdir.patch
+28 −0 meta-oe/recipes-extended/flatpak/flatpak/0001-meson.build-require-for-native-wayland-scanner.patch
+11 −3 meta-oe/recipes-extended/flatpak/flatpak_1.15.6.bb
+0 −3 meta-oe/recipes-graphics/imlib2/imlib2_git.bb
+0 −2 meta-oe/recipes-multimedia/webm/libvpx_1.13.1.bb
+23 −0 meta-oe/recipes-support/btop/btop_1.2.13.bb
+1 −1 meta-oe/recipes-support/c-ares/c-ares_1.22.0.bb
+1 −1 meta-oe/recipes-support/webkitgtk/webkitgtk3_2.42.2.bb
+1 −1 meta-perl/recipes-perl/libencode/libencode-perl_3.20.bb
+1 −1 meta-python/recipes-devtools/python/python3-argcomplete_3.1.6.bb
+1 −1 meta-python/recipes-devtools/python/python3-awesomeversion_23.11.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-dbus-fast_2.14.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-django_4.2.5.bb
+1 −1 meta-python/recipes-devtools/python/python3-eth-typing_3.5.2.bb
+1 −1 meta-python/recipes-devtools/python/python3-eth-utils_2.3.1.bb
+1 −1 meta-python/recipes-devtools/python/python3-gcovr_6.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-geomet_1.1.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-google-api-core_2.14.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-google-api-python-client_2.108.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-gpiod_2.1.3.bb
+2 −2 meta-python/recipes-devtools/python/python3-hexbytes_1.0.0.bb
+2 −2 meta-python/recipes-devtools/python/python3-linux-procfs_0.7.3.bb
+1 −1 meta-python/recipes-devtools/python/python3-mypy_1.7.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-platformdirs_4.0.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-prompt-toolkit_3.0.41.bb
+1 −2 meta-python/recipes-devtools/python/python3-pyaudio_0.2.14.bb
+1 −1 meta-python/recipes-devtools/python/python3-pydantic_2.5.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-pymetno_0.12.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-pytest-xdist_3.4.0.bb
+1 −1 meta-python/recipes-devtools/python/python3-sentry-sdk_1.35.0.bb
+0 −4 meta-python/recipes-devtools/python/python3-soupsieve_2.5.bb
+1 −1 meta-python/recipes-devtools/python/python3-tomlkit_0.12.3.bb
+1 −1 meta-python/recipes-devtools/python/python3-types-setuptools_68.2.0.1.bb
+1 −1 meta-python/recipes-devtools/python/python3-web3_6.11.3.bb
+1 −1 meta-python/recipes-devtools/python/python3-zeroconf_0.127.0.bb
+4 −4 meta-webserver/README.md
+1 −1 meta-webserver/recipes-webadmin/netdata/netdata/netdata.service
+3 −2 meta-webserver/recipes-webadmin/netdata/netdata_1.43.2.bb
2 changes: 1 addition & 1 deletion sources/meta-raspberrypi
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"

SRC_URI = "git://github.com/YoeDistro/yoe-kiosk-browser;branch=main;protocol=https"
SRCREV = "ebeead7dc190cdbdc6f634a6fb5f6859c6765655"
SRCREV = "6e94c4013f4f636a9d65561243e675dff0ae381d"

PV = "1.0.0+git${SRCPV}"
PV = "1.0.0+git"

S = "${WORKDIR}/git"

Expand All @@ -27,18 +27,13 @@ YOE_KIOSK_BROWSER_URL ?= "http://localhost:8118"
YOE_KIOSK_BROWSER_ROTATE ?= "0"
# the following scale should be <= 1
YOE_KIOSK_BROWSER_KEYBOARD_SCALE ?= "1"
# Define it via a knob which can be set from config file e.g. local.conf
YOE_KIOSK_BROWSER_SYSTEMD_UNIT ?= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'yoe-kiosk-browser-wayland.service', 'yoe-kiosk-browser-eglfs.service', d)}"

do_install:append() {
echo "Browser URL: ${YOE_KIOSK_BROWSER_URL}"
if ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'true', 'false', d)}; then
install -D -m 0644 ${S}/yoe-kiosk-browser-wayland.service ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service
elif ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'true', 'false', d)}; then
install -D -m 0644 ${S}/yoe-kiosk-browser-eglfs.service ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service
install -D -m 0644 ${S}/eglfs.json ${D}${sysconfdir}/default/eglfs.json
else
install -D -m 0644 ${S}/yoe-kiosk-browser-linuxfb.service ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service
fi

install -D -m 0644 ${S}/${YOE_KIOSK_BROWSER_SYSTEMD_UNIT} ${D}${systemd_unitdir}/system/yoe-kiosk-browser.service
install -D -m 0644 ${S}/eglfs.json ${D}${sysconfdir}/default/eglfs.json
install -D -m 0644 ${S}/yoe-kiosk-browser-env ${D}${sysconfdir}/default/yoe-kiosk-browser

# fill in service template values
Expand Down
2 changes: 0 additions & 2 deletions sources/meta-yoe/recipes-core/images/graphics.inc
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
inherit features_check

X11PKGS = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'packagegroup-core-x11 packagegroup-xfce-base', d)}"
X11ONLYPKGS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '${X11PKGS}', '', d)}"
X11FEATURE = "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '', 'x11', d)}"
Expand Down
2 changes: 2 additions & 0 deletions sources/meta-yoe/recipes-core/images/yoe-ptest-image.bb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

require yoe-sdk-image.bb

inherit features_check

REQUIRED_DISTRO_FEATURES += "ptest"

IMAGE_FEATURES += "ptest-pkgs"
Expand Down

0 comments on commit 94cb244

Please sign in to comment.