[packagekit] Categories/Groups in yum on a Fedora system
Richard Hughes
hughsient at gmail.com
Mon Oct 29 11:57:17 PDT 2007
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.
More information about the PackageKit
mailing list