Re: CinePaint SCons Packager

"H. S. Teoh" <[email protected]>
Newsgroups gmane.comp.video.cinepaint.devel
Message-ID <[email protected]>
On Fri, Feb 29, 2008 at 08:13:21PM +0100, Kai-Uwe Behrmann wrote:
> Am 29.02.08, 09:18 -0800 schrieb H. S. Teoh:
> > On Fri, Feb 29, 2008 at 06:21:30PM +0100, Kai-Uwe Behrmann wrote:
[...]
> > > configure --enable-gtk2 
> > 
> > I just tried that, and I still get the same error. Maybe it's an
> > autoconf version conflict? It seems a bit strange that it should get
> > a syntax error if it's just a missing flag.
> 
> Hmm, another possibility is that the GTK1 macros are missed. Newer
> systems dont have them. I still maintained Gtk1 versions. For instance
> to support the gtk-osx builds. The Gtk2 on osX version did not work.

Hmm. Is there a way to make it skip the GTK1 macros when GTK1 is not
installed? Or is there no way around installing GTK1 just so configure
will work? (The Debian FTP masters will not like this if we try to
upload to the main Debian archive...)

Anyway, it seems that I'm seeing two problems, which are related:

1) Running autoconf doesn't expand the GTK1 macros, so the resulting
configure script is broken (that's where the syntax error comes from).

2) Running the CVS version of configure does work, except that it
insists on checking for gtk1 regardless of any settings (also, it
doesn't seem to understand --enable-gtk2?). So it looks like I must
install GTK1 just to make it happy?


[...]
> > There's a subdirectory called 'libgimp' in the source...? (Am I
> > looking at the right source tree??)
> 
> This name should not be used for libraries of this project. The
> libgimp directory contains only headers. There should no object code
> compile.
[...]

Ah, you're right. I was wondering what I should do with them. (Nothing?)
Are they even being used by the program anywhere? If not, I won't bother
with the SConscript for this subdir.


On another note, I've managed to get app/cinepaint to be fully compiled
and linked under SCons. :-) There's still some mess I need to cleanup in
the SCons scripts, though---I hacked in some macro settings (like
VERSION) just to make the thing compile, since I couldn't get configure
to work correctly. I'll be working on getting configure to work properly
next, then I can verify whether SCons is really doing what the makefiles
are currently doing.


--T

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.