aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vdr
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2010-01-07 22:57:16 +0100
committerHenning Heinold <heinold@inf.fu-berlin.de>2010-01-07 22:59:29 +0100
commit928760831e33bd42d4f02d9dc4855c7ae623c5af (patch)
tree1be057a6f09101a79eefe9cd3600b4cc3a73a797 /recipes/vdr
parent5c9878edf28117ed1a2e976bb98797f9b6f506e6 (diff)
downloadopenembedded-928760831e33bd42d4f02d9dc4855c7ae623c5af.tar.gz
openembedded-928760831e33bd42d4f02d9dc4855c7ae623c5af.tar.bz2
openembedded-928760831e33bd42d4f02d9dc4855c7ae623c5af.zip
vdr: fix libintl problem now the right way
* bump PR
Diffstat (limited to 'recipes/vdr')
-rw-r--r--recipes/vdr/files/libintl.patch8
-rw-r--r--recipes/vdr/files/linkerflags.patch40
-rw-r--r--recipes/vdr/vdr_1.7.10.bb6
3 files changed, 28 insertions, 26 deletions
diff --git a/recipes/vdr/files/libintl.patch b/recipes/vdr/files/libintl.patch
index 53540408d2..57b258166e 100644
--- a/recipes/vdr/files/libintl.patch
+++ b/recipes/vdr/files/libintl.patch
@@ -1,13 +1,13 @@
Index: vdr-1.7.10/Makefile
===================================================================
---- vdr-1.7.10.orig/Makefile 2010-01-03 17:37:34.481503866 +0100
-+++ vdr-1.7.10/Makefile 2010-01-03 17:37:46.708168016 +0100
+--- vdr-1.7.10.orig/Makefile 2010-01-07 22:02:32.000000000 +0100
++++ vdr-1.7.10/Makefile 2010-01-07 22:03:01.803824516 +0100
@@ -20,7 +20,7 @@
MANDIR = $(PREFIX)/share/man
BINDIR = $(PREFIX)/bin
LOCDIR = ./locale
--LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
-+LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl
+-LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ${LDFLAGS}
++LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl ${LDFLAGS}
INCLUDES = ${CFLAGS}
PLUGINDIR= ./PLUGINS
diff --git a/recipes/vdr/files/linkerflags.patch b/recipes/vdr/files/linkerflags.patch
index 6ae2fef2cc..63c4477790 100644
--- a/recipes/vdr/files/linkerflags.patch
+++ b/recipes/vdr/files/linkerflags.patch
@@ -1,20 +1,20 @@
Index: vdr-1.7.10/Makefile
===================================================================
---- vdr-1.7.10.orig/Makefile 2010-01-03 18:32:17.621590237 +0100
-+++ vdr-1.7.10/Makefile 2010-01-03 18:32:35.494511992 +0100
+--- vdr-1.7.10.orig/Makefile 2010-01-07 22:01:54.000000000 +0100
++++ vdr-1.7.10/Makefile 2010-01-07 22:02:32.167165564 +0100
@@ -20,7 +20,7 @@
MANDIR = $(PREFIX)/share/man
BINDIR = $(PREFIX)/bin
LOCDIR = ./locale
--LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl
-+LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig -lintl ${LDFLAGS}
+-LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig
++LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig ${LDFLAGS}
INCLUDES = ${CFLAGS}
PLUGINDIR= ./PLUGINS
Index: vdr-1.7.10/PLUGINS/src/hello/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/hello/Makefile 2010-01-03 18:36:04.434906531 +0100
-+++ vdr-1.7.10/PLUGINS/src/hello/Makefile 2010-01-03 18:36:53.764486295 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/hello/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/hello/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -19,6 +19,7 @@
CXX ?= g++
@@ -34,8 +34,8 @@ Index: vdr-1.7.10/PLUGINS/src/hello/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/osddemo/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/osddemo/Makefile 2010-01-03 18:37:03.264901094 +0100
-+++ vdr-1.7.10/PLUGINS/src/osddemo/Makefile 2010-01-03 18:37:50.811562295 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/osddemo/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/osddemo/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -17,6 +17,7 @@
CXX ?= g++
@@ -55,8 +55,8 @@ Index: vdr-1.7.10/PLUGINS/src/osddemo/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/pictures/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/pictures/Makefile 2010-01-03 18:38:04.324891989 +0100
-+++ vdr-1.7.10/PLUGINS/src/pictures/Makefile 2010-01-03 18:38:28.857810076 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/pictures/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/pictures/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -19,6 +19,7 @@
CXX ?= g++
@@ -76,8 +76,8 @@ Index: vdr-1.7.10/PLUGINS/src/pictures/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/servicedemo/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/servicedemo/Makefile 2010-01-03 18:38:35.431552371 +0100
-+++ vdr-1.7.10/PLUGINS/src/servicedemo/Makefile 2010-01-03 18:39:08.001139005 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/servicedemo/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/servicedemo/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -19,6 +19,7 @@
CXX ?= g++
@@ -102,8 +102,8 @@ Index: vdr-1.7.10/PLUGINS/src/servicedemo/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/skincurses/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/skincurses/Makefile 2010-01-03 18:39:17.038217922 +0100
-+++ vdr-1.7.10/PLUGINS/src/skincurses/Makefile 2010-01-03 18:40:01.821133352 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/skincurses/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/skincurses/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -19,6 +19,7 @@
CXX ?= g++
@@ -123,8 +123,8 @@ Index: vdr-1.7.10/PLUGINS/src/skincurses/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/sky/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/sky/Makefile 2010-01-03 18:40:08.738209760 +0100
-+++ vdr-1.7.10/PLUGINS/src/sky/Makefile 2010-01-03 18:40:20.694465450 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/sky/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/sky/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -17,6 +17,7 @@
CXX ?= g++
@@ -144,8 +144,8 @@ Index: vdr-1.7.10/PLUGINS/src/sky/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/status/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/status/Makefile 2010-01-03 18:40:27.841126169 +0100
-+++ vdr-1.7.10/PLUGINS/src/status/Makefile 2010-01-03 18:40:41.844457953 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/status/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/status/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -17,6 +17,7 @@
CXX ?= g++
@@ -165,8 +165,8 @@ Index: vdr-1.7.10/PLUGINS/src/status/Makefile
dist: clean
Index: vdr-1.7.10/PLUGINS/src/svdrpdemo/Makefile
===================================================================
---- vdr-1.7.10.orig/PLUGINS/src/svdrpdemo/Makefile 2010-01-03 18:40:50.818205559 +0100
-+++ vdr-1.7.10/PLUGINS/src/svdrpdemo/Makefile 2010-01-03 18:41:01.831121904 +0100
+--- vdr-1.7.10.orig/PLUGINS/src/svdrpdemo/Makefile 2010-01-07 22:01:07.000000000 +0100
++++ vdr-1.7.10/PLUGINS/src/svdrpdemo/Makefile 2010-01-07 22:02:02.240496954 +0100
@@ -17,6 +17,7 @@
CXX ?= g++
diff --git a/recipes/vdr/vdr_1.7.10.bb b/recipes/vdr/vdr_1.7.10.bb
index b4cc5ce5c9..a8fa82c13b 100644
--- a/recipes/vdr/vdr_1.7.10.bb
+++ b/recipes/vdr/vdr_1.7.10.bb
@@ -2,18 +2,20 @@ DESCRIPTION = "Video Disk Recorder (VDR) is a digital sat-receiver program using
AUTHOR = "Klaus Schmidinger"
LICENSE = "GPLv2"
HOMEPAGE = "http://www.tvdr.de"
-PR = "r1"
+PR = "r2"
DEPENDS = "fontconfig freetype gettext libcap jpeg virtual/libintl"
SRC_URI = "ftp://ftp.tvdr.de/vdr/Developer/${P}.tar.bz2 \
file://fixpaths.patch;patch=1 \
file://cplusplus.patch;patch=1 \
- file://libintl.patch;patch=1 \
file://disable_plugin.patch;patch=1 \
file://linkerflags.patch;patch=1 \
"
+SRC_URI_append_linux-uclibceabi = " file://libintl.patch;patch=1 "
+SRC_URI_append_uclinux-uclibc = " file://libintl.patch;patch=1 "
+
CFLAGS_append += " -I${STAGING_INCDIR}/freetype2"
PLUGINDIR = "${libdir}/vdr/plugins"