hi, Am Dienstag, 17. April 2012 17:20:21 schrieb Milan Bouchet-Valat: > You would just need to give PK the package name over D-Bus, and it would > take care of everything, including PolicyKit authentication via the dialogs > adapted to the current desktop environment.
hm, that sounds neat. however, in a first step of the process, we'd need to check if the package is actually available as a *.deb package, and if not, fall back to source packages. i understand that PolicyKit is a graphical-desktop-only tool, so we'd have to see if you can also query simple package information without the full GUI; if not, we'll lose the advantage of looking for package formats other than .deb at this stage. but even if it was just .deb for now i'd be completely happy ;-) and of course, for the actual installation PolicyKit makes a lot of sense anyway. i think i'll try to hack together something standalone like an install.deb() function [remove.deb() would be needed, too, but i think we could omit update.deb() as this is better left to the system globally]. someday^TM. as soon as that works, it should be easy to write a wrapper for install.packages() which checks if 'type="deb"' and then calls install.deb(), otherwise simply forwards everything to the actual base::install.packages(). viele grüße :: m.eik -- dipl. psych. meik michalke abt. f"ur diagnostik und differentielle psychologie institut f"ur experimentelle psychologie heinrich-heine-universit"at d"usseldorf
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________ RKWard-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rkward-devel
