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/

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:
./ --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

Friday, February 28, 2014

pkgstripfiles over flamerobin (nice that png files are smaller)

from html-templates
opt-png *.png
compute.png: 367 vs. 229
drop.png: 778 vs. 744
ok2.png: 457 vs. 306
ok.png: 315 vs. 229
redx.png: 493 vs. 385
view.png: 526 vs. 442
res dir 
flamerobin.png: 1931 vs. 1810
fricon128.png: 7103 vs. 6174

Here is another log from ubuntu

Four byte UTF-8 is handled correctly by Firebird and Flamerobin

You can create a new db with utf-8 charset as default
and then you can insert
Unicode codepoint U+1F638 GRINNING CAT FACE WITH SMILING EYES, aka 😸 -- a perfectly valid Emoji character

Works with no problems to insert and to select from it , compared to mysql for example 😸 where is rejected