Skip to contentSkip to conversation

imagemagick: Enable for host

PATCH New Vincent Stehlé 2 participants 3 messages Jun 16, 2014 – Jun 22, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 imagemagick: Enable for host

This allows to use e.g. convert to generate files at build time.

---
 package/imagemagick/imagemagick.mk | 1 +
 1 file changed, 1 insertion(+)
package/imagemagick/imagemagick.mk +1 -0
index a6f3f45..ae191f1 100644
@@ -119,3 +119,4 @@ IMAGEMAGICK_CONF_OPT += --without-bzlib
 endif
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))
Signature · 1 line
2.0.0
#1 lore raw

PATCH 1/1 imagemagick: Enable for host

Dear Vincent Stehl?,

Quoted 12 lines · Vincent Stehl?

This allows to use e.g. convert to generate files at build time.

---
 package/imagemagick/imagemagick.mk | 1 +
 1 file changed, 1 insertion(+)
package/imagemagick/imagemagick.mk +0 -0
index a6f3f45..ae191f1 100644

package/imagemagick/imagemagick.mk IMAGEMAGICK_CONF_OPT += --without-bzlib · line 122

Quoted 4 lines
package/imagemagick/imagemagick.mk +1 -0
@@ -119,3 +119,4 @@ IMAGEMAGICK_CONF_OPT += --without-bzlib
 endif
 
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))

My initial reaction to this patch is: "why".

We generally have host packages for two situations:

* They are used as a dependency to build some other target package. In this case, we expect the patch adding the host package to be submitted alongside the patch adding the target package needing it, so that there is no "unneeded" host package.

* They are tools needed to manipulate the target hardware (flashing utilities or special communication tools), to generate filesystem or special images, etc. In this case, they are present in the "Host utilities" submenu of menuconfig.

Your package does not fall in any of those categories. How will you trigger the build of this package? By manually calling "make host-imagemagick" ?

Best regards,

Thomas

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

A message that is not in the archive (sent off-list or not yet received): 53A71225.3000201@bergerie

#3 lore raw

PATCH 1/1 imagemagick: Enable for host

Dear Vincent,

Quoted 8 lines · Vincent
Quoted 3 lines

we expect the patch adding the host package to be submitted alongside the patch adding the target package needing it, so that there is no "unneeded" host package.

Ah! I did not know about that rule. It makes sense, indeed.

I am trying to package ev3sources, which needs convert at build time. I'll re-submit this host-imagemagick patch alongside, then.

Ok, no problem. Indeed, host-imagemagick will be perfectly fine when submitted alongside the ev3sources package.

In the mean time, I'll mark your patch as "Changes requested" in patchwork.

Thanks!

Thomas

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