| 1 |
# |
| 2 |
# Copyright © 2011-2015 Andreas Rönnquist. |
| 3 |
# This file is distributed under the same license |
| 4 |
# as the devilspie2 package, see COPYING file. |
| 5 |
# |
| 6 |
|
| 7 |
|
| 8 |
Installation: |
| 9 |
------------- |
| 10 |
|
| 11 |
Building Devilspie2 requires pkg-config, gtk, wnck and lua libraries. On a |
| 12 |
Debian system, installing the following packages should do it: |
| 13 |
|
| 14 |
pkg-config |
| 15 |
libglib2.0-dev |
| 16 |
liblua5.1-0-dev |
| 17 |
libwnck-3-dev |
| 18 |
libgtk-3-dev |
| 19 |
|
| 20 |
on a system still using Gtk version 2 replace the wnck and gtk libs with: |
| 21 |
|
| 22 |
libwnck-dev |
| 23 |
libgtk2.0-dev |
| 24 |
|
| 25 |
|
| 26 |
To build, you simply do a |
| 27 |
|
| 28 |
make |
| 29 |
|
| 30 |
(which will build with Gtk3 libs) or |
| 31 |
|
| 32 |
make GTK2=on |
| 33 |
|
| 34 |
to make the build use the Gtk2 libs. |
| 35 |
|
| 36 |
This will in the end create the devilspie2 binary in the bin/ folder. |
| 37 |
To build the same executable, but with debugging enabled, run |
| 38 |
|
| 39 |
make DEBUG=1. |
| 40 |
|
| 41 |
|
| 42 |
To install Devilspie2 system-wide - simply run make install as superuser: |
| 43 |
|
| 44 |
su -c "make install" |
| 45 |
|
| 46 |
or on systems using sudo: |
| 47 |
|
| 48 |
sudo make install |
| 49 |
|
| 50 |
depending on your system setup. This will default to /usr/local, installing the |
| 51 |
binary to /usr/local/bin - this can be changed using PREFIX variable, and need |
| 52 |
to applied all through the build system - the PREFIX is used to make the |
| 53 |
location of translations known to all code: |
| 54 |
|
| 55 |
make PREFIX=/usr |
| 56 |
sudo make install |
| 57 |
|
| 58 |
|