Re: Help packaging the latest pidgin.
"Neil Munro" <[email protected]>
| Newsgroups | gmane.comp.autopackage.devel |
|---|---|
| Message-ID | <[email protected]> |
On 30/01/2008, Isak Savo <[email protected]> wrote: > > 2008/1/30, Neil Munro <[email protected]>: > > Once i reached the point of trying to get my head around binreloc I got > > lost. I know why it's required and what it does I'm just not quite sure > HOW > > to do it. Especially considering this application is not mine and I > don't > > know the code. Can someone help me package the latest pidgin and walk me > > through all the things I need to do. Hopefully after packaging a few > times > > I'll get my head around it and know what to do in future. > > Pidgin was once upon a time packaged with autopackage (back when it > was called Gaim) so there shouldn't be too hard to make that work > again. (Tim, are you still on this list?) I remember, it made installing Gaim rather easy when a new version came out. ;) On the other hand, pidgin is also quite a large project, which means > you'll probably have to get your hands dirty while doing it. I don't mind 'getting my hands dirty' I am writing this project to learn about programming and Linux in general, I figure learning a form of packaging can only be a good thing, and autopackage being distro independent makes my life so much easier. There are two ways to use binreloc. > 1) The "normal" way: This involves changing the code to not rely on > hard coded paths. Basically find all locations in the code where it > has hard coded strings for e.g. datafiles and replace them with their > corresponding binreloc API function call. Ok, I'll try the tried and true method first, how do I go about doing it, I remember from your website that it's in the main Makefile.am that I try and change hard coded paths, but on a project like Pidgin I imagine I have to edit more than the main Makefile.am however, your website said if the package is also built for windows binreloc should not be required and Pidgin is packaged for windows, so I am not entirely sure what to do. Or even where to begin. As I said I have gotten the spec file written and edited, so it really is starting with the binreloc I need someone to show me what to do and help me get my head around it. 2) The "new-not-so-tested" way: By using some file descriptor black > magic, you may be able to get pidgin completely "binreloced" without > touching the code. See > http://trac.autopackage.org/browser/binreloc/trunk/fdbr.c . Also see > this thread: > http://thread.gmane.org/gmane.comp.autopackage.devel/5274/focus=5278 I will try this if I can't get my head around the tried and true method first. -Isak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected] > For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected] Thanks Neil Munro