Flesh out the package kit solver API quite a bit more

* Reorganize things a bit:
  - BSolver is now an abstract base class.
  - A libsolv based implementation, LibsolvSolver, lives in a new
    add-on, which is loaded lazily.
  - Get rid of libpackage_solver. Save for LibsolvSolver everything
    is moved to libpackage.
  - This is a nicer solution for the cyclic dependency caused by
    libsolv (libsolvext to be precise) using the package kit for
    reading repositories and package files.
* Add a solver result data structure and and an accessor the solver.
* Add problem reporting support to the solver. There aren't data
  structures for the problem solutions yet and support for selecting
  solutions and re-solving is missing as well.
This commit is contained in:
Ingo Weinhold
2013-04-03 02:15:57 +00:00
parent 2d0563f357
commit 1a4d020daf
17 changed files with 1321 additions and 351 deletions
+1
View File
@@ -101,6 +101,7 @@ PRIVATE_SYSTEM_LIBS =
libfluidsynth.so
libilmimf.so
liblpsolve55.so
libpackage-add-on-libsolv.so
libroot-addon-icu.so
;
SYSTEM_SERVERS = app_server cddb_daemon debug_server input_server mail_daemon