Project

General

Profile

Actions

Opale depends on Qt and, '''optionnally''', on the KDE 4 libraries.
The build system is cmake (the same as KDE), and you will need this tool in order to compile Opale by yourself.

Be sure to have those dependencies installed (including development part "-dev" if you use common distribution packages).

Getting the source

You can get the latest source package/tarball from the File tab on the top menu.

This project is using mercurial to handle the source code, if you know what this is, you can clone the repository from this URL, this way:

hg clone http://sources.freehackers.org/Opale

On the future you can update doing

hg pull -u

Building Opale

Linux/*BSD/unix

To compile the Qt-only version of Opale from source, do something like this, from within the main directory:

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_KDE=OFF
make
sudo make install

If you have KDE installed and want the KDE version, do for example :

mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=$KDEDIR -DENABLE_KDE=ON
make
sudo make install

Windows

Prerequisites : you'll need a working qt4+mingw32 environment (see trolltech/qt website for this, qt installer can install mingw32 for you) and cmake for windows. Optionnally you can install gettext for mingw32/windows too.

  • Starts cmake from the windows menu. Configure the source and binaries directories (I use $SOURCEDIR/build for binaries, as we do in linux)
  • set ENABLE_KDE to OFF.
  • Then click on configure and fix problems as they appear. Not having kde or gettext should be handled gracefully.

At the end, it looks like this :

After configuring cmake

Then you need to open a windows console ("Command prompt") and go to the build directory. Issue the command "mingw32-make" as seen on this screenshot:

compiling under windows

If you want to create the installer, you need to have the NullSoft installer
It's enough to modifiy the file "Opale.nsi" (check the name/version of the installer name), then click with the right button on the Opale.nsi file, and select "Compile NSIS script"

MacOS

To be done

Updated by Thomas Capricelli almost 9 years ago ยท 11 revisions