maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   porting an existing debian package (https://talk.maemo.org/showthread.php?t=12450)

Zebee 2007-11-29 10:39

porting an existing debian package
 
I've read the tutorials in the development area on maemo, but am still unsure... I want to put slrn onto the tablet.

I've got the development environment ready to go. I can get slrn in a debian package. slang is already on the device.

Is the tutorial the only info about porting things? (the porting howto is about prting from an earlier version) If there's already a package what's the best way to go about porting it to the n800?

I presume the idea is recompile the source code in the scratchbox? How do I get it in there? And why are there two targets, shouldn't I only need the ARM one?

The tutorials seem to be aimed at people who already know these things...

Zebee

Johnx 2007-11-29 13:13

Re: porting an existing debian package
 
What I've been doing is just grabbing the three files that make up the debian source package from packages.debian.org. So I search for package 'foo', go to its page and grab foo.tar.gz, foo.diff.gz and foo.dsc. unpack the tarfile, applly the patch, cd into the package directory and run dpkg-buildpackage. at least i think that's right. anyways, it should give you someplace to start.

-john

aflegg 2007-11-29 13:21

Re: porting an existing debian package
 
You might be interested in mud-builder (MUD == Maemo Unofficial Debs): http://mud-builder.garage.maemo.org/

Any questions, please don't hesitate to ask on the mailing list - we've got a good number of people working on MUD on a regular basis.

lardman 2007-11-29 14:05

Re: porting an existing debian package
 
Quote:

unpack the tarfile, applly the patch
Or use: dpkg-source -x *.dsc

then cd into the package directory and run

dpkg-buildpackage -rfakeroot

Zebee 2007-11-29 21:04

Re: porting an existing debian package
 
Ah, MUD looks perfect.

Mind you... Long time RH user here, so I now have a debian learning curve!

Thanks!

Zebee


All times are GMT. The time now is 20:22.

vBulletin® Version 3.8.8