From: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= on
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

_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"