Re: Adding X-AppInstall-Package to all applications at rpm build time

2013-10-03 Thread Richard Hughes
On 2 October 2013 18:55, Till Maas wrote: > This does not take subpackages into account. Not sure, how relevant it > is for the 50 packages you plan to adjust, but it would be an issue for > e.g. wireshark-gnome. Sure, in this case I'd have to manually change %{name} to the subpackage name. > Ne

Re: Adding X-AppInstall-Package to all applications at rpm build time

2013-10-02 Thread Till Maas
On Wed, Oct 02, 2013 at 01:47:57PM +0100, Richard Hughes wrote: > 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}

Re: Adding X-AppInstall-Package to all applications at rpm build time

2013-10-02 Thread Miloslav Trmač
On Wed, Oct 2, 2013 at 2:47 PM, Richard Hughes wrote: > 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} (No, thi

Re: Adding X-AppInstall-Package to all applications at rpm build time

2013-10-02 Thread Richard Hughes
On 2 October 2013 15:46, Bill Nottingham wrote: > It seems a reasonable enough optimization, although you'd obviously still > need to the fallback to querying the database. Right; the amount of delay at startup is proportional to the number of requests we do. Do you think it's acceptable to add t

Re: Adding X-AppInstall-Package to all applications at rpm build time

2013-10-02 Thread Bill Nottingham
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 s

Adding X-AppInstall-Package to all applications at rpm build time

2013-10-02 Thread Richard Hughes
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