Tuesday, July 28, 2015

Update boost.m4 to fix building with GCC 5

The old version of boost.m4 included in flamerobin had an issue with gcc5 (one of its tests fails due to the first change described in https://gcc.gnu.org/gcc-5/porting_to.html , "Preprocessor issues"). This was fixed upstream in Nov 2014:
flamerobin's boost.m4 is now updated (and the autotools stuff re-run so aclocal.m4 and configure get the change).

Tuesday, July 14, 2015

Using of deprecated isc_interprete()

isc_interprete() is now replaced with fb_interpret() in flamerobin.

Thanks to this patch compiling flamerobin is clean of deprecated firebird api warnings (g++ ubuntu 14.04)

Thursday, January 29, 2015

Compiling Flamerobin with QT (wxWidgets qt port) experimental

There is a port for wxwidgets on qt (work in progress and still with many gaps)
So this is only proof of concept.

git clone https://github.com/wxWidgets/wxWidgets.git
cd wxWidgets
mkdir bldqt5
cd bldqt5
../configure --with-qt --enable-debug --enable-compat28 --prefix=/opt/wxqt

then with flamerobin clone git 

./configure --with-wx-config=/wxgt/wx-config --enable-debug --prefix=/opt/flamerobin

it compiles fine :)

you will have an error and you need to add the qt libs when linking 

-lQt5Gui -lQt5Core

Flamerobin starts after a few errors and after that you can see and click the tree with databases and metadata and get the properties.

What doesn't work : db query and grid , you will get a crash

ps: tested on ubuntu 14.04 with qt5

What is next ? Android ;)

Monday, October 20, 2014

Installing #wxwidgets 3.0.x under #gentoo , default is 2.8

If you install wxwidgets with emerge wxGTK on gentoo default is 2.8

emerge -p =x11-libs/wxGTK-

add /etc/portage/package.accept_keywords

# required by =x11-libs/wxGTK- (argument)
=x11-libs/wxGTK- ~amd64

emerge -1 =x11-libs/wxGTK-

# eselect wxwidgets list                                                                                                             
Available wxWidgets profiles:
  [1]   gtk2-unicode-3.0 *
  [2]   gtk2-unicode-release-2.8

# eselect wxwidgets set 1

then continue with flamerobin compiling from source 

make install

Friday, October 10, 2014

Compiling Flamerobin with wxWidgets 3.0.x

wxWidgets 3.0.2 final is released

This is guide compiling the flamerobin version from git with wxwidgets 3.0.2 final on ubuntu 14.04/debian sid

install flamerobin dependencies

sudo apt-get build-dep flamerobin

Download source code for wxwidgets 3.0.x

tar -jxvf wxWidgets-3.0.2.tar.bz2

cd wxWidgets-3.0.2

./configure --enable-debug --enable-unicode --prefix=/opt/wxwidgets

make -j4

sudo make install

create this file /etc/ld.so.conf.d/wx3.conf

with this line /opt/wxwidgets/lib/

and run sudo ldconfig

clone flamerobin from git

./configure --with-wx-config=/opt/wxwidgets/bin/wx-config --enable-debug --prefix=/opt/flamerobin


make install

sudo ldconfig

/opt/flamerobin/bin/flamerobin &

Building Flamerobin for static release

To build flamerobin for static release we use wxWidgets 3.0.2 like in previous post but with the following configure option for wxWidgets
./configure --prefix=/opt/wxwidgets --disable-debug --disable-shared --enable-unicode \
--with-libjpeg=builtin --with-libtiff=builtin --with-expat=builtin \
--with-libpng=builtin --with-zlib=builtin
We build with buildin libraries for jpeg,png,tiff,zlib,expat
make -j4
make install
Download boost
Install Boost by running the following commands:
./bootstrap.sh --prefix=/opt/boost &&
./b2 stage threading=multi link=static
Now, as the root user:
./b2 install threading=multi link=static
after that we build the flamerobin from git with debug enabled
mkdir debug
cd debug
../configure --with-wx-config=/opt/wxwidgets/bin/wx-config --with-boost=/opt/boost --enable-debug
and the following commands for a build in release configuration
mkdir release
cd release
../configure --with-wx-config=/opt/wxwidgets/bin/wx-config --with-boost=/opt/boost --disable-debug
I have used the --prefix=/opt/flamerobin and then created the tar.xz
cd /
strip /opt/flamerobin/bin/flamerobin
tar -cJvf ~/Desktop/flamerobin-0.9.3-ff8df8e-x86_64.tar.xz ./opt/flamerobin

Saturday, May 31, 2014

Flamerobin Failure building with g++ 4.9 and wxwidgets3.0

There is a serious bug on building Flamerobin on Debian with g++ 4.9 and wxwidgets 3.0

We found some workarounds commited to git, thanks to Michael

Also gcc 4.9.x is now fixed in debian and other distros that are using it

Thursday, March 20, 2014

New Flamerobin snapshot uploaded to Debian unstable

New Flamerobin snapshot uploaded to Debian unstable with the following changes 

  * use xz compression for snapshot source tarball
  * New upstream snapshot
     add support for more Firebird 3.0 reserved keywords
     ask before deleting unsaved changes to SQL files
  * switch to WxWidgets 3.0 (Closes: #742092)
    Thanks to Olly Betts for the patch and the testing