From fc0e83f05b29f57accb49544dabe856968349b3a Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 25 Sep 2007 23:02:30 -0500 Subject: Preliminary support for optdepends Add some alpm functions for getting optdepends, have makepkg include them in the PKGINFO file, and have a pacman -Qi operation display the raw string as stored by libalpm. Signed-off-by: Dan McGee --- src/pacman/package.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/pacman') diff --git a/src/pacman/package.c b/src/pacman/package.c index 86d91ecb..01f4e973 100644 --- a/src/pacman/package.c +++ b/src/pacman/package.c @@ -75,6 +75,7 @@ void dump_pkg_full(pmpkg_t *pkg, int level) list_display(_("Groups :"), alpm_pkg_get_groups(pkg)); list_display(_("Provides :"), alpm_pkg_get_provides(pkg)); list_display(_("Depends On :"), alpm_pkg_get_depends(pkg)); + list_display(_("Optional Deps :"), alpm_pkg_get_optdepends(pkg)); /* Only applicable if installed */ if(level > 0) { list_display(_("Required By :"), alpm_pkg_get_requiredby(pkg)); -- cgit v1.2.3