Thursday, March 31, 2016

Support for wxwidgets 3.x with no 2.8 emulation

Support for wxWidgets 3.x with no 2.8 emulation landed now git tree 

Flamerobin compiles and works fine with wxWidgets 3.1 (tested on Ubuntu 15.10 x64)




Tuesday, March 01, 2016

wxWidgets 3.1.0 is Released

wxWidgets 3.1.0 has been released today, as planned, and can be downloaded from GitHub

Thursday, January 14, 2016

Compiling Flamerobin under Mac OS X 10.11 [Solution from Tomáš Dvořák]

Updated instructions are now here
https://github.com/mariuz/flamerobin/blob/master/BUILD.txt#L182

You can read the bellow section as historical notes :

------------------------------------------------------------------------------------------------------------------------------------------------------
I am writting this email about having solution for compiling latest version of Flamerobin under Mac OS X 10.11.2.

I've seen that in BUILD.txt are some old information for compiling under Mac OS X which aren't working on newer OS X based systems.

So I thought that I can provide some additional information for community about compiling Flamerobin under OS X :-)

--------------------------------------------------------------------------------------------------------------------------------------------------------

How to compile Flamerobin on Mac OS X 10.11

// Before we can get into compiling

- Download Mac OS X SDK's (https://github.com/phracker/MacOSX-SDKs), after download move that SDK into /Developer or your prefered folder
- Compiled wxWidgets version 3.0.2 installed with -prefix=/opt/wxwidget (optional)
- Need to install Homebrew (http://brew.sh/)
- After downloading and installing Homebrew run following commands:

  brew install boost
  brew install autoconf

// Configuration command

- We need to add additional flag for compiler which is   -stdlib=libstdc++   Older version of Mac OS X were using libstdc++ for compiling, but from version MAC OS X 10.9(June 10, 2013) this default settings has been changed tolibc++
  if we won't use this additional flag we would get following error:
  
// Final configuration (32 bit)
../configure --disable-debug --disable-dependency-tracking CFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.11 -isysroot /Developer/SDKs/MacOSX10.11.sdk" LDFLAGS="-stdlib=libstdc++ -Wl,-syslibroot,/Developer/SDKs/MacOSX10.11.sdk -Wl,-macosx_version_min -Wl,10.11" CXXFLAGS="-stdlib=libstdc++ -mmacosx-version-min=10.11 -isysroot /Developer/SDKs/MacOSX10.11.sdk" --with-wx-config=/opt/wxwidget/bin/wx-config

// Final configuration (64 bit)
../configure --disable-debug --disable-dependency-tracking CFLAGS="-m64 -stdlib=libstdc++ -mmacosx-version-min=10.11 -isysroot /Developer/SDKs/MacOSX10.11.sdk" LDFLAGS="-stdlib=libstdc++ -Wl,-syslibroot,/Developer/SDKs/MacOSX10.11.sdk -Wl,-macosx_version_min -Wl,10.11" CXXFLAGS="-m64 -stdlib=libstdc++ -mmacosx-version-min=10.11 -isysroot /Developer/SDKs/MacOSX10.11.sdk" --with-wx-config=/opt/wxwidget/bin/wx-config

// After configuration

make


// After compiling (IMPORTANT !)

- You have to manually copy sys-template folder (from downloaded Flamerobin folder) to your Application content folder.
   
  For example:  "/Applications/FlameRobin.app/Contents/SharedSupport/sys-templates)" 

  Or you will get error message below:

  

And you are done! Wooah.


Hope that it will be useful for someone next :-)

Thanks you Marius and whole Flamerobin team for working on this amazing tool!


With greetings Tomas Dvorak (Czech Republic, 18 years old student)

Thursday, November 19, 2015

Wednesday, November 18, 2015

Flamerobin Building instructions for Windows 10 (Visual Studio 2015)

I will follow the instructions from BUILD.txt

Download Visual Studio community edition 2015 https://www.visualstudio.com

Download and unzip wxwidgets 3.1.x in C:\wxwidgets

Open solution wx_vc14.sln in Visual Studio 2015
Click build solution (Debug and Win32/x64)

Download boost 1.62.x  (Unzip it)
open cmd.exe
run
cd boost_1_62_0
bootrap.bat
b2 install link=static --toolset=msvc-14.0 --prefix=c:\boost

from cmd.exe run 

"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsDevCmd.bat"

Enter flamerobin source dir

For Windows you must also set a BOOST_ROOT environment variable which points to the Boost root directory You also need to set a BOOST_LIB_DIR environment variable which points to the directory where the Boost libraries are. c:\boost\lib
For include files i had to move generated includes to match this directory include c:\boost\boost\*hpp

nmake -f makefile.vc WXDIR=c:\wxwidgets FINAL=0 USEDLL=0

Install InnoSetup if you wan't to create the installer

Flamerobin github mirror

There is a github mirror where you can send pull requests for flamerobin https://github.com/mariuz/flamerobin
git clone https://github.com/mariuz/flamerobin.git

Wednesday, November 11, 2015

Firebird 3 installer – feedback needed for flamerobin inclusion in Windows kits

The Firebird Project needs your opinion regarding some points in the Windows installerof the upcoming Firebird 3.0 final release. Please answer the survey available at https://eSurv.org?u=fb3installer based on your preferences.
Your answer can help to guide us in future enhancements. Survey will be online until 20-Nov-2015.
ps: you can choose and vote for flamerobin inclusion in the Firebird install kit 

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

make 
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-3.0.2.0

add /etc/portage/package.accept_keywords

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


emerge -1 =x11-libs/wxGTK-3.0.2.0

# 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 

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

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
http://downloads.sourceforge.net/boost/boost_1_55_0.tar.bz2
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

Update
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




Thursday, November 14, 2013

Compiling Flamerobin with wxWidgets 3.0 final

wxWidgets 3.0 final is released

This is guide compiling the flamerobin version from git with wxwidgets 3.0 final  on ubuntu 13.10


download wxwidgets 3.0

./configure  --enable-debug --enable-unicode --prefix=/opt/wxwidgets
make -j4
make install


clone flamerobin from git

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

make
make install


sudo ldconfig 

/opt/flamerobin/bin/flamerobin &