On Tue, 2007-12-04 at 16:53 -0500, Michel Salim wrote:
> On 04/12/2007, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> > On Tue, 2007-12-04 at 15:14 -0500, Michel Salim wrote:
> > > I just built Vala-0.1.5 for Fedora, and noticed when trying out
> > > vala-gen-project that it was expecting automake shared files to be
> > > located at
> > >
> > > /usr/share/automake/
> > >
> > > whereas Fedora put them in /usr/share/automake-%{version}/
> > >
> > > Should I just patch the affected files (valaprojectgenerator.c and
> > > valaprojectgenerator.vala)?
> >
> > Yes, that's necessary for Vala 0.1.5. It's a bit more flexible in SVN
> > trunk, see also http://bugzilla.gnome.org/show_bug.cgi?id=499806
> >
> Is there a reason why the tarball has valaprojectgenerator.{c,h} in
> addition to the .vala source? I tried ./autogen.sh-ing the SVN
> checkout and it still does not generate the .{c,h} files.
The reason why we distribute the generated C source and header files in
the vala tarball is to avoid that you need valac to build valac. That is
not really necessary for vapigen and vala-gen-project as they could use
the just built valac. We should probably change this in the build
system.
> Just patching the vala file (with the diff from SVN) seems to fix
> vala-gen-project, so it looks like the .{c,h} files should not be in
> the tarball.
This probably won't work if valac isn't already installed, e.g. on the
build server. It should work when doing something like
make VALAC=$PWD/compiler/valac
Jürg
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list