Necoro’s Blog

Blog? Blog? There is no blog…

Archive for March 2009

Portato Manpage

leave a comment »

Since long I wanted to add a manpage to portato. Though it not necessarily needed (as you get all infos also with portato --help ), it is a nice add-on.

Problem is: a) How do I write a manpage? – Looking through the web, it looks like I have to use nroff – which is soo basic, it makes my eyes bleed. And b) I need to keep it up2date.

Solution: I found this great post by Andi Albrecht … and used his script :) Et voil√†, there we have a basic manpage.

Written by Necoro

March 24, 2009 at 20:21

Posted in Portato

Tagged with , ,

ktsuss – Graphical su

leave a comment »

Portage needs (in most cases) root-access to install packages. That’s why Portato needs them too ;).¬† But Portato is a GUI, thus it can be expected, that it is not launched via commandline – so the user normally does not su manually. So we need a graphical application, which deals with this part. Portato supported kdesu and gksu. Unfortunately both have quite a bunch of dependencies — which made some users worry.

But yesterday while having a look at wicd, that has the same kind of problem, I noticed a third application: ktsuss. The only dependencies here: glib and gtk. Yeah! – Looks like a good choice. It is not as shiny as the other two … but hell, it’s only task is to take your root pwd ..

As of revision 383, this is now also supported by Portato. (Of course – as always – this was not as easy as thought, as ktsuss parses the commandline differently. But well – shit happens).

And while taking this “feature” of wicd, I also switched to determining the correct app at runtime (as wicd does too). This is one step towards the goal of getting rid of the ‘sed’-stuff in the ebuild … :)

Written by Necoro

March 19, 2009 at 23:04

Posted in Portato

Tagged with , ,

So – here we are

leave a comment »

Yeah well… this is my second (third?) approach in starting a blog. I’m quite curious where this is about to end – and what will come first: Me stopping to spend time for writing posts — or wordpress.com stopping to be my blog hoster of the day (TM).

Written by Necoro

March 18, 2009 at 21:43

Posted in Blahblah