[maemo-commits] [maemo-commits] /branches/osso-application-installer/system-dpkg/ - marivoll - r1419
From: www-data www-data at stage.maemo.orgDate: Mon Nov 14 19:35:40 EET 2005
- Previous message: [maemo-commits] /branches/osso-application-installer/system-dpkg/app-installer-tool/ - marivoll - r1417
- Next message: [maemo-commits] /branches/osso-application-installer/system-dpkg/debian/ - marivoll - r1420
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
* src/Makefile.am: Removed references to install_desktop and install_service. They are not used. * configure.ac: Bumped version to 3.0-0. Use dpkg with system database instead of with the one in /var/lib/install. Maintain list of handled packages. * app-installer-tool/Makefile.am (aistatedir, app_installer_tool_CFLAGS): Define and pass STATEDIR to app-installer-tool.c. (install-data-local): Create the directory. * app-installer-tool/app-installer-tool.c (perror_exit, read_package_list, write_package_list, add_package_to_list, remove_package_from_list): New. (do_list): Added argument for package names to be listed. Use read_package_list to get the default list of package names. Don't pass --admindir option to dpkg-query. Ignore errors from unknown packages. Ignore "not-installed" packages. (do_describe_file): Don't pass --admindir option to dpkg-query. (dump_failed_relations): Updated scanf strings for output from newer dpkg. (do_install): Don't use fakeroot. Don't pass --root option to dpkg. Call add_package_to_list. (do_remove): Don't use fakeroot. Don't pass --root option to dpkg. Call remove_package_from_list when removal succeeded. (main): Pass rest of command line to do_list. * src/core.c (spawn_app_installer_tool): Don't 'sudo' to 'install', sudo to root. On scratchbox, use fakeroot instead of doing nothing special. (list_packages): Don't ignore the "maemo" package. (package_already_installed): Renamed to package_in_list. Do not ignore broken packages. (existing_package_version): New, to be able to find packages that are not in the list. (package_file_info): Reject packages that depend on "maemo" as incompatible. (install_package): Allow upgrades and downgrades, but use confirm_new_version to confirm them. * src/ui/represent.h, src/ui/represent.c (CmpFragment, CmpVersion, confirm_new_version): New. U projects/haf/branches/osso-application-installer/system-dpkg/ChangeLog U projects/haf/branches/osso-application-installer/system-dpkg/Makefile.am U projects/haf/branches/osso-application-installer/system-dpkg/app-installer-tool/Makefile.am U projects/haf/branches/osso-application-installer/system-dpkg/app-installer-tool/app-installer-tool.c U projects/haf/branches/osso-application-installer/system-dpkg/configure.ac U projects/haf/branches/osso-application-installer/system-dpkg/src/Makefile.am U projects/haf/branches/osso-application-installer/system-dpkg/src/core.c U projects/haf/branches/osso-application-installer/system-dpkg/src/ui/represent.c U projects/haf/branches/osso-application-installer/system-dpkg/src/ui/represent.h URL: https://stage.maemo.org/viewcvs.cgi?view=rev&root=maemo&rev=1419 /branches/osso-application-installer/system-dpkg/
- Previous message: [maemo-commits] /branches/osso-application-installer/system-dpkg/app-installer-tool/ - marivoll - r1417
- Next message: [maemo-commits] /branches/osso-application-installer/system-dpkg/debian/ - marivoll - r1420
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]