/usr/share/dbus-1/interfaces/org.freedesktop.PackageKit.xml is in packagekit 0.8.12-1ubuntu5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 | <!DOCTYPE node PUBLIC
"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" [
<!ENTITY ERROR_GENERAL "org.freedesktop.packagekit.Denied">
]>
<node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<interface name="org.freedesktop.PackageKit">
<doc:doc>
<doc:description>
<doc:para>
The root interface is used for interacting with the daemon.
</doc:para>
</doc:description>
</doc:doc>
<!--*****************************************************************************************-->
<property name="VersionMajor" type="u" access="read">
<doc:doc>
<doc:description>
<doc:para>
The major version number.
</doc:para>
</doc:description>
</doc:doc>
</property>
<property name="VersionMinor" type="u" access="read">
<doc:doc>
<doc:description>
<doc:para>
The minor version number.
</doc:para>
</doc:description>
</doc:doc>
</property>
<property name="VersionMicro" type="u" access="read">
<doc:doc>
<doc:description>
<doc:para>
The micro version number.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="BackendName" type="s" access="read">
<doc:doc>
<doc:description>
<doc:para>
The backend name, e.g. <doc:tt>"yum"</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="BackendDescription" type="s" access="read">
<doc:doc>
<doc:description>
<doc:para>
The backend description, e.g. <doc:tt>"Yellow Dog Update Modifier"</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="BackendAuthor" type="s" access="read">
<doc:doc>
<doc:description>
<doc:para>
The backend author, e.g. <doc:tt>"Joe Bloggs <joe&blogs.com>"</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="Roles" type="t" access="read">
<doc:doc>
<doc:description>
<doc:para>
The roles the backend supports, e.g. <doc:tt>search-name|refresh-cache</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="Provides" type="t" access="read">
<doc:doc>
<doc:description>
<doc:para>
The provides the backend supports, e.g. <doc:tt>codec|font|hardware-driver</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="Groups" type="t" access="read">
<doc:doc>
<doc:description>
<doc:para>
The groups the backend supports, e.g. <doc:tt>accessories|games</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="Filters" type="t" access="read">
<doc:doc>
<doc:description>
<doc:para>
The filters the backend supports, e.g. <doc:tt>installed|newest</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="MimeTypes" type="as" access="read">
<doc:doc>
<doc:description>
<doc:para>
The mime-types the backend supports, e.g.
<doc:tt>['application/x-rpm;', 'application/x-deb']</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="Locked" type="b" access="read">
<doc:doc>
<doc:description>
<doc:para>
Set when the backend is locked and native tools would fail.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="NetworkState" type="u" access="read">
<doc:doc>
<doc:description>
<doc:para>
Gets the network state from the daemon. This is provided as some clients may not want
to use NetworkManager if the system daemon is configured to use something else.
</doc:para>
<doc:para>
If the system is managed using NetworkManager then the following
states are supported:
<doc:tt>unknown</doc:tt>, <doc:tt>offline</doc:tt>, <doc:tt>online</doc:tt>,
<doc:tt>wifi</doc:tt>, <doc:tt>mobile</doc:tt> or <doc:tt>wired</doc:tt>.
If the system is configured for legacy UNIX network fallback, or NetworkManager
is not running then the folowing states are supported:
<doc:tt>unknown</doc:tt>, <doc:tt>offline</doc:tt> or <doc:tt>online</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<property name="DistroId" type="s" access="read">
<doc:doc>
<doc:description>
<doc:para>
The distribution identification, in the
distro;version;arch form e.g.
<doc:tt>"debian;squeeze/sid;x86_64"</doc:tt>.
</doc:para>
</doc:description>
</doc:doc>
</property>
<!--*****************************************************************************************-->
<method name="CanAuthorize">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<doc:doc>
<doc:description>
<doc:para>
Allows a client to find out if it would be allowed to authorize an action.
</doc:para>
</doc:description>
</doc:doc>
<arg type="s" name="action_id" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The action ID, e.g. <doc:tt>org.freedesktop.packagekit.system-network-proxy-configure</doc:tt>
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="u" name="result" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
The result, either <doc:tt>yes</doc:tt>, <doc:tt>no</doc:tt> or <doc:tt>interactive</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="CreateTransaction">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<doc:doc>
<doc:description>
<doc:para>
Creates a new transaction that can have operations done on
it.
Note: The dameon will automatically destroy this transaction
if it is not used after a few minutes.
</doc:para>
</doc:description>
</doc:doc>
<arg type="o" name="object_path" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
The object_path, e.g. <doc:tt>/45_dafeca</doc:tt>
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="GetTimeSinceAction">
<doc:doc>
<doc:description>
<doc:para>
This method allows us to query how long since an action has successfully completed.
</doc:para>
</doc:description>
</doc:doc>
<arg type="u" name="role" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The role enum, e.g. <doc:tt>update-system</doc:tt>
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="u" name="seconds" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
The amount of time in seconds
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="GetTransactionList">
<doc:doc>
<doc:description>
<doc:para>
Gets the transaction list of any transactions that are in progress
</doc:para>
</doc:description>
</doc:doc>
<arg type="ao" name="transactions" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
A list of transaction ID's
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="StateHasChanged">
<doc:doc>
<doc:description>
<doc:para>
This method suggests to PackageKit that the package backend state may have changed.
This allows plugins to the native package manager to suggest that PackageKit drops
it's caches.
</doc:para>
</doc:description>
</doc:doc>
<arg type="s" name="reason" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The reason of the state change. Valid reasons are <doc:tt>resume</doc:tt> or
<doc:tt>posttrans</doc:tt>.
Resume is given a lower priority than posttrans.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="SuggestDaemonQuit">
<doc:doc>
<doc:description>
<doc:para>
Suggests to the daemon that it should quit as soon as possible, for instance if a native
package management tool is waiting to be used.
</doc:para>
</doc:description>
</doc:doc>
</method>
<!--*****************************************************************************************-->
<method name="GetPackageHistory">
<doc:doc>
<doc:description>
<doc:para>
Gets the history for a given package name.
This uses the internal PackageKit history database and will not
return transactions done outside of PackageKit using a distribution
native tool.
</doc:para>
</doc:description>
</doc:doc>
<arg type="as" name="names" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The package names to return history for, e.g. <doc:tt>[ colord ]</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="u" name="count" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The maximum number of past transactions to return, or 0 for no limit.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="a{saa{sv}}" name="history" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
The list of actions performed on this package. The array may contain
the following keys of types:
<doc:tt>info[uint]</doc:tt>,
<doc:tt>user-id[uint]</doc:tt>,
<doc:tt>version[string]</doc:tt>,
<doc:tt>source[string]</doc:tt>,
<doc:tt>timestamp[uint64]</doc:tt>.
Other keys and values may be added in the future.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="GetDaemonState">
<doc:doc>
<doc:description>
<doc:para>
Gets the debugging state from the daemon.
No secure state will be shown, and all information is for reference only.
</doc:para>
</doc:description>
</doc:doc>
<arg type="s" name="state" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
The state of the dameon at this specific moment.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<method name="SetProxy">
<annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
<doc:doc>
<doc:description>
<doc:para>
Sets the proxy used by the dameon.
</doc:para>
</doc:description>
<doc:permission>Callers need the org.freedesktop.packagekit.set-proxy</doc:permission>
</doc:doc>
<arg type="s" name="proxy_http" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The HTTP proxy, e.g. <doc:tt>username:password@server:port</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="s" name="proxy_https" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The HTTPS proxy, e.g. <doc:tt>username:password@server:port</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="s" name="proxy_ftp" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The FTP proxy, e.g. <doc:tt>username:password@server:port</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="s" name="proxy_socks" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The SOCKS proxy, e.g. <doc:tt>username:password@server:port</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="s" name="no_proxy" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The comma seporated list of sites to not use the proxy for, e.g.
<doc:tt>127.0.0.1,localmirror.org</doc:tt>.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
<arg type="s" name="pac" direction="in">
<doc:doc>
<doc:summary>
<doc:para>
The PAC file for the proxy, e.g.
<doc:tt>/etc/network/school.pac</doc:tt>.
Note: Most backends will not be able to use a PAC file.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</method>
<!--*****************************************************************************************-->
<signal name="TransactionListChanged">
<doc:doc>
<doc:description>
<doc:para>
The transaction list has changed, because either a transaction has finished or a new
transaction created.
</doc:para>
</doc:description>
</doc:doc>
<arg type="as" name="transactions" direction="out">
<doc:doc>
<doc:summary>
<doc:para>
A list of transaction ID's.
</doc:para>
</doc:summary>
</doc:doc>
</arg>
</signal>
<!--*****************************************************************************************-->
<signal name="RestartSchedule">
<doc:doc>
<doc:description>
<doc:para>
A system restart has been sceduled
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!--*****************************************************************************************-->
<signal name="RepoListChanged">
<doc:doc>
<doc:description>
<doc:para>
This signal is emitted when the repository list has changed
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!--*****************************************************************************************-->
<signal name="UpdatesChanged">
<doc:doc>
<doc:description>
<doc:para>
This signal is emitted when the number of updates has changed
</doc:para>
</doc:description>
</doc:doc>
</signal>
<!--*****************************************************************************************-->
<signal name="Changed">
<doc:doc>
<doc:description>
<doc:para>
This signal is emitted when a property on the interface changes.
</doc:para>
</doc:description>
</doc:doc>
</signal>
</interface>
</node>
|