Skip to contentSkip to conversation

libnma: remove conflict xml file

PATCH New [email protected] 1 participant 1 message Dec 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libnma: remove conflict xml file

From: Kai Kang <[email protected]>

The file org.gnome.nm-applet.gschema.xml conflicts with the one provided by network-manager-applet, so remove it from libnma and use the one from network-manager-applet.

| Error: Transaction test error:
| file /usr/share/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml conflicts
between attempted installs of network-manager-applet-1.34.0-r0.core2_ 64 and libnma-1.10.6-r0.core2_64

---
 meta-gnome/recipes-connectivity/libnma/libnma_1.10.6.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-gnome/recipes-connectivity/libnma/libnma_1.10.6.bb +5 -0
index bff9a3360..75b0418c3 100644
@@ -27,3 +27,8 @@ EXTRA_OEMESON:append:riscv32 = " -Dvapi=false"
 EXTRA_OEMESON:append:powerpc64le = " -Dvapi=false"
 
 GTKDOC_MESON_OPTION = "gtk_doc"
+
+do_install:append() {
+    # conflicts with the file provided by network-manager-applet
+    rm -f ${D}${datadir}/glib-2.0/schemas/org.gnome.nm-applet.gschema.xml
+}
Signature · 1 line
2.34.1