Skip to contentSkip to conversation

gnome-control-center: Unbreak gnome images

PATCH New Khem Raj 1 participant 1 message Apr 23, 2014

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gnome-control-center: Unbreak gnome images

images that now include both shared-mime-info and gnome-control-center We get

Collected errors:
* check_data_file_clashes: Package gnome-control-center wants to
* install file
* /home/kraj/work/angstrom-repo/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi/systemd-gnome-image/1.0-r0/rootfs/usr/share/mime/generic-icons But that file is already provided by package * shared-mime-info

This brings it back to wheree it was additionally removes the packaging warnings

---
 .../recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb +3 -1
index ee25c1e..05e59cd 100644
@@ -16,13 +16,15 @@ LDFLAGS += "-lgthread-2.0 -lxml2"
 do_configure_prepend() {
     sed -i s:help::g Makefile.am
 }
+do_install_append() {
+    rm -rf ${D}${datadir}/mime
+}
 
 FILES_${PN} += "${datadir}/icon* \
                 ${datadir}/xsession* \
                 ${libdir}/window-manager-settings/*.so \
                 ${datadir}/gnome \
                 ${datadir}/desktop-directories \
-                ${datadir}/mime \
 "
 FILES_${PN}-dbg += "${libdir}/window-manager-settings/.debug"
 FILES_${PN}-dev += "${libdir}/window-manager-settings/*.la"
Signature · 1 line
1.9.2