|
|
|
|
@ -318,7 +318,7 @@ yon_packages_info *yon_packages_get_info_struct(enum YON_PACKAGES_DB_TYPE type,
|
|
|
|
|
int parsed_size=0;
|
|
|
|
|
config_str parsed = NULL;
|
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)provides_list->data)->name);
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)alpm_list_nth(provides_list,i)->data)->name);
|
|
|
|
|
}
|
|
|
|
|
package_info->provides = yon_char_parsed_to_string(parsed,parsed_size, " ");
|
|
|
|
|
// alpm_list_free(provides_list);
|
|
|
|
|
@ -343,7 +343,7 @@ yon_packages_info *yon_packages_get_info_struct(enum YON_PACKAGES_DB_TYPE type,
|
|
|
|
|
int parsed_size=0;
|
|
|
|
|
config_str parsed = NULL;
|
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)optdepends_list->data)->name);
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)alpm_list_nth(optdepends_list,i)->data)->name);
|
|
|
|
|
}
|
|
|
|
|
package_info->optional_depends = yon_char_parsed_to_string(parsed,parsed_size, " ");
|
|
|
|
|
// alpm_list_free(optdepends_list);
|
|
|
|
|
@ -355,7 +355,7 @@ yon_packages_info *yon_packages_get_info_struct(enum YON_PACKAGES_DB_TYPE type,
|
|
|
|
|
int parsed_size=0;
|
|
|
|
|
config_str parsed = NULL;
|
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)conflicts_list->data)->name);
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)alpm_list_nth(conflicts_list,i)->data)->name);
|
|
|
|
|
}
|
|
|
|
|
package_info->conflicts = yon_char_parsed_to_string(parsed,parsed_size, " ");
|
|
|
|
|
// alpm_list_free(conflicts_list);
|
|
|
|
|
@ -367,7 +367,7 @@ yon_packages_info *yon_packages_get_info_struct(enum YON_PACKAGES_DB_TYPE type,
|
|
|
|
|
int parsed_size=0;
|
|
|
|
|
config_str parsed = NULL;
|
|
|
|
|
for (int i=0;i<size;i++){
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)replaces_list->data)->name);
|
|
|
|
|
yon_char_parsed_add_or_create_if_exists(parsed,&parsed_size,((alpm_depend_t*)alpm_list_nth(replaces_list,i)->data)->name);
|
|
|
|
|
}
|
|
|
|
|
package_info->replaces = yon_char_parsed_to_string(parsed,parsed_size, " ");
|
|
|
|
|
// alpm_list_free(replaces_list);
|
|
|
|
|
|