Am Montag, den 29.09.2008, 13:04 +0200 schrieb Adrien:
> Hi,
> 
> I'd like to make a distribution package of godi, with fast everything
> from lablgtk to ocisgen. The problem I'm facing is : how not to
> pollute the build environment ?
> 
> Currently I can ./configure godi with a fake prefix. Then I would
> search-replace all occurences of the fake prefix (which means grepping
> about 400MB of hopefully cached data). It works but it's also quite
> ugly. Is there a better way to do that ?

I would even say that it does not work. There are binaries and libraries
with compiled-in paths. You cannot easily replace them.

> I currently don't think there's a better solution though because the
> scripts can contain anything. Take the 'lablgtk' or 'lablgl' scripts
> for instance : they contain the prefix in a hard-coded form.

I'm not sure that I understand what you try to do. Can you please
elaborate a bit more how you want to distribute godi? Why do you want to
change the prefix afterward?

> Btw, I'd like to make several smaller packages. Especially, I'd like
> to move the source files in a different package. I currently put
> everything under $PREFIX/build in a different package. Again, is there
> a better approach ?

GODI comes with packages, so you could take the file lists of the GODI
packages.

Gerd
-- 
------------------------------------------------------------
Gerd Stolpmann * Viktoriastr. 45 * 64293 Darmstadt * Germany 
[EMAIL PROTECTED]          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------


_______________________________________________
Godi-list mailing list
[email protected]
https://godirepo.camlcity.org/mailman/listinfo/godi-list

Reply via email to