Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2009 12:51:33 +0200
From:      =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb@users.sourceforge.net>
To:        ports@FreeBSD.org
Subject:   Ports backend for PackageKit
Message-ID:  <488F6579-B531-4F23-8A1E-BC562118E82C@users.sourceforge.net>

next in thread | raw e-mail | index | archive | help
Hi all,

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:
http://www.algonet.se/~afb/freebsd/packagekit/packagekit-freebsd.png
http://www.algonet.se/~afb/freebsd/packagekit/kpackagekit-freebsd.png


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
see http://cgit.freedesktop.org/packagekit/tree/backends/ports/

Will try to get the ports for the old version added after backport:
"PackageKit" (only "dummy" now), "gnome-packagekit", "kpackagekit"


Feedback appreciated.
--anders




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?488F6579-B531-4F23-8A1E-BC562118E82C>