From b5b298dc21193255cd94aa15b5e8330d100d3f5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 16 May 2021 01:38:53 +0200 Subject: [PATCH] gnome-photos: Let all desktops add gnome-photos to their start menu MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As a XFCE user I was wondering why gnome-photos was missing Signed-off-by: Andreas Müller Signed-off-by: Khem Raj --- meta-gnome/recipes-gnome/gnome-photos/gnome-photos_40.0.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_40.0.bb b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_40.0.bb index 628b1eeea4..8a83069520 100644 --- a/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_40.0.bb +++ b/meta-gnome/recipes-gnome/gnome-photos/gnome-photos_40.0.bb @@ -32,6 +32,11 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[archive.sha256sum] = "e02d73e138af8b2868b5cad7faa1bdd278aeade3b6c3c92836511a4e6f3af1af" +do_install_append() { + # make gnome-photos available on all desktops + sed -i 's:OnlyShowIn=:#OnlyShowIn=:g' ${D}${datadir}/applications/org.gnome.Photos.desktop +} + FILES_${PN} += " \ ${datadir}/dbus-1 \ ${datadir}/metainfo \