PackageKit

From openSUSE

(Difference between revisions)
Revision as of 10:39, 28 February 2008
Haass (Talk | contribs)

� Previous diff
Revision as of 21:35, 13 March 2008
Sreeves1 (Talk | contribs)

Next diff →
Line 9: Line 9:
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. 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.3 (make sure it's a version newer than August 2007)+* dbus-1 1.1.3 (make sure it's a version newer than August 2007)
- Packages are available here [http://download.opensuse.org/repositories/home:/joshkress:/PackageKit/openSUSE_Factory/]+ Version 1.1.20 is in Factory
-* PolicyKit 0.5+* PolicyKit 0.7
- Version 0.6 is in Factory.+ Version 0.7 is in Factory.
-* [[libzypp]] >= 4.2.3+* [[libzypp]] >= 4.3.2
Packages are available here [http://download.opensuse.org/repositories/openSUSE:Factory/standard/] Packages are available here [http://download.opensuse.org/repositories/openSUSE:Factory/standard/]
* intltool >= 0.36.3-1 * intltool >= 0.36.3-1
 + Version 0.37.1 has been submitted to factory.
=== Progress === === Progress ===
-To compile PackageKit with zypp as backend you should execute autogen.sh at least with the following options:+PackageKit and gnome-packagekit Version 0.1.9.1 are submitted to Factory.
- ./autogen.sh --enable-zypp --with-security-framework=dummy --with-default-backend=zypp+
 +Currently the PolicyKit helpers do not have the necessary perms yet. See the PolicyKit changelog to set these.
 +[https://bugzilla.novell.com/show_bug.cgi?id=295341 Setting the PolicyKit helper perms manually]
-=== WARNING ===+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
-You are using PackageKit with a dummy as security-backend. This is only for testing and developing purposes. ALL USERS CAN DO ANYTHING.+ ./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.
-=== Backend ===+To test and get debug info from PackageKit with zypp as backend use the script in the src dir
- +
-To run and test PackageKit with zypp as backend its recommended to use+
./run-pk.sh zypp ./run-pk.sh zypp

Revision as of 21:35, 13 March 2008

(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.
  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:

http://www.packagekit.org

http://del.icio.us/joshkress/PackageKit

http://ken.vandine.org/?p=267