Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136185 - request net-libs/xulrunner with mysql extension
Summary: request net-libs/xulrunner with mysql extension
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-09 06:00 UTC by Christophe PEREZ
Modified: 2009-07-07 18:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe PEREZ 2006-06-09 06:00:00 UTC
Would it be possible to have a USE to compile xulrunner with sql (mysql, pgsql, sqlite...) extension ?

I'd like to submit an ebuild, but I don't really know how to include sql extension. All what I tried manually never worked.
Comment 1 Christophe PEREZ 2006-07-11 13:55:58 UTC
I got my xulrunner working with sql (mysql only) extension with :
.mozconfig :
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_ENABLE_MYSQL=1
mk_add_options MOZ_CO_PROJECT=xulrunner
ac_add_options --enable-application=xulrunner
ac_add_options --enable-extensions=default,sql
ac_add_options --disable-debug
ac_add_options --disable-tests
ac_add_options --disable-optimize
ac_add_options --disable-freetype2
ac_add_options --disable-javaxpcom
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-svg
ac_add_options --enable-xft

and :
export MOZ_ENABLE_MYSQL=1
export MOZ_MYSQL_INCLUDES=/usr/include/mysql/
export MOZ_MYSQL_LIBS=/usr/lib/mysql/
make -f client.mk build

I'm trying now to add SQLite support.
Comment 2 Christian Marie (RETIRED) gentoo-dev 2006-12-24 20:14:21 UTC
Please reopen if you get something working.
Comment 3 Christophe PEREZ 2006-12-26 07:25:38 UTC
I could not have it working with sqlite, but, you could just had a "mysql" USE flag for the moment. This works fine for me.
Comment 4 Christophe PEREZ 2007-08-25 16:48:53 UTC
I think this USE flag could be really interesting for some guys like me, and maybe it isn't so difficult to add in the ebuild.
I gave what I do to compile sources, I can't do more.
So, I reopen the bug.
Comment 5 Raúl Porcel (RETIRED) gentoo-dev 2007-08-29 09:39:49 UTC
I'll have a look...
Comment 6 Raúl Porcel (RETIRED) gentoo-dev 2007-09-02 11:12:59 UTC
What files you need to make it useful?
Comment 7 Christophe PEREZ 2007-09-02 16:26:41 UTC
(In reply to comment #6)
> What files you need to make it useful?
> 

?
I don't understand what you mean.
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2007-09-03 11:35:46 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > What files you need to make it useful?
> > 
> 
> ?
> I don't understand what you mean.
> 

What files you need from xulrunner for the mysql stuff? I mean, doing what you did, what files you got that you don't get with the ebuild?

Comment 9 Christophe PEREZ 2007-09-03 14:53:47 UTC
Ah, ok, but I'm not sure I can compare.
But, if you want, you can get the package done by the packager at :
http://www.novazur.fr/local/xulrunner_mysql5-1.8.0.4.en-US.linux-i686.tar.gz
or
http://www.novazur.fr/local/xulrunner_mysql5-1.8.0.4.en-US.linux-x86_64.tar.gz
and the last one I compiled :
http://www.novazur.fr/local/xulrunner_mysql5-1.8.0.13pre.en-US.linux-x86_64.tar.gz
Comment 10 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-07-07 15:38:33 UTC
... is this really even valid anymore?
Comment 11 Christophe PEREZ 2009-07-07 16:41:03 UTC
Why not ?
Comment 12 Nirbheek Chauhan (RETIRED) gentoo-dev 2009-07-07 18:14:26 UTC
(In reply to comment #11)
> Why not ?
> 

Since there haven't been updates in 2 years, and all of Firefox is now moved to sqlite with 3.5. If there is still any advantage of MySQL for xulrunner, please elaborate and reopen the bug