Bug#481644: Patch

Matt Kraai kraai at ftbfs.org
Sat May 17 17:26:21 UTC 2008


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
-------------- next part --------------
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 @@
 @ENABLE_VALA_TRUE at install-pluginLTLIBRARIES:
 
 @ENABLE_VALA_TRUE at totem-sample-vala-plugin.c totem-sample-vala-plugin.h: totem-sample-vala-plugin.vala
- at ENABLE_VALA_TRUE@	$(VALAC) --vapidir=$(top_srcdir)/bindings/vala --pkg=totem $^
+ at ENABLE_VALA_TRUE@	$(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:


More information about the pkg-gnome-maintainers mailing list