Bug#652158: naspro-bridges: FTBFS: configure: error: LV2 Dynamic Manifest header not found.

Ilya Barygin randomaction at ubuntu.com
Tue Dec 20 19:18:41 UTC 2011


retitle 652158 naspro-bridges: FTBFS: configure: error: LV2 Dynamic
Manifest header not found.
tags 652158 patch
thanks

The actual error is:

checking lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h usability... no
checking lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h presence... no
checking for lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h... no
configure: error: LV2 Dynamic Manifest header not found.

Patch from Ubuntu:
https://launchpad.net/ubuntu/+source/naspro-bridges/0.2.91-1ubuntu1

(Actually, this patch is minimal. lv2-extensions-good provides .pc files
for other headers as well, so AC_CHECK_HEADER's in configure.ac can
easily be replaced with PKG_CHECK_MODULES. This looks like something for
upstream to do, anyway.)

diff -Nru
naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
--- naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
1970-01-01 03:00:00.000000000 +0300
+++ naspro-bridges-0.2.91/debian/patches/dynmanifest-location.patch
2011-12-20 22:54:22.000000000 +0400
@@ -0,0 +1,38 @@
+Description: name and location of dyn-manifest.h have changed
+ Remove hardcoded path from configure script and source files. Necessary
+ build flags will be provided from debian/rules.
+Author: Ilya Barygin <randomaction at ubuntu.com>
+
+--- naspro-bridges-0.2.91.orig/configure.ac
++++ naspro-bridges-0.2.91/configure.ac
+@@ -37,7 +37,7 @@ AC_PROG_LIBTOOL
+ PKG_CHECK_MODULES([NABRIT], [nabrit-1 >= 0.2.90])
+
+ # Checks for header files.
+-AC_CHECK_HEADER([lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h], ,
++AC_CHECK_HEADER([dynmanifest.h], ,
+ 		[AC_MSG_ERROR([LV2 Dynamic Manifest header not found.])])
+
+ AC_CHECK_HEADER([ladspa.h], [build_ladspa=yes], [build_ladspa=no])
+--- naspro-bridges-0.2.91.orig/ladspa/internal.h
++++ naspro-bridges-0.2.91/ladspa/internal.h
+@@ -18,7 +18,7 @@
+
+ #include <ladspa.h>
+
+-#include "lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h"
++#include "dynmanifest.h"
+
+ #include <NASPRO/brit/lib.h>
+
+--- naspro-bridges-0.2.91.orig/dssi/internal.h
++++ naspro-bridges-0.2.91/dssi/internal.h
+@@ -20,7 +20,7 @@
+
+ #include <alsa/seq_midi_event.h>
+
+-#include "lv2/lv2plug.in/ns/ext/dyn-manifest/dyn-manifest.h"
++#include "dynmanifest.h"
+ #include "lv2/lv2plug.in/ns/ext/event/event.h"
+ #include "lv2/lv2plug.in/ns/ext/uri-map/uri-map.h"
+
diff -Nru naspro-bridges-0.2.91/debian/patches/series
naspro-bridges-0.2.91/debian/patches/series
--- naspro-bridges-0.2.91/debian/patches/series	1970-01-01
03:00:00.000000000 +0300
+++ naspro-bridges-0.2.91/debian/patches/series	2011-12-20
22:57:30.000000000 +0400
@@ -0,0 +1 @@
+dynmanifest-location.patch
diff -Nru naspro-bridges-0.2.91/debian/rules
naspro-bridges-0.2.91/debian/rules
--- naspro-bridges-0.2.91/debian/rules	2011-05-31 12:06:32.000000000 +0400
+++ naspro-bridges-0.2.91/debian/rules	2011-12-20 22:50:32.000000000 +0400
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f

+CFLAGS += $(shell pkg-config --cflags lv2-lv2plug.in-ns-ext-dynmanifest)
+
 %:
 	dh $@ --parallel --with autoreconf







More information about the pkg-multimedia-maintainers mailing list