tag 481644 patch
thanks

It appears that in Vala 0.3.2, valac was changed to compile, instead
of just generate C code, by default.  The attached patch makes Totem
pass it --ccode so that it behaves as before.  valac appears to have
supported this option for quite some time, so I don't think a
versioned build-dependency is required.

-- 
Matt
diff -ru totem-2.22.2~/src/plugins/sample-vala/Makefile.am 
totem-2.22.2/src/plugins/sample-vala/Makefile.am
--- totem-2.22.2~/src/plugins/sample-vala/Makefile.am   2008-05-17 
09:30:13.000000000 -0700
+++ totem-2.22.2/src/plugins/sample-vala/Makefile.am    2008-05-17 
09:30:45.000000000 -0700
@@ -14,7 +14,7 @@
 install-pluginLTLIBRARIES:
 
 totem-sample-vala-plugin.c totem-sample-vala-plugin.h: 
totem-sample-vala-plugin.vala
-       $(VALAC) --vapidir=$(top_srcdir)/bindings/vala --pkg=totem $^
+       $(VALAC) --ccode --vapidir=$(top_srcdir)/bindings/vala --pkg=totem $^
 
 common_defines = \
        -D_REENTRANT                                    \
diff -ru totem-2.22.2~/src/plugins/sample-vala/Makefile.in 
totem-2.22.2/src/plugins/sample-vala/Makefile.in
--- totem-2.22.2~/src/plugins/sample-vala/Makefile.in   2008-05-17 
09:30:13.000000000 -0700
+++ totem-2.22.2/src/plugins/sample-vala/Makefile.in    2008-05-17 
09:31:33.000000000 -0700
@@ -678,7 +678,7 @@
 @[EMAIL PROTECTED]:
 
 @[EMAIL PROTECTED] totem-sample-vala-plugin.h: totem-sample-vala-plugin.vala
[EMAIL PROTECTED]@      $(VALAC) --vapidir=$(top_srcdir)/bindings/vala 
--pkg=totem $^
[EMAIL PROTECTED]@      $(VALAC) --ccode --vapidir=$(top_srcdir)/bindings/vala 
--pkg=totem $^
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:

Reply via email to