X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..3c7567a586690042fdd899c7e82543cb31a3b853:/doc/libapt-pkg2_to_3.txt diff --git a/doc/libapt-pkg2_to_3.txt b/doc/libapt-pkg2_to_3.txt index c1f71f9f2..58e7b30cf 100644 --- a/doc/libapt-pkg2_to_3.txt +++ b/doc/libapt-pkg2_to_3.txt @@ -3,7 +3,7 @@ people need to be aware of.. Many of this changes are done so that most old source will continue to function, but perhaps at reduced functionality. * pkgDepCache is no longer self initilizing, you have to call the Init - method seperately after constructing it. Users of pkgCacheFile do not + method separately after constructing it. Users of pkgCacheFile do not need to worry about this * GetCandidateVer/etc is gone from the pkgCache. It exists only in the DepCache and is just an inline around the new Policy class @@ -27,11 +27,11 @@ source will continue to function, but perhaps at reduced functionality. include the trailing \n. * GenCaches::SelectFile accepts a site parameter now too. * Global version compare functions are gone. If you - #define APT_COMPATABILITY 1 + #define APT_COMPATIBILITY 1 They will come back as they were before. Code should be updated to reference the compare functions to the VersioningSystem (VS) referenced by the Cache or _system structures. -* Initialization is now two stage (define APT_COMPATABILITY..) The first +* Initialization is now two stage (define APT_COMPATIBILITY..) The first stage, pkgInitConfig is called before commandline parsing, and pkgInitSystem is called after. This gives the user the oppertunity to override default settings from the config files before startup has been @@ -55,7 +55,7 @@ source will continue to function, but perhaps at reduced functionality. (should be transparent largely) * Locking is handled differently, there is no dpkg lock class, the _system class provides Lock/UnLock methods -* pkgDepCache is not a subclass of pkgCache, it agregates it now. Some +* pkgDepCache is not a subclass of pkgCache, it aggregates it now. Some compatibility functions are provided that make this transition fairly easy. * The following functions have had minor argument changes: