Some improvements for installation of binary packages.

* If any dep of a package cannot be found in the repository pool,
  show it on xbps-bin.

* Add the automatic-install boolean obj into pkg's dictionary
  on regpkgdb.plist, this will be used to implemented something
  like "apt-get autoremove".

--HG--
extra : convert_revision : 666e2fa666ac94140159896e28b445e88e8afb7a
This commit is contained in:
Juan RP 2009-02-15 20:23:23 +01:00
parent e7c17a5cd8
commit 746d59a9dd
5 changed files with 69 additions and 10 deletions

View file

@ -32,13 +32,15 @@ int xbps_install_binary_pkg(const char *, const char *);
int xbps_install_binary_pkg_fini(prop_dictionary_t, prop_dictionary_t,
const char *);
int xbps_register_pkg(prop_dictionary_t, const char *, const char *,
const char *);
const char *, bool);
int xbps_unpack_binary_pkg(prop_dictionary_t, prop_dictionary_t,
const char *,
void (*cb_print)(prop_dictionary_t));
int xbps_update_pkg_requiredby(prop_array_t, prop_dictionary_t);
int xbps_find_deps_in_pkg(prop_dictionary_t);
prop_dictionary_t xbps_get_pkg_deps_dictionary(void);
/* From lib/sortdeps.c */
int xbps_sort_pkg_deps(prop_dictionary_t);