Page 1 of 1

Create portable linux applications easy with CDE

Posted: Mon 18 Jun 2012, 18:27
by saintless
Read more here:
http://www.pgbovine.net/cde.html
and here:
http://www.pgbovine.net/cde/manual/

Tested with Skype 2.2, KXStitch 0.8.3, and Qcad made on Debian Live CD this way and all work on KDPup 484 and QTPuppy. With KXStitch I get an error message while saving a file but it does the saving anyway and it works.

If anyone likes to test them this is the download link:
http://www.mydrive.ch/
username: guest@saintless
password: download

The archives are kxstitch8.tar.gz, skype.tar.gz, qcad.tar.gz
Extract them and you will have separate folder for each program.
Go inside the folder and click on kxstitch.cde, qcad.cde or skype.cde script.This will start the program.
It will be good to know if applications made this way work with any version of puppy.

One disadvantage I see at this point - You can save files only inside cde-root folder of the program, but you can move them from there anywhere you like after that. If you need to send file with this portable Skype you have to put the file in cde-root folder first.

This could become easy way to make any program work with puppy linux if there is no pet or sfs file.

Posted: Mon 02 Jul 2012, 11:38
by stu90
Hi saintless,
Have you tested any more of these cde applications on puppy? i wonder what kind of success rate they have.

I tested mplayer and obmenu with Seamless execution mode and both worked to load / save files outside of the cde-root directory.
Also in the case of obmenu i removed any duplicate files that are already installed on puppy from the cde version of obmenu and it still seems to work.

Posted: Mon 02 Jul 2012, 16:58
by saintless
stu90 wrote:Hi saintless,
Have you tested any more of these cde applications on puppy? i wonder what kind of success rate they have.

I tested mplayer and obmenu with Seamless execution mode and both worked to load / save files outside of the cde-root directory.
Also in the case of obmenu i removed any duplicate files that are already installed on puppy from the cde version of obmenu and it still seems to work.
Hi, Stu90,

I haven't tested other portable programs yet. I'm busy at the moment with some other Debian live system tests but I can apt-get and create a portable program if someone likes to test it.
I guess we can make a list of applications with no pet packages and create portables for them to be tested and used.

Posted: Sat 28 Jul 2012, 23:22
by 666philb
i've used cde a few times to grab packages with varying success. one thing i have found though is that you need to use every function of a program (when cde'ing it) so that you grab all of it's required deps.

cde not reponsive

Posted: Wed 28 Nov 2012, 19:39
by Dromeno
I would like give cde a try but it does not work for me yet. I downloaded it, renamed it to cde, set the permissions right and then typed cde in the console, but all it said was command not found

what do I do wrong?

Posted: Wed 28 Nov 2012, 21:17
by saintless
Hi, Dromeno,

go in the same directory where cde is and type

Code: Select all

./cde name-of-program-to-run
For example:

Code: Select all

./cde mtpaint
When the program starts try to use all the program options you can. You will see new-created folder with the portable version and script to run it inside.
If it does not work for you write again what is wrong.
Here is a nice tutorial how to use it:
http://www.pgbovine.net/cde/manual/

Cheers

Posted: Fri 30 Nov 2012, 04:33
by sunburnt
I looked at CDE a while back, an odd but plausible package build method.
Having to "exercise" the app. to get all the parts is kinda a "gotcha".

I started looking at RoxApps or AppDirs, a much better package setup.
But the build method is undefined, so using ldd for libs. and dep. files.
Works very well except for the many poorly made Linux app. packages.