From 6c33d56f0f6b472e8ba695d1f2636bc829e56696 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Sat, 23 Jun 2012 12:09:39 -0700 Subject: mx: Upgrade to 1.4.6 Remove patch as introspection.m4 is now included with the upstream Signed-off-by: Saul Wold --- .../mx/files/introspection-m4.patch | 106 --------------------- meta/recipes-graphics/mx/mx_1.4.2.bb | 20 ---- meta/recipes-graphics/mx/mx_1.4.6.bb | 19 ++++ 3 files changed, 19 insertions(+), 126 deletions(-) delete mode 100644 meta/recipes-graphics/mx/files/introspection-m4.patch delete mode 100644 meta/recipes-graphics/mx/mx_1.4.2.bb create mode 100644 meta/recipes-graphics/mx/mx_1.4.6.bb (limited to 'meta/recipes-graphics') diff --git a/meta/recipes-graphics/mx/files/introspection-m4.patch b/meta/recipes-graphics/mx/files/introspection-m4.patch deleted file mode 100644 index 2dcb62abe7..0000000000 --- a/meta/recipes-graphics/mx/files/introspection-m4.patch +++ /dev/null @@ -1,106 +0,0 @@ -A copy of introspection.m4 from upstream gobject-introspection so that -we can use the GOBJECT_INTROSPECTION_CHECK([0.6.4]) and --disable-introspection - -Signed-off-by: Joshua Lock - -Upstream-Status: Inappropriate (build system specific). - -Index: mx-1.4.2/m4/introspection.m4 -=================================================================== ---- /dev/null -+++ mx-1.4.2/m4/introspection.m4 -@@ -0,0 +1,94 @@ -+dnl -*- mode: autoconf -*- -+dnl Copyright 2009 Johan Dahlin -+dnl -+dnl This file is free software; the author(s) gives unlimited -+dnl permission to copy and/or distribute it, with or without -+dnl modifications, as long as this notice is preserved. -+dnl -+ -+# serial 1 -+ -+m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], -+[ -+ AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first -+ AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first -+ AC_BEFORE([LT_INIT],[$0])dnl setup libtool first -+ -+ dnl enable/disable introspection -+ m4_if([$2], [require], -+ [dnl -+ enable_introspection=yes -+ ],[dnl -+ AC_ARG_ENABLE(introspection, -+ AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], -+ [Enable introspection for this build]),, -+ [enable_introspection=auto]) -+ ])dnl -+ -+ AC_MSG_CHECKING([for gobject-introspection]) -+ -+ dnl presence/version checking -+ AS_CASE([$enable_introspection], -+ [no], [dnl -+ found_introspection="no (disabled, use --enable-introspection to enable)" -+ ],dnl -+ [yes],[dnl -+ PKG_CHECK_EXISTS([gobject-introspection-1.0],, -+ AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) -+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], -+ found_introspection=yes, -+ AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) -+ ],dnl -+ [auto],[dnl -+ PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) -+ ],dnl -+ [dnl -+ AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) -+ ])dnl -+ -+ AC_MSG_RESULT([$found_introspection]) -+ -+ INTROSPECTION_SCANNER= -+ INTROSPECTION_COMPILER= -+ INTROSPECTION_GENERATE= -+ INTROSPECTION_GIRDIR= -+ INTROSPECTION_TYPELIBDIR= -+ if test "x$found_introspection" = "xyes"; then -+ INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` -+ INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` -+ INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` -+ INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` -+ INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" -+ INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` -+ INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` -+ INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection -+ fi -+ AC_SUBST(INTROSPECTION_SCANNER) -+ AC_SUBST(INTROSPECTION_COMPILER) -+ AC_SUBST(INTROSPECTION_GENERATE) -+ AC_SUBST(INTROSPECTION_GIRDIR) -+ AC_SUBST(INTROSPECTION_TYPELIBDIR) -+ AC_SUBST(INTROSPECTION_CFLAGS) -+ AC_SUBST(INTROSPECTION_LIBS) -+ AC_SUBST(INTROSPECTION_MAKEFILE) -+ -+ AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") -+]) -+ -+ -+dnl Usage: -+dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) -+ -+AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], -+[ -+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) -+]) -+ -+dnl Usage: -+dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) -+ -+ -+AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], -+[ -+ _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) -+]) diff --git a/meta/recipes-graphics/mx/mx_1.4.2.bb b/meta/recipes-graphics/mx/mx_1.4.2.bb deleted file mode 100644 index bee65f6e4e..0000000000 --- a/meta/recipes-graphics/mx/mx_1.4.2.bb +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION = "Clutter based widget library" -LICENSE = "LGPLv2.1" - -PR = "r1" - -DEPENDS = "clutter-1.8 dbus-glib libxrandr gdk-pixbuf startup-notification" - -inherit autotools gettext - -SRC_URI = "http://source.clutter-project.org/sources/mx/1.4/mx-${PV}.tar.bz2 \ - file://introspection-m4.patch" - -SRC_URI[md5sum] = "faf8d97ad9995f54cc91f90bc90c8f9d" -SRC_URI[sha256sum] = "9d40dd48a8e3d098cc75c05163f77305ffb83439783dc91be50681c9502660ce" - -LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ - file://mx/mx-widget.c;beginline=8;endline=20;md5=13bba3c973a72414a701e1e87b5ee879" - -EXTRA_OECONF = "--disable-introspection --disable-gtk-widgets --with-dbus" - diff --git a/meta/recipes-graphics/mx/mx_1.4.6.bb b/meta/recipes-graphics/mx/mx_1.4.6.bb new file mode 100644 index 0000000000..81bc5b9e54 --- /dev/null +++ b/meta/recipes-graphics/mx/mx_1.4.6.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "Clutter based widget library" +LICENSE = "LGPLv2.1" + +PR = "r0" + +DEPENDS = "clutter-1.8 dbus-glib libxrandr gdk-pixbuf startup-notification" + +inherit autotools gettext + +SRC_URI = "http://source.clutter-project.org/sources/mx/1.4/mx-${PV}.tar.bz2" + +SRC_URI[md5sum] = "c7192ca7c43bb1a39adc2fafdc012f49" +SRC_URI[sha256sum] = "a3c7ffaf29b282144c982757b450d145cd85867183dfafef4750a00a0d406672" + +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24 \ + file://mx/mx-widget.c;beginline=8;endline=20;md5=13bba3c973a72414a701e1e87b5ee879" + +EXTRA_OECONF = "--disable-introspection --disable-gtk-widgets --with-dbus" + -- cgit 1.2.3-korg