-
Notifications
You must be signed in to change notification settings - Fork 77
How to compile it
Razor-qt uses cmake to configure and build. See Dependencies for the complete list of requirements. See Razor-cmake-Options for customized builds.
At first - obtain sources. It can be tarball or git clonning see github help.
For next text let's suppose you have downloaded razorqt-0.4.0.tar.bz2
tarball. Character $
is a sign for shell prompt.
-
place tarball into your working directory. For example
~/work/razor
and unpack the archive there. -
new directory appears:
razorqt-0.4.0
-
create new directory in the work directory to build it from there:
mkdir build
-
so the directory structure is following:
$ ls build razorqt-0.4.0
-
go to the
build
directory and run cmake there$ cd build $ cmake -DCMAKE_INSTALL_PREFIX=../release ../razorqt-0.4.0
which means: configure the build to be installed in
~/work/razor/release
as the root directory. In the case you omit theCMAKE_INSTALL_PREFIX
the/usr/local
path will be used. -
there are more useful variables to be defined. E.g.
-DCMAKE_BUILD_TYPE=debug
compiles razor with debugging symbols etc. Please see Cmake documentation -
there are also some Razor related Razor-cmake-Options.
-
if the configuration phase runs successfully then just run
make
andmake install
It is also possible to run one session in another virtual terminal.
-
create a new
.xinitrc
file$ echo 'exec razor-session -w openbox' > .xinitrc_razor
-
run it with
xinit
$ sudo xinit .xinitrc_razor -- :1