Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] use of HOST_GLIB
@ 2009-09-23 11:54 Sven Neumann
  2009-09-23 12:54 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2009-09-23 11:54 UTC (permalink / raw)
  To: buildroot

Hi,

I found that package/java/classpath and package/libsoup both use

 ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/glib-genmarshal

However HOST_GLIB does not seem to be defined. What is the proper way to
refer to the glib-genmarshal binary that is installed by the
host-libglib2 target?


Sven

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

* [Buildroot] use of HOST_GLIB
  2009-09-23 11:54 [Buildroot] use of HOST_GLIB Sven Neumann
@ 2009-09-23 12:54 ` Peter Korsgaard
  2009-09-23 14:01   ` Sven Neumann
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-09-23 12:54 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:

 Sven> Hi,
 Sven> I found that package/java/classpath and package/libsoup both use

 Sven>  ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/glib-genmarshal

 Sven> However HOST_GLIB does not seem to be defined. What is the proper
 Sven> way to refer to the glib-genmarshal binary that is installed by
 Sven> the host-libglib2 target?

Ahh, those must have been missed when we fixed the glib-genmarshal
stuff. The proper variable to use is LIBGLIB2_HOST_BINARY.

I'll fix it in git - Thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] use of HOST_GLIB
  2009-09-23 12:54 ` Peter Korsgaard
@ 2009-09-23 14:01   ` Sven Neumann
  2009-09-23 18:52     ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Sven Neumann @ 2009-09-23 14:01 UTC (permalink / raw)
  To: buildroot

On Wed, 2009-09-23 at 14:54 +0200, Peter Korsgaard wrote:
> >>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:
> 
>  Sven> Hi,
>  Sven> I found that package/java/classpath and package/libsoup both use
> 
>  Sven>  ac_cv_path_GLIB_GENMARSHAL=$(HOST_GLIB)/glib-genmarshal
> 
>  Sven> However HOST_GLIB does not seem to be defined. What is the proper
>  Sven> way to refer to the glib-genmarshal binary that is installed by
>  Sven> the host-libglib2 target?
> 
> Ahh, those must have been missed when we fixed the glib-genmarshal
> stuff. The proper variable to use is LIBGLIB2_HOST_BINARY.

That is a rather strange name. Nothing in LIBGLIB2_HOST_BINARY tells me
that this is glib-genmarshal. What's the variable to use for
glib-mkenums then ?


Sven

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

* [Buildroot] use of HOST_GLIB
  2009-09-23 14:01   ` Sven Neumann
@ 2009-09-23 18:52     ` Peter Korsgaard
  2009-09-23 19:14       ` Sven Neumann
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-09-23 18:52 UTC (permalink / raw)
  To: buildroot

>>>>> "Sven" == Sven Neumann <s.neumann@raumfeld.com> writes:

Hi,

 >> Ahh, those must have been missed when we fixed the glib-genmarshal
 >> stuff. The proper variable to use is LIBGLIB2_HOST_BINARY.

 Sven> That is a rather strange name. Nothing in LIBGLIB2_HOST_BINARY
 Sven> tells me that this is glib-genmarshal. What's the variable to use
 Sven> for glib-mkenums then ?

Well, it's just following the approach of the other host packages, but
you can use $(HOST_DIR)/usr/bin/glib-genmarshal as well now that we're
compiling it ourselves. I don't see any references in the tree to a
explicitly defined glib-mkenums, should there be?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] use of HOST_GLIB
  2009-09-23 18:52     ` Peter Korsgaard
@ 2009-09-23 19:14       ` Sven Neumann
  0 siblings, 0 replies; 5+ messages in thread
From: Sven Neumann @ 2009-09-23 19:14 UTC (permalink / raw)
  To: buildroot

Hi,

On Wed, 2009-09-23 at 20:52 +0200, Peter Korsgaard wrote:

>  >> Ahh, those must have been missed when we fixed the glib-genmarshal
>  >> stuff. The proper variable to use is LIBGLIB2_HOST_BINARY.
> 
>  Sven> That is a rather strange name. Nothing in LIBGLIB2_HOST_BINARY
>  Sven> tells me that this is glib-genmarshal. What's the variable to use
>  Sven> for glib-mkenums then ?
> 
> Well, it's just following the approach of the other host packages, but
> you can use $(HOST_DIR)/usr/bin/glib-genmarshal as well now that we're
> compiling it ourselves. I don't see any references in the tree to a
> explicitly defined glib-mkenums, should there be?

Well, it's pretty much the same story as with glib-genmarshal, perhaps
not as commonly used though. glib-mkenums is a code-generation tool that
glib installs and that applications and libraries using glib may use in
their Makefiles. The AM_PATH_GLIB_2_0() macro uses pkg-config to find
out where glib has installed it and defines the GLIB_MKENUMS variable
pointing to the binary. There is also gobject-query, which is probably
even less commonly used.

So yes, I think there should be a HOST_GLIB_MKENUMS variable and I think
that LIBGLIB2_HOST_BINARY should be rather be named
HOST_GLIB_GENMARSHAL.


Sven

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

end of thread, other threads:[~2009-09-23 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 11:54 [Buildroot] use of HOST_GLIB Sven Neumann
2009-09-23 12:54 ` Peter Korsgaard
2009-09-23 14:01   ` Sven Neumann
2009-09-23 18:52     ` Peter Korsgaard
2009-09-23 19:14       ` Sven Neumann

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