packagekit-glib2
Description:
Library for accessing PackageKit using GLib.
- Home: http://www.packagekit.org/
- C-Documentation: http://www.freedesktop.org/software/PackageKit/gtk-doc/
- Devhelp-Package download
Content:
Namespaces:
- Pk
- Category
- Client
- ClientHelper
- Control
- Desktop
- Details
- DistroUpgrade
- Error
- EulaRequired
- Files
- ItemProgress
- MediaChangeRequired
- Package
- PackageSack
- PackageSackResults
- Progress
- RepoDetail
- RepoSignatureRequired
- RequireRestart
- Results
- Source
- Task
- TransactionList
- TransactionPast
- UpdateDetail
- Bitfield - A bitfield capable of storing enumerations with up to 64 values.
- EnumMatch - Matching an enumerated type to a string
- Authorize - The authorization result
- DistroUpgradeEnum - The distro upgrade status
- ErrorEnum - The error type
- Exit - How the backend exited
- Filter - The filter types
- Group - The group type
- Info - The enumerated types used in
Package
- these have to refer to a specific package action, rather than a general state - MediaType - The media type
- Network - Network type
- OfflineAction - Actions that can be taken after an offline operation.
- OfflineFlags - Flags to be used for the method invocations.
- PackageSackSortType - Type of sort to perform.
- ProgressType - Flag to show which progress field has been updated.
- Restart - What restart we need to after a transaction, ordered by severity
- Role - What we were asked to do, this never changes for the lifetime of the transaction.
- SigType - The signature type type
- Status - What status we are now; this can change for each transaction giving a status of what sort of thing is happening Icons that change to represent the current status of the transaction will use these constants If you add to these, make sure you add filenames in gpk-watch.
- TransactionFlag - The transaction flags that alter how the transaction is handled
- UpdateState - What state the update is in
- UpgradeKind - The type of distribution upgrade to perform
- ClientError - Errors that can be thrown
- ControlError - Errors that can be thrown
- OfflineError - Errors that can be thrown
- public const string DBUS_INTERFACE
The DBUS interface used by the PackageKit service.
- public const string DBUS_INTERFACE_OFFLINE
The DBUS interface for PackageKit offline update functionality
- public const string DBUS_INTERFACE_TRANSACTION
The DBUS interface for PackageKit transactions.
- public const string DBUS_PATH
The DBUS path to the PackageKit service.
- public const string DBUS_SERVICE
The DBUS name for the PackageKit system service.
- public const string DESKTOP_DEFAULT_APPLICATION_DIR
The default location for the desktop files
- public const int MAJOR_VERSION
- public const int MICRO_VERSION
- public const int MINOR_VERSION
- public const string OFFLINE_DESTDIR
- public const string OFFLINE_RESULTS_GROUP
- public const string PACKAGE_IDS_DELIM
- public const int PACKAGE_ID_ARCH
Alias to get an arch field from the result of pk_package_id_split
- public const int PACKAGE_ID_DATA
Alias to get a data field from the result of pk_package_id_split
- public const int PACKAGE_ID_NAME
Alias to get a name field from the result of pk_package_id_split
- public const int PACKAGE_ID_VERSION
Alias to get a version field from the result of pk_package_id_split
- public const string SYSTEM_PACKAGE_CACHE_FILENAME
- public const string SYSTEM_PACKAGE_LIST_FILENAME
- public delegate bool PackageSackFilterFunc (Package package)
Function to filter packages in PackageSack.
- public delegate void ProgressCallback (Progress progress, ProgressType type)
Function that is called when progress updates are given.
- public Quark client_error_quark ()
- public Quark control_error_quark ()
- public void debug_add_log_domain (string log_domain)
Add a log domain to the debug output.
- public bool debug_is_verbose ()
Check if verbose debugging is enabled.
- public void debug_set_verbose (bool verbose)
Set if verbose debugging is enabled.
- public DistroUpgradeEnum distro_upgrade_enum_from_string (string upgrade)
- public unowned string distro_upgrade_enum_to_string (DistroUpgradeEnum upgrade)
- public unowned string enum_find_string (EnumMatch table, uint value)
Search for a enum value in a table of constants.
- public uint enum_find_value (EnumMatch table, string string)
Search for a string value in a table of constants.
- public ErrorEnum error_enum_from_string (string code)
- public unowned string error_enum_to_string (ErrorEnum code)
- public string get_distro_id ()
Get the distribution ID for the current host, typically "distro;version;arch"
- public string iso8601_from_date (Date date)
Convert a date into an ISO8601 data string.
- public string iso8601_present ()
Get the current date / time as an ISO8601 string.
- public OfflineAction offline_action_from_string (string action)
- public unowned string offline_action_to_string (OfflineAction action)
- public bool offline_auth_cancel () throws Error
- public bool offline_auth_clear_results () throws Error
- public bool offline_auth_invalidate () throws Error
- public bool offline_auth_set_action (OfflineAction action) throws Error
- public bool offline_auth_set_prepared_ids (string package_ids) throws Error
- public bool offline_auth_set_prepared_upgrade (string name, string release_ver) throws Error
- public bool offline_auth_set_results (Results results) throws Error
- public bool offline_auth_trigger (OfflineAction action) throws Error
- public bool offline_auth_trigger_upgrade (OfflineAction action) throws Error
- public bool offline_cancel (Cancellable? cancellable = null) throws Error
Cancels the offline operation that has been scheduled.
- public bool offline_cancel_with_flags (OfflineFlags flags, Cancellable? cancellable = null) throws Error
Cancels the offline operation that has been scheduled.
- public bool offline_clear_results (Cancellable? cancellable = null) throws Error
Clears the last offline operation report, which may be success or failure.
- public bool offline_clear_results_with_flags (OfflineFlags flags, Cancellable? cancellable = null) throws Error
Clears the last offline operation report, which may be success or failure.
- public Quark offline_error_quark ()
- public OfflineAction offline_get_action () throws Error
Gets the action that will be taken after the offline action has completed.
- public FileMonitor offline_get_action_monitor (Cancellable? cancellable = null) throws Error
Gets a file monitor for the trigger.
- public string[] offline_get_prepared_ids () throws Error
Gets the package-ids in the prepared transaction.
- public FileMonitor offline_get_prepared_monitor (Cancellable? cancellable = null) throws Error
Gets a file monitor for the prepared transaction.
- public PackageSack offline_get_prepared_sack () throws Error
Gets a package sack of the packages in the prepared transaction.
- public FileMonitor offline_get_prepared_upgrade_monitor (Cancellable? cancellable = null) throws Error
Gets a file monitor for the prepared system upgrade transaction.
- public string offline_get_prepared_upgrade_name () throws Error
Gets the name of the prepared system upgrade in the prepared transaction.
- public string offline_get_prepared_upgrade_version () throws Error
Gets the version of the prepared system upgrade in the prepared transaction.
- public Results offline_get_results () throws Error
Gets the last result of the offline transaction.
- public uint64 offline_get_results_mtime () throws Error
Gets the modification time of the prepared transaction.
- public bool offline_trigger (OfflineAction action, Cancellable? cancellable = null) throws Error
Triggers the offline update so that the next reboot will perform the pending transaction.
- public bool offline_trigger_upgrade (OfflineAction action, Cancellable? cancellable = null) throws Error
Triggers the offline system upgrade so that the next reboot will perform the pending transaction.
- public bool offline_trigger_upgrade_with_flags (OfflineAction action, OfflineFlags flags, Cancellable? cancellable = null) throws Error
Triggers the offline system upgrade so that the next reboot will perform the pending transaction.
- public bool offline_trigger_with_flags (OfflineAction action, OfflineFlags flags, Cancellable? cancellable = null) throws Error
Triggers the offline update so that the next reboot will perform the pending transaction.
- public void polkit_agent_close ()
- public int polkit_agent_open ()
- public string[] ptr_array_to_strv (GenericArray<string> array)
Form a composite string array of strings.