Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] Removed X depency for make build-graphs
@ 2014-09-21 16:46 Sascha Arthur
  2014-09-21 20:25 ` Yann E. MORIN
  2014-09-21 20:46 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Arthur @ 2014-09-21 16:46 UTC (permalink / raw)
  To: buildroot


Signed-off-by: Sascha Arthur <sascha.arthur@gmail.com>
---
 support/scripts/graph-build-time |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/support/scripts/graph-build-time b/support/scripts/graph-build-time
index 524c30d..4bb90c2 100755
--- a/support/scripts/graph-build-time
+++ b/support/scripts/graph-build-time
@@ -49,9 +49,10 @@
 #   * argparse (by default in Python 2.7, requires python-argparse if
 #     Python 2.6 is used)
 
-import matplotlib
+import matplotlib as mpl
 import numpy
 
+mpl.use('Agg')
 import matplotlib.pyplot as plt
 import matplotlib.font_manager as fm
 import csv
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] Removed X depency for make build-graphs
  2014-09-21 16:46 [Buildroot] [PATCH 1/1] Removed X depency for make build-graphs Sascha Arthur
@ 2014-09-21 20:25 ` Yann E. MORIN
  2014-09-21 20:46 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2014-09-21 20:25 UTC (permalink / raw)
  To: buildroot

Sascha, All,

On 2014-09-21 18:46 +0200, Sascha Arthur spake thusly:
> 
> Signed-off-by: Sascha Arthur <sascha.arthur@gmail.com>

The resulting graphs do not seem to be affected by this change, as far
as I could see with a minimal build.

Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

It is a solution I also found suggested on StackOverflow.

Regards,
Yann E. MORIN.

> ---
>  support/scripts/graph-build-time |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/support/scripts/graph-build-time b/support/scripts/graph-build-time
> index 524c30d..4bb90c2 100755
> --- a/support/scripts/graph-build-time
> +++ b/support/scripts/graph-build-time
> @@ -49,9 +49,10 @@
>  #   * argparse (by default in Python 2.7, requires python-argparse if
>  #     Python 2.6 is used)
>  
> -import matplotlib
> +import matplotlib as mpl
>  import numpy
>  
> +mpl.use('Agg')
>  import matplotlib.pyplot as plt
>  import matplotlib.font_manager as fm
>  import csv
> -- 
> 1.7.10.4
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 1/1] Removed X depency for make build-graphs
  2014-09-21 16:46 [Buildroot] [PATCH 1/1] Removed X depency for make build-graphs Sascha Arthur
  2014-09-21 20:25 ` Yann E. MORIN
@ 2014-09-21 20:46 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-09-21 20:46 UTC (permalink / raw)
  To: buildroot

Dear Sascha Arthur,

On Sun, 21 Sep 2014 18:46:26 +0200, Sascha Arthur wrote:
> 
> Signed-off-by: Sascha Arthur <sascha.arthur@gmail.com>
> ---
>  support/scripts/graph-build-time |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Thanks, I've applied the patch after tweaking the commit title. It
contained a typo: depency -> dependency. And also, it didn't contain a
prefix, as we typically do for all patches. So I changed the title to:

	scripts/graph-build-time: remove X dependency

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-09-21 20:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-21 16:46 [Buildroot] [PATCH 1/1] Removed X depency for make build-graphs Sascha Arthur
2014-09-21 20:25 ` Yann E. MORIN
2014-09-21 20:46 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox