@@ -8,23 +8,29 @@ library](https://libvips.github.io/libvips). It's a little like a spreadsheet:
8
8
you create a set of formula connecting your objects together, and on a change
9
9
nip2 recalculates.
10
10
11
+ [ ![ Screenshot] ( screenshot.png )] ( screenshot.png )
12
+
13
+ ## Installing
14
+
11
15
You can probably install nip2 via your package manager. For
12
16
Windows and OS X, you can download a binary from the [ nip2 releases
13
- area] ( https://github.com/libvips/nip2/releases ) . Only read on if you want to
14
- compile yourself from source .
17
+ area] ( https://github.com/libvips/nip2/releases ) . If you must build from
18
+ source, see the section below .
15
19
16
- # Documentation
20
+ ## Documentation
17
21
18
22
nip2 comes with a 50-page manual --- press F1 or Help / Contents in the
19
23
program to view it.
20
24
21
- # Building nip2 from source
25
+ ## Building nip2 from source
22
26
23
- In the nip2 directory you should just be able to do:
27
+ In the nip2 directory you should just be able to do the usual :
24
28
25
- $ ./configure
26
- $ make
27
- $ sudo make install
29
+ ```
30
+ ./configure
31
+ make
32
+ sudo make install
33
+ ```
28
34
29
35
By default this will install files to ` /usr/local ` .
30
36
@@ -33,60 +39,22 @@ nip2 needs in order to be able to build.
33
39
34
40
If you downloaded from GIT you'll need:
35
41
36
- $ ./autogen.sh
42
+ ```
43
+ ./autogen.sh
44
+ ```
37
45
38
46
first to build the configure system.
39
47
40
- # Dependencies
41
-
42
48
nip2 needs vips, gtk2 and libxml2 at runtime and flex/bison at compile time.
43
49
44
- If you have fftw3, gsl, goffice, libgvc you get extra optional, but useful,
45
- features.
46
-
47
- # Tips
48
-
49
- production build with
50
-
51
- ./configure --prefix=/home/john/vips
52
-
53
- debug build with
54
-
55
- CFLAGS="-g -Wall" ./configure --prefix=/home/john/vips
56
-
57
- (--enable-debug turns on and off automatically with development / production
58
- minor version numbers)
59
-
60
- leak check
61
-
62
- export G_DEBUG=gc-friendly
63
- export G_SLICE=always-malloc
64
- valgrind --suppressions=/home/john/nip2.supp \
65
- --leak-check=yes \
66
- nip2 ... > nip2-vg.log 2>&1
67
-
68
- memory access check
69
-
70
- valgrind --suppressions=/home/john/nip2.supp \
71
- --leak-check=no --db-attach=yes \
72
- nip2 ... > nip2-vg.log 2>&1
73
-
74
- or put "--suppressions=/home/john/nip2.supp" into ~ /.valgrindrc
75
-
76
- profiling
77
-
78
- valgrind --tool=callgrind \
79
- --suppressions=/home/john/nip2.supp \
80
- nip2 ... > nip2-vg.log 2>&1
81
-
82
- Disclaimer: No guarantees of performance accompany this software, nor is any
83
- responsibility assumed on the part of the authors. Please read the licence
84
- agreement.
50
+ If you have fftw3, gsl, goffice, libgvc you get extra features.
85
51
86
- # snapcraft
52
+ ### snapcraft
87
53
88
54
Rebuild snap with:
89
55
90
- snapcraft cleanbuild
56
+ ```
57
+ snapcraft cleanbuild
58
+ ```
91
59
92
60
Though it's done automatically on a push.
0 commit comments