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.
hg clone http://sources.freehackers.org/Opale
On the future you can update doing
hg pull -u
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
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 :
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:
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"
To be done