Ports backend for PackageKit
Anders F Björklund
afb at users.sourceforge.net
Wed Sep 16 11:08:33 UTC 2009
I have made a "ports" backend for PackageKit (http://packagekit.org/)
that uses ports-mgmt/portupgrade and optionally ports-mgmt/portaudit.
It's a spawned backend, which means that the dbus deamon will start
a Ruby script that then dispatches command for as long as it runs...
It's currently included in the next generation PackageKit (0.5.x),
which requires Glib version 2.21.5+ and PolicyKit version 0.92+
that aren't available in the ports tree. It should be possible to
backport the backend to the previous PackageKit (0.4.x) meanwhile.
PackageKit has one frontend for GNOME (gnome-packagekit) and one
frontend for (KPackageKit), both of them are running OK on FreeBSD:
The backend is a "source" backend, which means that if there isn't
a binary package available it will install the source port instead.
It will check for packages first though, and it also build packages.
(i.e. it uses "portupgrade -Pp"). All default OPTIONS are selected.
It's not intended for "advanced" users, so those will still need to
use portupgrade directly or a graphic interface to it (like BPM).
Currently the information for codecs/fonts/mimetypes/firmware/etc
isn't available in the ports/packages, so those features are missing.
For more information see http://www.packagekit.org/ and for code
Will try to get the ports for the old version added after backport:
"PackageKit" (only "dummy" now), "gnome-packagekit", "kpackagekit"
More information about the freebsd-ports