MySQL Workbench 5.1
-------------------

This tree contains the source files for the MySQL Workbench 5.1.

MySQL Workbench is an extensible visual database design tool.


Building on Windows
-------------------

To build on Windows, you need Visual Studio 2008 with C++ and C# support.
You also need the latest mysql-workbench-externals-1.0-win32 package, which
contains pre-compiled binaries of all the 3rd party libraries that Workbench 
depends on.

To Build:
- Unpack mysql-gui-win-res in the same top directory as Workbench itself
- Go to the mysql-workbench directory
- Open MySQLWorkbench.sln solution file
- Select Release_OSS or the Debug Configuration
- Select x86 as the Platform
- Build Project


Buiding on Linux
----------------

To Build:
- Extract the sources into a directory, e.g. wb52
- Install dependencies. On Ubuntu run
  sudo apt-get install build-essential autoconf automake libtool 
    libzip-dev libxml2-dev libsigc++-2.0-dev libglade2-dev libgtkmm-2.4-dev 
    libglu1-mesa-dev libmysqlclient15-dev uuid-dev liblua5.1-dev libglitz-dev 
    libglitz-glx-dev libpcre3-dev g++ libsqlite3-dev libglade2-dev 
    libgnome2-dev 
- Run ./autogen.sh --prefix=<path where you want WB to be>
- Run make -j3 install


Buiding on Mac OS X
-------------------

To Build:
- Go to http://rudix.org/ and download and install the following packages
  gettext, glib, libpng, libsigc++, lua, pkg-config, pcre, libzip, cairo, pixman
- Install MySQL 5.1.x 32bit (64bit will not work), make sure /usr/local/mysql
  points to the correct installation
- Install Xcode 3.1.2 or later and open the MySQLWorkbench.xcodeproj file
- Select the OS X 10.5 and Debug or Release and build

==============================================================================


Dependencies
------------

Cairo	 LGPL/MPL dual	 1.4.10 or later	http://cairographics.org/
glitz	 MIT	 0.5.6 or later	http://freedesktop.org/wiki/Software/glitz
libxml2	 MIT License	 2.6.3 or later	http://xmlsoft.org/
glib	 LGPL	 2.12 or later	http://www.gtk.org/
libzip	 BSD	 0.8 or later	http://directory.fsf.org/project/libzip/
Lua	 MIT	 5.1 or later	http://www.lua.org/
ctemplate	 BSD	 0.8 or later	http://goog-ctemplate.sourceforge.net/
pcre	 BSD	 6.4 or later	http://www.pcre.org/
python	 Python license	 2.4 or later	http://www.python.org/
sigc++	 LGPL	 2.0 or later	http://libsigc.sourceforge.net/
tinyxml	 zlib license	 2.5.3 or later	http://www.grinninglizard.com/tinyxml/
REMOVED: mesa	 MIT	 3.3 or later	http://www.mesa3d.org/
iconv	 LGPL	 1.9 or later	http://www.gnu.org/software/libiconv/
gettext	 LGPL		http://www.gnu.org/software/gettext/
Aga.Controls	 Public Domain	 1.6.0.0	http://sourceforge.net/projects/treeviewadv/
REMOVED: ICSharpCode.TextEditor.dll	 LGPL	 2.1.0.2429	http://www.icsharpcode.net/OpenSource/SD/Download/
WinFormsUI (Docking)	 MIT	 2.0	http://sourceforge.net/project/showfiles.php?group_id=110642
intl.dll	 LGPL
Flat tab control	 Public domain		http://www.codeproject.com/KB/tabs/flattabcontrol.aspx?print=true
STL	 System Library	 V4.05:0009	http://msdn2.microsoft.com/en-us/library/c191tb28.aspx
ScintillaNET	 MIT like		http://www.codeplex.com/ScintillaNET/license
Scintilla	 MIT like		http://scintilla.sourceforge.net/
Java JNI
Boost C++ Library	 Boost Software License		http://www.boost.org/more/license_info.html
cURL	 MIT/X derivate license	 7.18.1 or later	http://curl.haxx.se/docs/copyright.html
yaSSL	 commercial license	 1.8.6 or later	http://www.yassl.com
TaoCrypt	 commercial license	 0.9.2 or later	http://www.yassl.com
sqlite	 Public domain	 3.5.9 or later	http://sqlite.org
vsqlite++	 BSD	 0.2.0 or later	http://www.sourceforge.net/projects/sqlitepp


==============================================================================


MySQL Workbench OSS edition is licensed under the terms of the
General Public License version 2. For the exact terms of this license,
please view the included COPYING file.


==============================================================================


For more information, newer versions, FAQ, mailing lists etc
visit http://wb.mysql.com


The MySQL Workbench Team.
