[gnome-software/gnome-3-10] Make gnome-software start faster by using X-AppInstall-Package



commit 10780280720bc247f882d91b6ed0d189d4b6a46b
Author: Richard Hughes <richard hughsie com>
Date:   Wed Oct 2 10:13:44 2013 +0100

    Make gnome-software start faster by using X-AppInstall-Package

 contrib/gnome-software.spec.in |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/contrib/gnome-software.spec.in b/contrib/gnome-software.spec.in
index 2697738..4070b5d 100644
--- a/contrib/gnome-software.spec.in
+++ b/contrib/gnome-software.spec.in
@@ -50,6 +50,10 @@ cd %{buildroot}%{_datadir}/app-info/icons/fedora-20
 %__tar xvzf %{SOURCE2}
 cd -
 
+# make the software center load faster
+desktop-file-edit %{buildroot}%{_datadir}/applications/*.desktop \
+    --set-key=X-AppInstall-Package --set-value=%{name}
+
 %find_lang %name --with-gnome
 
 %check


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]