Patchwork [bitbake-devel,1/1] Fix GTK+ and PyGtk version check error message to be more clear [Yocto #3637]

login
register
mail settings
Submitter Jessica Zhang
Date Jan. 3, 2013, 11:32 p.m.
Message ID <eecefc2d16969c413dad379c8ba6605750665990.1357255745.git.jessica.zhang@intel.com>
Download mbox | patch
Permalink /patch/41947/
State New
Headers show

Comments

Jessica Zhang - Jan. 3, 2013, 11:32 p.m.
Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
---
 bitbake/lib/bb/ui/hob.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Richard Purdie - Jan. 18, 2013, 12:53 p.m.
On Thu, 2013-01-03 at 15:32 -0800, Jessica Zhang wrote:
> Signed-off-by: Jessica Zhang <jessica.zhang@intel.com>
> ---
>  bitbake/lib/bb/ui/hob.py |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

I merged this but I had to reformat the summary and commit message as
they weren't in the correct form.

Cheers,

Richard

> diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
> index 9ec32b1..55bd84c 100755
> --- a/bitbake/lib/bb/ui/hob.py
> +++ b/bitbake/lib/bb/ui/hob.py
> @@ -22,7 +22,7 @@
>  
>  import sys
>  import os
> -requirements = "FATAL: Gtk+, PyGtk and PyGobject are required to use Hob"
> +requirements = "FATAL: Hob requires Gtk+ 2.20.0 or higher, PyGtk 2.21.0 or higher"
>  try:
>      import gobject
>      import gtk

Patch

diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 9ec32b1..55bd84c 100755
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -22,7 +22,7 @@ 
 
 import sys
 import os
-requirements = "FATAL: Gtk+, PyGtk and PyGobject are required to use Hob"
+requirements = "FATAL: Hob requires Gtk+ 2.20.0 or higher, PyGtk 2.21.0 or higher"
 try:
     import gobject
     import gtk