mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 06:32:34 +02:00
clutter-1.0: Upgrade 1.24.2 -> 1.26.0
Remove a backported patch. (From OE-Core rev: 04534fe59b0e2b4c6e7de08e5819c05e7c763f4a) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c342731c3f
commit
095f03cafe
@@ -1,105 +0,0 @@
|
||||
From 483a4bb00e7dd2f14d86e167c8013c8638723c33 Mon Sep 17 00:00:00 2001
|
||||
From: Emmanuele Bassi <ebassi@gnome.org>
|
||||
Date: Thu, 18 Feb 2016 17:19:09 +0000
|
||||
Subject: [PATCH] build: Use AC_COMPILE_IFELSE
|
||||
|
||||
Instead of AC_TRY_COMPILE, which has been deprecated by newer autoconf.
|
||||
---
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
configure.ac | 66 ++++++++++++++++++++++++++++++------------------------------
|
||||
1 file changed, 33 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4d72e0c..8ca3f94 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -348,24 +348,25 @@ AS_IF([test "x$enable_wayland" != xno],
|
||||
# We need to manually check for Wayland support in Cogl because
|
||||
# the windowing systems are not exposed in the pkg-config file
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
- CFLAGS="`$PKG_CONFIG --cflags $CLUTTER_BASE_PC_FILES`"
|
||||
+ CFLAGS="`$PKG_CONFIG --cflags cogl-1.0`"
|
||||
|
||||
AC_MSG_CHECKING([for Wayland Cogl backend])
|
||||
- AC_TRY_COMPILE([#include <cogl/cogl.h>],
|
||||
- [
|
||||
- #ifndef COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT
|
||||
- #error "No Wayland support in Cogl"
|
||||
- #endif
|
||||
- int main (void) { return 0; }
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(yes)
|
||||
- have_cogl_wayland=yes
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(no)
|
||||
- have_cogl_wayland=no
|
||||
- ])
|
||||
+
|
||||
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
+#include <cogl/cogl.h>
|
||||
+]],
|
||||
+[[
|
||||
+#ifndef COGL_HAS_EGL_PLATFORM_WAYLAND_SUPPORT
|
||||
+#error Cogl compiled without Wayland support
|
||||
+#endif
|
||||
+]])], [
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ have_cogl_wayland=yes
|
||||
+ ], [
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ have_cogl_wayland=no
|
||||
+ ])
|
||||
+
|
||||
CFLAGS="${saved_CFLAGS}"
|
||||
AS_IF([test "x$have_cogl_wayland" = xyes],
|
||||
[
|
||||
@@ -499,26 +500,25 @@ AS_IF([test "x$enable_mir" = "xyes"],
|
||||
# We need to manually check for Mir support in Cogl because
|
||||
# the windowing systems are not exposed in the pkg-config file
|
||||
saved_CFLAGS="${CFLAGS}"
|
||||
- CFLAGS="`$PKG_CONFIG --cflags $CLUTTER_BASE_PC_FILES`"
|
||||
+ CFLAGS="`$PKG_CONFIG --cflags cogl-1.0`"
|
||||
|
||||
AC_MSG_CHECKING([for Mir Cogl backend])
|
||||
- AC_TRY_COMPILE([#include <cogl/cogl.h>],
|
||||
- [
|
||||
- #ifndef COGL_HAS_EGL_PLATFORM_MIR_SUPPORT
|
||||
- #error "No Mir support in Cogl"
|
||||
- #endif
|
||||
- int main (void) { return 0; }
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(yes)
|
||||
- have_cogl_mir=yes
|
||||
- ],
|
||||
- [
|
||||
- AC_MSG_RESULT(no)
|
||||
- have_cogl_mir=no
|
||||
- ])
|
||||
|
||||
- CFLAGS="${saved_CFLAGS}"
|
||||
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
+#include <cogl/cogl.h>
|
||||
+]],
|
||||
+[[
|
||||
+#ifndef COGL_HAS_EGL_PLATFORM_MIR_SUPPORT
|
||||
+#error Cogl compiled without Mir support
|
||||
+#endif
|
||||
+]])], [
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ have_cogl_mir=yes
|
||||
+ ], [
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ have_cogl_mir=no
|
||||
+ ])
|
||||
+
|
||||
AS_IF([test "x$have_cogl_mir" = xno], [AC_MSG_ERROR("*** Cogl is missing Mir support.")])
|
||||
|
||||
PKG_CHECK_EXISTS([mirclient],
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -2,9 +2,8 @@ require clutter-1.0.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRC_URI[archive.md5sum] = "3b98e1b33719982a5736ae42cbf7183e"
|
||||
SRC_URI[archive.sha256sum] = "9631c98cb4bcbfec15e1bbe9eaa6eef0f127201552fce40d7d28f2133803cd63"
|
||||
SRC_URI[archive.md5sum] = "b065e9ca53d1f6bc1ec26aeb27338bb7"
|
||||
SRC_URI[archive.sha256sum] = "67514e7824b3feb4723164084b36d6ce1ae41cb3a9897e9f1a56c8334993ce06"
|
||||
SRC_URI += "file://install-examples.patch \
|
||||
file://run-installed-tests-with-tap-output.patch \
|
||||
file://0001-build-Use-AC_COMPILE_IFELSE.patch \
|
||||
file://run-ptest"
|
||||
Reference in New Issue
Block a user