aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 747546236e19f498a868a67d72574d4272b15225 (plain)
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
# logdiag

logdiag is a schematic editor written in GTK+. It focuses on simplicity,  
usability and openness.  

__This software is considered to be alpha quality and cannot be recommended  
for regular usage.__  

## Requirements

Runtime dependencies:  

 - GTK+ >= 2.12
 - json-glib >= 0.10.4
 - lua = 5.1
 - librsvg >= 2.0

Build dependencies:  

 - CMake >= 2.6

## Installation from sources on Unix-like systems

First check that you have all the required dependencies installed, including  
all development packages, if your distribution provides them.  

Reserve a directory for an out-of-source build:  
    $ mkdir build
    $ cd build

Let CMake prepare the build. You may change the directory where you want  
the application to be installed. The default is _/usr/local_.  
	$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr

Now you have two basic choices of installing the application:  

1. Using _make install_:  
       # make install

2. Using _cpack_; you have to choose a package format understood by your  
   system package manager. CMake offers DEB and RPM.  

   After _cpack_ finishes making the package, install this file.  
       $ cpack -G DEB
       # dpkg -i logdiag-0.0-Linux-x86_64.deb