Richard Hughes (hughsi...@gmail.com) said: 
> What would people think about doing this in #fedora.spec files?
> 
> # make the software center load faster
> desktop-file-edit %{buildroot}%{_datadir}/applications/*.desktop \
>     --set-key=X-AppInstall-Package --set-value=%{name}
> 
> It makes the software center load much faster as we don't have to
> lookup what package owns the desktop file[1] before we can show the
> UI. "X-AppInstall-Package" is an extension that Ubuntu has been using
> for nearly a decade.

It seems a reasonable enough optimization, although you'd obviously still
need to the fallback to querying the database.

Bill
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Reply via email to