On 07/20/13 19:16, Andrzej J. R. Hunt wrote:

> Just in case it's useful, a quick description of what we do with
> firebird in LO:
>
> The firebird 2.5 build related files are all under firebird/ in the LO
> repo
> http://cgit.freedesktop.org/libreoffice/core/tree/firebird
>
> The commands used to build firebird (i.e. our configure options +
> environment variables) are in ExternalProject_firebird.mk
>
> firebird-icu.patch.1 is used to allow us to use LibreOffice's icu during
> the build process -- the problem was that LD_LIBRARY_PATH is overwritten
> in two makefiles meaning two of the binaries in the build process
> couldn't run -- this patch would probably be generally useful for
> firebird.

Defininetly useful patch. Must say we already have similiar changes in 
trunk, but I'm happy to commit them in 2.5.

> firebird-cygwin-msvc.patch.1 is used to allow compiling with cygwin and
> msvc 2010/2012 (we use the makefile based system and not the msvs
> project files for this -- mainly for consistency across platforms): I
> had to update some of the actual code to compile with the latest msvc,
> some of the changes are build system related.  The code upgrades in the
> patch would probably be generally useful for firebird, I don't know how
> useful the build system changes are though (LO uses a gcc-wrapper which
> can translate compiler flags for msvc, without this the build system
> changes are essentially useless).

Suppose that's too exotic for us :)

> Finally, I don't know much about the C++11 changes (the guy who made
> them hasn't successfully gotten firebird to compile to completion there)
> -- but I guess these would be generally useful.
>
> (We now have firebird building within LO on Linux, Mac and Windows --
> the only place we've had to disable it is for cross-compiling, i.e. for
> ARM, however it might be possible to use the natively compiled firebird
> for that -- it is possible to compile with a system supplied firebird
> instead of our internal firebird,

Debian supports firebird packages for ARM.
What about cross-compiling - it will be present in fb3.
Cross-compiling 2.5 is nightmare.

> although we're still sorting out some
> details to do with distro-specific packaging of firebird and missing
> fb_config

fb_config is present:
builds/install/misc/fb_config.in, goes to $FIREBIRD/bin/fb_config

May be should be installed at some specific place?


> and/or pkg-config files.)
>
>


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to