Re: [oe] [RFC meta-gnome][PATCH 12/16] mutter: add recipe for mutter window manager
On Mon, 29 Oct 2018 at 16:43, brendank310 wrote: > +do_install_append() { > + install -d ${D}/${datadir}/gir-1.0 > + install ${B}/src/Meta-3.gir ${D}/${datadir}/gir-1.0 > + install ${B}/cogl/cogl/Cogl-3.gir ${D}/${datadir}/gir-1.0 > + install ${B}/cogl/cogl-pango/CoglPango-3.gir ${D}/${datadir}/gir-1.0 > + install ${B}/clutter/clutter/Cally-3.gir ${D}/${datadir}/gir-1.0 > + install ${B}/clutter/clutter/ClutterX11-3.gir ${D}/${datadir}/gir-1.0 > + install ${B}/clutter/clutter/Clutter-3.gir ${D}/${datadir}/gir-1.0 > +} Why is this needed? Ross -- ___ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Re: [oe] [RFC meta-gnome][PATCH 12/16] mutter: add recipe for mutter window manager
On Mon, Oct 29, 2018 at 9:43 AM brendank310 wrote: > From: Brendan Kerrigan > > Signed-off-by: Brendan Kerrigan > --- > .../mutter/0001-disable-zenity-check.patch| 27 > ...spection-variables-with-correct-path.patch | 63 +++ > .../0003-packageconfig-variable-fixup.patch | 29 + > .../mutter/0004-fix-broken-includes.patch | 37 +++ > meta-gnome/recipes-gnome/gnome3/mutter_git.bb | 59 + > 5 files changed, 215 insertions(+) > create mode 100644 > meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch > create mode 100644 > meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch > create mode 100644 > meta-gnome/recipes-gnome/gnome3/mutter/0003-packageconfig-variable-fixup.patch > create mode 100644 > meta-gnome/recipes-gnome/gnome3/mutter/0004-fix-broken-includes.patch > create mode 100644 meta-gnome/recipes-gnome/gnome3/mutter_git.bb > > diff --git > a/meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch > b/meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch > new file mode 100644 > index 0..a37aec276 > --- /dev/null > +++ > b/meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch > @@ -0,0 +1,27 @@ > +mutter: Disable check for zenity > + > + Disable autoconf check for zenity, no need graphical dialog boxes. > + > + Upstream-status: Inappropriate [disable-feature] > + > + Signed-off-by: Brendan Kerrigan > + > +diff --git a/configure.ac b/configure.ac > +index ef92f5ecb..5eede9e63 100644 > +--- a/configure.ac > b/configure.ac > +@@ -427,11 +427,6 @@ fi > + > + AM_CONDITIONAL(HAVE_SM, test "$found_sm" = "yes") > + > +-AC_PATH_PROG(ZENITY, zenity, no) > +-if test x"$ZENITY" = xno; then > +- AC_MSG_ERROR([zenity not found in your path - needed for dialogs]) > +-fi > +- > + AC_ARG_ENABLE(debug, > + [ --enable-debug enable debugging],, > + enable_debug=no) > +-- > +2.17.1 > + > diff --git > a/meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch > b/meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch > new file mode 100644 > index 0..07c1f371a > --- /dev/null > +++ > b/meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch > @@ -0,0 +1,63 @@ > +mutter: Fixup introspection paths > + > + Fixup the introspection paths to enable correct results with > + gobject-introspection. > + > + Upstream-status: Innappropriate [embedded specific] > + > + Signed-off-by: Brendan Kerrigan > + > +diff --git a/clutter/build/autotools/introspection.m4 > b/clutter/build/autotools/introspection.m4 > +index d89c3d907..d2c60de4d 100644 > +--- a/clutter/build/autotools/introspection.m4 > b/clutter/build/autotools/introspection.m4 > +@@ -56,14 +56,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], > + 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_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG > --variable=g_ir_scanner gobject-introspection-1.0` > ++ INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG > --variable=g_ir_compiler gobject-introspection-1.0` > ++ INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG > --variable=g_ir_generate gobject-introspection-1.0` > ++ INTROSPECTION_GIRDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG > --variable=girdir gobject-introspection-1.0` > ++ INTROSPECTION_TYPELIBDIR=$PKG_CONFIG_SYSROOT_DIR"$($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 > ++ INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG > --variable=datadir > gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection > + fi > + AC_SUBST(INTROSPECTION_SCANNER) > + AC_SUBST(INTROSPECTION_COMPILER) > +diff --git a/cogl/build/autotools/introspection.m4 > b/cogl/build/autotools/introspection.m4 > +index 589721c5a..683ebdcc6 100644 > +--- a/cogl/build/autotools/introspection.m4 >
[oe] [RFC meta-gnome][PATCH 12/16] mutter: add recipe for mutter window manager
From: Brendan Kerrigan Signed-off-by: Brendan Kerrigan --- .../mutter/0001-disable-zenity-check.patch| 27 ...spection-variables-with-correct-path.patch | 63 +++ .../0003-packageconfig-variable-fixup.patch | 29 + .../mutter/0004-fix-broken-includes.patch | 37 +++ meta-gnome/recipes-gnome/gnome3/mutter_git.bb | 59 + 5 files changed, 215 insertions(+) create mode 100644 meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch create mode 100644 meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch create mode 100644 meta-gnome/recipes-gnome/gnome3/mutter/0003-packageconfig-variable-fixup.patch create mode 100644 meta-gnome/recipes-gnome/gnome3/mutter/0004-fix-broken-includes.patch create mode 100644 meta-gnome/recipes-gnome/gnome3/mutter_git.bb diff --git a/meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch b/meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch new file mode 100644 index 0..a37aec276 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome3/mutter/0001-disable-zenity-check.patch @@ -0,0 +1,27 @@ +mutter: Disable check for zenity + + Disable autoconf check for zenity, no need graphical dialog boxes. + + Upstream-status: Inappropriate [disable-feature] + + Signed-off-by: Brendan Kerrigan + +diff --git a/configure.ac b/configure.ac +index ef92f5ecb..5eede9e63 100644 +--- a/configure.ac b/configure.ac +@@ -427,11 +427,6 @@ fi + + AM_CONDITIONAL(HAVE_SM, test "$found_sm" = "yes") + +-AC_PATH_PROG(ZENITY, zenity, no) +-if test x"$ZENITY" = xno; then +- AC_MSG_ERROR([zenity not found in your path - needed for dialogs]) +-fi +- + AC_ARG_ENABLE(debug, + [ --enable-debug enable debugging],, + enable_debug=no) +-- +2.17.1 + diff --git a/meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch b/meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch new file mode 100644 index 0..07c1f371a --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome3/mutter/0002-fixup-introspection-variables-with-correct-path.patch @@ -0,0 +1,63 @@ +mutter: Fixup introspection paths + + Fixup the introspection paths to enable correct results with + gobject-introspection. + + Upstream-status: Innappropriate [embedded specific] + + Signed-off-by: Brendan Kerrigan + +diff --git a/clutter/build/autotools/introspection.m4 b/clutter/build/autotools/introspection.m4 +index d89c3d907..d2c60de4d 100644 +--- a/clutter/build/autotools/introspection.m4 b/clutter/build/autotools/introspection.m4 +@@ -56,14 +56,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], + 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_SCANNER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` ++ INTROSPECTION_COMPILER=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` ++ INTROSPECTION_GENERATE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` ++ INTROSPECTION_GIRDIR=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` ++ INTROSPECTION_TYPELIBDIR=$PKG_CONFIG_SYSROOT_DIR"$($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 ++ INTROSPECTION_MAKEFILE=$PKG_CONFIG_SYSROOT_DIR`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection + fi + AC_SUBST(INTROSPECTION_SCANNER) + AC_SUBST(INTROSPECTION_COMPILER) +diff --git a/cogl/build/autotools/introspection.m4 b/cogl/build/autotools/introspection.m4 +index 589721c5a..683ebdcc6 100644 +--- a/cogl/build/autotools/introspection.m4 b/cogl/build/autotools/introspection.m4 +@@ -54,14 +54,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], + INTROSPECTION_GIRDIR= + INTROSPECTION_TYPELIBDIR= + if test "x$found_introspection" = "xyes"; then +- INTROSPECTION_SCANNER=`$PKG_CONFIG