All of lore.kernel.org
 help / color / mirror / Atom feed
* package VDR for OE
@ 2009-12-12 11:48 Paul Menzel
  2009-12-12 17:33 ` Henning Heinold
  0 siblings, 1 reply; 16+ messages in thread
From: Paul Menzel @ 2009-12-12 11:48 UTC (permalink / raw)
  To: openembedded-devel


[-- Attachment #1.1: Type: text/plain, Size: 2168 bytes --]

Dear OE hackers,


I am trying to write a recipe for The Video Disc Recorder (VDR) [1] and
get it into OE.

Unfortunately I have never done this and I also do not know much about
things related to compiling.

I tried to follow [2] and [3] and came up with the following which is
not much as you can see and in addition does not work yet.

The problem I am facing is, that in the Makefile of VDR [4] there is

        […]
        LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype
        -lfontconfig
        INCLUDES = -I/usr/include/freetype
        […]

so that the path `/usr/include/freetype/` is passed to the make command
which of course fails trying to cross compile the program.

        CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/freetype2
        cc1plus: internal compiler error: in add_path, at c-incpath.c:425

Now, if I understand it correctly by looking at other recipes there is
EXTRA_OEMAKE = "" where I should be able to set the INCLUDEPATH to the
OE build environment. Is that correct.

Could you please also tell me what the recipe variable name is for libs?


Thank you,

Paul


[1] http://www.tvdr.de
[2] http://wiki.openmoko.org/wiki/BitBake_recipe
[3] http://docs.openembedded.org/usermanual/html/recipes_directories.html
[4] http://git.gekrumbel.de/vdr.git?p=vdr.git;a=blob;f=Makefile;h=703b801f623d16d9f3e872716a2646d908f35273;hb=ea01358b3bca9d55402ba632c95cdd6458abfdb3


diff --git a/conf/checksums.ini b/conf/checksums.ini
index 3bf9854..e717f1b 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -27046,6 +27046,10 @@ sha256=05b473815f9706387a3c5eaeb4da2e492f624e0b77834321
 md5=d97a8dbc72942c57542f50322b538a48
 sha256=05b473815f9706387a3c5eaeb4da2e492f624e0b7783432179454f9d69bb973c
 
+[ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.10.tar.bz2]
+md5=c74ee966baca1c47ed6b9e2be3d1639b
+sha256=165bfcd811ef92cab50d11a88a76c481e105689438929414d27edfacfb312f52
+
 [ftp://ftp.billsgames.com/unix/x/vectoroids/src/vectoroids-1.1.0.tar.gz]
 md5=c63ce56b09aa7da9a6e95d804e9ee314
 sha256=8d14dd281767e994108abd77c8e67d5a17718d0ad1e34d37e026911d14697b2e

[-- Attachment #1.2: vdr_1.7.10.bb --]
[-- Type: text/plain, Size: 511 bytes --]

DESCRIPTION = "Video Disk Recorder (VDR) is a digital sat-receiver program using Linux and DVB technologies. It allows one to record MPEG2 streams, as well as output the stream to TV. It is also possible to watch DVDs (hardware accelerated) with some comfort and use an IR remote control."
AUTHOR = "Klaus Schmidinger"
LICENSE = "GPLv2"
HOMEPAGE = "http://www.tvdr.de"

DEPENDS = "fontconfig freetype gettext libcap jpeg"

SRC_URI = "ftp://ftp.tvdr.de/vdr/Developer/${P}.tar.bz2"


EXTRA_OEMAKE = ""

[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-01-19  0:24 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-12 11:48 package VDR for OE Paul Menzel
2009-12-12 17:33 ` Henning Heinold
2009-12-13 13:46   ` Paul Menzel
2009-12-13 14:18     ` Petr Štetiar
2009-12-13 15:45       ` Paul Menzel
2009-12-14 19:13         ` Paul Menzel
2009-12-14 20:10           ` Henning Heinold
2009-12-14 20:28             ` Paul Menzel
2010-01-03 14:15               ` Paul Menzel
2010-01-04 21:37                 ` [done] " Paul Menzel
2010-01-10 12:40         ` environment variables in Makefile for cross compilation (was: package VDR for OE) Paul Menzel
2010-01-10 13:00           ` Frans Meulenbroeks
2010-01-19  0:22         ` Setting environment variables in recipes and fixing upstream the right way to cross compile? " Paul Menzel
2009-12-13 16:34     ` package VDR for OE Koen Kooi
2009-12-13 18:05       ` Paul Menzel
2009-12-13 18:32         ` Petr Štetiar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.