maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Debian] ANNOUNCE: Easy Debian Turbo-Charged Edition! (https://talk.maemo.org/showthread.php?t=24272)

darrennewman@sky.com 2008-10-15 01:34

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by LordFu (Post 233613)
Huh, the image installer couldn't untar/unzip the package. I extracted the ext file on a different machine, moved it back, and all is well, though. I must have broken something, lol.

Nice, though; very nice! I like this new wm; much nicer to look at.

Mine won't install either. Is this the error message you got?

"TAR ERROR

ERROR! ERROR! ERROR!

TAR FAILED!

(MAYBE OUT OF SPACE ERROR)

Unable to install EASY DEBIAN IMAGE FILE"

How did you go about fixing it?

migs 2008-10-15 03:20

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Mine did not install eithier... no errors just stopped downloading and did not extract...

mooler 2008-10-15 04:34

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
are we limited to the MMC capacity or by a limitation of the image?

migs 2008-10-15 04:52

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
I got it working, I guess the first post need to advise that once the file is downloaded, their is no indication that it is extracting. You just need to trust it and wait for the congratulations screen.

Benson 2008-10-15 06:50

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by mooler (Post 233666)
are we limited to the MMC capacity or by a limitation of the image?

Well, you're limited to the size of the image, but you can resize that to fit more, or just use a partition directly if you'd rather. Of course,when using an image file, any filesystem limits on filesize apply as usual, so you may not be able to enlarge it beyond 4GiB.

Bundyo 2008-10-15 07:46

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Quote:

Originally Posted by fatalsaint (Post 233525)
What I think is happening is Bundyo is running a System call that is hanging and just waiting for the command to stop before closing... so Maemo thinks the App is hung, not knowing it was designed that way.

Yup, i'm making a synced system call which waits for the process to finish before continuing the execution. Didn't expect that maemo will think that the app is hung (My tablet is in RD mode, so i didn't see it either :)

codeMonkey 2008-10-15 08:20

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Holy crap, this is running so nicely now! I haven't tried it since one of the earlier incarnations, and this thing flies.

Nice work!

bongo 2008-10-15 08:26

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Be careful with LXDE and the volume control applet. I killed LXDE twice by using this applet.

Bundyo 2008-10-15 09:18

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
Okay, hostwin with 3 parameters is back :)

Usage:
hostwin AppName /usr/bin/program "What should be written inside"

Starts the process asynchronously, watches it and closes itself after it dies. Shows the message too. :)

http://bundyo.org/maemo/hostwin.bz2

Bundyo 2008-10-15 09:26

Re: ANNOUNCE: Easy Debian Turbo-Charged Edition!
 
hostwin.vala (fast replacement until i post the whole source):
Code:

using GLib;
using Gtk;
using Gdk;
using Hildon;
using Osso;

public string apptitle;
public string exttext;
public string filename;

static void println (string str) {
        stdout.printf ("%s\n", str);
}

public class mainProgram : Hildon.Program {
        private Hildon.Window window;
        private Label label;
        private Pid pid;
       
        construct {
                window = new Hildon.Window ();
                window.set_icon_from_file ("/usr/share/pixmaps/"+apptitle.down()+".png");
                window.destroy += Gtk.main_quit;
                add_window (window);
               
                label = new Label(exttext);
                window.add(label);

                Environment.set_application_name (apptitle);
                window.map_event += activate;
               
                window.show_all();
        }
               
        private bool activate() {
                string[] buf = new string[1];

                buf[0] = filename;
                Process.spawn_async( null, buf, null, SpawnFlags.DO_NOT_REAP_CHILD, null, out this.pid );
                ChildWatch.add (this.pid, child_exited);
                               
                return false;
        }

        private void child_exited (Pid pid, int status) {
                Gtk.main_quit();
        }

        static int main (string[] args) {
                Osso.Context ctx;

                Gtk.init (ref args);
               
                apptitle = args[1];
                filename = args[2];
                exttext = args[3];
               
                ctx = new Osso.Context(apptitle, "0.2", false, null);
                if (ctx.display_state_on() != Osso.Error.OK)
                    println("Error: Osso Initialize failed.\n");
                   
                var prg = new mainProgram ();
                Gtk.main();
               
                return 0;
        }
}



All times are GMT. The time now is 15:23.

vBulletin® Version 3.8.8