Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit master 1/1] qt: fix mysql dependency and disable unavailable sql drivers
@ 2010-07-16 21:55 Peter Korsgaard
  2010-07-18 16:47 ` Thomas Petazzoni
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2010-07-16 21:55 UTC (permalink / raw)
  To: buildroot


commit: http://git.buildroot.net/buildroot/commit/?id=470e9deec1a740d3cf87fdf7598524560632ce0b
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

We don't have the needed dependencies in BR for most of the SQL drivers,
so mark those options as broken.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
 package/qt/Config.sql.in |    7 +++++++
 package/qt/qt.mk         |    4 +++-
 2 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/package/qt/Config.sql.in b/package/qt/Config.sql.in
index 2ce8d79..b982fdb 100644
--- a/package/qt/Config.sql.in
+++ b/package/qt/Config.sql.in
@@ -6,24 +6,30 @@ menuconfig BR2_PACKAGE_QT_SQL_MODULE
 if BR2_PACKAGE_QT_SQL_MODULE
 config BR2_PACKAGE_QT_MYSQL
 	bool "MySQL Driver"
+	select BR2_PACKAGE_MYSQL_CLIENT
+	select BR2_PACKAGE_NCURSES
+	select BR2_PACKAGE_READLINE
 	help
 	  Build MySQL driver
 	  If unsure, say n.
 
 config BR2_PACKAGE_QT_IBASE
 	bool "iBase Driver"
+	depends on BROKEN # libfbclient not in BR
 	help
 	  Build iBase driver
 	  If unsure, say n.
 
 config BR2_PACKAGE_QT_ODBC
 	bool "ODBC Driver"
+	depends on BROKEN # libodbc not in BR
 	help
 	  Build ODBC driver
 	  If unsure, say n.
 
 config BR2_PACKAGE_QT_PSQL
 	bool "PostgreSQL Driver"
+	depends on BROKEN # libpgsql not in BR
 	help
 	  Build PostgreSQL driver
 	  If unsure, say n.
@@ -36,6 +42,7 @@ config BR2_PACKAGE_QT_SQLITE
 
 config BR2_PACKAGE_QT_SQLITE2
 	bool "SQLite 2 Driver"
+	depends on BROKEN # sqlite2 not in BR
 	help
 	  Build SQLite 2 driver
 	  If unsure, say n.
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index dd43ae0..864e79b 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -273,7 +273,9 @@ ifeq ($(BR2_PACKAGE_QT_IBASE),y)
 QT_CONFIGURE+= -qt-sql-ibase
 endif
 ifeq ($(BR2_PACKAGE_QT_MYSQL),y)
-QT_CONFIGURE+= -qt-sql-mysql
+QT_CONFIGURE+= -qt-sql-mysql -I $(STAGING_DIR)/usr/include/mysql -L $(STAGING_DIR)/usr/lib/mysql
+
+QT_DEP_LIBS+=mysql_client
 endif
 ifeq ($(BR2_PACKAGE_QT_ODBC),y)
 QT_CONFIGURE+= -qt-sql-odbc
-- 
1.7.1

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

* [Buildroot] [git commit master 1/1] qt: fix mysql dependency and disable unavailable sql drivers
  2010-07-16 21:55 [Buildroot] [git commit master 1/1] qt: fix mysql dependency and disable unavailable sql drivers Peter Korsgaard
@ 2010-07-18 16:47 ` Thomas Petazzoni
  2010-07-18 20:07   ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Petazzoni @ 2010-07-18 16:47 UTC (permalink / raw)
  To: buildroot

Hello,

On Fri, 16 Jul 2010 23:55:30 +0200
Peter Korsgaard <jacmet@sunsite.dk> wrote:

> We don't have the needed dependencies in BR for most of the SQL
> drivers, so mark those options as broken.

I had already sent a fix for the Qt->MySQL dependency on Friday, at
11:18 AM, together with a bump of the MySQL version (which allows MySQL
to actually build here) and other fixes as well.

I will rebase my changes on top of yours and resend.

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] [git commit master 1/1] qt: fix mysql dependency and disable unavailable sql drivers
  2010-07-18 16:47 ` Thomas Petazzoni
@ 2010-07-18 20:07   ` Peter Korsgaard
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2010-07-18 20:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:

 Thomas> Hello,
 Thomas> On Fri, 16 Jul 2010 23:55:30 +0200
 Thomas> Peter Korsgaard <jacmet@sunsite.dk> wrote:

 >> We don't have the needed dependencies in BR for most of the SQL
 >> drivers, so mark those options as broken.

 Thomas> I had already sent a fix for the Qt->MySQL dependency on Friday, at
 Thomas> 11:18 AM, together with a bump of the MySQL version (which allows MySQL
 Thomas> to actually build here) and other fixes as well.

Sorry, I'm ~250 mails behind on the BR list :/

The existing mysql version builds here, but a bump is find.

 Thomas> I will rebase my changes on top of yours and resend.

Not needed - I committed everything besides the Qt patch.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2010-07-18 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-16 21:55 [Buildroot] [git commit master 1/1] qt: fix mysql dependency and disable unavailable sql drivers Peter Korsgaard
2010-07-18 16:47 ` Thomas Petazzoni
2010-07-18 20:07   ` Peter Korsgaard

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