gtk+_2.20.1: add `pango-native` to `DEPENDS`
PATCH 1/1 gtk+_2.20.1: add `pango-native` to `DEPENDS`
Dear OE folks,
I am still testing this patch. But since the new testing cycle will start soon I am sending this out already.
Thanks,
Paul
8<-------------------------------------------------------------------->8
Date: Thu, 7 Oct 2010 13:43:58 +0200
Since two or three days I am not able to build gtk+_2.20.1.bb anymore. I tried to revert to gtk+.inc 9730a2 [1] with
git checkout 9730a28e669931fee601756e949bb210999b4b81 recipes/gtk+/gtk+.inc
but it did not help. I do still get the same error.
| /oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/bin/g-ir-scanner --add-include-path=../gdk-pixbuf --namespace=Gdk --nsversion=2.0 --libtool="/bin/sh ../i686-linux-libtool" --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --library=libgdk-x11-2.0.la --strip-prefix=Gdk --add-include-path=../gdk-pixbuf -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -pthread -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/glib-2.0 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/lib/glib-2.0/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/pango-1.0 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/cairo -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/pixman-1 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/freetype2 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/libpng12 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/gio-unix-2.0/ gdk.h gdkapplaunchcontext.h gdkcairo.h gdkcolor.h gdkcursor.h gdkdisplay.h gdkdisplaymanager.h gdkdnd.h gdkdrawable.h gdkevents.h gdkfont.h gdkgc.h gdki18n.h gdkimage.h gdkinput.h gdkkeys.h gdkkeysyms.h gdkpango.h gdkpixbuf.h gdkpixmap.h gdkprivate.h gdkproperty.h gdkregion.h gdkrgb.h gdkscreen.h gdkselection.h gdkspawn.h gdktestutils.h gdktypes.h gdkvisual.h gdkwindow.h gdk.c gdkapplaunchcontext.c gdkcairo.c gdkcolor.c gdkcursor.c gdkdisplay.c gdkdisplaymanager.c gdkdnd.c gdkdraw.c gdkevents.c gdkfont.c gdkgc.c gdkglobals.c gdkimage.c gdkkeys.c gdkkeyuni.c gdkoffscreenwindow.c gdkpango.c gdkpixbuf-drawable.c gdkpixbuf-render.c gdkpixmap.c gdkpolyreg-generic.c gdkrectangle.c gdkregion-generic.c gdkrgb.c gdkscreen.c gdkselection.c gdkvisual.c gdkwindow.c gdkwindowimpl.c gdkenumtypes.c gdkenumtypes.h x11/checksettings.c x11/gdkapplaunchcontext-x11.c x11/gdkasync.c x11/gdkcolor-x11.c x11/gdkcursor-x11.c x11/gdkdisplay-x11.c x11/gdkdnd-x11.c x11/gdkdrawable-x11.c x11/gdkevents-x11.c x11/gdkfont-x11.c x11/gdkgc-x11.c x11/gdkgeometry-x11.c x11/gdkglobals-x11.c x11/gdkim-x11.c x11/gdkimage-x11.c x11/gdkinput-none.c x11/gdkinput-x11.c x11/gdkinput-xfree.c x11/gdkinput.c x11/gdkkeys-x11.c x11/gdkmain-x11.c x11/gdkpixmap-x11.c x11/gdkproperty-x11.c x11/gdkscreen-x11.c x11/gdkselection-x11.c x11/gdksettings.c x11/gdkspawn-x11.c x11/gdktestutils-x11.c x11/gdkvisual-x11.c x11/gdkwindow-x11.c x11/gdkxftdefaults.c x11/gdkxid.c x11/xsettings-client.c x11/xsettings-common.c libgdk-x11-2.0.la Makefile --output Gdk-2.0.gir
| Couldn't find include 'Pango-1.0.gir' (search path: ['../gdk-pixbuf', '../gdk-pixbuf', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0', '/usr/share/gir-1.0', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0'])Pango-1.0.gir is not available in sysroot. But nothing seems to have changed regarding Pango during the last days either.
I am using minimal for MACHINE = "beagleboard".
--- recipes/gtk+/gtk+_2.20.1.bb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
recipes/gtk+/gtk+_2.20.1.bb +2 -0
@@ -19,6 +19,8 @@ ARM_INSTRUCTION_SET = "arm" DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native" PROVIDES_virtclass-native = "gdk-pixbuf-csource-native" +DEPENDS += "pango-native" + # Enable xkb selectively XKBTOGGLE = " --disable-xkb" XKBTOGGLE_angstrom = ""
Signature · 1 line
1.7.1
2010/10/8 Paul Menzel <[email protected]>:
Quoted 43 lines
Dear OE folks,
I am still testing this patch. But since the new testing cycle will start soon I am sending this out already.
Thanks,
Paul
8<-------------------------------------------------------------------->8
Date: Thu, 7 Oct 2010 13:43:58 +0200Since two or three days I am not able to build
gtk+_2.20.1.bbanymore. I tried to revert togtk+.inc9730a2 [1] withgit checkout
9730a28e669931fee601756e949bb210999b4b81recipes/gtk+/gtk+.incbut it did not help. I do still get the same error.
| /oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/bin/g-ir-scanner --add-include-path=../gdk-pixbuf --namespace=Gdk --nsversion=2.0 --libtool="/bin/sh ../i686-linux-libtool" --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --library=libgdk-x11-2.0.la --strip-prefix=Gdk --add-include-path=../gdk-pixbuf -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -pthread -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/glib-2.0 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/lib/glib-2.0/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/pango-1.0 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/cairo -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/pixman-1 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/freetype2 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/libpng12 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/gio-unix-2.0/ gdk.h
gdkapplaunchcontext.hgdkcairo.hgdkcolor.hgdkcursor.hgdkdisplay.hgdkdisplaymanager.hgdkdnd.hgdkdrawable.hgdkevents.hgdkfont.hgdkgc.hgdki18n.hgdkimage.hgdkinput.hgdkkeys.hgdkkeysyms.hgdkpango.hgdkpixbuf.hgdkpixmap.hgdkprivate.hgdkproperty.hgdkregion.hgdkrgb.hgdkscreen.hgdkselection.hgdkspawn.hgdktestutils.hgdktypes.hgdkvisual.hgdkwindow.hgdk.cgdkapplaunchcontext.cgdkcairo.cgdkcolor.cgdkcursor.cgdkdisplay.cgdkdisplaymanager.cgdkdnd.cgdkdraw.cgdkevents.cgdkfont.cgdkgc.cgdkglobals.cgdkimage.cgdkkeys.cgdkkeyuni.cgdkoffscreenwindow.cgdkpango.cgdkpixbuf-drawable.cgdkpixbuf-render.cgdkpixmap.cgdkpolyreg-generic.cgdkrectangle.cgdkregion-generic.cgdkrgb.cgdkscreen.cgdkselection.cgdkvisual.cgdkwindow.cgdkwindowimpl.cgdkenumtypes.cgdkenumtypes.hx11/checksettings.cx11/gdkapplaunchcontext-x11.cx11/gdkasync.cx11/gdkcolor-x11.cx11/gdkcursor-x11.cx11/gdkdisplay-x11.cx11/gdkdnd-x11.cx11/gdkdrawable-x11.cx11/gdkevents-x11.cx11/gdkfont-x11.cx11/gdkgc-x11.cx11/gdkgeometry-x11.cx11/gdkglobals-x11.cx11/gdkim-x11.cx11/gdkimage-x11.cx11/gdkinput-none.cx11/gdkinput-x11.cx11/gdkinput-xfree.cx11/gdkinput.cx11/gdkkeys-x11.cx11/gdkmain-x11.cx11/gdkpixmap-x11.cx11/gdkproperty-x11.cx11/gdkscreen-x11.cx11/gdkselection-x11.cx11/gdksettings.cx11/gdkspawn-x11.cx11/gdktestutils-x11.cx11/gdkvisual-x11.cx11/gdkwindow-x11.cx11/gdkxftdefaults.cx11/gdkxid.cx11/xsettings-client.cx11/xsettings-common.clibgdk-x11-2.0.laMakefile--output Gdk-2.0.gir | Couldn't find include 'Pango-1.0.gir' (search path: ['../gdk-pixbuf', '../gdk-pixbuf', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0', '/usr/share/gir-1.0', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0'])
Pango-1.0.giris not available in sysroot. But nothing seems to have changed regarding Pango during the last days either.I am using
minimalforMACHINE = "beagleboard".Signed-off-by Paul Menzel <[email protected]>---
recipes/gtk+/gtk+_2.20.1.bb | 2 ++1 files changed, 2 insertions(+), 0 deletions(-)recipes/gtk+/gtk+_2.20.1.bb +0
-0@@ -19,6 +19,8 @@ ARM_INSTRUCTION_SET = "arm"DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native" PROVIDES_virtclass-native = "gdk-pixbuf-csource-native"
recipes/gtk+/gtk+_2.20.1.bb +2
-0+DEPENDS += "pango-native" +
Quoted 5 lines
# Enable xkb selectively
XKBTOGGLE = " --disable-xkb"
XKBTOGGLE_angstrom = ""
--
I doubt that this is sound.
Your error indicates you are missing includes, so you might need a DEPENDS on pango, not on pango-native (and maybe pango needs to be fixed to put its stuff in the right dir or gtk+ to look at the right place)
Then again I do not see any beagle specific include dirs in your path, which also greatly surprises me.
And please also don't type things before the --- like "Dear OE folks. Please do explanations below that line, so if your patch is accepted people can just do a git am without the need to modify the commit message.
One other thing:
*if* we need a depend on pango-native, I guess it should go from the DEPENDS_virtclass-native. Then again I am not that good wrt the machinery that I can say whether it will not add an additional -native or so. I recall another issue with that from earlier this week. Then again I feel the build machinery should not add an addtional -native suffix to depends etc that already have -native at the end).
frans
OT: `git am --scissors` (was: [PATCH] gtk+_2.20.1: add `pango-native` to `DEPENDS`)
Am Freitag, den 08.10.2010, 08:24 +0200 schrieb Frans Meulenbroeks:
Quoted 2 lines
2010/10/8 Paul Menzel <[email protected]>:
Quoted 1 line
Dear OE folks,
[…]
Quoted 4 lines
Quoted 4 lines
8<-------------------------------------------------------------------->8
Date: Thu, 7 Oct 2010 13:43:58 +0200Since two or three days I am not able to build
gtk+_2.20.1.bbanymore. I tried to revert togtk+.inc9730a2 [1] with
[…]
Quoted 4 lines
And please also don't type things before the --- like "Dear OE folks. Please do explanations below that line, so if your patch is accepted people can just do a git am without the need to modify the commit message.
I actually formatted my message this way because it should still be possible to use git am. Please take a look at the option --scissors in git help am or git help mailinfo`.
[…]
Thanks,
Paul
Re: OT: `git am --scissors` (was: [PATCH] gtk+_2.20.1: add `pango-native` to `DEPENDS`)
2010/10/9 Paul Menzel <[email protected]>:
Quoted 13 lines
Am Freitag, den 08.10.2010, 08:24 +0200 schrieb Frans Meulenbroeks:
Quoted 2 lines
2010/10/8 Paul Menzel <[email protected]>:
Quoted 1 line
Dear OE folks,
[…]
Quoted 4 lines
Quoted 4 lines
8<-------------------------------------------------------------------->8
Date: Thu, 7 Oct 2010 13:43:58 +0200Since two or three days I am not able to build
gtk+_2.20.1.bbanymore. I tried to revert togtk+.inc9730a2 [1] with[…]
Quoted 9 lines
Quoted 4 lines
And please also don't type things before the --- like "Dear OE folks. Please do explanations below that line, so if your patch is accepted people can just do a git am without the need to modify the commit message.
I actually formatted my message this way because it should still be possible to use
git am. Please take a look at the option--scissorsingit help amor git help mailinfo`.
I must say I was unaware of the scissors option.
Then again for applying the patches I use contrib/patchwork/pw-am.sh as it picks them up from patchwork with ACKs etc.
Ths script does not use the --scissors option.
If we should make this common practice, I suggest we change the script (not difficult) and document that way of working in the wiki.
Frans
Am Freitag, den 08.10.2010, 08:24 +0200 schrieb Frans Meulenbroeks:
Quoted 1 line
2010/10/8 Paul Menzel <[email protected]>:
[…]
Quoted 28 lines
Quoted 28 lines
Since two or three days I am not able to build
gtk+_2.20.1.bbanymore. I tried to revert togtk+.inc9730a2 [1] withgit checkout 9730a28e669931fee601756e949bb210999b4b81 recipes/gtk+/gtk+.incbut it did not help. I do still get the same error.
| /oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/bin/g-ir-scanner --add-include-path=../gdk-pixbuf --namespace=Gdk --nsversion=2.0 --libtool="/bin/sh ../i686-linux-libtool" --include=Gio-2.0 --include=GdkPixbuf-2.0 --include=Pango-1.0 --library=libgdk-x11-2.0.la --strip-prefix=Gdk --add-include-path=../gdk-pixbuf -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I.. -I../gdk -I../gdk-pixbuf -DG_DISABLE_CAST_CHECKS -pthread -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/glib-2.0 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/lib/glib-2.0/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/pango-1.0 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/cairo -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/pixman-1 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/freetype2 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/libpng12 -I/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/include/gio-unix-2.0/ gdk.h gdkapplaunchcontext.h gdkcairo.h gdkcolor.h gdkcursor.h gdkdisplay.h gdkdisplaymanager.h gdkdnd.h gdkdrawable.h gdkevents.h gdkfont.h gdkgc.h gdki18n.h gdkimage.h gdkinput.h gdkkeys.h gdkkeysyms.h gdkpango.h gdkpixbuf.h gdkpixmap.h gdkprivate.h gdkproperty.h gdkregion.h gdkrgb.h gdkscreen.h gdkselection.h gdkspawn.h gdktestutils.h gdktypes.h gdkvisual.h gdkwindow.h gdk.c gdkapplaunchcontext.c gdkcairo.c gdkcolor.c gdkcursor.c gdkdisplay.c gdkdisplaymanager.c gdkdnd.c gdkdraw.c gdkevents.c gdkfont.c gdkgc.c gdkglobals.c gdkimage.c gdkkeys.c gdkkeyuni.c gdkoffscreenwindow.c gdkpango.c gdkpixbuf-drawable.c gdkpixbuf-render.c gdkpixmap.c gdkpolyreg-generic.c gdkrectangle.c gdkregion-generic.c gdkrgb.c gdkscreen.c gdkselection.c gdkvisual.c gdkwindow.c gdkwindowimpl.c gdkenumtypes.c gdkenumtypes.h x11/checksettings.c x11/gdkapplaunchcontext-x11.c x11/gdkasync.c x11/gdkcolor-x11.c x11/gdkcursor-x11.c x11/gdkdisplay-x11.c x11/gdkdnd-x11.c x11/gdkdrawable-x11.c x11/gdkevents-x11.c x11/gdkfont-x11.c x11/gdkgc-x11.c x11/gdkgeometry-x11.c x11/gdkglobals-x11.c x11/gdkim-x11.c x11/gdkimage-x11.c x11/gdkinput-none.c x11/gdkinput-x11.c x11/gdkinput-xfree.c x11/gdkinput.c x11/gdkkeys-x11.c x11/gdkmain-x11.c x11/gdkpixmap-x11.c x11/gdkproperty-x11.c x11/gdkscreen-x11.c x11/gdkselection-x11.c x11/gdksettings.c x11/gdkspawn-x11.c x11/gdktestutils-x11.c x11/gdkvisual-x11.c x11/gdkwindow-x11.c x11/gdkxftdefaults.c x11/gdkxid.c x11/xsettings-client.c x11/xsettings-common.c libgdk-x11-2.0.la Makefile --output Gdk-2.0.gir | Couldn't find include 'Pango-1.0.gir' (search path: ['../gdk-pixbuf', '../gdk-pixbuf', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0', '/usr/share/gir-1.0', '/oe/build-minimal-eglibc/minimal-dev/sysroots/i686-linux/usr/share/gir-1.0'])
Pango-1.0.giris not available in sysroot. But nothing seems to have changed regarding Pango during the last days either.I am using
minimalforMACHINE = "beagleboard".Signed-off-by Paul Menzel <[email protected]>--- recipes/gtk+/gtk+_2.20.1.bb | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)recipes/gtk+/gtk+_2.20.1.bb +0
-0@@ -19,6 +19,8 @@ ARM_INSTRUCTION_SET = "arm" DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native" PROVIDES_virtclass-native = "gdk-pixbuf-csource-native"
Quoted 8 lines
recipes/gtk+/gtk+_2.20.1.bb ARM_INSTRUCTION_SET = "arm"
Quoted 7 lines
recipes/gtk+/gtk+_2.20.1.bb +2
-1+DEPENDS += "pango-native" + # Enable xkb selectively XKBTOGGLE = " --disable-xkb" XKBTOGGLE_angstrom = "" --I doubt that this is sound.
The build finished without errors after this change. I will test some more though.
Quoted 2 lines
Your error indicates you are missing includes, so you might need a DEPENDS on pango, not on pango-native
gtk+_2.20.1 already depends on pango in gtk+.inc.
Quoted 3 lines
(and maybe pango needs to be
fixed to put its stuff in the right dir or gtk+ to look at the right place)
I am wondering what changed during the last days. Maybe I need to do a git bisect. But I guess that will take a long time.
Quoted 2 lines
Then again I do not see any beagle specific include dirs in your path, which also greatly surprises me.
Maybe it has to do with g-ir-scanner. I could not find it sysroot.
[…]
Quoted 3 lines
One other thing:
*if* we need a depend on pango-native, I guess it should go from the DEPENDS_virtclass-native.
That sounds reasonable. I will send an updated patch than.
Quoted 5 lines
Then again I am not that good wrt the
machinery that I can say whether it will not add an additional -native or so. I recall another issue with that from earlier this week. Then again I feel the build machinery should not add an addtional -native suffix to depends etc that already have -native at the end).
Is this documented somewhere besides the source?
Thanks,
Paul