From 9f2bda3d20c9c9ab777cb0c89a5bd0b1e285a52c Mon Sep 17 00:00:00 2001 From: David McKinney Date: Tue, 7 May 2019 09:07:58 -0400 Subject: [PATCH] Remove unneeded .desktop files --- meta-gnome/recipes-freedesktop/geoclue/geoclue_2.4.7.bb | 6 +++++- meta-gnome/recipes-gnome/gcr/gcr_3.28.1.bb | 5 +++++ meta-gnome/recipes-gnome/nautilus/nautilus_3.30.2.bb | 4 ++++ meta-gnome/recipes-support/ibus/ibus_1.5.19.bb | 3 +++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-freedesktop/geoclue/geoclue_2.4.7.bb b/meta-gnome/recipes-freedesktop/geoclue/geoclue_2.4.7.bb index 39350c1..b7439e6 100644 --- a/meta-gnome/recipes-freedesktop/geoclue/geoclue_2.4.7.bb +++ b/meta-gnome/recipes-freedesktop/geoclue/geoclue_2.4.7.bb @@ -14,5 +14,9 @@ FILES_${PN} += "/usr/lib/systemd /usr/share/dbus-1" inherit gettext pkgconfig autotools gobject-introspection -EXTRA_OECONF = "--disable-gtk-doc --disable-3g-source --disable-modem-gps-source --disable-cdma-source --disable-nmea-source" +EXTRA_OECONF = "--disable-gtk-doc --disable-3g-source --disable-modem-gps-source --disable-cdma-source --disable-nmea-source --enable-demo-agent=no" +do_install_append () { + rm ${D}${datadir}/applications/geoclue-demo-agent.desktop + rm ${D}${datadir}/applications/geoclue-where-am-i.desktop +} diff --git a/meta-gnome/recipes-gnome/gcr/gcr_3.28.1.bb b/meta-gnome/recipes-gnome/gcr/gcr_3.28.1.bb index e46278e..7a58ca2 100644 --- a/meta-gnome/recipes-gnome/gcr/gcr_3.28.1.bb +++ b/meta-gnome/recipes-gnome/gcr/gcr_3.28.1.bb @@ -25,3 +25,8 @@ FILES_${PN} += " \ # http://errors.yoctoproject.org/Errors/Details/20229/ ARM_INSTRUCTION_SET = "arm" + +do_install_append () { + rm ${D}${datadir}/applications/gcr-prompter.desktop + rm ${D}${datadir}/applications/gcr-viewer.desktop +} diff --git a/meta-gnome/recipes-gnome/nautilus/nautilus_3.30.2.bb b/meta-gnome/recipes-gnome/nautilus/nautilus_3.30.2.bb index aa9763c..b1f1fcb 100644 --- a/meta-gnome/recipes-gnome/nautilus/nautilus_3.30.2.bb +++ b/meta-gnome/recipes-gnome/nautilus/nautilus_3.30.2.bb @@ -23,3 +23,7 @@ FILES_${PN} += "\ DEPENDS += "gtk+3 glib-2.0 pango gnome-autoar libxml2 gnome-desktop tracker gexiv2" EXTRA_OEMESON = "-Dselinux=false -Dpackagekit=false -Dextensions=false -Dintrospection=true" + +do_install_append () { + rm ${D}${datadir}/applications/nautilus-autorun-software.desktop +} diff --git a/meta-gnome/recipes-support/ibus/ibus_1.5.19.bb b/meta-gnome/recipes-support/ibus/ibus_1.5.19.bb index 19ae052..ea00afb 100644 --- a/meta-gnome/recipes-support/ibus/ibus_1.5.19.bb +++ b/meta-gnome/recipes-support/ibus/ibus_1.5.19.bb @@ -39,3 +39,6 @@ do_configure_prepend() { sed -i "s^@EXTRA_AM_VALAFLAGS@^--vapidir=${RECIPE_SYSROOT_NATIVE}${datadir}/vala-0.38/vapi --vapidir=${B}/bindings/vala --pkg gio-2.0^g" ${S}/ui/gtk3/Makefile.am } +do_install_append () { + rm ${D}${datadir}/applications/ibus-setup.desktop +}