Skip to contentSkip to conversation

Removed X depency for make build-graphs

PATCH New Sascha Arthur 3 participants 3 messages Sep 21, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Removed X depency for make build-graphs

---
 support/scripts/graph-build-time |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
support/scripts/graph-build-time +2 -1
index 524c30d..4bb90c2 100755
@@ -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
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 Removed X depency for make build-graphs

Sascha, All,

On 2014-09-21 18:46 +0200, Sascha Arthur spake thusly:

Quoted 2 lines

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

It is a solution I also found suggested on StackOverflow.

Regards,
Yann E. MORIN.

Quoted 27 lines
---
 support/scripts/graph-build-time |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
support/scripts/graph-build-time +2 -1
index 524c30d..4bb90c2 100755
@@ -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
Signature · 6 lines
1.7.10.4

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 Removed X depency for make build-graphs

In reply to Sascha Arthur

Dear Sascha Arthur,

Quoted 5 lines · Sascha Arthur
---
 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

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