| Submitter | Khem Raj |
|---|---|
| Date | Aug. 27, 2012, 10:50 p.m. |
| Message ID | <1346107854-28927-1-git-send-email-raj.khem@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/35407/ |
| State | Accepted |
| Delegated to: | Tom Rini |
| Headers | show |
Comments
On Mon, Aug 27, 2012 at 03:50:54PM -0700, Khem Raj wrote: > also BBCLASSEXTEND gdk-pixbuf recipes to provide > native version > > Newer distros which ship glib-2.0 version 2.32+ > there are some missing symbols that gtk+ 2.20 > will complain about. So we create own gdk-pixbuf > so it does not link to library from host system > > Signed-off-by: Khem Raj <raj.khem@gmail.com> Applied to 2011.03-maintenance branch.
On 28.08.2012 00:50, Khem Raj wrote: > also BBCLASSEXTEND gdk-pixbuf recipes to provide > native version > > Newer distros which ship glib-2.0 version 2.32+ > there are some missing symbols that gtk+ 2.20 > will complain about. So we create own gdk-pixbuf > so it does not link to library from host system It seems that the dependencies are incomplete. -----------> snip <----------- ... | checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met: | | No package 'atk' found | No package 'pango' found | No package 'cairo' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS | and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | NOTE: package gdk-pixbuf-native-2.10.14-r2: task do_configure: Failed -----------> snip <----------- Steffen
On 06.09.2012 14:17, Steffen Sledz wrote: > On 28.08.2012 00:50, Khem Raj wrote: >> also BBCLASSEXTEND gdk-pixbuf recipes to provide >> native version >> >> Newer distros which ship glib-2.0 version 2.32+ >> there are some missing symbols that gtk+ 2.20 >> will complain about. So we create own gdk-pixbuf >> so it does not link to library from host system > > It seems that the dependencies are incomplete. > > -----------> snip <----------- > ... > | checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met: > | > | No package 'atk' found > | No package 'pango' found > | No package 'cairo' found > | > | Consider adjusting the PKG_CONFIG_PATH environment variable if you > | installed software in a non-standard prefix. > | > | Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS > | and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config. > | See the pkg-config man page for more details. > | > NOTE: package gdk-pixbuf-native-2.10.14-r2: task do_configure: Failed > -----------> snip <----------- Ping!
Patch
diff --git a/recipes/gtk+/gdk-pixbuf_2.10.14.bb b/recipes/gtk+/gdk-pixbuf_2.10.14.bb index e41f9e0..c41a2be 100644 --- a/recipes/gtk+/gdk-pixbuf_2.10.14.bb +++ b/recipes/gtk+/gdk-pixbuf_2.10.14.bb @@ -64,6 +64,7 @@ do_install() { cd gdk-pixbuf && oe_runmake install DESTDIR=${D} } +BBCLASSEXTEND = "native" SRC_URI[md5sum] = "018d7dd0fa7de01cfdb77c7c55e7ba26" SRC_URI[sha256sum] = "d02344239d048390ba02fcfd7de4f9efc0dfb51e7b06dfa46a6314d666ea4de2" diff --git a/recipes/gtk+/gtk+_2.20.1.bb b/recipes/gtk+/gtk+_2.20.1.bb index 62f2f3c..4d801f1 100644 --- a/recipes/gtk+/gtk+_2.20.1.bb +++ b/recipes/gtk+/gtk+_2.20.1.bb @@ -13,13 +13,13 @@ SRC_URI_append = "file://gtk-dnd-grab-deadlock-fix.patch \ SRC_URI[gtk.md5sum] = "53e6f3a93bd22934878fc4a4a34c68aa" SRC_URI[gtk.sha256sum] = "0e081731d21e34ff45c82199490c2889504fa8b3c7e117c043e82ababaec0f65" -PR = "${INC_PR}.5" +PR = "${INC_PR}.6" BBCLASSEXTEND = "native" ARM_INSTRUCTION_SET = "arm" -DEPENDS_virtclass-native = "libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native" +DEPENDS_virtclass-native = "gdk-pixbuf-native libpng-native atk-native pango-native cairo-native libxrender-native libxext-native libgcrypt-native" PROVIDES_virtclass-native = "gdk-pixbuf-csource-native" # Enable xkb selectively
also BBCLASSEXTEND gdk-pixbuf recipes to provide native version Newer distros which ship glib-2.0 version 2.32+ there are some missing symbols that gtk+ 2.20 will complain about. So we create own gdk-pixbuf so it does not link to library from host system Signed-off-by: Khem Raj <raj.khem@gmail.com> --- recipes/gtk+/gdk-pixbuf_2.10.14.bb | 1 + recipes/gtk+/gtk+_2.20.1.bb | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)