GNOME Bugzilla – Bug 767626
Fix the build when srcdir != builddir
Last modified: 2016-06-17 18:50:03 UTC
Recent updates make JHBuild default to builddir != srcdir, but clutter-gst doesn't seems to support it. Please see the attached patches for both clutter-gst-2.0 and clutter-gst-3.0 branches.
Created attachment 329742 [details] [review] build: Allow building in non-srcdir (clutter-gst-2.0 branch)
Created attachment 329743 [details] [review] build: Allow building in non-srcdir (clutter-gst-3.0 branch)
Strictly speaking, all those $(srcdir) should go away, and the build should use the appropriate include paths. I did try fixing that when I updated various modules for the jhbuild change, but it ended up cascading into a bunch of build fixes and I had to punt for lack of time.
Created attachment 329904 [details] [review] build: Allow building in non-srcdir (clutter-gst-2.0 branch) Yes, I agree $(srcdir) should not appear in _SOURCES, but existing Makefiles do use these variables in different ways and cause $(srcdir) and $(builddir) to be required. This patch removes all $(srcdir) and $(builddir) in _SOURCES, and add them with addprefix when required.
Review of attachment 329743 [details] [review]: Pushed to 3.0 branch.
Review of attachment 329904 [details] [review]: Pushed to 2.0 branch.
Pushed, thanks a lot!