[Rpm-maint] Add appdata() and application() auto-provides
Michael Schroeder
mls at suse.de
Wed Oct 2 13:21:17 UTC 2013
Hi Panu et al,
attached are two patches that make rpm automatically add
provides for .desktop files in /usr/share/applications and
AppStream appdata files in /usr/share/appdata.
They are intended to make it easy to
- enumerate all applications by querying for appdata() or
application()
- create a link between an installed application and a
package.
The latter can also be done by a filename query, but that
is much slower than querying provides and for not installed
packages the compleye filelist needs to be downloaded (as
/usr/share is not a standard location).
Cheers,
Michael.
--
Michael Schroeder mls at suse.de
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-application-and-application-filename-provides-fo.patch
Type: text/x-patch
Size: 1145 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20131002/91621e17/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-support-for-automatic-appdata-provides.patch
Type: text/x-patch
Size: 2589 bytes
Desc: not available
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20131002/91621e17/attachment-0001.bin>
More information about the Rpm-maint
mailing list