Skip to contentSkip to conversation

freerdp: Fix reference to TMPDIR in libfreerdp2.so

PATCH New Khem Raj 1 participant 4 messages May 24, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 freerdp: Fix reference to TMPDIR in libfreerdp2.so

Fixes
File /usr/lib/libwinpr2.so.2.10.0 in package libfreerdp contains reference to TMPDIR [buildpaths]

---
 meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-oe/recipes-support/freerdp/freerdp_2.10.0.bb +4 -0
index 0fc779a60e..4cb452608e 100644
@@ -54,6 +54,10 @@ FILES:libfreerdp = "${libdir}/lib*${SOLIBS}"
 
 PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
 
+do_configure:append() {
+    sed -i -e 's|${WORKDIR}||g' ${B}/buildflags.h
+}
+
 # we will need winpr-makecert to generate TLS certificates
 do_install:append () {
     install -d ${D}${bindir}
Signature · 1 line
2.40.1
author
#1 lore raw

PATCH 2/4 vlc: Remove WORKDIR from CONFIGURE_LINE definition

This is emitted by configure into generated config.h which is used in src/misc/messages.c and flows into binaries

Fixes
WARNING: vlc-3.0.18-r0 do_package_qa: QA Issue: File /usr/lib/libvlccore.so.9.0.1 in package libvlc contains reference to TMPDIR [buildpaths]

---
 meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb | 1 +
 1 file changed, 1 insertion(+)
meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb +1 -0
index dd6eceae51..92f05544dd 100644
@@ -101,6 +101,7 @@ do_configure:append() {
     for qtpath in adapters components/epg components/playlist components/sout dialogs managers styles util/buttons; do
         mkdir -p "${B}/modules/gui/qt/$qtpath"
     done
+    sed -i -e 's|${WORKDIR}||g' ${B}/config.h
 }
 
 # This recipe packages vlc as a library as well, so qt4 dependencies
Signature · 1 line
2.40.1
author
#2 lore raw

PATCH 3/4 system-config-printer: Check for gobject-introspection as well in distro features

In reply to Khem Raj

firewalld is only enabled when gobject-introspection is in distro features which is required package to build system-config-printer

---
 .../system-config-printer/system-config-printer_1.5.18.bb       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/dynamic-layers/meta-python/recipes-printing/system-config-printer/system-config-printer_1.5.18.bb +1 -1
index f0ff24f376..b636ad079a 100644
@@ -9,7 +9,7 @@ S = "${WORKDIR}/git"
 
 inherit autotools gettext pkgconfig python3native features_check
 
-REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
+REQUIRED_DISTRO_FEATURES = "gobject-introspection-data gobject-introspection"
 
 DEPENDS = "cups glib-2.0 libusb xmlto-native desktop-file-utils-native autoconf-archive-native"
 
Signature · 1 line
2.40.1
author
#3 lore raw

PATCH 4/4 packagegroup-xfce-extended: Blueman also needs gobject introspection distro feature

In reply to Khem Raj
---
 .../recipes-xfce/packagegroups/packagegroup-xfce-extended.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +1 -1
index 64f8863116..4da2964e8a 100644
@@ -50,7 +50,7 @@ RRECOMMENDS:${PN} = " \
     xfce4-verve-plugin \
     \
     ${@bb.utils.contains('DISTRO_FEATURES','polkit','xfce-polkit','',d)} \
-    ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth", "blueman", "", d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "bluetooth gobject-introspection", "blueman", "", d)} \
     \
     thunar-media-tags-plugin \
     thunar-archive-plugin \
Signature · 1 line
2.40.1