-
Eskil Heyn Olsen authored
* components/rpmview/Makefile.am: * components/rpmview/nautilus-rpm-verify-window.c: (nautilus_rpm_verify_window_initialize), (nautilus_rpm_verify_window_set_message), (nautilus_rpm_verify_window_update_message), (nautilus_rpm_verify_window_set_progress), (nautilus_rpm_verify_window_set_error_mode): * components/rpmview/nautilus-rpm-verify-window.h: * components/rpmview/nautilus-rpm-view-install.c: (nautilus_rpm_view_install_package_callback), (nautilus_rpm_view_uninstall_package_callback): * components/rpmview/nautilus-rpm-view-private.h: * components/rpmview/nautilus-rpm-view.c: (nautilus_rpm_view_initialize), (nautilus_rpm_view_destroy), (add_to_clist), (nautilus_rpm_view_update_from_uri), (verify_failed_signal), (verify_progress_signal), (nautilus_rpm_view_verify_files), (nautilus_rpm_view_verify_package_callback): Fixed bug 5119, update rpmview to use EazelPackageSystem. I still need to hook up the continue signal from the verifywindow, this is opened as bug 5123. * components/services/install/command-line/Makefile.am: * components/services/install/command-line/eazel-alt-install-corba. c: include eazel-package-system-types instead of eazel-install-types.h * components/services/install/command-line/eazel-test-packsys.c: (progress_signal), (failed_signal), (test_verify), (main): Implemented the test for verfiy. * components/services/install/lib/Makefile.am: Mangled to fix 5121. * components/services/install/lib/eazel-softcat.h: * components/services/install/lib/eazel-install-tests.h: * components/services/install/lib/eazel-install-xml-package-list.h: * components/services/install/lib/eazel-install-protocols.h: * components/services/install/lib/eazel-install-public.h: * components/services/install/lib/eazel-install-query.h: * components/services/install/lib/eazel-install-logic.h: * components/services/install/lib/eazel-install-metadata.h: * components/services/install/lib/eazel-install-object.c: * components/services/install/lib/eazel-install-problem.h: * components/services/install/lib/eazel-install-corba-callback.h: * components/services/install/lib/eazel-install-corba-types.h: include eazel-package-system-types instead of eazel-install-types.h * components/services/install/lib/eazel-install-logic.c: (eazel_install_download_packages), (eazel_install_check_for_file_conflicts), (eazel_install_start_signal), (eazel_install_end_signal), (eazel_install_progress_signal), (eazel_install_check_existing_packages), (eazel_uninstall_upward_traverse), (eazel_uninstall_downward_traverse), (eazel_uninstall_check_for_install): Fixed signals and use FILL_NO_DIRS_IN_PROVIDES * components/services/install/lib/eazel-install-protocols.c: (gnome_vfs_fetch_remote_file), (eazel_install_fetch_package): Use FILL_NO_DIRS_IN_PROVIDES * components/services/install/lib/eazel-install-rpm-glue.h: * components/services/install/lib/eazel-install-rpm-glue.c: (eazel_install_do_rpm_dependency_check): include eazel-package-system-types instead of eazel-install-types.h Also open/close the db when doing the rpmdepCheck call. * components/services/install/lib/eazel-install-types.c: * components/services/install/lib/eazel-install-types.h: Removed * components/services/install/lib/eazel-package-system.h: * components/services/install/lib/eazel-package-system-private.h: * components/services/install/lib/eazel-package-system.c: (eazel_package_system_load_implementation), (eazel_package_system_verify), (eazel_package_system_emit_progress): * components/services/install/lib/eazel-package-system-rpm3-private .h: * components/services/install/lib/eazel-package-system-rpm3.c: (monitor_rpm_process_pipe), (eazel_package_system_rpm3_create_dbs), (eazel_package_system_rpm3_open_dbs), (eazel_package_system_rpm3_close_dbs), (eazel_package_system_rpm3_free_dbs), (rpm_packagedata_fill_from_rpm_header), (rpm_packagedata_fill_from_file), (rpm_packagedata_new_from_file), (eazel_package_system_rpm3_load_package), (eazel_package_system_rpm3_query_impl), (eazel_package_system_rpm3_query_substr), (eazel_package_system_rpm3_query), (check_if_all_packages_seen), (eazel_package_system_rpm3_install_uninstall), (eazel_package_system_rpm3_verify_impl), (get_num_of_files_in_packages), (eazel_package_system_rpm3_verify), (eazel_package_system_rpm3_finalize), (eazel_package_system_rpm3_new), (eazel_package_system_implementation): * components/services/install/lib/eazel-package-system-rpm4.c: (eazel_package_system_rpm4_query), (eazel_package_system_rpm4_finalize), (eazel_package_system_rpm4_class_initialize), (eazel_package_system_rpm4_initialize), (eazel_package_system_rpm4_get_type), (eazel_package_system_rpm4_new), (eazel_package_system_implementation): * components/services/install/lib/eazel-package-system-rpm4.h: * components/services/install/lib/eazel-package-system-skeleton.c: (eazel_package_system_skeleton_verify): Shuffled the order of the info longs and the package in the progress signal. Implemented verify in rpm3 (fixes bug 5120) First pieces of code for the rpm4 module. Unfortunately, since rpmview now also has a eazelpackagesystem object, I ran into the problem of database locking. The rpmview would have a read-only version of all the db files, thereby failing in install because trilobite-eazel-install-service spawned a rpm that could not get exclusive lock. To fix this, I now have the db closed at all times, but open/close it everytime I do something. Unfortunately for the queryloops in eazel-install-logic, this means opening/closing on every query. Optionally, I should consider exposing eazel_package_system_open/close_dbs, so the caller can do it. But that makes the api a bit more cumbersome. * components/services/install/lib/eazel-package-system-types.h: * components/services/install/lib/eazel-package-system-types.c: (eazel_install_protocol_as_string), (categorydata_new), (categorydata_list_copy), (categorydata_copy), (categorydata_destroy_foreach), (categorydata_destroy), (categorydata_list_destroy), (packagedata_new), (packagedata_list_copy), (packagedata_copy), (packagedata_fill_in_missing), (packagedata_destroy), (packagedata_remove_soft_dep), (rpmfilename_from_packagedata), (rpmname_from_packagedata), (packagedata_get_readable_name), (packagedata_get_name), (packagedata_hash_equal), (packagedata_status_enum_to_str), (packagedata_status_str_to_enum), (packagedata_modstatus_enum_to_str), (packagedata_modstatus_str_to_enum), (packagedata_add_pack_to), (packagedata_add_pack_to_breaks), (packagedata_add_pack_to_soft_depends), (packagedata_add_pack_to_hard_depends), (packagedata_add_pack_to_modifies), (packagedata_list_prune), (packagerequirement_new), (eazel_install_package_provides_basename_compare), (eazel_install_package_provides_compare), (eazel_install_package_name_compare), (eazel_install_package_compare), (eazel_install_requirement_dep_compare), (eazel_install_requirement_dep_name_compare), (eazel_install_package_version_compare), (eazel_install_package_other_version_compare), (eazel_install_package_matches_versioning), (eazel_install_gtk_marshal_NONE__POINTER_INT_INT_INT_INT_INT_INT), (gstr_indent), (dump_package_list), (packagedata_dump_int), (packagedata_dump): Renamed eazel-install-types to eazel-package-system-types * components/services/install/nautilus-view/Makefile.am: Fixed linking after fix to 5121. * components/services/install/nautilus-view/nautilus-service-instal l-view.h: include eazel-package-system-types instead of eazel-install-types.h * components/services/install/server/Makefile.am: Fixed linking after fix to 5121. * components/services/trilobite/libtrilobite/trilobite-root-helper. c: (eazel_helper_start): Don't mention the info msg's from userhelper. * po/POTFILES.in: Renamed eazel-install-types to eazel-package-system-types.
0f7688c1
To find the state of this project's repository at the time of any of these versions, check out the tags.