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.
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.
Please reopen if you get something working.
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.
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.
I'll have a look...
What files you need to make it useful?
(In reply to comment #6) > What files you need to make it useful? > ? I don't understand what you mean.
(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?
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
... is this really even valid anymore?
Why not ?
(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