diff options
| author | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openembedded.org> | 2007-08-09 08:41:19 +0000 |
| commit | 9d829ed05c295df608b4fc108eb1c628fd06fd39 (patch) | |
| tree | c1b27cfe4498f8abef1a61325922906f3e6a32ff /packages/directfb | |
| parent | 1434b204e16e87b7f59f074f3036d5dcbcf0116f (diff) | |
| parent | 6ccac10beeaaa02a86081bd6179fd57c208ad6b1 (diff) | |
merge of '76e1e69496801009ea0aa69c84f76e858978ab99'
and 'db976a98427dd6a195e2cf167e225de2d0206aea'
Diffstat (limited to 'packages/directfb')
| -rw-r--r-- | packages/directfb/++dfb_1.0.0.bb (renamed from packages/directfb/++dfb_0.9.25.bb) | 0 | ||||
| -rw-r--r-- | packages/directfb/directfb-examples_1.0.0.bb (renamed from packages/directfb/directfb-examples_0.9.25.bb) | 13 | ||||
| -rw-r--r-- | packages/directfb/directfb_1.0.0.bb (renamed from packages/directfb/directfb_0.9.99+1.0.0rc3.bb) | 35 | ||||
| -rw-r--r-- | packages/directfb/files/fix-includes.patch | 24 | ||||
| -rw-r--r-- | packages/directfb/files/fix-pkgconfig-specs.patch | 55 | ||||
| -rw-r--r-- | packages/directfb/files/getpagesize.patch | 16 | ||||
| -rw-r--r-- | packages/directfb/fusionsound_0.9.26+cvs20070207.bb | 37 | ||||
| -rw-r--r-- | packages/directfb/fusionsound_1.0.0.bb | 37 |
8 files changed, 153 insertions, 64 deletions
diff --git a/packages/directfb/++dfb_0.9.25.bb b/packages/directfb/++dfb_1.0.0.bb index f440e117ff..f440e117ff 100644 --- a/packages/directfb/++dfb_0.9.25.bb +++ b/packages/directfb/++dfb_1.0.0.bb diff --git a/packages/directfb/directfb-examples_0.9.25.bb b/packages/directfb/directfb-examples_1.0.0.bb index 28de29c4a6..8a792b4ae4 100644 --- a/packages/directfb/directfb-examples_0.9.25.bb +++ b/packages/directfb/directfb-examples_1.0.0.bb @@ -1,10 +1,10 @@ -DESCRIPTION = "DirectFB examples" +DESCRIPTION = "DirectFB extra providers" DEPENDS = "directfb" -SECTION = "devel/examples" +SECTION = "libs" LICENSE = "GPL" -SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz" -S = "${WORKDIR}/DirectFB-examples-${PV}" +SRC_URI = "http://www.directfb.org/downloads/Extras/DirectFB-extra-${PV}.tar.gz" +S = "${WORKDIR}/DirectFB-extra-${PV}" inherit autotools @@ -13,3 +13,8 @@ do_configure_append() { find ${S} -type f | xargs sed -i 's:/usr/include:${STAGING_INCDIR}:' } +do_stage() { + autotools_stage_all +} + + diff --git a/packages/directfb/directfb_0.9.99+1.0.0rc3.bb b/packages/directfb/directfb_1.0.0.bb index 5bb6aa362e..c2d249e978 100644 --- a/packages/directfb/directfb_0.9.99+1.0.0rc3.bb +++ b/packages/directfb/directfb_1.0.0.bb @@ -7,43 +7,50 @@ SECTION = "libs" LICENSE = "LGPL" HOMEPAGE = "http://directfb.org" DEPENDS = "jpeg libpng freetype zlib tslib" -PR = "r1" +PR = "r5" RV = "1.0-0" -SRC_URI = "http://www.directfb.org/download/DirectFB/DirectFB-1.0.0-rc3.tar.gz \ +SRC_URI = "http://www.directfb.org/download/DirectFB/DirectFB-${PV}.tar.gz \ file://fix-pkgconfig-specs.patch;patch=1 \ - file://mkdfiff.patch;patch=1" - -S = "${WORKDIR}/DirectFB-1.0.0-rc3" + file://mkdfiff.patch;patch=1 \ + file://getpagesize.patch;patch=1 \ + file://fix-includes.patch;patch=1" +S = "${WORKDIR}/DirectFB-1.0.0" LDFLAGS_append =" -lts -lm" inherit autotools pkgconfig -EXTRA_OECONF = "--with-gfxdrivers=none --enable-libmpeg3=no --enable-freetype=yes --enable-sdl=no" -PARALLEL_MAKE = "" +EXTRA_OECONF = "\ + --with-gfxdrivers=none \ + --enable-libmpeg3=no \ + --enable-freetype=yes \ + --enable-sdl=no \ + --enable-vnc=no \ + " do_stage() { - autotools_stage_all + autotools_stage_all } do_install() { oe_runmake 'DESTDIR=${D}' install } + FILES_directfb-dbg_append = " ${libdir}/directfb-${RV}/*/*/.debug/*.so \ - ${libdir}/directfb-${RV}/*/.debug/*.so \ - " + ${libdir}/directfb-${RV}/*/.debug/*.so \ +" FILES_directfb-dev_append = " ${libdir}/directfb-${RV}/systems/*.la \ ${libdir}/directfb-${RV}/inputdrivers/*.la \ ${libdir}/directfb-${RV}/interfaces/*/*.la \ - ${libdir}/directfb-${RV}/wm/*.la" - + ${libdir}/directfb-${RV}/wm/*.la \ +" FILES_directfb_append = " ${libdir}/directfb-${RV}/systems/*.so \ ${libdir}/directfb-${RV}/inputdrivers/*.so \ ${libdir}/directfb-${RV}/interfaces/*/*.so \ ${libdir}/directfb-${RV}/wm/*.so \ - ${datadir}/directfb-1.0.0-rc3 \ - " + ${datadir}/directfb-1.0.0 \ +" diff --git a/packages/directfb/files/fix-includes.patch b/packages/directfb/files/fix-includes.patch new file mode 100644 index 0000000000..7b4a112582 --- /dev/null +++ b/packages/directfb/files/fix-includes.patch @@ -0,0 +1,24 @@ +# +# pkgconfig points to STAGING_INCDIR, hence +# we need to make this a local include +# or else it doesn't find its own header files +# +# Signed-Off: mickey@openmoko.org +# +Index: DirectFB-1.0.0/include/directfb.h +=================================================================== +--- DirectFB-1.0.0.orig/include/directfb.h ++++ DirectFB-1.0.0/include/directfb.h +@@ -29,10 +29,10 @@ + #ifndef __DIRECTFB_H__ + #define __DIRECTFB_H__ + +-#include <dfb_types.h> ++#include "dfb_types.h" + #include <sys/time.h> /* struct timeval */ + +-#include <directfb_keyboard.h> ++#include "directfb_keyboard.h" + + #ifdef __cplusplus + extern "C" diff --git a/packages/directfb/files/fix-pkgconfig-specs.patch b/packages/directfb/files/fix-pkgconfig-specs.patch index 401d7fa443..c252dc1792 100644 --- a/packages/directfb/files/fix-pkgconfig-specs.patch +++ b/packages/directfb/files/fix-pkgconfig-specs.patch @@ -1,13 +1,50 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- DirectFB-0.9.25.1/directfb.pc.in~fix-pkgconfig-specs 2005-10-19 01:14:04.000000000 +0200 -+++ DirectFB-0.9.25.1/directfb.pc.in 2006-05-20 01:02:37.000000000 +0200 -@@ -8,4 +8,4 @@ +Index: DirectFB-1.0.0/directfb-internal.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/directfb-internal.pc.in ++++ DirectFB-1.0.0/directfb-internal.pc.in +@@ -8,4 +8,4 @@ Name: DirectFB-Internal + Description: Third party module support package for DirectFB. + Version: @VERSION@ + Requires: directfb = @VERSION@ +-Cflags: @DFB_INTERNAL_CFLAGS@ -I@INTERNALINCLUDEDIR@ ++Cflags: @DFB_INTERNAL_CFLAGS@ -I${includedir} -I${includedir}/../directfb +Index: DirectFB-1.0.0/directfb.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/directfb.pc.in ++++ DirectFB-1.0.0/directfb.pc.in +@@ -8,4 +8,4 @@ Description: Graphics and windowing libr Version: @VERSION@ Requires: fusion direct Libs: -L${libdir} -ldirectfb @THREADLIB@ @DYNLIB@ @ZLIB_LIBS@ @OSX_LIBS@ -Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ -+Cflags: @THREADFLAGS@ -I${includedir}/directfb ++Cflags: @THREADFLAGS@ -I${includedir} +Index: DirectFB-1.0.0/lib/direct/direct.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/lib/direct/direct.pc.in ++++ DirectFB-1.0.0/lib/direct/direct.pc.in +@@ -7,4 +7,4 @@ Name: Direct + Description: DirectFB base development library + Version: @VERSION@ + Libs: -L${libdir} -ldirect @THREADLIB@ @DYNLIB@ +-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ ++Cflags: @THREADFLAGS@ -I${includedir} +Index: DirectFB-1.0.0/lib/fusion/fusion.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/lib/fusion/fusion.pc.in ++++ DirectFB-1.0.0/lib/fusion/fusion.pc.in +@@ -8,4 +8,4 @@ Description: High Level IPC Mechanisms + Version: @VERSION@ + Requires: direct + Libs: -L${libdir} -lfusion +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir} +Index: DirectFB-1.0.0/lib/voodoo/voodoo.pc.in +=================================================================== +--- DirectFB-1.0.0.orig/lib/voodoo/voodoo.pc.in ++++ DirectFB-1.0.0/lib/voodoo/voodoo.pc.in +@@ -8,4 +8,4 @@ Description: Interface based network tra + Version: @VERSION@ + Requires: direct + Libs: -L${libdir} -lvoodoo +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir} diff --git a/packages/directfb/files/getpagesize.patch b/packages/directfb/files/getpagesize.patch new file mode 100644 index 0000000000..256b8db290 --- /dev/null +++ b/packages/directfb/files/getpagesize.patch @@ -0,0 +1,16 @@ +diff --git a/lib/direct/system.c b/lib/direct/system.c +index 8dd3f12..0731fa2 100644 +--- a/lib/direct/system.c ++++ b/lib/direct/system.c +@@ -36,8 +36,9 @@ + + #if HAVE_ASM_PAGE_H + #include <asm/page.h> +-#else +-#define PAGE_SIZE sysconf( _SC_PAGESIZE ) ++#endif ++#ifndef PAGE_SIZE ++# define PAGE_SIZE (getpagesize()) + #endif + + diff --git a/packages/directfb/fusionsound_0.9.26+cvs20070207.bb b/packages/directfb/fusionsound_0.9.26+cvs20070207.bb deleted file mode 100644 index fe04a195c1..0000000000 --- a/packages/directfb/fusionsound_0.9.26+cvs20070207.bb +++ /dev/null @@ -1,37 +0,0 @@ -DESCRIPTION = "FusionSound for DirectFB" -DEPENDS = "directfb" -SECTION = "libs" -LICENSE = "LGPL" - -# this is a CVS only release - -SRC_URI = "cvs://anonymous@cvs.directfb.org/cvs/directfb;method=pserver;module=FusionSound;date=${@bb.data.getVar('PV', d, 1)[9:]}" - -S = "${WORKDIR}/FusionSound" - -inherit autotools pkgconfig - -do_configure_append() { - find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' -} - -do_stage() { - autotools_stage_all -} - -do_install() { - oe_runmake 'DESTDIR=${D}' install -} - -FILES_fusionsound-dbg_append = " ${libdir}/directfb-1.0-0/*/*/.debug/*.so \ - ${libdir}/directfb-1.0-0/*/.debug/*.so \ - " - -FILES_fusionsound-dev_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.la \ - ${libdir}/directfb-1.0-0/snddrivers/*.la \ - " - -FILES_fusionsound_append = " ${libdir}/directfb-1.0-0/interfaces/*/*.so \ - ${libdir}/directfb-1.0-0/snddrivers/*.so \ - " - diff --git a/packages/directfb/fusionsound_1.0.0.bb b/packages/directfb/fusionsound_1.0.0.bb new file mode 100644 index 0000000000..3cd4a385f6 --- /dev/null +++ b/packages/directfb/fusionsound_1.0.0.bb @@ -0,0 +1,37 @@ +DESCRIPTION = "FusionSound for DirectFB" +DEPENDS = "directfb libmad libvorbis" +SECTION = "libs" +LICENSE = "LGPL" + +SRC_URI = "http://www.directfb.org/downloads/Core/FusionSound-${PV}.tar.gz" +S = "${WORKDIR}/FusionSound-${PV}" + +inherit autotools pkgconfig + +do_configure_append() { + find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}/directfb:g' +} + +do_stage() { + autotools_stage_all +} + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} + +FILES_${PN} += "\ + ${libdir}/directfb-1.0-0/interfaces/*/*.so \ + ${libdir}/directfb-1.0-0/snddrivers/*.so \ +" + +FILES_${PN}-dbg += "\ + ${libdir}/directfb-1.0-0/*/*/.debug/*.so \ + ${libdir}/directfb-1.0-0/*/.debug/*.so \ +" + +FILES_${PN}-dev += "\ + ${libdir}/directfb-1.0-0/interfaces/*/*.la \ + ${libdir}/directfb-1.0-0/snddrivers/*.la \ +" + |
