maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   packaging libs for Maemo (https://talk.maemo.org/showthread.php?t=27712)

tobiasj 2009-03-20 18:34

packaging libs for Maemo
 
OK so I am working on another port and while I am doing well enough at it, it requires a newer version of libguichan then Arnim has packaged for us. (0.6.1)

I have downloaded LibGuiChan 0.8 (the req) and I can compile it in scratchbox, but I have NO idea how to take a lib and make it a deb package so I (or anyone else) can install it on the tablets.

Does anyone have any advice or hints or thoughts on how to accomplish this?

Thanks!
-John

TrueJournals 2009-03-20 18:45

Re: packaging libs for Maemo
 
Either talk to the new debmaster, or grab the source from debian, which already has the required packaging information.

mikkov 2009-03-20 18:49

Re: packaging libs for Maemo
 
Just uploaded libguichan-0.8.1 to autobuilder

tobiasj 2009-03-20 18:57

Re: packaging libs for Maemo
 
Quote:

Originally Posted by mikkov (Post 273287)
Just uploaded libguichan-0.8.1 to autobuilder

What is this autobuilder of which you speak? ;)

-John

GeneralAntilles 2009-03-20 19:03

Re: packaging libs for Maemo
 
Quote:

Originally Posted by tobiasj (Post 273293)
What is this autobuilder of which you speak? ;)

The builder that builds source packages for Extras.

mikkov 2009-03-20 19:08

Re: packaging libs for Maemo
 
now it's built for diablo and should appear in extras-devel soonish

tobiasj 2009-03-20 19:19

Re: packaging libs for Maemo
 
Quote:

Originally Posted by mikkov (Post 273299)
now it's built for diablo and should appear in extras-devel soonish

Great news, but for my own knowledge, how did this actually work? I mean go from a source code folder to the autobuilder and up.. I have been reading the how-to's but they assume a level of familiarity that I do not have...


-John

mikkov 2009-03-20 19:27

Re: packaging libs for Maemo
 
Quote:

Originally Posted by tobiasj (Post 273302)
Great news, but for my own knowledge, how did this actually work? I mean go from a source code folder to the autobuilder and up.. I have been reading the how-to's but they assume a level of familiarity that I do not have...


-John

For this particular package:
1. I downloaded debian sources for guichan (apt-get source guichan)
2. I made a test build (dpkg-buildpackage -rfakeroot)
3. removed allegro and opengl depencies (from debian/control and debian/rules)
4. changed changelog (debian/changelog)
5. made uploadable source packages (dpkg-buildpackage -rfakeroot -sa -S)
6. uploaded to autobuilder (dput diablo-extras-builder guichan_0.8.1-4maemo1_source.changes)

For general information about debian packages see http://www.debian.org/doc/debian-policy/ and http://www.debian.org/doc/maint-guide/ and https://maemo.org/forrest-images/pdf/maemo-policy.pdf

tobiasj 2009-03-20 19:32

Re: packaging libs for Maemo
 
oh, and it is already available in extras-devel... Thanks again...



-John

tobiasj 2009-03-20 21:19

Re: packaging libs for Maemo
 
Guess I spoke too soon, I can not actually install it from extras. It is in the pool but if i try to find it in app manager it is no go and apt-get doesn't see it either. perhaps it needs more time to make it in the list.


-John

edit: if iI try to install it directly from the repro (with the browser) I get an incompatible application package...


All times are GMT. The time now is 17:51.

vBulletin® Version 3.8.8