From patchwork Fri Aug 29 13:06:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Ferland X-Patchwork-Id: 69298 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 954BECA1000 for ; Fri, 29 Aug 2025 13:06:51 +0000 (UTC) Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) by mx.groups.io with SMTP id smtpd.web10.13151.1756472806417877355 for ; Fri, 29 Aug 2025 06:06:46 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=idV1RB5D; spf=pass (domain: gmail.com, ip: 209.85.128.41, mailfrom: marc.ferland@gmail.com) Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-45b7d485204so12861215e9.0 for ; Fri, 29 Aug 2025 06:06:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756472804; x=1757077604; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=m4YkaKN6GveqKBUxRwKy5FS5ji8DVTKgdz1kvN9eMgM=; b=idV1RB5D6OWiGI9F/amoij0/yGhA0DHK0ohDsdiOKFGjo7iTXUjzFrxXk/cJRVT6gz XfHdHXUyBIfyEWZRFVmx3k1N69KAlqLupYyJ6HvMIffPmk+/R+fQYbfG7+31QG/xkiGi yF//3JVXTgpQvnmOxHncOa3o8LMX0s5c1K8ZI9sK0LVLoz1bukLSkpxxXSb9lBMmP7Zs OBX+4gP+GiegBc67MOWiysTNx0UXCoP5cwMmaEG2Q2cmQM66Fugm8D7UBk7rWkU62L5n 4AKPSA0w2L51DdbbnI86Lmm8NKO/lN2wXJ4Gn1YAgnH6fmCf5yKom8k9hzgbJM1fih1O m/pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756472804; x=1757077604; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=m4YkaKN6GveqKBUxRwKy5FS5ji8DVTKgdz1kvN9eMgM=; b=R2YKwplMRV8aqEwyvmVO/HecCVWIHkvaF3mrWgneRtEQVpUtsqd//Kbgimza1CnJad VuSN1pvcciUpVFfdgjX7d1bTR3Q4KhxqHAInOS1y8A0LFmF1B8HN2YTqPKTYw4LmNSl0 yMbQ6ZHouUlD62MwW8BbhAyFebVucK/j54io/D5BjB80scVI5EekMzowkkWTBTO2RFqc ieK8KJX+R6lWOIhbykmy9YoCh55PvHIwJsPNi7CgWWI1LGwMz08DLVspsot2YEfBUHqd oqVfTvlerzB5NVlVQ4pk7qjzNqrcown56dPTb1MIM22asNuU9YQ8iDVymmj8WxOrAwYO JHcw== X-Gm-Message-State: AOJu0YyPOgFYggil8mxkVc6gU+IY2QWsjtkSHy8RtBu6Fbxcx2gOsw3u THHRnUpyjnr/b4WBXInqJJBUHIAddqS+YQXu9oJCEC9LOJsupTYC9wOJMh0AQQ== X-Gm-Gg: ASbGncuMxNrrn4h83Ht/SXnZBRCOYKkLVZ4Cn7mFHly7mdAvg9RaTsik7LJe5vkl4m6 CW64GNVkLuZ67OBi19mo09yQAiuWFND9U0HvPgIaJQzaJgo085S/asdrHHP4AN6k4cBNGDQpWBt WSEhe0qEw2kLZ/n6FS1Hdc6GhnfYada795NFI2a6c5Ad+zF46dl3wzWYtvC9wx2tuQMQJOfO1E4 4Y2Is/gjngRmYIUNcqQOpVoAeKKFb7DZ2Ty9Cpo+zMhItLJWnXpdrovRY6UkTECnm2mAObAArxq VseN4Vj9GMFhN51o407oCbpeG7zfd+M3zusF/4nDKL8/Ihm61ugYuxwuFh+aknp00HiaysMOprJ r6uXED331iGcnt7tx110xLzQl0Fi20zejcENcd7XnQpva88V0KcCKaUlxaOf4iul5tGPkS77KtJ Yvezz1qD99hw1oAVYoPNZXTv3xxiduoyjlmTQEYaI25Palwct7peTLkMK8 X-Google-Smtp-Source: AGHT+IHtLDjxn8j2v5wDYz42kkKiNEYt9ujKj15n9KvxyCxrBmZ9AJbGdk13Y80Gusq94bt9xp9Tiw== X-Received: by 2002:a05:600c:4715:b0:456:13d8:d141 with SMTP id 5b1f17b1804b1-45b517d2700mr214217355e9.27.1756472803784; Fri, 29 Aug 2025 06:06:43 -0700 (PDT) Received: from mfe-desktop.Sonatest.net (ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca. [174.94.156.236]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3cf276d5e5fsm3407413f8f.27.2025.08.29.06.06.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Aug 2025 06:06:42 -0700 (PDT) From: marc.ferland@gmail.com X-Google-Original-From: marc.ferland@sonatest.com To: openembedded-devel@lists.openembedded.org Cc: Marc Ferland , Khem Raj Subject: [meta-oe][walnascar][PATCH 1/2] freerdp3: add bindir to SYSROOT_DIRS Date: Fri, 29 Aug 2025 09:06:37 -0400 Message-Id: <20250829130638.2227550-1-marc.ferland@sonatest.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 29 Aug 2025 13:06:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119138 From: Marc Ferland This is required in order to build krdp (KDE's remote desktop integration). The do_configure task for krdp expects both 'winpr-makecert3' and 'winpr-hash3' to be present, failure to do so results in: | CMake Error at /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRTargets.cmake:98 (message): | The imported target "winpr-makecert" references the file | | "/path/to/krdp/6.4.4/recipe-sysroot/usr/bin/winpr-makecert3" | | but this file does not exist. Possible reasons include: | | * The file was deleted, renamed, or moved to another location. | | * An install or uninstall procedure did not complete successfully. | | * The installation package was faulty and contained | | "/path/to/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRTargets.cmake" | | but not all the files it references. | | Call Stack (most recent call first): | /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/WinPR3/WinPRConfig.cmake:44 (include) | /path/to/krdp/6.4.4/recipe-sysroot-native/usr/share/cmake-3.31/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) | /path/to/krdp/6.4.4/recipe-sysroot/usr/lib/cmake/FreeRDP3/FreeRDPConfig.cmake:2 (find_dependency) | CMakeLists.txt:45 (find_package) | | | -- Configuring incomplete, errors occurred! Signed-off-by: Marc Ferland Signed-off-by: Khem Raj (cherry picked from commit 6c30f47645c3c16b81801d4427d04c2385daa4cd) --- meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb b/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb index 109b2b599b..956a627859 100644 --- a/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb +++ b/meta-oe/recipes-support/freerdp/freerdp3_3.5.1.bb @@ -61,3 +61,4 @@ do_configure:append() { } FILES:${PN} += "${datadir}" +SYSROOT_DIRS += "${bindir}" From patchwork Fri Aug 29 13:06:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marc Ferland X-Patchwork-Id: 69299 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 942DCCA0FF9 for ; Fri, 29 Aug 2025 13:06:51 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web10.13156.1756472809601749286 for ; Fri, 29 Aug 2025 06:06:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TCLoti3t; spf=pass (domain: gmail.com, ip: 209.85.221.45, mailfrom: marc.ferland@gmail.com) Received: by mail-wr1-f45.google.com with SMTP id ffacd0b85a97d-3c7ba0f6983so1294202f8f.0 for ; Fri, 29 Aug 2025 06:06:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1756472807; x=1757077607; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wpiGPAEa1iMWEyk2aDlIrij9RX7McmP+hq5SxyhuMYE=; b=TCLoti3tnXuyVtHlOK5uy5hiMEshzRKbyr2EUQUpfx+CJH0bZXt0wZ0nQ9NBZSWCVU dx4By3FsMzm41tN905BjXP/1ZuHeayuh7yxrgM8RiVSK5G/YNcPdQoLW4f/puNOkLaTF zZqHD+TwyQazGmJbW8lT+8U/ltgagwUXeM6tus80H+JGfxEjr7memSf9++jXoXCFuUy4 rtbltm0OIwoU6oNeKg/r+njCsv6dgS1mq1/GVkCyICRFfKwh3pyCJlUuQm35OgXxBM8e pB4F8inoW16+TJVzx3q3IgHmbehfYfYTrhZaPT/uxDVglSs1Sr9o6xthDZBSUqEPm5/d smNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756472807; x=1757077607; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wpiGPAEa1iMWEyk2aDlIrij9RX7McmP+hq5SxyhuM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gi8pSrg== X-Received: by 2002:a05:6000:40ca:b0:3d0:c6bf:60c6 with SMTP id ffacd0b85a97d-3d0c6bf6478mr1551148f8f.13.1756472806926; Fri, 29 Aug 2025 06:06:46 -0700 (PDT) Received: from mfe-desktop.Sonatest.net (ipagstaticip-d73c7528-4de5-0861-800b-03d8b15e3869.sdsl.bell.ca. [174.94.156.236]) by smtp.googlemail.com with ESMTPSA id ffacd0b85a97d-3cf276d5e5fsm3407413f8f.27.2025.08.29.06.06.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Aug 2025 06:06:46 -0700 (PDT) From: marc.ferland@gmail.com X-Google-Original-From: marc.ferland@sonatest.com To: openembedded-devel@lists.openembedded.org Cc: Marc Ferland , Khem Raj Subject: [meta-oe][walnascar][PATCH 2/2] libvncserver: fix generated LibVNCServerTargets.cmake Date: Fri, 29 Aug 2025 09:06:38 -0400 Message-Id: <20250829130638.2227550-2-marc.ferland@sonatest.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250829130638.2227550-1-marc.ferland@sonatest.com> References: <20250829130638.2227550-1-marc.ferland@sonatest.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 29 Aug 2025 13:06:51 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/119139 From: Marc Ferland The currently generated LibVNCServerTargets.cmake will include the following 'set_target_properties': set_target_properties(LibVNCServer::vncclient PROPERTIES INTERFACE_INCLUDE_DIRECTORIES "${_IMPORT_PREFIX}/include" INTERFACE_LINK_LIBRARIES "systemd;/usr/lib/libz.so;/usr/lib/liblzo2.so;/usr/lib/libjpeg.so;/usr/lib/libgcrypt.so;/usr/lib/libgnutls.so" ) INTERFACE_LINK_LIBRARIES here points to absolute paths which hardcodes the library paths. From CMake doc [1]: Note that it is not advisable to populate the INTERFACE_LINK_LIBRARIES of a target with absolute paths to dependencies. That would hard-code into installed packages the library file paths for dependencies as found on the machine the package was made on. This breaks krfb build (kde desktop sharing server) since CMake cannot find these libraries. Removing the absolute paths solves the issue. Note: I also added a 'inherit pkgconfig' since libvncserver uses it to detect libsystemd presence. 1: https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_LINK_LIBRARIES.html Signed-off-by: Marc Ferland Signed-off-by: Khem Raj (cherry picked from commit 215694286716cf83bf9e52c5e61b4cbc861098fc) --- meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb index ce01593b8b..6f271ee0d3 100644 --- a/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb +++ b/meta-oe/recipes-graphics/libvncserver/libvncserver_0.9.14.bb @@ -42,7 +42,7 @@ PACKAGECONFIG[zlib] = "-DWITH_ZLIB=ON,-DWITH_ZLIB=OFF,zlib" PACKAGE_BEFORE_PN = "libvncclient" FILES:libvncclient = "${libdir}/libvncclient.*" -inherit cmake +inherit cmake pkgconfig SRC_URI = "git://github.com/LibVNC/libvncserver;branch=master;protocol=https" SRCREV = "10e9eb75f73e973725dc75c373de5d89807af028" @@ -52,5 +52,5 @@ S = "${WORKDIR}/git" EXTRA_OECMAKE = "-DMAKE_INSTALL_LIBDIR=${libdir}" do_install:append() { - sed -i -e 's|${STAGING_DIR_HOST}||g' ${D}${libdir}/cmake/LibVNCServer/LibVNCServerTargets.cmake + sed -i -e 's|${STAGING_DIR_HOST}${libdir}/||g' ${D}${libdir}/cmake/LibVNCServer/LibVNCServerTargets.cmake }