[maemo-commits] [maemo-commits] /trunk/osso-application-installer/ - marivoll - r3792

From: www-data www-data at stage.maemo.org
Date: Thu Apr 20 17:07:21 EEST 2006
	Completed support for automatically removing non-user packages
	that have been automatically installed and are no longer needed.
	
	* src/apt-worker.cc (auto_flags, package_count, save_auto_flags,
	load_auto_flags, restore_auto_flags): New, to keep track of which
	packages have been installed automatically.
	(cache_init): Maintain package_count and auto_flags.  Call
	load_auto_flags.
	(operation): Call save_auto_flags after everything has been done.
	(is_auto_package): Use the real flag now.
	(cache_reset, cache_reset_package): 'Refactored' to allow
	resetting of individual packages now that we need to get the auto
	flag right as well.
	(mark_for_install): Use cache_reset_package instead of MarkKeep.
	(mark_for_remove): Added only_maybe parameter.  Reset package if
	it can't be removed and only_maybe is true.  Set only_maybe true
	when recursing.


U   projects/haf/trunk/osso-application-installer/ChangeLog
U   projects/haf/trunk/osso-application-installer/src/apt-worker.cc

URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=3792

/trunk/osso-application-installer/

More information about the maemo-commits mailing list