[SCM] traverso/master: SLV's pkgconfig file is slv.pc, force to include /usr/include/rasqal to prevent FTBFS.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat Dec 4 09:30:06 UTC 2010


The following commit has been merged in the master branch:
commit d8b3f52bd54218fcbc4120c301f2d300b0ab5c68
Author: Alessio Treglia <alessio at debian.org>
Date:   Sat Dec 4 10:29:19 2010 +0100

    SLV's pkgconfig file is slv.pc, force to include /usr/include/rasqal to prevent FTBFS.

diff --git a/debian/patches/03-find_slv2.patch b/debian/patches/03-find_slv2.patch
new file mode 100644
index 0000000..d0ceecd
--- /dev/null
+++ b/debian/patches/03-find_slv2.patch
@@ -0,0 +1,21 @@
+Description: SLV installs package configuration as slv.pc and not libslv.pc.
+ Force the use of -I/usr/include/rasqal, otherwise FTBFS.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: no
+---
+ CMakeLists.txt |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- traverso.orig/CMakeLists.txt
++++ traverso/CMakeLists.txt
+@@ -198,8 +198,9 @@ IF(WANT_LV2)
+ # 			MESSAGE(FATAL_ERROR "lv2 support requested, but slv2 development headers could not be found!\nPlease install the slv2 development package (Usually called libslv2-dev), remove CMakeCache.txt and run cmake again")
+ # 		ENDIF(NOT HAVE_SLV2_H)
+ 		
+-		PKG_CHECK_MODULES(SLV2  libslv2>=${MINIMAL_SLV2_VERSION})
++		PKG_CHECK_MODULES(SLV2  slv2>=${MINIMAL_SLV2_VERSION})
+ 		IF (SLV2_FOUND)
++			INCLUDE_DIRECTORIES(/usr/include/redland /usr/include/rasqal)
+ 			MESSAGE("-- slv2 Library Found OK")
+ 			SET(HAVE_SYSTEM_SLV2 TRUE)
+ 		ENDIF(SLV2_FOUND)

-- 
traverso packaging



More information about the pkg-multimedia-commits mailing list