From 343071cc6ab69169312ae04a7888cd55a79395d0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Wed, 29 Dec 2010 11:35:40 +0100 Subject: [PATCH] The include path to the freetype2 header files is now retrieved via a call to 'pkg-config --cflags freetype2' --- CONTRIBUTORS | 4 ++++ HISTORY | 4 +++- Makefile | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index c84a1e8d..fd06cd2a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -2646,3 +2646,7 @@ Dominik Strasser Joerg Bornkessel for adding LDFLAGS to the linker calls in the Makefiles + +Andreas Oberritter + for suggesting to retrieve the include path to the freetype2 header files + via a call to 'pkg-config --cflags freetype2' diff --git a/HISTORY b/HISTORY index 996a7a17..ff9f7d49 100644 --- a/HISTORY +++ b/HISTORY @@ -6481,7 +6481,7 @@ Video Disk Recorder Revision History from Osama Alrawab). See INSTALL for information on how to turn this on. - Added Arabian language texts (thanks to Osama Alrawab). -2010-12-26: Version 1.7.17 +2010-12-29: Version 1.7.17 - Updated the Estonian OSD texts (thanks to Arthur Konovalov). - Fixed following symbolic links in RemoveFileOrDir() (cont'd) (thanks to @@ -6517,3 +6517,5 @@ Video Disk Recorder Revision History Paul Menzel). - Now updating the 'frames per second' data in the list of recordings when a new recording is started that has a frame rate other than the default. +- The include path to the freetype2 header files is now retrieved via a call to + 'pkg-config --cflags freetype2' (suggested by Andreas Oberritter). diff --git a/Makefile b/Makefile index a6a44895..c895cd29 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: Makefile 2.12 2010/12/26 12:04:17 kls Exp $ +# $Id: Makefile 2.13 2010/12/29 11:22:56 kls Exp $ .DELETE_ON_ERROR: @@ -21,7 +21,7 @@ MANDIR = $(PREFIX)/share/man BINDIR = $(PREFIX)/bin LOCDIR = ./locale LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -INCLUDES ?= -I/usr/include/freetype2 +INCLUDES ?= $(shell pkg-config --cflags freetype2) PLUGINDIR= ./PLUGINS PLUGINLIBDIR= $(PLUGINDIR)/lib