PackageKit
From openSUSE
(From packagekit.org: )
PackageKit is a D-Bus abstraction layer that allows the session user to manage packages in a secure way using a cross-distro, cross-architecture API.
Contents |
Integration with OpenSUSE
Base System Requirements (not met in OpenSUSE 10.3)
For now we will not create packages for 10.3 as it would require to replace a lot of software with newer / recompiled versions. You should use Factory for development.
- dbus-1 1.1.3 (make sure it's a version newer than August 2007)
Version 1.1.20 is in Factory
- PolicyKit 0.7
Version 0.7 is in Factory.
- libzypp >= 4.3.2
Packages are available here [1]
- intltool >= 0.36.3-1
Version 0.37.1 has been submitted to factory.
Progress
PackageKit and gnome-packagekit Version 0.1.9.1 are submitted to Factory.
Currently the PolicyKit helpers do not have the necessary perms yet. See the PolicyKit changelog to set these. Setting the PolicyKit helper perms manually
If you want to build your own version from source -
Build the zypp backend Use the zypp backend as default at runtime when not specified We use PolicyKit as the default security framework Tell the install where to find dbus (does not quite work) Optional - turn on debugging and turn of optimization for better results in gdb
./autogen.sh CFLAGS="-g -O0" --with-default-backend=zypp --with-dbus-sys=/etc/dbus-1/system.d --enable-zypp
Running
The dbus activation problems have been solved so the packagekitd daemon will now activate automatically when needed.
To test and get debug info from PackageKit with zypp as backend use the script in the src dir
./run-pk.sh zypp
Links
Some links for development:

