* [PATCH 0/1] Fix depexp
@ 2012-02-25 5:52 Joshua Lock
2012-02-25 5:52 ` [PATCH 1/1] crumbs: add back progress implementation for depexp Joshua Lock
2012-02-25 11:56 ` [PATCH 0/1] Fix depexp Richard Purdie
0 siblings, 2 replies; 3+ messages in thread
From: Joshua Lock @ 2012-02-25 5:52 UTC (permalink / raw)
To: bitbake-devel
Per the patch and Yocto bug #2027 the recent BitBake patch
to implement the new Hob UI deleted the file which implements
thge progress bar used by depexp. The following patch adds
back that file.
Cheers,
Joshua
https://bugzilla.yoctoproject.org/show_bug.cgi?id=2027
The following changes since commit c7486a09310fe63b1aa1b7b0bb9450f306b6093b:
bitbake/cooker: terminate when errors found in layer configuration (2012-02-24 23:30:16 +0000)
are available in the git repository at:
git://github.com/incandescant/bitbake josh/depexp
https://github.com/incandescant/bitbake/tree/josh/depexp
Joshua Lock (1):
crumbs: add back progress implementation for depexp
lib/bb/ui/crumbs/progress.py | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 lib/bb/ui/crumbs/progress.py
--
1.7.7.6
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] crumbs: add back progress implementation for depexp
2012-02-25 5:52 [PATCH 0/1] Fix depexp Joshua Lock
@ 2012-02-25 5:52 ` Joshua Lock
2012-02-25 11:56 ` [PATCH 0/1] Fix depexp Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Joshua Lock @ 2012-02-25 5:52 UTC (permalink / raw)
To: bitbake-devel
The commit which introduced the new hob UI also deleted this class
which is used by depexp.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
lib/bb/ui/crumbs/progress.py | 20 ++++++++++++++++++++
1 files changed, 20 insertions(+), 0 deletions(-)
create mode 100644 lib/bb/ui/crumbs/progress.py
diff --git a/lib/bb/ui/crumbs/progress.py b/lib/bb/ui/crumbs/progress.py
new file mode 100644
index 0000000..0c7ad96
--- /dev/null
+++ b/lib/bb/ui/crumbs/progress.py
@@ -0,0 +1,20 @@
+import gtk
+
+class ProgressBar(gtk.Dialog):
+ def __init__(self, parent):
+
+ gtk.Dialog.__init__(self, flags=(gtk.DIALOG_MODAL | gtk.DIALOG_DESTROY_WITH_PARENT))
+ self.set_title("Parsing metadata, please wait...")
+ self.set_default_size(500, 0)
+ self.set_transient_for(parent)
+ self.progress = gtk.ProgressBar()
+ self.vbox.pack_start(self.progress)
+ self.show_all()
+
+ def update(self, x, y):
+ self.progress.set_fraction(float(x)/float(y))
+ self.progress.set_text("%2d %%" % (x*100/y))
+
+ def pulse(self):
+ self.progress.set_text("Loading...")
+ self.progress.pulse()
--
1.7.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH 0/1] Fix depexp
2012-02-25 5:52 [PATCH 0/1] Fix depexp Joshua Lock
2012-02-25 5:52 ` [PATCH 1/1] crumbs: add back progress implementation for depexp Joshua Lock
@ 2012-02-25 11:56 ` Richard Purdie
1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-02-25 11:56 UTC (permalink / raw)
To: Joshua Lock; +Cc: bitbake-devel
On Fri, 2012-02-24 at 21:52 -0800, Joshua Lock wrote:
> Per the patch and Yocto bug #2027 the recent BitBake patch
> to implement the new Hob UI deleted the file which implements
> thge progress bar used by depexp. The following patch adds
> back that file.
>
> Cheers,
> Joshua
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2027
>
> The following changes since commit c7486a09310fe63b1aa1b7b0bb9450f306b6093b:
>
> bitbake/cooker: terminate when errors found in layer configuration (2012-02-24 23:30:16 +0000)
>
> are available in the git repository at:
> git://github.com/incandescant/bitbake josh/depexp
> https://github.com/incandescant/bitbake/tree/josh/depexp
>
> Joshua Lock (1):
> crumbs: add back progress implementation for depexp
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-02-25 12:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-25 5:52 [PATCH 0/1] Fix depexp Joshua Lock
2012-02-25 5:52 ` [PATCH 1/1] crumbs: add back progress implementation for depexp Joshua Lock
2012-02-25 11:56 ` [PATCH 0/1] Fix depexp Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.