Posted: Sun 16 Mar 2008, 11:03
You may be interested in this:
http://distro.ibiblio.org/pub/linux/dis ... er-0.4.tbz
AppBuilder is a generic AppDir which can be used to create several different kinds of AppDirs including those that contain source code and binaries. It includes routines for handling drag-n-drop of one or more files on the icon.
I've always meant to create a couple of more which could be better for creating AppDir which simply 'wrap' already installed programs or scripts like what you are doing. Several things could particularly be handled better like creation or editing of menu entries.
On my own system I use sveral small menu/dialog programs which make the whole thing work better with GUI elements. These include Xdialog, greq and the small menu program from aewm. Of course, Puppy has gtkdialog and gtkbasic which open up still more possibilities. Still, you may find some useful code in AppBuilder for creating different kinds of AppDirs or what you are already creating, which I call 'WrapDirs'.
I have around 20-30 different AppDirs which are of the self-compiling type, but my most useful ones are just complex wrappers for scripts and programs which are usually found apart from the AppDir itself. One of the most useful ones is ZipZap, an AppDir which is a frontend to various compression programs. If you drop a compressed archive on it, it will decompress it in the same dir as the compressed archive. Or, you can drop files or directories on it and it opens a dialog to find out what kind of archive you want to create. I use it a few hundred times a day usually. I keep meaning to add to it and ify a problem or two, but I just haven't gotten around to it...
http://distro.ibiblio.org/pub/linux/dis ... ap-1.0.tbz
http://distro.ibiblio.org/pub/linux/dis ... er-0.4.tbz
AppBuilder is a generic AppDir which can be used to create several different kinds of AppDirs including those that contain source code and binaries. It includes routines for handling drag-n-drop of one or more files on the icon.
I've always meant to create a couple of more which could be better for creating AppDir which simply 'wrap' already installed programs or scripts like what you are doing. Several things could particularly be handled better like creation or editing of menu entries.
On my own system I use sveral small menu/dialog programs which make the whole thing work better with GUI elements. These include Xdialog, greq and the small menu program from aewm. Of course, Puppy has gtkdialog and gtkbasic which open up still more possibilities. Still, you may find some useful code in AppBuilder for creating different kinds of AppDirs or what you are already creating, which I call 'WrapDirs'.
I have around 20-30 different AppDirs which are of the self-compiling type, but my most useful ones are just complex wrappers for scripts and programs which are usually found apart from the AppDir itself. One of the most useful ones is ZipZap, an AppDir which is a frontend to various compression programs. If you drop a compressed archive on it, it will decompress it in the same dir as the compressed archive. Or, you can drop files or directories on it and it opens a dialog to find out what kind of archive you want to create. I use it a few hundred times a day usually. I keep meaning to add to it and ify a problem or two, but I just haven't gotten around to it...
http://distro.ibiblio.org/pub/linux/dis ... ap-1.0.tbz