xbps-dgraph: parse the "provides" obj for virtual packages.

This commit is contained in:
Juan RP 2011-01-31 16:40:33 +01:00
parent da607becf9
commit 7b159d6f33
2 changed files with 5 additions and 2 deletions

3
NEWS
View File

@ -1,5 +1,8 @@
xbps-0.8.0 (???): xbps-0.8.0 (???):
* xbps-dgraph: now parses the "provides" object in the package properties
metadata plist file for packages providing virtual packages.
* xbps-bin(8): added -R option for the "remove" target, to recursively * xbps-bin(8): added -R option for the "remove" target, to recursively
remove packages that were installed automatically by the package(s) remove packages that were installed automatically by the package(s)
that we want to remove, and no other package currently depends on. that we want to remove, and no other package currently depends on.

View File

@ -1,5 +1,5 @@
/*- /*-
* Copyright (c) 2010 Juan Romero Pardines. * Copyright (c) 2010-2011 Juan Romero Pardines.
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -45,7 +45,7 @@
*/ */
static const char *optional_objs[] = { static const char *optional_objs[] = {
"conflicts", "conf_files", "replaces", "run_depends", "preserve", "conflicts", "conf_files", "replaces", "run_depends", "preserve",
"requiredby" "requiredby", "provides"
}; };
/* /*