aboutsummaryrefslogtreecommitdiff
path: root/README
blob: 01a64106f7b9a8bb052caf6a4df7b75431770bfa (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
This plugin was tested with Gimp 2.10, GCC 12 and GTK+ 2.24.
Older versions may work too, but for example
you have to remove some compiler options.



Main file is "plugin-img.c".

The simplest way to install is just type "make install".

It will build the plugin and copy it
to user's Gimp directory (~/.config/GIMP/2.10/plug-ins/)

See Makefile for details.



Example:

$ make install
cc `gimptool-2.0 --cflags` -O2 -Wall -Wextra -c img-load.c -o img-load.o
cc `gimptool-2.0 --cflags` -O2 -Wall -Wextra -c img-save.c -o img-save.o
cc `gimptool-2.0 --cflags` -O2 -Wall -Wextra -c img-save-dialog.c -o img-save-dialog.o
cc `gimptool-2.0 --cflags` -O2 -Wall -Wextra -c plugin-img.c -o plugin-img.o
cc img-load.o img-save.o img-save-dialog.o plugin-img.o `gimptool-2.0 --libs` -o plugin-img
gimptool-2.0 --install-bin plugin-img
cp 'plugin-img' '/home/pashev/.config/GIMP/2.10/plug-ins/plugin-img/'