DEC
23
2007

klik2 at FOSDEM 2008 -- klik2 now starts handling non-GUI/CLI applications

Now that OpenOffice.org does make some splashes in the IT press for the sole achievement of having created a "portable" version that can run from an USB stick (on Windows only, that is) -- isn't it time for klik to get ready for gaining its own share of public fame sometime soon? That's because klik does not only turn OpenOffice.org, but many thousand Linux applications into "PortableApps". And does not need painstakingly recompiling portable binaries from modified source code, one by one. But will re-utilize the marvellous work and special knowledge of all the dedicated Debian, RPM and Slackware packaging heroes out there and repackage 95% of its supported klik bundles fully automatically, including dependency resolution...

Have I ever mentioned that klik will be featured as one of 3 (invited) talks in the FOSDEM 2008 main track about "Packaging"? (The other two talks will be given by the Conary and the PackageKit developers.)

probono and myself will be presenting and showing off the (then) state of klik2 development, which will (hopefully) have reached a major milestone by February.

Last evening I re-tested how well (or not) klik2 does deal with applications that have no GUI at all. Though general CLI support is not even part of our preliminary February milestone plan, that one does start to work already pretty well.

Even though I finally did find an ipcalc package on the openSUSE build service repository, my personal coolness factor for running a Debian-born, klik-ified ipcalc on my (oldish) openSUSE-10.2 notebook feels considerably higher.

I hit [ctrl]+[alt]+[f2] to go to a non-GUI console and started:

   klik get ipcalc

The process to download and run the XML-based (and largely Zero-Install compatible!) klik2 recipe, which in turn fetched the ipcalc_0.41-1_all.deb from the official Debian repository, and converted this single ingredient into our .cmg format that suits klik's "1 application == 1 file" principle took less than 12 seconds.

As usual, the resulting .cmg image file was placed into the $HOME/Desktop folder. I tried to run it to see if it worked:

   klik run $HOME/Desktop/ipcalc_0.41-1.cmg

which brought up the usage output. Next, I ran a calculation for an existing customer's site that I had done earlier the day, but manually/mentally, since the notebook didn't have an ipcalc RPM installed (also, I hadn't found the one in the build service repository yet). This time in a KDE Konsole, to be able to provide a screenshot proof to you:

   klik run $HOME/Desktop/ipcalc_0.41-1.cmg 10.49.46.146/255.255.255.192

[image:3165 align="center" width=500 height=366 hspace=6 vspace=4 border=0 class="showonplanet"]

Now that this worked so nicely, I moved the .cmg to my standard folder of working klik bundles (BTW, which standard naming convention for the klik .cmg files would you prefer: bundle? container? image? archive? AppFilesystem? capsule? packet? package? BoxedApp? PortableApp? What else can you come up with?).

Then I created an alias in my ~/.bashrc file:

   alias ipcalc='klik run ~/Desktop/klik2-work/ipcalc_0.41-1.cmg'

Works like a charm. To recognize the difference from a "normally" installed ipcalc running, you'd need to know exactly what to look for.

Kudos to Jason "killerkiwi" Taylor and Lionel Tricon for doing most of the recent work to make the current klik2 state of development a reality!

Comments

A pun on shrinkwrapped design bundles. IE nvidia shrinkwrapped 6100-405 AM2 board design and all bundled documentation and gerbers to produce the board without thinking. So the word in at least hardware electronics.

klikwrapped klikwrap


By embedded at Sun, 12/23/2007 - 13:46