Extension Development :: Note to extension builders



I'll do the same and submit my dtach.uci and dtach.tar.gz.
One last question, whats the policy on using "stripe" to bring down the package size? I was thinking of packing both the full binary and the stripped down binary, atleast while the package is in testing. Normally, its 69kb, striped is 12kb. I'm testing it and I don't see much of a difference, same quirks in either binary.

And as a quick note, how do I make an iso for uci of more then one directory? I want to make my dtach.tar.gz a uci, but with the symlink in /opt/bin and the binaries in /opt/dtach, the given command in the wiki seems to not work.

I noticed that unc apps (e.g., gnumeric) have their apps both in /usr/bin and /opt/program/usr/bin.

I noticed that the icon and menu entries are placed in /opt/program/usr.tar.gz).  Is there another script necessary to remove the desktop icons on termination, or is this file sufficient?  Thanks

chaostic: I think most, if not all, ELF binaries in DSL are stripped. I usually strip the executables and libraries in mydsl packages I build. Occasionally I've found that the binary was corrupted by stripping...whether because it wasn't ELF or for some other reason I couldn't say. I tend to make a copy of the application, strip the copy, and test it before deciding whether to stick with the stripped version. If it works stripped I see no reason to include both in the package.

jpeters: The files in /usr/bin are not really in /usr/bin. The unc package type uses unionfs to bind (there's probably a better word) the mounted file system to /usr/bin. To be honest I don't understand how it works, but it seems to "trick" the operating system into thinking that /opt/program/usr is part of /usr.
As far as I know, the desktop icons installed from unc packages are removed during a proper shutdown of the system. The user.tar.gz file found in unc and uci packages is loaded into DSL in the same way that any other *.tar.gz mydsl package is installed, using mydsl-install.

Quote (mikshaw @ June 04 2007,15:09)
The user.tar.gz file found in unc and uci packages is loaded into DSL in the same way that any other *.tar.gz mydsl package is installed, using mydsl-install.

Icons and links are installed to .xtdesktop, which gets saved; I'm assuming there's a standard procedure for deleting them when the app shuts down?

The removal of icons for extensions is based on the lack of the Status: anchor field in its .lnk file. Only base DSL applications should have such field. If you find an extension with such a field it needs to be corrected.

Extension menu items should all be in ~/.fluxbox/mydsl.menu
This file is in the .xfiletool.lst and therefore is not in the backup.

Next Page...
original here.