Showing posts with label ion3. Show all posts
Showing posts with label ion3. Show all posts

October 24, 2008

Building Ion3 under Cygwin

You'll need Ion3 sources, Lua sources.

Building and installing Lua
$ make generic
$ make mingw
$ make install
$ cp src/lua51.dll /usr/local/bin/lua51.dll


Building and installing Ion3
First you need to configure system dependent parameters.
Uncomment following lines in system.mk file:

BIN_SUFFIX = .exe
...
PRELOAD_MODULES=1
...
EXTRA_LIBS += -lintl
...
DEFINES += -DCF_NO_GETLOADAVG


And comment this line:
EXTRA_LIBS += -lrt

Now we are ready to compile and install Ion3 under Cygwin
$ make && make install

Since symbolic links in Cygwin replaced with Windows shortcuts, Ion3 cannot find look.lua and will start without decorations.
To fix this you can copy look_newviolet.lua file in look.lua:

$ cd /usr/local/etc/ion3
$ cp look_newviolet.lua look.lua




Running X server with Ion3
To run X server with Ion3 as window manager I used this bash script:

X -nodecoration -keyhook -clipboard > /dev/null 2>&1 &
ion3 -display :0.0