Patchwork gtk+: add native class

login
register
mail settings
Submitter Ross Burton
Date Jan. 3, 2013, 11:44 a.m.
Message ID <1357213493-25506-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/41903/
State New
Headers show

Comments

Ross Burton - Jan. 3, 2013, 11:44 a.m.
It's easiest to bootstrap GTK+ 3 using a native GTK+ 2.

(Patch taken from meta-oe)

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-gnome/gtk+/gtk+_2.24.14.bb |    3 +++
 1 file changed, 3 insertions(+)
Martin Jansa - Jan. 3, 2013, 12:01 p.m.
On Thu, Jan 03, 2013 at 11:44:53AM +0000, Ross Burton wrote:
> It's easiest to bootstrap GTK+ 3 using a native GTK+ 2.
> 
> (Patch taken from meta-oe)

That's 4th or 5th version of this patch:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019625.html
  rejected in http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019683.html
http://patches.openembedded.org/patch/33761/
http://patches.openembedded.org/patch/36913/
...

Cheers,

> 
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>  meta/recipes-gnome/gtk+/gtk+_2.24.14.bb |    3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
> index 553196a..a6e705b 100644
> --- a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
> +++ b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
> @@ -60,3 +60,6 @@ python populate_packages_prepend () {
>      if (d.getVar('DEBIAN_NAMES', True)):
>          d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0')
>  }
> +
> +BBCLASSEXTEND = "native"
> +RRECOMMENDS_${PN}_virtclass-native = ""
> -- 
> 1.7.10
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Ross Burton - Jan. 3, 2013, 12:03 p.m.
On 3 January 2013 12:01, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Thu, Jan 03, 2013 at 11:44:53AM +0000, Ross Burton wrote:
>> It's easiest to bootstrap GTK+ 3 using a native GTK+ 2.
>>
>> (Patch taken from meta-oe)
>
> That's 4th or 5th version of this patch:
> http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019625.html
>   rejected in http://lists.linuxtogo.org/pipermail/openembedded-core/2012-March/019683.html
> http://patches.openembedded.org/patch/33761/
> http://patches.openembedded.org/patch/36913/

Hm, this could be fun.

Ross

Patch

diff --git a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
index 553196a..a6e705b 100644
--- a/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
+++ b/meta/recipes-gnome/gtk+/gtk+_2.24.14.bb
@@ -60,3 +60,6 @@  python populate_packages_prepend () {
     if (d.getVar('DEBIAN_NAMES', True)):
         d.setVar('PKG_${PN}', '${MLPREFIX}libgtk-2.0')
 }
+
+BBCLASSEXTEND = "native"
+RRECOMMENDS_${PN}_virtclass-native = ""