From: tpetazzoni at uclibc.org <tpetazzoni@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/qtopia4
Date: Tue, 11 Nov 2008 10:35:43 -0800 (PST) [thread overview]
Message-ID: <20081111183543.534143C9A4@busybox.net> (raw)
Author: tpetazzoni
Date: 2008-11-11 10:35:43 -0800 (Tue, 11 Nov 2008)
New Revision: 24001
Log:
Fix Qtopia build issues
This patch fixes two Qtopia build issues, encountered while trying to
use system implementation of zlib, freetype, jpeg and libpng :
* The build process doesn't look in $(STAGING_DIR)/usr/include for
includes and $(STAGING_DIR)/usr/lib. Same problem as the patch
currently floating around adding LDFLAGS to TARGET_CONFIGURE_OPTS,
but as Qtopia doesn't use TARGET_CONFIGURE_OPTS, we need a specific
fix here. So we use the -I and -L options of Qtopia's configure
script.
* The build process doesn't use pkg-config to get the header path for
Freetype headers (located in $(STAGING_DIR)/usr/include/freetype2
and not directly in $(STAGING_DIR)/usr/include/). There was already
a fix for this, consisting in adding $(FREETYPE_DIR)/include to the
-I path of Qtopia's configure. This patch modifies this fix to use
$(STAGING_DIR)/usr/include/freetype2 instead, which looks more
coherent with how all the packages are built (using $(STAGING_DIR)
as the reference to get headers and libraries).
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Modified:
trunk/buildroot/package/qtopia4/qtopia4.mk
Changeset:
Modified: trunk/buildroot/package/qtopia4/qtopia4.mk
===================================================================
--- trunk/buildroot/package/qtopia4/qtopia4.mk 2008-11-11 18:32:31 UTC (rev 24000)
+++ trunk/buildroot/package/qtopia4/qtopia4.mk 2008-11-11 18:35:43 UTC (rev 24001)
@@ -212,7 +212,7 @@
else
ifeq ($(BR2_PACKAGE_QTOPIA4_SYSTEMFREETYPE),y)
QTOPIA4_CONFIGURE+= -system-freetype
-QTOPIA4_CONFIGURE+= -I $(FREETYPE_DIR)/include
+QTOPIA4_CONFIGURE+= -I $(STAGING_DIR)/usr/include/freetype2/
QTOPIA4_DEP_LIBS+=freetype
else
QTOPIA4_CONFIGURE+= -no-freetype
@@ -342,6 +342,8 @@
-no-rpath \
-nomake examples \
-nomake demos \
+ -I $(STAGING_DIR)/usr/include \
+ -L $(STAGING_DIR)/usr/lib \
)
touch $@
next reply other threads:[~2008-11-11 18:35 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-11 18:35 tpetazzoni at uclibc.org [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-03-05 15:35 [Buildroot] svn commit: trunk/buildroot/package/qtopia4 jacmet at uclibc.org
2009-01-25 20:19 jacmet at uclibc.org
2008-12-08 18:00 egtvedt at uclibc.org
2008-12-04 16:50 egtvedt at uclibc.org
2008-12-01 13:06 egtvedt at uclibc.org
2008-12-01 13:08 ` Thomas Petazzoni
2008-12-01 13:12 ` Hans-Christian Egtvedt
2008-12-01 13:19 ` Thomas Petazzoni
2008-12-01 13:25 ` Hans-Christian Egtvedt
2008-12-01 13:39 ` Thomas Petazzoni
2008-12-01 13:43 ` Hans-Christian Egtvedt
2008-11-02 2:16 antab at uclibc.org
2008-11-02 14:14 ` Markus Heidelberg
2008-11-02 20:22 ` Peter Korsgaard
2008-10-31 17:17 antab at uclibc.org
2008-11-01 11:47 ` Markus Heidelberg
2008-11-01 13:46 ` Arnar Mar Sigurðsson
2008-11-01 17:42 ` Thiago A. Corrêa
2008-11-01 19:15 ` Markus Heidelberg
2008-11-02 20:19 ` Peter Korsgaard
2008-10-31 2:17 correa at uclibc.org
2008-10-29 20:40 jacmet at uclibc.org
2008-10-28 9:40 jacmet at uclibc.org
2008-10-28 9:40 jacmet at uclibc.org
2008-10-29 14:11 ` Arnar Mar Sigurðsson
2008-10-29 15:21 ` Peter Korsgaard
2008-10-29 16:01 ` Thiago A. Corrêa
2008-10-29 16:36 ` Arnar Mar Sigurðsson
2008-10-29 18:02 ` Markus Heidelberg
2008-10-26 6:03 jacmet at uclibc.org
2008-09-29 16:27 egtvedt at uclibc.org
2008-09-03 3:44 correa at uclibc.org
2008-09-03 1:09 correa at uclibc.org
2008-08-27 20:19 jacmet at uclibc.org
2008-06-28 3:55 correa at uclibc.org
2008-06-28 3:22 correa at uclibc.org
2008-05-21 5:52 ulf at uclibc.org
2008-05-21 5:48 ulf at uclibc.org
2008-05-11 6:45 ulf at uclibc.org
2008-04-25 11:45 ninevoltz at uclibc.org
2008-04-24 18:44 ninevoltz at uclibc.org
2008-04-24 19:04 ` Peter Korsgaard
2008-04-24 19:30 ` John Voltz
2008-04-24 19:47 ` Peter Korsgaard
2008-04-24 20:27 ` Thiago A. Corrêa
2008-04-25 7:23 ` Hans-Christian Egtvedt
2008-04-25 13:31 ` Thiago A. Corrêa
2008-04-25 13:45 ` Peter Korsgaard
2008-04-23 15:27 jacmet at uclibc.org
2008-03-12 13:53 ninevoltz at uclibc.org
2008-03-12 14:20 ` Peter Korsgaard
2008-03-12 15:18 ` Thomas Petazzoni
2008-03-12 18:26 ` Will Wagner
2008-03-13 6:25 ` Hans-Christian Egtvedt
2008-03-12 18:44 ` Will Wagner
2008-03-12 18:55 ` John Voltz
2008-03-13 6:26 ` Hans-Christian Egtvedt
2008-03-13 10:38 ` Will Wagner
2008-03-13 11:21 ` Hans-Christian Egtvedt
2008-03-13 11:27 ` Will Wagner
2008-03-06 18:22 ninevoltz at uclibc.org
2008-01-25 10:20 thomasez at uclibc.org
2007-12-18 15:12 vanokuten at uclibc.org
2007-09-26 10:23 ulf at uclibc.org
2007-09-26 11:07 ` Peter Korsgaard
2007-09-26 11:30 ` Ulf Samuelsson
2007-09-26 11:48 ` Peter Korsgaard
2007-09-26 18:27 ` rafael2k
2007-09-23 16:29 ulf at uclibc.org
2007-08-28 23:06 ulf at uclibc.org
2007-08-22 19:31 aldot at uclibc.org
2007-08-21 8:31 aldot at uclibc.org
2007-07-28 17:26 ulf at uclibc.org
2007-07-28 15:41 ulf 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=20081111183543.534143C9A4@busybox.net \
--to=tpetazzoni@uclibc.org \
--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