void-packages/lib
Juan RP f80e1753a8 Remove knowledge from the library to install packages.
The library is only responsible now to find all binary packages
from repositories, sort them and create a dictionary with all
details. The frontend (xbps-bin) provides support for this,
and this allows for more flexibility and removes some stuff
that didn't belong in the library.

While here implemented support to show total download/installed
size for all packages that are going to be installed.

Next step will be to implement user interactivity before
installing/removing/updating packages.

--HG--
extra : convert_revision : 858e9a89bc6a60b348435f2416a8af3ebb6ea5c9
2009-04-09 02:29:15 +02:00
..
cmpver.c cmpver.c: change syntax to <pkgname>-<version>_<revision>-<epoch>. 2009-03-19 00:25:41 +01:00
depends.c Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00
fexec.c Make xbps_file_chdir_exec() change root directory if /bin/sh exists. 2009-04-07 22:54:34 +02:00
findpkg.c Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00
humanize_number.c Prefix humanize_number() with xbps_. 2008-12-22 07:51:14 +01:00
Makefile Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00
orphans.c Introduce xbps_xasprintf() and use it where required. 2009-04-04 19:32:39 +02:00
plist.c Make xbps_remove_pkg_from_* return int rather than bool. 2009-04-06 16:39:14 +02:00
register.c Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00
remove.c For INSTALL/REMOVE scripts use xbps_file_chdir_exec(). 2009-04-08 03:20:13 +02:00
repository.c Introduce xbps_xasprintf() and use it where required. 2009-04-04 19:32:39 +02:00
requiredby.c Do not reuse requiredby objects while updating pkgs. 2009-04-06 17:00:52 +02:00
sha256.c sha256.c: remove unneeded macro. 2009-03-13 00:31:17 +01:00
sortdeps.c Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00
unpack.c Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00
util.c Remove knowledge from the library to install packages. 2009-04-09 02:29:15 +02:00