Chow Loong Jin [2011-09-23 3:53 -0000]:
> Ooh, it does? Maybe we could add a Python wrapper script thing that uses
> python-aptdaemon to implement the stuff needed. Then we can sync this over.
Yes, python-aptdaemon.gtk3widgets is rather easy to use (see the demo
script in the aptdaemon source). Alternatively you can also talk to
the PackageKit session D-BUS interface. aptdaemon implements this, so
it will work out of the box on other distributions as well (and thus
is mostly upstreamable except for the package name, which could be a
configure option). In Debian/Ubuntu we could then set the dependency
as "sessioninstaller | packagekit".
Chow Loong Jin [2011-09-23 3:53 -0000]:
> Ooh, it does? Maybe we could add a Python wrapper script thing that uses
> python-aptdaemon to implement the stuff needed. Then we can sync this over.
Yes, python- aptdaemon. gtk3widgets is rather easy to use (see the demo
script in the aptdaemon source). Alternatively you can also talk to
the PackageKit session D-BUS interface. aptdaemon implements this, so
it will work out of the box on other distributions as well (and thus
is mostly upstreamable except for the package name, which could be a
configure option). In Debian/Ubuntu we could then set the dependency
as "sessioninstaller | packagekit".