[packagekit] New backend: FreeBSD Ports

Anders F Björklund afb at algonet.se
Sun Aug 16 15:25:59 PDT 2009


When talking about the existing Portage backend, and
the running of PackageKit on FreeBSD mentioned earlier,
I made a simple new read-only implementation for Ports...

http://www.freebsd.org/ports/

It uses a dispatched ruby backend and portupgrade/pkgtools,
and will install either ports or packages - as configured.
(once it actually installs/removes anything, that is...)

http://wiki.freebsd.org/portupgrade

Currently neither PolicyKit (i.e. "One") nor DeviceKit are
running on FreeBSD, so it runs with dummy security framework
and dummy battery framework - for another read-only reason.

http://www.algonet.se/~afb/freebsd/packagekit/

I also needed to change the hardcoded "/usr/share/applications"
to look in "/usr/local/share/applications" instead for the
.desktop files, in order for gnome-packagekit to show icons.

--anders

PS. With the DB, it takes about 5 seconds to list all ports.
     Which really isn't too shabby for an interpreted language,
     since there are now over 20,000 ports in the collection.




More information about the PackageKit mailing list