Re: Autopackage frontend
"Hylke Donker" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks alot, that's all I needed to know. Hylke On 9/13/07, Isak Savo <[email protected]> wrote: > > 2007/9/13, Hylke Donker <[email protected]>: > > Ah ok. So the program package takes care of all the installation and > > uninstallation? > > Yes. In fact, the "Manage 3rd party software" gui tool also calls > "package uninstall" in the background. > > > But I still don't quite get how to use that protocol. Do I need to read > from > > "bla.package" when I execute "package install bla.package"? And when I > run > > "package install bla.package", how can I prevent it from poping up the > GUI? > > Because I would like to use my own GUI. > > You set AUTOPACKAGE_FRONTEND to your own frontend before launching > package install. The logic is here: > http://trac.autopackage.org/browser/main/trunk/share/apkg-io#L320 > > The frontend will get the path to the FIFO as first argument - you > should open it for reading. I'm not sure why we close it after each > read, perhaps to signal the backend we've finished reading or > something (mike?) > > Code is: > http://trac.autopackage.org/browser/frontend/trunk/gtkfe/frontend/receiver.c#L58 > and > > http://trac.autopackage.org/browser/frontend/trunk/gtkfe/frontend/protocol.c#L79 > > -Isak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] > For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected] > >