Create portable linux applications easy with CDE

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Create portable linux applications easy with CDE

#1 Post 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.
Last edited by saintless on Fri 13 Jul 2012, 09:39, edited 1 time in total.

stu90

#2 Post 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.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#3 Post 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.

User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#4 Post 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.
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

cde not reponsive

#5 Post 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?

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#6 Post 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

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#7 Post 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.

Post Reply