Re: Help packaging the latest pidgin.

"Isak Savo" <[email protected]>
Newsgroups gmane.comp.autopackage.devel
Message-ID <[email protected]>
2008/1/31, Neil Munro <[email protected]>:
> Ok, how do I go about doing this secondary method then? I downloaded the .c
> file, but can't compile it :S I understand the abstract concept of what I am
> doing, but not the practical aspect, I really do need some practical help,
> if someone can show me a small project to get my toes wet with or something

It's really not much more to it than the abstract concept. :)

The practical issues are typically:
Find all places in the code which does things like
   image = load_image (DATADIR "/images/myimage.png");
with
   gchar *datadir = gbr_find_datadir (DATADIR);
   gchar *imagepath = g_build_filename (datadir, "images", "myimage.png");
   image = load_image (imagepath);

and put a gbr_init() call somewhere in the beginning of main().

To see some real world cases were binreloc is used, just dive into any
of the autopackage binaries, like mkapspec, gladecompat, autosu-gtk
and autosu-tui.

-Isak
-Isak

---------------------------------------------------------------------
To unsubscribe, e-mail: autopackage-dev-unsubscribe-OfajU3CKLf1/[email protected]
For additional commands, e-mail: autopackage-dev-help-OfajU3CKLf1/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.