[packagekit] Categories/Groups in yum on a Fedora system

Tim Lauridsen tla at rasmil.dk
Tue Oct 30 00:02:16 PDT 2007


Richard Hughes wrote:
> On Mon, 2007-10-29 at 12:06 +0100, Tim Lauridsen wrote:
>   
>> Ok, i have implemented 'search-group' for the yum backend, using the
>> current pk groups, to see how it looks (very big 'other' & 'system'
>> group)
>>     
>
> Cool! How do we know what groups are present? Can this be hardcoded in
> the backend C file, or do we need a callout?
>
> /**
>  * backend_get_groups:
>  */
> static void
> backend_get_groups (PkBackend *backend, PkEnumList *elist)
> {
>         g_return_if_fail (backend != NULL);
>         pk_enum_list_append_multiple (elist,
>                                       PK_GROUP_ENUM_ACCESSIBILITY,
>                                       PK_GROUP_ENUM_GAMES,
>                                       PK_GROUP_ENUM_SYSTEM,
>                                       -1);
> }
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
We now the group, so we can hard code it.

Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20071030/9eb40b04/attachment-0004.htm>


More information about the PackageKit mailing list