File: INSTALL

package info (click to toggle)
devilspie2 0.43-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 376 kB
  • sloc: ansic: 2,498; makefile: 131
file content (58 lines) | stat: -rw-r--r-- 1,225 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# Copyright © 2011-2015 Andreas Rönnquist.
# This file is distributed under the same license
# as the devilspie2 package, see COPYING file.
#


Installation:
-------------

Building Devilspie2 requires pkg-config, gtk, wnck and lua libraries. On a
Debian system, installing the following packages should do it:

pkg-config
libglib2.0-dev
liblua5.1-0-dev
libwnck-3-dev
libgtk-3-dev

on a system still using Gtk version 2 replace the wnck and gtk libs with:

libwnck-dev
libgtk2.0-dev


To build, you simply do a

	make

(which will build with Gtk3 libs) or

	make GTK2=on

to make the build use the Gtk2 libs.

This will in the end create the devilspie2 binary in the bin/ folder.
To build the same executable, but with debugging enabled, run

	make DEBUG=1.


To install Devilspie2 system-wide - simply run make install as superuser:

	su -c "make install"

or on systems using sudo:

	sudo make install

depending on your system setup. This will default to /usr/local, installing the
binary to /usr/local/bin - this can be changed using PREFIX variable, and need
to applied all through the build system - the PREFIX is used to make the
location of translations known to all code:

	make PREFIX=/usr
	sudo make install