GNOME Bugzilla – Bug 697204
libgd fails to build when srcdir != builddir
Last modified: 2013-04-04 18:35:38 UTC
Created attachment 240525 [details] [review] 0001-Allow-building-when-srcdir-builddir.patch libgd fails to build when srcdir != builddir i.e. when the project is build from outside of source repository. The attach patch fixes it.
Review of attachment 240525 [details] [review]: ::: Makefile.am @@ +232,1 @@ +$(builddir)/gd-1.0.vapi: $(builddir)/Gd-1.0.gir This is unfortunately not that simple, as tarballs are supposed to ship the .vapi file, and to be buildable without needing vala. In this case, $(srcdir)/gd-1.0.vapi would be correct.
(In reply to comment #1) > Review of attachment 240525 [details] [review]: > > ::: Makefile.am > @@ +232,1 @@ > +$(builddir)/gd-1.0.vapi: $(builddir)/Gd-1.0.gir > > This is unfortunately not that simple, as tarballs are supposed to ship the > .vapi file, and to be buildable without needing vala. In this case, > $(srcdir)/gd-1.0.vapi would be correct. The srcdir should not be modified though. My guess it should output to $(builddir) - however the lookup should be done from 2 places - the change for valac would be simple - bigger problem would be with installing vapi (which is not a problem for libgd at this moment).
I believe this is the same problem reported in bug 690972. *** This bug has been marked as a duplicate of bug 690972 ***