tecker
Group: Members
Posts: 72
Joined: June 2004 |
|
Posted: June 24 2004,19:24 |
|
Creating the actual DSL file
Ok now that you have figured out the files needed and the program is running (or you skiped the first post) You can now create a .dsl package.
1) In the home directory (/home/damnsmall for expample) create a folder by the name of your package and add dsl at the end (eg. "xchatdsl") 2) Copy all of the program contents from the extracted folders into the new one. For example in the new folder 'prgdsl/usr/lib' copy all of the files from the program and dependencies from each of the '<extract>/usr/lib' into this folder. Do the same for the remaining (<extract>/etc/... & <ext>/usr/bin/... & <ext>/usr/share/... ) to ther respective programs (<pkgdsl>/etc/... & <pkgdsl>/usr/bin/... & <pkg>/usr/share/...). Does this make sense yet?
3) Once all of the program and dependencies are in that folder you are ready to package.
4) Navigate into the <pkgdsl> folder in a terminal.
5) run
6) you should see something to the effect of Code Sample | # ls etc usr dam----# |
7) if you see that then you are ready to add the final touches.
8) If you want to launch the program from the myDSL menu when you right click then you will need to create a menu file. A) in the <pkgdsl> directory run: Code Sample | mkdir ./var/tmp/mydsl.menu cd ./var/tmp/mydsl.menu touch <program name> (ex. xchat) scite ./<prgname> |
b) you now should have scite with a blank slate ready to go. c) the syntax of the menu file is a follows: Code Sample | [exec] (xchat) {/usr/bin/xchat} |
d) save the file and exit. You will now be able to run from the menu.
9) Once that is made we are ready to pack.
10) to create the dsl make sure there are no other files but the folders (etc, usr, bin, var, root, you wont have all of the these but folders should be the only thing there.) no '.deb', no '.tar.gz', no files.
11) execute Code Sample | tar cvfz <packagenamefordsl>.dsl * |
12) you now should have a DSL package ready to go on a live boot. Go and test it out.
-------------- People laugh because I have linux on a cd with me.
I laugh as the pay me for using that disk to recover their precious windows.
|