Hi Alexander,<br><br><div><span class="gmail_quote">On 9/21/07, <b class="gmail_sendername">Alexander Larsson</b> <<a href="mailto:alexl@redhat.com">alexl@redhat.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How do you at<br>runtime know where the bundle is?</blockquote><div><br>This is a good point to review.<br>I'm working on it.<br>My actual solution is to export as a global env it's own position to the final binary.I
'm experimenting. I find it dangerous if the user change the bundle position.<br>Now I'm experimenting using live clone of the bundle fixed into $RANDOM disk cache folder so you'll have a fixed position of the bundle.
<br>This involve more space but today it's not a problem in a desktop.<br>I'm thinking on it.<br></div>Regarding binreloc: it's not a problem of the SpatialBundle.<br>Today the process to build a SpatialBundle involve a well defined steps:
<br>1) Compile against /tmp/Programs (performance, security, rootless, shareability, findability, my actual choose open to review,...)<br>2) Add your own wrapper and some beautification following my baseline convention (now going to refine better before the big announce)
<br>3) Build with SpatialFactory tool<br>And you have a file<br>chmod +x FILE<br>./FILE or click on file and it run!!<br>Now you're free to spread through the world your application.<br><br>My main target is to be so generic that an unskilled user one day could build their own data bundle (with music, pictures, documents etc etc inside) with just one clic!!!
<br>All this are file/objects with attributes and methods to manipulate the inner and outer world.<br><br>You can image it like a .zip with and autorun inside and some desktop oriented services (now I'm embedding libnotify, osd notification, granular dialogs depends on system like autopackage do).
<br>With the .zip you need a method provide by system to open and parse the inner objects.<br>With SpatialBundle now, you need bash and you can build application based ora data based or mixed one bundles.<br><br>Related to nautilus, you're absolute right, in my list it's the only one that I made without recompiling.
<br>I mean that you can build SpatialBundles acts just like proxy to already installed packages (like a lot of klik or ROX AppDir already do).I did it with nautilus and gnome-terminal but you can do it for every single piece of a standard gnome installation (kde xfce e17 ... too).
<br>In this latter case you can consider to provide end user with a SpatialBundle proxy tha let them manipulate it like a generic file/objects.<br>They feel better.<br><br>Luca<br></div><br><br clear="all"><br>-- <br>---<br>
Luca Cappelletti<br><a href="http://Infodomestic.com">Infodomestic.com</a><br><br>"...Together we stand, divided we fall."<br><br>.O.<br>..O<br>OOO<br><br><br>GTalk: luca <dot> cappelletti <at> gmail <dot> com
<br>Jabber: luca <dot> cappelletti <at> jabber <dot> org<br>MSN: luca <underscore> cappelletti <at> hotmail <dot> com<br>Skype: luca <dot> cappelletti<br>Linux Registered User: #223411
<br>Ubuntu Registered User: #7221<br><a href="http://www.advogato.org/person/mutek/">http://www.advogato.org/person/mutek/</a><br><a href="http://persone.softwarelibero.org/person/mutek">http://persone.softwarelibero.org/person/mutek
</a><br><a href="https://wiki.ubuntu.com/LucaCappelletti/">https://wiki.ubuntu.com/LucaCappelletti/</a><br>"l'intelligenza è utile per la sopravvivenza se ci permette di estinguere una cattiva idea prima che la cattiva idea estingua noi"
<br><br>"La chiave di ogni uomo è il suo pensiero. Benché egli possa apparire saldo e autonomo, ha un criterio cui obbedisce, che è l'idea in base alla quale classifica tutte le cose. Può essere cambiato solo mostrandogli una nuova idea che sovrasti la sua"
<br><br>"Uno studioso è soltanto un modo in cui una biblioteca crea un'altra biblioteca "