From Fedora Project Wiki

Revision as of 19:36, 30 January 2013 by Rgrunber (talk | contribs) (Feedback and Bug Reports)

What is Eclipse PackageKit

Eclipse PackageKit is an Eclipse plugin that allows for interaction with PackageKit. The goal of this plugin is to satisfy various software installation requests from within the Eclipse IDE, and without having to force a user to explicitly use any distribution-specific tools.

To interact with PackageKit, we use the PackageKit DBus API, which we access using dbus-java.




  • Eclipse CDT (eclipse-cdt) (for autotools integration. Currently the only supported integration.)

Workflows Using PackageKit Integration

The following list will contain a set of plugins within the Eclipse IDE that Eclipse PackageKit can improve.

Eclipse Autotools Problem Marker Resolution

When building a C/C++ Autotools project, one can use the can use the Autotools support provided by the Eclipse CDT to acoomplish the task. When Autoconf is invoked on the project, it may fail to find a particular resource (library, module, program, file, etc.) and this will be clearly indicated in the Eclipse "Problems" View. Although its possible to bind a particular resolution to a problem, the Autotools plugin currently does not do this, and it becomes the responsibility of the user to figure out which packages in their distribution satisfy the missing requirement(s).

Eclipse PackageKit provides an Autotools plugin which adds resolutions to many different types of Autotools problem types.

Simply right click on any (or multiple) Autotools Problems View entries, and go to "Quick Fix". Alternatively you can just select the desired entries and press '<CTRL> + 1'. Either of these actions will bring up the Quick Fix Dialog.

Eclipse problem highlight quick fix.png

From the Quick Fix Dialog, we can view the markers we selected. Clicking "Finish" will attempt to resolve all of the selected problems at once.

Eclipse problem quick fix menu.png

At this point, PackageKit is being queried to determine a resolution for each problem. If any packages satisfy the requirements, a prompt requesting their installation will appear.

Eclipse packagekit install prompt.png

Feedback and Bug Reports

The Eclipse PackageKit project is hosted at and bug reports may be filed here using the "New Ticket" link once logged in.