Skip to contentSkip to conversation

libxml2: Remove python support

PATCH In review Joshua Watt 2 participants 4 messages Oct 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 libxml2: Remove python support

Python doesn't cross compile for MinGW, so remove it as a dependency from the mingw32 nativesdk build

---
 recipes-core/libxml/libxml2_%.bbappend | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 recipes-core/libxml/libxml2_%.bbappend
recipes-core/libxml/libxml2_%.bbappend new file +1 -0
new file mode 100644
index 0000000..2c9f206
@@ -0,0 +1 @@
+PACKAGECONFIG_remove_class-nativesdk_mingw32 = "python"
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/3 wayland: Disable library

Disable building the wayland libraries for MinGW. The libraries don't compile for this platform, and are generally unneeded anyway. The wayland recipe is usually only compiled for nativesdk to pull in the wayland-scanner utility.

---
 recipes-graphics/wayland/wayland_%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 recipes-graphics/wayland/wayland_%.bbappend
recipes-graphics/wayland/wayland_%.bbappend new file +2 -0
new file mode 100644
index 0000000..3713f2d
@@ -0,0 +1,2 @@
+EXTRA_OECONF_class-nativesdk_mingw32 = "--disable-documentation --disable-libraries"
+
Signature · 1 line
2.21.0
#2 lore raw

PATCH 3/3 dbus: Set FILES

In reply to Joshua Watt

Set the package files correctly for MinGW

---
 recipes-core/dbus/dbus_%.bbappend | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 recipes-core/dbus/dbus_%.bbappend
recipes-core/dbus/dbus_%.bbappend new file +11 -0
new file mode 100644
index 0000000..76b0c3e
@@ -0,0 +1,11 @@
+FILES_${PN}_append_mingw32 = "\
+    ${bindir}/dbus-send.exe \
+    ${bindir}/dbus-monitor.exe \
+    ${bindir}/dbus-launch.exe \
+    ${bindir}/dbus-test-tool.exe \
+    ${bindir}/dbus-update-activation-environment.exe \
+"
+
+FILES_${PN}-lib_append_mingw32 = "\
+    ${bindir}/lib*.dll \
+"
Signature · 1 line
2.21.0
#3 lore raw
In reply to Joshua Watt
Quoted 2 lines · Joshua Watt

Python doesn't cross compile for MinGW, so remove it as a dependency from the mingw32 nativesdk build

+1 please push