Add new mport_setting_get and mport_setting_set functions to allow users to customize settings. The sqlite3 master database now contains a settings table with name and val fields.There are two obvious uses for this:1. defining the country the user is in to pick the nearest mirror list.2. storing the last time we fetched an index so it doesn't try to do it all the time when it's out of date and we haven't generated one on stargazer yet.
Next developement snapshot.Many bug fixes: hardlinks work correctly, exec/unxec parsing, etc...Packages now have a status, on install it starts as 'dirty', and is set to'clean' if the install succeeds. Similar logic is used in package deletion,which now tries harder to keep going after errors.
Latest developement version of libmport.Changes:It is now possible to create, install, and delete packages from a systemwith the library.The install primative now uses the progress callback system to give the userfeedback during the install.Support for installing into a chroot envirement is included at the librarylevel. This is useful if you have a GUI app and you don't want your entireprocess stuck in the chroot.Many function names have been changed in an effort to improve the library'sorginization.Many bug fixes and subtle changes.Todo:Docs: library overview. function reference. mport bundle specification.The merge primative.The fetch primative.The update primative.Top level functions to do things like "fetch this bundle, its depends, andthen install them all."Some of the sematics are still up in the air. For example, gtk12 andgtk2 both have a pkgname of gtk. libmport doesn't allow two package withthe same name to be installed.Hard links are not implemented in a mport bundle.Much more testing and bug fixing is needed.