FS#1040 - Add mysql support to qt

Attached to Project: Arch Linux
Opened by Paul Mattal (paul) - Tuesday, 29 June 2004, 15:30 GMT
Last edited by Judd Vinet (judd) - Wednesday, 30 June 2004, 15:53 GMT
Task Type Feature Request
Category Packages: Current
Status Closed
Assigned To No-one
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Packages like MythTV require that qt be compiled with mysql support, which it isn't by default. Since Arch is otherwise so ideal a platform for MythTV, it would be nice to have the flexibility without having to rebuild a fairly key system component like qt.

Patch to the PKGBUILD is attached.
   PKGBUILD.diff (0.9 KiB)
(application/octet-stream)    PKGBUILD.diff (0.9 KiB)
This task depends upon

Closed by  Judd Vinet (judd)
Wednesday, 04 August 2004, 04:34 GMT
Reason for closing:  Implemented
Comment by Paul Mattal (paul) - Wednesday, 30 June 2004, 02:19 GMT
I attached a fixed PKGBUILD. The first one was subtlely wrong.
Comment by Judd Vinet (judd) - Wednesday, 30 June 2004, 15:53 GMT
Hmm... will this make qt depend on mysql, then?

I'd get a lot of complaining desktop users if I make qt depend on mysql.
Comment by Paul Mattal (paul) - Wednesday, 30 June 2004, 16:00 GMT
I think it creates the need for a makedepend, not a depend. This is something we need to add to that PKGBUILD.. I forgot to do that.

I'll experiment with some other programs that use qt and try to determine their behavior with mysql removed, and then report back here.
Comment by Paul Mattal (paul) - Wednesday, 30 June 2004, 16:11 GMT
Nevermind.. in fact, it DOES create a hard dependency on mysql. That is indeed too bad. I guess I will have to maintain a separate qt package (perhaps we could create a qt-mysql package that replaces qt?) and maintain it separately.
Comment by Jason Chu (jason) - Wednesday, 21 July 2004, 22:33 GMT
I don't know about using -qt-sql-mysql, but using -plugin-sql-mysql builds it as a dynamically loading plugin, so not every qt program will link against mysql.

http://bugs.archlinux.org/index.php?do=details&id=1166

Loading...