From e847bd9f31210f0e3190cd7193cceb5cacfda5ab Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Mon, 20 May 2013 16:05:20 +0100 Subject: cogl: Replace with 1.14.0 version The package has been renamed to cogl-1.0 instead of cogl-vmajor.vminor, keeping up with the upstream versioning policy (e.g., all 1.x packages install cogl-1.0 pc file and headers and are backward compatible), and to simplify dependency management (worth noting that since the 1.x development files are not parallel installable, it is not possible to use two versions of cogl 1.x at the same time anyway). Package configuration is provided via PACKAGECONFIG options as follows: GL flavour: 'gl' for big GL or 'gles2' for GLES2 (GLES1 is availabe in cogl, but not supporeted here at present.) EGL platform: 'egl-null' -- PVR-style null platform 'egl-kms' -- kms platform provide by Mesa 'egl-x11' -- egl over xlib platform (Additional EGL platforms, e.g., Wayland are supported by cogl, but not supported here at present.) GLX: 'glx' for the GLX extension support (implies 'gl') Default configuration is 'glx'; typical configuration providing 'native' egl on embedded HW would be 'gles2 egl-null'. (From OE-Core rev: b508fdd2b19ca30da8d09caf646897dc4cf195c8) Signed-off-by: Tomas Frydrych Signed-off-by: Richard Purdie --- meta/recipes-graphics/clutter/cogl.inc | 22 ----------------- .../clutter/cogl/build_for_armv4t.patch | 23 ------------------ .../clutter/cogl/macro-versions.patch | 28 ---------------------- meta/recipes-graphics/clutter/cogl_1.8.2.bb | 12 ---------- meta/recipes-graphics/clutter/cogl_git.bb | 16 ------------- 5 files changed, 101 deletions(-) delete mode 100644 meta/recipes-graphics/clutter/cogl.inc delete mode 100644 meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch delete mode 100644 meta/recipes-graphics/clutter/cogl/macro-versions.patch delete mode 100644 meta/recipes-graphics/clutter/cogl_1.8.2.bb delete mode 100644 meta/recipes-graphics/clutter/cogl_git.bb (limited to 'meta/recipes-graphics/clutter') diff --git a/meta/recipes-graphics/clutter/cogl.inc b/meta/recipes-graphics/clutter/cogl.inc deleted file mode 100644 index 26f7889ca4..0000000000 --- a/meta/recipes-graphics/clutter/cogl.inc +++ /dev/null @@ -1,22 +0,0 @@ -DESCRIPTION = "a modern 3D graphics API with associated utility APIs" -HOMEPAGE = "http://wiki.clutter-project.org/wiki/Cogl" -LICENSE = "LGPLv2.1+" - -STDDEPENDS = "virtual/libx11 pango glib-2.0 libxfixes gdk-pixbuf libxi" -BASE_CONF = "${@get_clutter_fpu_setting(bb, d)}" - -DEPENDS = "${STDDEPENDS} virtual/libgl libxcomposite libxdamage libdrm" -EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx" - -FILESPATH = "${FILE_DIRNAME}/cogl" - -inherit autotools pkgconfig gtk-doc gettext - -#check for TARGET_FPU=soft and inform configure of the result so it can disable some floating points -require clutter-fpu.inc - -#Fix up some weirdness in the docs -do_configure_prepend() { - sed -i s:doc/reference/Makefile::g ${S}/configure.ac - sed -i s:doc::g ${S}/Makefile.am -} diff --git a/meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch b/meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch deleted file mode 100644 index 003e9ff5fa..0000000000 --- a/meta/recipes-graphics/clutter/cogl/build_for_armv4t.patch +++ /dev/null @@ -1,23 +0,0 @@ -GCC will define __ARM_ARCH_4T__ when building with "-march=armv4t" so we can -check this to turn off the use of 'clz' instructions, which otherwise would -cause compile errors like "selected processor does not support ARM mode -`clz r3,r0'". - -Upstream-Status: Accepted (should be in the next cogl stable release) - -Signed-off-by: Wolfgang Denk -Signed-off-by: Joshua Lock - -Index: cogl-1.8.2/cogl/cogl-fixed.c -=================================================================== ---- cogl-1.8.2.orig/cogl/cogl-fixed.c -+++ cogl-1.8.2/cogl/cogl-fixed.c -@@ -626,7 +626,7 @@ cogl_fixed_sqrt (CoglFixed x) - /* - * Find the highest bit set - */ --#if defined (__arm__) -+#if defined (__arm__) && !defined(__ARM_ARCH_4T__) - /* This actually requires at least arm v5, but gcc does not seem - * to set the architecture defines correctly, and it is I think - * very unlikely that anyone will want to use clutter on anything diff --git a/meta/recipes-graphics/clutter/cogl/macro-versions.patch b/meta/recipes-graphics/clutter/cogl/macro-versions.patch deleted file mode 100644 index 2dcdd8e800..0000000000 --- a/meta/recipes-graphics/clutter/cogl/macro-versions.patch +++ /dev/null @@ -1,28 +0,0 @@ -Upstream-Status: Inappropriate [configuration] - -Index: cogl-1.8.0/configure.ac -=================================================================== ---- cogl-1.8.0.orig/configure.ac -+++ cogl-1.8.0/configure.ac -@@ -833,7 +833,7 @@ LT_INIT([disable-static]) - dnl ================================================================ - dnl I18n stuff. - dnl ================================================================ --AM_GNU_GETTEXT_VERSION([0.17]) -+AM_GNU_GETTEXT_VERSION([0.18]) - AM_GNU_GETTEXT([external]) - - GETTEXT_PACKAGE="cogl" -Index: cogl-1.8.0/po/Makefile.in.in -=================================================================== ---- cogl-1.8.0.orig/po/Makefile.in.in -+++ cogl-1.8.0/po/Makefile.in.in -@@ -9,7 +9,7 @@ - # General Public License and is *not* in the public domain. - # - # Origin: gettext-0.17 --GETTEXT_MACRO_VERSION = 0.17 -+GETTEXT_MACRO_VERSION = 0.18 - - PACKAGE = @PACKAGE@ - VERSION = @VERSION@ diff --git a/meta/recipes-graphics/clutter/cogl_1.8.2.bb b/meta/recipes-graphics/clutter/cogl_1.8.2.bb deleted file mode 100644 index fe4266b4a6..0000000000 --- a/meta/recipes-graphics/clutter/cogl_1.8.2.bb +++ /dev/null @@ -1,12 +0,0 @@ -require cogl.inc - -PR = "r3" - -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -SRC_URI = "http://source.clutter-project.org/sources/cogl/1.8/${BPN}-${PV}.tar.bz2 \ - file://macro-versions.patch \ - file://build_for_armv4t.patch" - -SRC_URI[md5sum] = "3145cbf7ff162c33065ea4421c047e2f" -SRC_URI[sha256sum] = "8b647b51a4fa93034fcd74ffe86b3d4c919b0e54789108f6d065414e6162ab73" diff --git a/meta/recipes-graphics/clutter/cogl_git.bb b/meta/recipes-graphics/clutter/cogl_git.bb deleted file mode 100644 index 3fb70ae153..0000000000 --- a/meta/recipes-graphics/clutter/cogl_git.bb +++ /dev/null @@ -1,16 +0,0 @@ -require cogl.inc - -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" - -# the 1.8.2 tag -SRCREV = "e398e374e2ff0e88bc1d63577a192f8ca04a1cb5" -PV = "1.8.2+git${SRCPV}" -PR = "r4" - -DEFAULT_PREFERENCE = "-1" - -SRC_URI = "git://git.gnome.org/cogl;protocol=git;branch=master \ - file://build_for_armv4t.patch" -S = "${WORKDIR}/git" - -AUTOTOOLS_AUXDIR = "${S}/build" -- cgit 1.2.3-korg