From bdc2f0a99560664884e1d66459a68b931aecf48e Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Wed, 4 Feb 2009 11:24:38 -0500 Subject: directfb-examples: Add 1.2.0 --- packages/directfb/directfb-examples_1.2.0.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 packages/directfb/directfb-examples_1.2.0.bb (limited to 'packages/directfb') diff --git a/packages/directfb/directfb-examples_1.2.0.bb b/packages/directfb/directfb-examples_1.2.0.bb new file mode 100644 index 0000000000..7fd3f38848 --- /dev/null +++ b/packages/directfb/directfb-examples_1.2.0.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "DirectFB extra providers" +DEPENDS = "directfb" +SECTION = "libs" +LICENSE = "GPL" + +SRC_URI = " \ + http://www.directfb.org/downloads/Extras/DirectFB-examples-${PV}.tar.gz \ + " +S = "${WORKDIR}/DirectFB-examples-${PV}" + +inherit autotools + +do_stage() { + autotools_stage_all +} + + -- cgit v1.2.3 From 0d90b73f1dcd9eb561ac9a7263cd0ecfb6031efc Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 4 Feb 2009 14:54:11 -0500 Subject: directfb: Add 1.2.7 We move the 1.2.3 fix-pkgconfig-cflags patch to files and rename and we have to refresh ts_lib_autotools.patch for 1.2.7 --- .../directfb-1.2.3/fix-pkgconfig-cflags.patch | 47 ---------------------- .../directfb/directfb-1.2.7/ts_lib_autotools.patch | 22 ++++++++++ packages/directfb/directfb_1.2.3.bb | 4 +- packages/directfb/directfb_1.2.7.bb | 28 +++++++++++++ .../directfb-1.2.x-fix-pkgconfig-cflags.patch | 47 ++++++++++++++++++++++ 5 files changed, 99 insertions(+), 49 deletions(-) delete mode 100644 packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch create mode 100644 packages/directfb/directfb-1.2.7/ts_lib_autotools.patch create mode 100644 packages/directfb/directfb_1.2.7.bb create mode 100644 packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch (limited to 'packages/directfb') diff --git a/packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch b/packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch deleted file mode 100644 index 745c561cc0..0000000000 --- a/packages/directfb/directfb-1.2.3/fix-pkgconfig-cflags.patch +++ /dev/null @@ -1,47 +0,0 @@ -Index: DirectFB-1.1.1/directfb-internal.pc.in -=================================================================== ---- DirectFB-1.1.1.orig/directfb-internal.pc.in 2007-08-07 21:43:00.000000000 +0200 -+++ DirectFB-1.1.1/directfb-internal.pc.in 2008-07-17 21:00:47.424654304 +0200 -@@ -2,10 +2,10 @@ - exec_prefix=@exec_prefix@ - moduledir=@MODULEDIR@ - moduledirname=@MODULEDIRNAME@ --includedir=@INTERNALINCLUDEDIR@ -+includedir=@includedir@ - - 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}/directfb -I${includedir} -Index: DirectFB-1.1.1/directfb.pc.in -=================================================================== ---- DirectFB-1.1.1.orig/directfb.pc.in 2007-12-15 16:23:16.000000000 +0100 -+++ DirectFB-1.1.1/directfb.pc.in 2008-07-17 20:59:58.044985193 +0200 -@@ -9,4 +9,4 @@ - Requires: fusion direct - Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@ - Libs.private: -L${libdir} @DYNLIB@ @ZLIB_LIBS@ --Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ -+Cflags: @THREADFLAGS@ -I${includedir}/directfb -Index: DirectFB-1.1.1/lib/fusion/fusion.pc.in -=================================================================== ---- DirectFB-1.1.1.orig/lib/fusion/fusion.pc.in 2007-08-07 21:43:00.000000000 +0200 -+++ DirectFB-1.1.1/lib/fusion/fusion.pc.in 2008-07-17 20:58:07.051338866 +0200 -@@ -8,4 +8,4 @@ - Version: @VERSION@ - Requires: direct - Libs: -L${libdir} -lfusion --Cflags: -I@INCLUDEDIR@ -+Cflags: -I${includedir}/directfb -I${includedir} -Index: DirectFB-1.1.1/lib/voodoo/voodoo.pc.in -=================================================================== ---- DirectFB-1.1.1.orig/lib/voodoo/voodoo.pc.in 2007-08-07 21:43:00.000000000 +0200 -+++ DirectFB-1.1.1/lib/voodoo/voodoo.pc.in 2008-07-17 20:58:07.054671842 +0200 -@@ -8,4 +8,4 @@ - Version: @VERSION@ - Requires: direct - Libs: -L${libdir} -lvoodoo --Cflags: -I@INCLUDEDIR@ -+Cflags: -I${includedir}/directfb -I${includedir} diff --git a/packages/directfb/directfb-1.2.7/ts_lib_autotools.patch b/packages/directfb/directfb-1.2.7/ts_lib_autotools.patch new file mode 100644 index 0000000000..f19c724a00 --- /dev/null +++ b/packages/directfb/directfb-1.2.7/ts_lib_autotools.patch @@ -0,0 +1,22 @@ +--- + configure.in | 7 +++++-- + 1 file changed, 5 insertions(+), 2 deletions(-) + +Index: DirectFB-1.2.7/configure.in +=================================================================== +--- DirectFB-1.2.7.orig/configure.in ++++ DirectFB-1.2.7/configure.in +@@ -1288,8 +1288,11 @@ fi + + enable_tslib=no + if test "$checkfor_tslib" = "yes"; then +- PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no, +- AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])]) ++ PKG_CHECK_MODULES([TSLIB], [tslib-1.0 >= 1.0.0], [enable_tslib=yes], [enable_tslib=no]) ++ if test "$enable_tslib" = "no"; then ++ PKG_CHECK_MODULES([TSLIB], [tslib-0.0], [enable_tslib=yes], [enable_tslib=no, ++ AC_MSG_WARN([*** no tslib -- tslib driver will not be built.])]) ++ fi + fi + + enable_ucb1x00_ts=no diff --git a/packages/directfb/directfb_1.2.3.bb b/packages/directfb/directfb_1.2.3.bb index 85e42a1fa3..e4d50a3458 100644 --- a/packages/directfb/directfb_1.2.3.bb +++ b/packages/directfb/directfb_1.2.3.bb @@ -1,13 +1,13 @@ require directfb.inc RV = "1.2-0" -PR = "r0" +PR = "r1" DEPENDS += "sysfsutils" SRC_URI = " \ http://www.directfb.org/downloads/Old/DirectFB-${PV}.tar.gz \ - file://fix-pkgconfig-cflags.patch;patch=1 \ + file://directfb-1.2.x-fix-pkgconfig-cflags.patch;patch=1 \ file://mkdfiff.patch;patch=1 \ file://dont-use-linux-config.patch;patch=1 \ file://ts_lib_autotools.patch;patch=1 \ diff --git a/packages/directfb/directfb_1.2.7.bb b/packages/directfb/directfb_1.2.7.bb new file mode 100644 index 0000000000..be6a6daa52 --- /dev/null +++ b/packages/directfb/directfb_1.2.7.bb @@ -0,0 +1,28 @@ +require directfb.inc + +RV = "1.2-0" +PR = "r0" + +DEPENDS += "sysfsutils" + +SRC_URI = " \ + http://directfb.org/downloads/Core/DirectFB-${PV}.tar.gz \ + file://directfb-1.2.x-fix-pkgconfig-cflags.patch;patch=1 \ + file://mkdfiff.patch;patch=1 \ + file://dont-use-linux-config.patch;patch=1 \ + file://ts_lib_autotools.patch;patch=1 \ +" + +EXTRA_OECONF = "\ + --enable-freetype=yes \ + --enable-zlib \ + --with-gfxdrivers=none \ + --disable-libmpeg3 \ + --disable-sdl \ + --disable-vnc \ + --disable-x11 \ +" + +LDFLAGS_append = "" + +LEAD_SONAME = "libdirectfb-1.2.so.0" diff --git a/packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch b/packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch new file mode 100644 index 0000000000..745c561cc0 --- /dev/null +++ b/packages/directfb/files/directfb-1.2.x-fix-pkgconfig-cflags.patch @@ -0,0 +1,47 @@ +Index: DirectFB-1.1.1/directfb-internal.pc.in +=================================================================== +--- DirectFB-1.1.1.orig/directfb-internal.pc.in 2007-08-07 21:43:00.000000000 +0200 ++++ DirectFB-1.1.1/directfb-internal.pc.in 2008-07-17 21:00:47.424654304 +0200 +@@ -2,10 +2,10 @@ + exec_prefix=@exec_prefix@ + moduledir=@MODULEDIR@ + moduledirname=@MODULEDIRNAME@ +-includedir=@INTERNALINCLUDEDIR@ ++includedir=@includedir@ + + 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}/directfb -I${includedir} +Index: DirectFB-1.1.1/directfb.pc.in +=================================================================== +--- DirectFB-1.1.1.orig/directfb.pc.in 2007-12-15 16:23:16.000000000 +0100 ++++ DirectFB-1.1.1/directfb.pc.in 2008-07-17 20:59:58.044985193 +0200 +@@ -9,4 +9,4 @@ + Requires: fusion direct + Libs: -L${libdir} -ldirectfb @THREADLIB@ @OSX_LIBS@ + Libs.private: -L${libdir} @DYNLIB@ @ZLIB_LIBS@ +-Cflags: @THREADFLAGS@ -I@INCLUDEDIR@ ++Cflags: @THREADFLAGS@ -I${includedir}/directfb +Index: DirectFB-1.1.1/lib/fusion/fusion.pc.in +=================================================================== +--- DirectFB-1.1.1.orig/lib/fusion/fusion.pc.in 2007-08-07 21:43:00.000000000 +0200 ++++ DirectFB-1.1.1/lib/fusion/fusion.pc.in 2008-07-17 20:58:07.051338866 +0200 +@@ -8,4 +8,4 @@ + Version: @VERSION@ + Requires: direct + Libs: -L${libdir} -lfusion +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir}/directfb -I${includedir} +Index: DirectFB-1.1.1/lib/voodoo/voodoo.pc.in +=================================================================== +--- DirectFB-1.1.1.orig/lib/voodoo/voodoo.pc.in 2007-08-07 21:43:00.000000000 +0200 ++++ DirectFB-1.1.1/lib/voodoo/voodoo.pc.in 2008-07-17 20:58:07.054671842 +0200 +@@ -8,4 +8,4 @@ + Version: @VERSION@ + Requires: direct + Libs: -L${libdir} -lvoodoo +-Cflags: -I@INCLUDEDIR@ ++Cflags: -I${includedir}/directfb -I${includedir} -- cgit v1.2.3