From patchwork Thu Jan 15 16:15:25 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Markus Volk X-Patchwork-Id: 78803 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id AFC1BD44C79 for ; Thu, 15 Jan 2026 16:15:44 +0000 (UTC) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.39763.1768493739943835573 for ; Thu, 15 Jan 2026 08:15:40 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: t-online.de, ip: 194.25.134.80, mailfrom: f_l_k@t-online.de) Received: from fwd71.aul.t-online.de (fwd71.aul.t-online.de [10.223.144.97]) by mailout01.t-online.de (Postfix) with SMTP id 7D16D1D057 for ; Thu, 15 Jan 2026 17:15:37 +0100 (CET) Received: from intel-corei7-64.fritz.box ([84.154.167.202]) by fwd71.t-online.de with (TLSv1.3:TLS_AES_256_GCM_SHA384 encrypted) esmtp id 1vgQ0S-2eTRgH0; Thu, 15 Jan 2026 17:15:33 +0100 From: Markus Volk To: openembedded-devel@lists.openembedded.org Subject: [meta-xfce][PATCHv2] libbxfce4windowing: switch to meson buildsystem Date: Thu, 15 Jan 2026 17:15:25 +0100 Message-ID: <20260115161525.17716-1-f_l_k@t-online.de> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 X-TOI-EXPURGATEID: 150726::1768493733-F9FF88C9-AC8ADBFB/0/0 CLEAN NORMAL X-TOI-MSGID: 334b86bb-77c9-4c47-8033-937c67f7f065 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 15 Jan 2026 16:15:44 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/123515 Motivation for this is to get vapi files created which are required to e.g. build the budgie desktop -Add PACKAGECONFIG for x11 and build depending on DISTRO_FEATURES -Build vala by default Signed-off-by: Markus Volk --- .../libxfce4windowing_4.20.5.bb | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.5.bb b/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.5.bb index 764254eb10..59374d7947 100644 --- a/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.5.bb +++ b/meta-xfce/recipes-xfce/libxfce4windowing/libxfce4windowing_4.20.5.bb @@ -4,22 +4,18 @@ SECTION = "x11/libs" LICENSE = "LGPL-2.1-only" LIC_FILES_CHKSUM = "file://COPYING;md5=435ed639f84d4585d93824e7da3d85da" -DEPENDS = "xfce4-dev-tools-native libdisplay-info libwnck3" +DEPENDS = "xfce4-dev-tools-native glib-2.0 gtk+3" +XFCEBASEBUILDCLASS = "meson" SRC_URI[sha256sum] = "6b4e19a66db650c9c8a88f00bbf266e9ced0070b7dbc0aaeea05be0fc6a2eb4d" -inherit features_check gobject-introspection gtk-doc xfce +inherit features_check gobject-introspection gtk-doc xfce vala gettext # Currently, X11 is fully supported. Wayland is partially supported -REQUIRED_DISTRO_FEATURES = "x11" +ANY_OF_DISTRO_FEATURES = "wayland x11" -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}" -PACKAGECONFIG[wayland] = "--enable-wayland, --disable-wayland, wayland-native" +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}" +PACKAGECONFIG[x11] = "-Dx11=enabled, -Dx11=disabled, libx11 libdisplay-info libwnck3 xrandr" +PACKAGECONFIG[wayland] = "-Dwayland=enabled, -Dwayland=disabled, wayland wayland-native wayland-protocols" -EXTRA_OECONF = "--enable-x11 \ - WAYLAND_SCANNER=${STAGING_BINDIR_NATIVE}/wayland-scanner \ - " - -do_compile:prepend() { - export GIR_EXTRA_LIBS_PATH=${B}/libxfce4windowing/.libs -} +GTKDOC_MESON_OPTION = "gtk-doc"