From: Ulf Samuelsson <ulf.samuelsson@atmel.com>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot
Date: Mon, 07 Jul 2008 15:14:06 +0200 [thread overview]
Message-ID: <4872169E.2010102@atmel.com> (raw)
In-Reply-To: <20080707124143.GB15840@mx.loc>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bernhard Fischer skrev:
> On Sun, Jul 06, 2008 at 12:34:41AM -0700, ulf at uclibc.org wrote:
>> Author: ulf
>> Date: 2008-07-06 00:34:41 -0700 (Sun, 06 Jul 2008)
>> New Revision: 22663
>>
>> Log:
>> Replace configuring GLIB with autodetect
>>
>> Modified:
>> trunk/buildroot/Config.in
>> trunk/buildroot/Makefile
>>
>>
>> Changeset:
>> Modified: trunk/buildroot/Config.in
>> ===================================================================
>> --- trunk/buildroot/Config.in 2008-07-06 07:00:11 UTC (rev 22662)
>> +++ trunk/buildroot/Config.in 2008-07-06 07:34:41 UTC (rev 22663)
>> @@ -78,17 +78,6 @@
>>
>> The default is $(BASE_DIR)/dl
>>
>> -config BR2_HOST_GLIB
>> - string "Location of host Gnome library"
>> - default "/usr"
>> - help
>> - Directory where Gnome is installed on the host
>> - Gnome applications is installed in $(BR2_HOST_LIB)/bin
>> - This is needed to build libgtk etc.
>> - The default is /usr
>> - It can be overridden by the BUILDROOT_HOST_GLIB
>> - shell variable
>> -
>> source "target/device/Config.in.mirrors"
>>
>> config BR2_STAGING_DIR
>>
>> Modified: trunk/buildroot/Makefile
>> ===================================================================
>> --- trunk/buildroot/Makefile 2008-07-06 07:00:11 UTC (rev 22662)
>> +++ trunk/buildroot/Makefile 2008-07-06 07:34:41 UTC (rev 22663)
>> @@ -57,12 +57,6 @@
>> endif
>> LOCAL:=$(BR2_LOCAL)
>>
>> -ifneq ($(BUILDROOT_HOST_GLIB),)
>> -HOST_GLIB:=$(BUILDROOT_HOST_GLIB)
>> -else
>> -HOST_GLIB:=$(BR2_HOST_GLIB)
>> -endif
>> -
>> # To put more focus on warnings, be less verbose as default
>> # Use 'make V=1' to see the full commands
>> ifdef V
>> @@ -128,6 +122,10 @@
>> HOSTLD:=$(shell $(CONFIG_SHELL) -c "which $(HOSTLD)" || type -p $(HOSTLD) || echo ld)
>> HOSTLN:=$(shell $(CONFIG_SHELL) -c "which $(HOSTLN)" || type -p $(HOSTLN) || echo ln)
>> HOSTNM:=$(shell $(CONFIG_SHELL) -c "which $(HOSTNM)" || type -p $(HOSTNM) || echo nm)
>> +HOST_GLIB_BIN:=`dirname $(shell $(CONFIG_SHELL) -c "which glib-genmarshal" || echo /usr/bin/glib-genmarshal)`
>> +HOST_GLIB:=$(shell $(CONFIG_SHELL) -c "dirname $(HOST_GLIB_BIN)" || echo /usr)
>
> I don't see why
> 1) "/usr" is a valid fallback here?
Gnome is installed in /usr and the Gnome binaries
will then be looked for in /usr/bin
> 2) this stuff is needed in the first place.
>
The configure statements of many packages seems to
hardwire the location of glib-genmarshal (and
other gnome packages) to /usr/bin
> If glib-genmarshal is not in your PATH then it is perfectly fine to
> fail.
/opt/gnome/bin/glib-genmarshal *is* in my path.
/usr/bin/glib-genmarshal is NOT in my path.
> If it is in your PATH (which it should be, iff you have it
> installed), the it should be found by configure.
>
Yes, but it is not found which I think is a bug.
Gnome seems to use
GLIB_GENMARSHAL= $PKGCONFIG --variable glib-genmarshal glib-2.0
to detect where glib-genmarshal is.
pkg-config is using the *target* installation of gnome which
is located in /usr with glib-genmarshal in /usr/bin/
PKGCONFIG reads from $(PKG_CONFIG_PATH)/glib-2.0.pc
Even if you explicitly set
GLIB_GENMARSHAL=/opt/gnome/bin/glib-genmarshal
in the configure to libgtk2, this is ignored.
If you change $(PKG_CONFIG_PATH)/glib-2.0.pc to
supply /opt/gnome/bin/glib-genmarshal then the build will fail.
> Put short, this change should be dropped in my POV.
It is not working to my satsifaction, so I currently
provide softlinks to /usr/bin.
What do we then do with the <packages>.mk that supply
an absolute path to glib-genmarshal etc.?
Another question is if we should install Gnome in /opt/gnome
instead of in /usr/bin?
I think that will solve my problem.
Do people see gnome normally beeing installed in /usr/bin.
BR
Ulf Samuelsson
>
>> +
>> +
>> ifndef CFLAGS_FOR_BUILD
>> CFLAGS_FOR_BUILD:=-g -O2
>> endif
>> @@ -522,3 +520,4 @@
>> @echo LOCAL=$(LOCAL)
>> @echo BR2_DL_DIR=$(BR2_DL_DIR)
>> @echo HOST_GLIB=$(HOST_GLIB)
>> + @echo HOST_GLIB_BIN=$(HOST_GLIB_BIN)
>
> As already said, you're leaking your local debug stuff into the tree,
> please don't do that.
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
iD8DBQFIchaeAyRRH5cXxqwRAjMvAJ0YQnUz3j+hbVYT/dERY+f76NkyVwCcCtS/
KBeK7o0ujVGeb7kLj3wnk6U=
=ZlXK
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2008-07-07 13:14 UTC|newest]
Thread overview: 211+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-06 7:34 [Buildroot] svn commit: trunk/buildroot ulf at uclibc.org
2008-07-07 12:41 ` Bernhard Fischer
2008-07-07 13:14 ` Ulf Samuelsson [this message]
2008-07-07 13:23 ` Bernhard Fischer
2008-07-07 13:35 ` Ulf Samuelsson
2008-07-07 14:38 ` Peter Korsgaard
2008-07-07 17:28 ` Ulf Samuelsson
2008-07-07 19:00 ` Peter Korsgaard
2008-07-07 22:37 ` Ulf Samuelsson
2008-07-08 1:38 ` Hamish Moffatt
2008-07-08 6:35 ` Ulf Samuelsson
2008-07-08 5:39 ` Peter Korsgaard
2008-07-08 7:12 ` Hamish Moffatt
2008-07-08 9:59 ` Ulf Samuelsson
2008-07-08 10:25 ` Peter Korsgaard
2008-07-07 13:16 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2009-02-12 9:02 jacmet at uclibc.org
2009-01-31 20:38 ulf at uclibc.org
2009-01-29 9:34 ulf at uclibc.org
2009-01-29 10:21 ` Peter Korsgaard
2009-01-29 18:04 ` Ulf Samuelsson
2009-01-29 19:00 ` Peter Korsgaard
2009-01-28 7:59 jacmet at uclibc.org
2009-01-26 19:42 jacmet at uclibc.org
2009-01-26 19:37 ulf at uclibc.org
2009-01-26 19:39 ` Peter Korsgaard
2009-01-26 21:22 ` Ulf Samuelsson
2009-01-25 23:01 ulf at uclibc.org
2009-01-26 6:19 ` Peter Korsgaard
2009-01-26 11:23 ` Ulf Samuelsson
2009-01-26 12:21 ` Peter Korsgaard
2009-01-22 23:03 ulf at uclibc.org
2009-01-16 14:56 jacmet at uclibc.org
2009-01-16 10:27 jacmet at uclibc.org
2009-01-15 19:36 jacmet at uclibc.org
2009-01-08 13:16 egtvedt at uclibc.org
2008-11-07 8:58 jacmet at uclibc.org
2008-11-05 11:39 egtvedt at uclibc.org
2008-11-04 12:50 jacmet at uclibc.org
2008-11-04 23:30 ` hartleys
2008-11-04 23:36 ` Roberto A. Foglietta
2008-11-04 23:44 ` hartleys
2008-11-04 23:53 ` Roberto A. Foglietta
2008-11-05 0:00 ` hartleys
2008-11-05 0:53 ` Roberto A. Foglietta
2008-11-05 1:01 ` hartleys
2008-11-05 1:37 ` Roberto A. Foglietta
2008-11-05 6:16 ` Peter Korsgaard
2008-11-03 20:11 jacmet at uclibc.org
2008-11-04 7:23 ` Thomas Petazzoni
2008-11-04 9:41 ` Peter Korsgaard
2008-11-04 17:14 ` Thomas Petazzoni
2008-11-04 19:17 ` Peter Korsgaard
2008-09-18 9:22 jacmet at uclibc.org
2008-09-11 2:22 hamish at uclibc.org
2008-07-07 23:20 ulf at uclibc.org
2008-07-08 5:34 ` Peter Korsgaard
2008-07-08 5:52 ` Ulf Samuelsson
2008-07-08 7:14 ` Hamish Moffatt
2008-07-08 8:18 ` Peter Korsgaard
2008-07-08 13:21 ` Thiago A. Corrêa
2008-07-08 15:41 ` Ulf Samuelsson
2008-07-07 18:32 ulf at uclibc.org
2008-07-07 18:41 ` Bernhard Fischer
2008-07-07 18:26 ulf at uclibc.org
2008-07-07 17:48 ulf at uclibc.org
2008-07-07 18:05 ` Bernhard Fischer
2008-07-05 9:22 ulf at uclibc.org
2008-07-06 19:57 ` Peter Korsgaard
[not found] ` <48714AA0.8000809@atmel.com>
2008-07-07 6:36 ` Peter Korsgaard
2008-07-07 11:18 ` Ulf Samuelsson
2008-07-07 11:59 ` Peter Korsgaard
2008-07-05 6:58 ulf at uclibc.org
2008-07-04 22:29 ulf at uclibc.org
2008-07-06 19:55 ` Peter Korsgaard
2008-07-07 12:13 ` Ulf Samuelsson
2008-07-07 12:36 ` Bernhard Fischer
2008-07-07 12:57 ` Ulf Samuelsson
2008-07-07 13:11 ` Bernhard Fischer
2008-07-07 13:28 ` Bernhard Fischer
2008-07-07 13:44 ` Ulf Samuelsson
2008-07-07 14:53 ` Peter Korsgaard
2008-07-07 17:33 ` Ulf Samuelsson
2008-07-07 14:50 ` Peter Korsgaard
2008-07-07 14:47 ` Peter Korsgaard
2008-07-07 14:44 ` Peter Korsgaard
2008-07-07 15:25 ` Bernhard Fischer
2008-07-07 17:39 ` Peter Korsgaard
2008-07-09 13:08 ` Peter Korsgaard
2008-07-09 14:45 ` Ulf Samuelsson
2008-07-07 14:41 ` Peter Korsgaard
2008-07-07 17:30 ` Ulf Samuelsson
2008-07-07 19:08 ` Peter Korsgaard
2008-07-07 13:21 ` Peter Korsgaard
2008-07-07 13:25 ` Ulf Samuelsson
2008-07-07 13:41 ` Bernhard Fischer
2008-07-07 13:47 ` Ulf Samuelsson
2008-07-07 14:07 ` Bernhard Fischer
2008-07-07 17:24 ` Ulf Samuelsson
2008-07-07 14:55 ` Peter Korsgaard
2008-07-07 14:58 ` Peter Korsgaard
2008-07-01 12:04 jacmet at uclibc.org
2008-06-23 13:47 jacmet at uclibc.org
2008-05-31 7:27 jacmet at uclibc.org
2008-05-11 6:55 ulf at uclibc.org
2008-04-04 7:12 jacmet at uclibc.org
2008-04-03 21:06 jacmet at uclibc.org
2008-03-31 9:06 jacmet at uclibc.org
2008-03-30 21:49 ulf at uclibc.org
2008-03-30 21:53 ` Nigel Kukard
2008-03-30 20:52 jacmet at uclibc.org
2008-03-30 20:48 jacmet at uclibc.org
2008-03-30 6:38 ulf at uclibc.org
2008-03-30 6:29 ulf at uclibc.org
2008-03-28 7:31 ulf at uclibc.org
2008-03-28 2:50 jspence at uclibc.org
2008-03-28 7:42 ` Peter Korsgaard
2008-03-31 9:04 ` Peter Korsgaard
2008-04-04 5:52 ` J. Spence
2008-03-18 8:37 jacmet at uclibc.org
2008-03-18 0:29 hamish at uclibc.org
2008-03-16 13:26 ninevoltz at uclibc.org
2008-03-12 13:11 ninevoltz at uclibc.org
2008-03-12 11:23 ninevoltz at uclibc.org
2008-03-10 16:34 ninevoltz at uclibc.org
2008-03-06 19:01 ninevoltz at uclibc.org
2008-03-04 12:19 jacmet at uclibc.org
2008-03-04 12:30 ` Ulf Samuelsson
2008-03-04 13:13 ` Peter Korsgaard
2008-03-04 15:21 ` Ulf Samuelsson
2007-10-07 18:23 ulf at uclibc.org
2007-09-29 13:58 aldot at uclibc.org
2007-09-28 20:52 aldot at uclibc.org
2007-09-28 19:46 ulf at uclibc.org
2007-09-27 21:24 aldot at uclibc.org
2007-09-25 11:51 aldot at uclibc.org
2007-09-25 8:28 aldot at uclibc.org
2007-09-23 14:36 ulf at uclibc.org
2007-09-23 10:57 ulf at uclibc.org
2007-09-23 11:19 ` Bernhard Fischer
2007-09-23 14:23 ` Ulf Samuelsson
2007-09-24 6:05 ` Hans-Christian Egtvedt
2007-09-22 14:19 aldot at uclibc.org
2007-09-18 13:12 aldot at uclibc.org
2007-09-17 12:40 ulf at uclibc.org
2007-09-15 12:16 aldot at uclibc.org
2007-09-01 18:21 aldot at uclibc.org
2007-09-01 17:10 aldot at uclibc.org
2007-08-27 21:51 aldot at uclibc.org
2007-08-27 21:40 aldot at uclibc.org
2007-08-24 5:31 ulf at uclibc.org
2007-08-21 10:56 aldot at uclibc.org
2007-08-21 10:53 aldot at uclibc.org
2007-08-21 10:42 aldot at uclibc.org
2007-08-21 1:28 ulf at uclibc.org
2007-08-16 11:18 ulf at uclibc.org
2007-08-16 5:44 ulf at uclibc.org
2007-08-15 9:47 ulf at uclibc.org
2007-08-14 11:59 jacmet at uclibc.org
2007-08-14 7:24 ulf at uclibc.org
2007-07-31 18:25 aldot at uclibc.org
2007-07-31 15:02 aldot at uclibc.org
2007-07-29 6:51 ulf at uclibc.org
2007-07-27 15:29 aldot at uclibc.org
2007-07-27 14:57 aldot at uclibc.org
2007-07-27 14:16 aldot at uclibc.org
2007-07-27 13:08 aldot at uclibc.org
2007-07-23 19:04 ulf at uclibc.org
2007-07-23 21:13 ` Bernhard Fischer
2007-07-23 11:29 aldot at uclibc.org
2007-07-23 7:59 ulf at uclibc.org
2007-07-13 12:21 aldot at uclibc.org
2007-07-13 13:43 ` Julien Letessier
2007-07-12 16:57 ulf at uclibc.org
2007-07-12 15:29 ulf at uclibc.org
2007-07-09 18:23 aldot at uclibc.org
2007-07-09 8:06 aldot at uclibc.org
2007-07-09 5:04 ulf at uclibc.org
2007-07-09 4:29 ulf at uclibc.org
2007-07-09 4:26 ulf at uclibc.org
2007-07-08 16:28 aldot at uclibc.org
2007-07-08 12:20 aldot at uclibc.org
2007-07-06 12:19 ulf at uclibc.org
2007-06-25 10:56 aldot at uclibc.org
2007-06-24 12:27 aldot at uclibc.org
2007-06-19 15:19 jacmet at uclibc.org
2007-06-07 12:57 aldot at uclibc.org
2007-06-07 12:54 aldot at uclibc.org
2007-06-06 21:05 aldot at uclibc.org
2007-06-02 16:36 aldot at uclibc.org
2007-06-02 9:05 aldot at uclibc.org
2007-06-02 8:49 aldot at uclibc.org
2007-05-07 3:56 sjhill at uclibc.org
2007-04-28 18:53 Ulf Samuelsson
2007-04-28 17:09 sjhill at uclibc.org
2007-03-20 14:42 aldot at uclibc.org
2007-03-09 8:26 aldot at uclibc.org
2007-02-09 13:35 aldot at uclibc.org
2007-01-28 15:15 aldot at uclibc.org
2007-01-19 18:00 aldot at uclibc.org
2007-01-17 13:54 aldot at uclibc.org
2007-01-17 13:05 aldot at uclibc.org
2007-01-10 6:55 andersen at uclibc.org
2006-12-13 7:33 andersen at uclibc.org
2006-12-13 6:59 andersen at uclibc.org
2006-12-13 6:26 andersen at uclibc.org
2006-12-02 19:01 aldot at uclibc.org
2006-12-04 18:47 ` Erik Andersen
2006-11-15 21:00 andersen at uclibc.org
2006-10-01 15:07 aldot at uclibc.org
2006-08-28 6:52 lethal at uclibc.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4872169E.2010102@atmel.com \
--to=ulf.samuelsson@atmel.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox