Bug#915353: vdr-plugin-skinenigmang FTBFS due to using freetype-config that was removed in Debian

Adrian Bunk bunk at debian.org
Sun Dec 2 21:57:32 GMT 2018


Source: vdr-plugin-skinenigmang
Version: 0.1.2+git20180128-2
Severity: serious
Tags: ftbfs patch

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/vdr-plugin-skinenigmang.html

...
In file included from config.h:20,
                 from skinenigmang.c:9:
font.h:16:10: error: #include expects "FILENAME" or <FILENAME>
 #include FT_FREETYPE_H
          ^~~~~~~~~~~~~


Fix attached.
-------------- next part --------------
Description: freetype-config was removed in Debian, switch to pkg-config
Author: Adrian Bunk <bunk at debian.org>

--- vdr-plugin-skinenigmang-0.1.2+git20180128.orig/Makefile
+++ vdr-plugin-skinenigmang-0.1.2+git20180128/Makefile
@@ -138,9 +138,9 @@ INCLUDES += $(shell pkg-config --cflags
 endif
 endif
 
-ifneq ($(shell which freetype-config),)
-	INCLUDES += $(shell freetype-config --cflags)
-	LIBS += $(shell freetype-config --libs)
+ifneq ($(shell which pkg-config),)
+	INCLUDES += $(shell pkg-config --cflags freetype2)
+	LIBS += $(shell pkg-config --libs freetype2)
 else
 	INCLUDES += -I/usr/include/freetype -I/usr/local/include/freetype
 	LIBS += -lfreetype


More information about the pkg-vdr-dvb-devel mailing list