Source: libdmapsharing
Version: 3.9.13-4
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

libdmapsharing uses vapigen and that recently added (#1061107) a wrapper 
for cross compilation. libdmapsharing fails to cross build from source, 
because it does not yet use this wrapper. When discovering vapigen, we 
now need to use AC_PATH_TOOL instead of AC_PATH_PROG. This is a 
backwards-compatible change.

Beyond this, it also uses gtk-doc, which is incompatible with cross 
compilation. As libdmapsharing does not separate its documentation to an 
arch:all package as many other packages do, there is little we can do 
about this for now.

I'm attaching a patch for using the right vapigen. Please close this bug 
report when addressing just this aspect. Do you have any plans about 
introducing a -doc package?

Helmut
--- libdmapsharing-3.9.13.orig/configure.ac
+++ libdmapsharing-3.9.13/configure.ac
@@ -185,7 +185,7 @@
 AM_CONDITIONAL(HAVE_VALAC, test -x "$VALAC")
 
 # Have vapigen?
-AC_PATH_PROG(VAPIGEN, vapigen)
+AC_PATH_TOOL(VAPIGEN, vapigen)
 AM_CONDITIONAL(BUILD_VAPI, test -n "$VAPIGEN" -a xyes = x"$found_introspection")
 if ! test -n "$VAPIGEN" -a xyes = x"$found_introspection"; then
 	AC_MSG_WARN([Will not build vapi])

Reply via email to