Jump to content


Photo

Simple Dev Pnd


  • Please log in to reply
64 replies to this topic

#31 SomeGuy99

SomeGuy99

    :)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2186 posts
  • Gender:Male
  • Location::|
  • Interests::D
    :/

Posted 21 June 2010 - 02:58 PM

Just compiled freesweep (terminal minesweeper clone)!

I think we might need a seperate thread for compiling successes/woes. I'll just spam here for now... spread the love!

#32 God Ginrai

God Ginrai

    Godmaster

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3514 posts

Posted 21 June 2010 - 04:21 PM

I'm new to this, gimme a break ;)

Stuckie, do a PND of Cmus. It's totally awesome! I think it's the exact music player I've been looking for all my life.


moc is a lot better. http://moc.daper.net/

-God Ginrai

#33 SomeGuy99

SomeGuy99

    :)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2186 posts
  • Gender:Male
  • Location::|
  • Interests::D
    :/

Posted 21 June 2010 - 04:34 PM


I'm new to this, gimme a break ;)

Stuckie, do a PND of Cmus. It's totally awesome! I think it's the exact music player I've been looking for all my life.


moc is a lot better. http://moc.daper.net/

-God Ginrai


As an ex-user of Moc, I disagree. Go opinion power.

I used to find it quite crashy and buggy, at least on ARM.

And anyway, Cmus has the same features as MOC but craploads more. It's more like Itunes, but runs lightning quick. Moc does have a progress bar, I'll give it that.

Ncurses music players are a serious thing!

Edited by SomeGuy99, 21 June 2010 - 04:54 PM.


#34 God Ginrai

God Ginrai

    Godmaster

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 3514 posts

Posted 21 June 2010 - 06:22 PM



I'm new to this, gimme a break ;)

Stuckie, do a PND of Cmus. It's totally awesome! I think it's the exact music player I've been looking for all my life.


moc is a lot better. http://moc.daper.net/

-God Ginrai


As an ex-user of Moc, I disagree. Go opinion power.

I used to find it quite crashy and buggy, at least on ARM.

And anyway, Cmus has the same features as MOC but craploads more. It's more like Itunes, but runs lightning quick. Moc does have a progress bar, I'll give it that.

Ncurses music players are a serious thing!


Strange... I've never had moc crash on me. However, I have also never used it on ARM, so it could be that something is just fucked up with the ARM builds. Also, comparisons to iTunes do not make things look good to me, as I hate the program.

And of course ncurses music players are super serious business. ;P

-God Ginrai

#35 SomeGuy99

SomeGuy99

    :)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2186 posts
  • Gender:Male
  • Location::|
  • Interests::D
    :/

Posted 21 June 2010 - 06:39 PM




I'm new to this, gimme a break ;)

Stuckie, do a PND of Cmus. It's totally awesome! I think it's the exact music player I've been looking for all my life.


moc is a lot better. http://moc.daper.net/

-God Ginrai


As an ex-user of Moc, I disagree. Go opinion power.

I used to find it quite crashy and buggy, at least on ARM.

And anyway, Cmus has the same features as MOC but craploads more. It's more like Itunes, but runs lightning quick. Moc does have a progress bar, I'll give it that.

Ncurses music players are a serious thing!


Strange... I've never had moc crash on me. However, I have also never used it on ARM, so it could be that something is just fucked up with the ARM builds. Also, comparisons to iTunes do not make things look good to me, as I hate the program.

And of course ncurses music players are super serious business. ;P

-God Ginrai


Okay, so if Moc is Winamp, then Cmus is Winamp + Itunes. You can totally use it how you like.

Also, you can remap the keys and change the colours of the interface inside the program... for Ncurses apps in general, that's very sophisticated!

Plus, Cmus maps perfectly to the Pandora, with each window being a number button. The only things I would add: graphical progress bar, slave mode (don't think it has it already) and equaliser.

#36 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 21 June 2010 - 07:05 PM

Oi! move your war to another thread :P hehe

Back on Topic:
In regards to patching these extension files, the easiest way would probably be something like a zipped up diff over the filesystem, and then have a basic script unzip it all over your existing one.

I'll work out a patch format for the current 20/6/10 release against the 18/6/10 release and see if that works out. Then I'll be able to release a patch and a new base for each version and keep everyone happy :)

Though I'm open to suggestions here, as I've a feeling doing the above could possibly still wipe out somethings if you've already installed bits and pieces from the patch and configured them to your liking... unless that's a risk you're willing to take!

#37 SomeGuy99

SomeGuy99

    :)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2186 posts
  • Gender:Male
  • Location::|
  • Interests::D
    :/

Posted 21 June 2010 - 07:07 PM

Though I'm open to suggestions here, as I've a feeling doing the above could possibly still wipe out somethings if you've already installed bits and pieces from the patch and configured them to your liking... unless that's a risk you're willing to take!


I'm fine with that risk, considering the alternative is to just start all over again.

I'm not having much luck installing .deb files btw. It complains that stuff already in the firmware isn't there (eg. gtk2.0). Any suggestions?

Holy crap. Just been through the entire 160 pages of the debian screenshot site! I have a lot of stuff to compile!

Edited by SomeGuy99, 21 June 2010 - 07:16 PM.


#38 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 21 June 2010 - 08:21 PM

I haven't looked at messing with any .deb files yet, to be honest.
Gimme a link to one you're having a look at and I'll see what's up with it.

And you seem to be having fun seeing how much stuff you get squish onto the Pandora ;) still amazes me just how powerful the little thing actually is!

#39 SomeGuy99

SomeGuy99

    :)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2186 posts
  • Gender:Male
  • Location::|
  • Interests::D
    :/

Posted 21 June 2010 - 08:40 PM

I haven't looked at messing with any .deb files yet, to be honest.
Gimme a link to one you're having a look at and I'll see what's up with it.

And you seem to be having fun seeing how much stuff you get squish onto the Pandora ;) still amazes me just how powerful the little thing actually is!


I think I'm still behind Paddy and some others. ;) Doing it manually and dealing with dependency hell slows me down!

I think we're like kids who've just arrived at a theme park, and immediately run off in every direction to try all the rides.

It's freaky powerful really... the last handheld I was doing Linux hacking on was my Jornada. The power difference is lightyears in comparison!

I seem to recall I was attempting to install Gpaint and Gnotes?

http://packages.debi...keywords=gpaint
http://packages.debi...?keywords=gnote

Edit:

Install dpkg, to see if that would help with debs. It says the architecture is wrong... arm and not armel? I was downloading arm packages from the Debian site.

Edit:

Tried an armel package, which it seemed to accept. Just need to satisfy dependencies etc.

Edited by SomeGuy99, 22 June 2010 - 12:38 AM.


#40 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 22 June 2010 - 07:29 AM

Yea, we're armel... dependency tracking is hell... but, I've come up with something funky ;)

You might need to wait till I get back from work, unless it finishes in the next hour.. suffice to say, I think you'll like it!

#41 SomeGuy99

SomeGuy99

    :)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 2186 posts
  • Gender:Male
  • Location::|
  • Interests::D
    :/

Posted 22 June 2010 - 06:53 PM

Yea, we're armel... dependency tracking is hell... but, I've come up with something funky ;)

You might need to wait till I get back from work, unless it finishes in the next hour.. suffice to say, I think you'll like it!


Sounds tantalising!

#42 MistaGiggles

MistaGiggles

    Member

  • Members
  • PipPip
  • 25 posts

Posted 24 June 2010 - 01:42 PM

Just got the 20thjune extend mounted, and I've written a quick hello world program. Which compiler do I use to compile it? (very new to command line compiling, only ever used IDEs) I tried "gcc main.cpp" but it's giving me 'undefined reference' errors.

Thanks

#43 Stuckie

Stuckie

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 432 posts
  • Gender:Male
  • Location:Tired, and sleeping in the basement...

Posted 24 June 2010 - 03:38 PM

undefined reference to what?

it should work fine.. gcc and g++ is there ( for .cpp you probably should be using g++ anyway ) and headers for SDL and a bunch of other things.
so yea, tell us what the undefined reference is :) could be you forgot something silly like an include! or I've buggered something up viciously :D

#44 Creature XL

Creature XL

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 435 posts
  • Location:Hannover.de

Posted 25 June 2010 - 07:12 AM

Unfortunately not, as you're mounting to places which are generally being written to or used at that point in time ( you can check this by running "lsof /your/path" and you'll get a list of things accessing that path. )

You can sometimes get away with unmounting the /home bind, but you'd need to do it in a script that forces a sudo password, as if it's still in the cache, it tries to unmount too quick while the filesystem is writing the command that you've called the script to your bash_history! Fun, isn't it? ;)


What about "sudo -i" ?
Then you are root and your home (and the bash_history) should be in /root/.bash_history

#45 daniel3000

daniel3000

    GP32 User

  • Members
  • PipPipPip
  • 38 posts

Posted 05 July 2010 - 10:24 PM

hi Stuckie and others,

thanks for this great onboard developer toolchain package!
I am kind of a beginner (not with onboard development. Have done this on the Zaurus / pdaXrom and weeXpc for years. But on the Pandora and working the first time with those FS extend files...)

Question:
whenever I extend the root fs with dev.extend, all write operations to root go into the extend, not to NAND, right?
Is there a way to change this WHILE the extend is active?
Or have I misunderstood something about all this?

My problem:
When I have extended the root FS and compile something and find out that headers are missing, I want to install those headers using
sudo opkg install XYZ-dev
But opkg is disturbed by the extend and gives a lot of warnings, and it seems to install a lot of packages which it shouldn't install.
When I reboot, the installed packages are not in NAND.
So it seems to be necesssary, whenever I stumble across some headers missing, to reboot the Pandora, then install the headers / libs, then load the extend file again and retry the compilation. Quite clumsy process. Is there a way around this?

Thanks in advance,
Daniel