maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Porting App To N810 (problems with debian) (https://talk.maemo.org/showthread.php?t=18797)

lxlmurdoclxl 2008-04-06 20:51

Porting App To N810 (problems with debian)
 
Hey everyone,

I am working on a project for my school and we have wrote a maemo gui application to be used on the n810. It consists of a simple C code which we have compiled and tested inside scratchbox and actually run on the xephyr "emulator".

The gui functions fine, we are in need of the proper and easy way to create a debian package to install it on the device.

Thanks for reading,
Josh

eetimm 2008-04-06 21:00

Re: Porting App To N810 (problems with debian)
 
Ummm....Josh, although the folks here are very helpful and incredibly talented (and generally willing to help answer anyone's question), you run the risk of angering people when you post 3 times in three different threads all within three minutes. These posts are not always answered....

lxlmurdoclxl 2008-04-07 03:11

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by eetimm (Post 165935)
Ummm....Josh, although the folks here are very helpful and incredibly talented (and generally willing to help answer anyone's question), you run the risk of angering people when you post 3 times in three different threads all within three minutes. These posts are not always answered....


Sorry for thinking forums were about HELPING one another and not a bunch of self righteous code monkeys who throw their weight around over the internet... you know, cause saying things in person is dangerous...

(eetimm, what are you 25 posts deep? 'Big man' huh?)

Thanks to anyone who is decent enough to help.

-Josh

GeneralAntilles 2008-04-07 03:18

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by lxlmurdoclxl (Post 166043)
Sorry for thinking forums were about HELPING one another and not a bunch of self righteous code monkeys who throw their weight around over the internet... you know, cause saying things in person is dangerous...

Mmm . . . that's the right attitude to direct at somebody who is trying to help you out. :rolleyes:

Pro tip: Attitude matters!

lxlmurdoclxl 2008-04-07 03:46

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by GeneralAntilles (Post 166046)
Mmm . . . that's the right attitude to direct at somebody who is trying to help you out. :rolleyes:

Pro tip: Attitude matters!

Yea,

you both helped me out a ton.

scumgrief 2008-04-07 05:21

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by lxlmurdoclxl (Post 166057)
Yea,

you both helped me out a ton.

Oh Josh!, grow up.

I was gonna post about how you posted multiple post on multiple categories but i forgot to, it bothered me a lot though - I'm positive it did with other forum browsers.

Ok, about packaging software for easy installation in debian. You do realize you don't need to actually package it, you just need a compiler on your device, and do the usual configure && make && install. I myself am a linux noob, only switched to a linux computer as my desktop + portable sometime in last February.

And there are plenty of docs to use as reference to build a debian package for ITOS.

http://www.ibm.com/developerworks/li.../l-debpkg.html

and

http://people.connexer.com/~roberto/..._packaging.pdf

Ok 'nuff said. I quickly read through the IBM debpkg doc and its too much to repeat for you, take a gander.

We understand you need this for school, but serously, as the hitchhickers guide to the galaxy goes "DON'T PANIC." I forgot my towel though :\ ...

But seriously, because you can't do your own research you want other people to hold you hand... there is some guidance I hope it helps...

[EDIT]lucky you - i don't have the kind of money you had for a ~200-400 dollar tablet, I'm jealous :)[/EDIT]

yabbas 2008-04-07 06:36

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by lxlmurdoclxl (Post 165931)
Hey everyone,

I am working on a project for my school and we have wrote a maemo gui application to be used on the n810. It consists of a simple C code which we have compiled and tested inside scratchbox and actually run on the xephyr "emulator".

The gui functions fine, we are in need of the proper and easy way to create a debian package to install it on the device.

Thanks for reading,
Josh


Xephyr's not an emulator - it's a Kdrive based XServer. If anything QEMU's the emulator, scratchbox the cross-compilation toolkit.

Google is your friend - the first link talks about manually creating a deb, the 3rd is maemo's recommended way including a tutorial.

It's not easy, practice makes perfect.


On other notes:
Posting in 3 different forums is bad, mmkay?

Having a pop at people who highlight the above is bad, mmkay?

Post-count does not imply karma or a right to speak above others [this includes me] - so to imply as much is bad, mmkay?

This is a development related question imo - so should have been posted there. Not one of your 3 posts was in the right place. [I appreciate that may be debatable though.]

lxlmurdoclxl 2008-04-07 13:16

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by scumgrief (Post 166090)

But seriously, because you can't do your own research you want other people to hold you hand... there is some guidance I hope it helps...

[EDIT]lucky you - i don't have the kind of money you had for a ~200-400 dollar tablet, I'm jealous :)[/EDIT]

Scum,

I really appreciate the time you took to answer my question. (no sarcasm) I actually think that pdf of some professors power point will actually help me get this package built. Part of the problem we are having is the lack of identifiers for each man-page. For that, i thank you.

Second, ive done my research, i asked for no hand holding, i asked for advice. I am a pretty chill dude but when someone comes on here just assuming they understand the situation without even asking any constructive questions... its a bit frustrating.

Still, thanks for the response, the PDF really helped.

P.S. i don't have $400 either, the devices we are developing on belong to the school. :P

peace,
josh

lxlmurdoclxl 2008-04-07 13:22

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by yabbas (Post 166106)
Xephyr's not an emulator - it's a Kdrive based XServer.


Your right, xephyrs not an emulator. thats the reasons for the quotes. i was kind of in a rush when i wrote the post and that was the quickest way i could put it without getting into technical detail.

Thanks for the maemo guide... i actually read that... like 43,987 times... i think i had less of an idea how to create the proper Debian package after reading that then i did before.

We know how to run stand-alones in scratchbox, our trouble solely lies in creating the proper debian package that can be accepted by
the n810's application manager.

we basically have the source written in maemo and gtk+2.0 (i think)

maybe it would help if i posted the source......

Thanks everyone, this is getting really helpful (no sarcasm)

josh

lxlmurdoclxl 2008-04-07 13:31

Re: Porting App To N810 (problems with debian)
 
here is the source that we need to make into a debian package, acceptable by the n810s application manager


http://www.personal.psu.edu/jam811/dev/

TA-t3 2008-04-07 14:32

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by lxlmurdoclxl (Post 166043)
Sorry for thinking forums were about HELPING one another and not a bunch of self righteous code monkeys who throw their weight around over the internet... you know, cause saying things in person is dangerous...

I did answer your post in one of the other threads you started, before I saw that you shotgun-posted in several forums. Please learn to use forums. NO site anywhere likes people to shotgun-post - you're abusing the site. It's organized as it is for a reason. _One_ post to a _single_ forum. After all, many of us read all the subforums, particularly those members trying to answer as many posts as they can.

With the attitude you're showing above I will be very hesitant to bother even reading any future posts of yours. The other one I replied to may well be the only one.

ArnimS 2008-04-07 16:35

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by lxlmurdoclxl (Post 165931)
we are in need of the proper and easy way to create a debian package to install it on the device.

Proper and easy are probably mutually exclusive.

I have sympathy for you if your professor expects you to learn this on your own in a very limited time.

Maybe you should print these up in their entirety, bring it to class and hand it to the professor as a 'suggested addendum to the curriculum'.

http://www.debian.org/doc/maint-guide/
http://www.netfort.gr.jp/~dancer/col...pkg-guide.html

(edit) One quick and dirty (and improper) way to make a package is to download a maemo .deb file, extract the contents with "ar x thedebfile.deb", extract contents.tar.gz and data.tar.gz, remove md5sums file, edit control file (rename package, installed size, change or remove dependencies etc), remove postrm file, edit postinst file as needed, substitute your files for the stuff in the usr/ tree, repack data.tar.gz and control.tar.gz, then create your .deb with "ar q mydebianfile.deb debian-binary control.tar.gz data.tar.gz".

lxlmurdoclxl 2008-04-07 17:47

Re: Porting App To N810 (problems with debian)
 
ArnimS,

Thanks a lot for the reply.

Yes, i guess our first, (and biggest) hurdle is that none of us have every written or modified a "control" file. I know we understand the process but are a little confused to the real syntax.

I think if we could get the proper control file for our source (posted a page back) we would be able to build the package following the rest of the maemo guide

Any ideas?

Thanks again,
Josh

scumgrief 2008-04-07 22:49

Re: Porting App To N810 (problems with debian)
 
Quote:

Originally Posted by lxlmurdoclxl (Post 166208)
Scum,

I really appreciate the time you took to answer my question. (no sarcasm) I actually think that pdf of some professors power point will actually help me get this package built. Part of the problem we are having is the lack of identifiers for each man-page. For that, i thank you.

Second, ive done my research, i asked for no hand holding, i asked for advice. I am a pretty chill dude but when someone comes on here just assuming they understand the situation without even asking any constructive questions... its a bit frustrating.

Still, thanks for the response, the PDF really helped.

P.S. i don't have $400 either, the devices we are developing on belong to the school. :P

peace,
josh

Sorry about my rude response, ya know... just the tone in your words and in addition to stress/fatigue.. I'm glad the resources I pointed out for you were very helpful... I generally like to help people....

BTW stil jealous... I actually have never even seen a real nokia IT in real life.... Ha ha, i make it sound like a tragedy... I just need to save *some* money.....

Again sorry about that inconvenience, Assuming your going for a college degree in some sort of Information Technology, but your a real trooper for sitting through a class. Who in the right mind would make you learn these things on a fixed deadline. Deving for open devices should be either a hobby, or a job.... I hope your learning a lot though, good luck on the rest of the project.

Peace2,
Scum

eetimm 2008-04-08 04:43

Re: Porting App To N810 (problems with debian)
 
Josh...your PM to me clearing the air was greatly appreciated. You are a class act! Good luck with your project....

ET


All times are GMT. The time now is 16:09.

vBulletin® Version 3.8.8