Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

How to build

cementovoz edited this page Aug 20, 2012 · 12 revisions

This page is by a 3rd party contributor. please refer How-to-compile-it for official documentation.

In this page u can follow a "Any distribution" method or a "Debian" way. Razorqt can be build and install in few steps.

Debian

"squeeze" Dependences:

  • cmake,
  • libqt4-dev,
  • libmagic-dev,
  • libxrender-dev,
  • libxcomposite-dev,
  • libxdamage-dev,
  • libqt4-webkit or libqtwebkit4,
  • libqt4-dbus | qdbus,
  • libxcursor-dev,
  • zlib1g-dev,
  • libstatgrab-dev,
  • libqt4-xml,
  • libsensors4-dev

Testing or Unstable (Sid) Dependences:

  • cmake,
  • libqt4-dev,
  • libmagic-dev,
  • libxrender-dev,
  • libxcomposite-dev,
  • libxdamage-dev,
  • libudev-dev,
  • libqt4-webkit or libqtwebkit4,
  • libpolkit-qt-1-dev
  • libpolkit-agent-1-dev
  • libxcursor-dev,
  • zlib1g-dev,
  • libstatgrab-dev,
  • libqt4-xml,
  • libsensors4-dev
  • liblightdm-qt-dev

Installing prerequisites

Software dependences can be installed as root in a opened console by running this command:

apt-get install cmake libqt4-dev libmagic-dev libxrender-dev libxcomposite-dev libxdamage-dev libqt4-dbus \
 libqt4-webkit  libxcursor-dev zlib1g-dev libstatgrab-dev libqt4-xml libsensors4-dev

For testing or unstable u can also/must run:

apt-get install liblightdm-qt-dev libqtwebkit4 libpolkit-qt-1-dev libpolkit-agent-1-dev

Any Distribution

Check Any Distribution build instructions

Building deb files

Swicht to subdirectory or razorqt-X.X.X and then run:

 sh distr/deb/makeDeb.sh

Then the script will build and generate by default deb files of razorqt. This script can be customized by parsing options, see help using "--help" option.

For install the results, go to Install section in this page.

Normal building

Any distribution requisites

Please check Dependencies and External Dependencies and use your distribution packages accordingly.

Build any distribution

Make sure that you have installed the needed dependencies for your distribution and in the same terminal follow these steps.

These commands are based on 0.4.1 release. Please adapt the commands to the version you are trying to build. Now you must download a version and untar in a directory .. When untar, will be create inside a directory with the format "razorqt-X.X.X" where X are number representing version release. Then swicht to this directory.

tar xjf razorqt-0.4.1.tar.bz2
cd razorqt-0.4.1
mkdir build
cd build

Now u may able to build the razorqt desktop, before u can tune or build default settings by parsing options to camke systems, if not, just build default settings as:

cmake ../ 
make

Install

Debian install (after build using Debian method)

If u compiled and build using Debian method, the generated files will be by defualt in home of current console user.. Swicht to the home user and go inside razort directory recently created, here will be many "deb" files .. Run this command inside:

dpkg -i ./*.deb

Any distribution install (after build any distribution)

Make sure that you have build razor-qt

cd razorqt-0.4.1
cd build

And run as root:

make install