Re: spice-gtk 0.14 can't be built outside the source tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Andrew,

If I understand the bug correctly, the fix you propose is rather:

https://446586.bugs.gentoo.org/attachment.cgi?id=334564


(Btw, we do run make distcheck successfully before every release, and
that doesn't require vala since the generated files are shipped)

On Fri, Jan 4, 2013 at 5:59 PM, Andrew Hughes <gnu.andrew@xxxxxxxxxx> wrote:
> See https://bugs.gentoo.org/show_bug.cgi?id=446586
>
> The paths to the vala source files in gtk/controller/Makefile.am don't specify the
> source directory.  This is fine when the build and source directories are the same,
> but fails when they are different.
>
> It works in the .c case as the source list is expanded by make into multiple invocations
> of the rule.
>
> .c.o:
>         $(AM_V_CC)$(COMPILE) -c $<
>
> and there is an include directive to the source directory.
>
> In the vala case, it includes the source list as is:
>
> controller.vala.stamp: $(libspice_controller_la_VALASOURCES) custom.vapi
>         @if test -z "$(VALAC)"; then \
>                 echo "" ; \
>                 echo "  *** Error: missing valac!" ; \
>                 echo "  *** You must run autogen.sh or configure --enable-vala" ; \
>                 echo "" ; \
>                 exit 1 ; \
>         fi
>         $(VALA_V)$(VALAC) $(VALAFLAGS) $(AM_VALAFLAGS) $(libspice_controller_la_VALASOURCES) -H spice-controller.h
>
> A fix is attached.
>
> Thanks,
> --
> Andrew :)
>
> Free Java Software Engineer
> Red Hat, Inc. (http://www.redhat.com)
>
> PGP Key: 248BDC07 (https://keys.indymedia.org/)
> Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07
>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]