Shell script to aid compiling on Debian systems
[geeqie.git] / install-dependencies-debian.sh
1 # This script will aid compiling Geeqie on Debian style systems.
2 # You should edit this script to install only those libraries you need.
3
4 #!/bin/bash
5 zenity --question --title="Install Geeqie dependencies" --width=300 --text="This script will aid compiling Geeqie from sources on Debian style systems\n\nYou should first edit this script to install only those libraries you need." --ok-label="Cancel" --cancel-label="Run script"
6
7 if [ $? -eq 0 ]
8 then
9   exit
10 fi
11
12 # For cloning the repository
13 sudo apt install git
14
15 # For compiling
16 sudo apt-get install build-essential
17 sudo apt-get install autoconf
18 sudo apt-get install libglib2.0
19 sudo apt-get install intltool
20 # For the GTK2 version of Geeqie
21 sudo apt-get install libgtk2.0-dev
22 # For the GTK3 version of Geeqie
23 sudo apt-get install libgtk-3-dev
24
25 # For Little CMS
26 sudo apt-get install liblcms2-2
27 sudo apt-get install liblcms2-dev
28
29 # For exiv2
30 sudo apt-get install libgexiv2-2
31 sudo apt-get install libgexiv2-dev
32
33 # For lua
34 sudo apt-get install lua5.1
35 sudo apt-get install liblua5.1-0
36 sudo apt-get install liblua5.1-dev
37
38 # For the mpeg thumbnails
39 sudo apt-get install libffmpegthumbnailer4v5
40 sudo apt-get install libffmpegthumbnailer-dev
41
42 # For the GPS map feature
43 sudo apt-get install libchamplain-gtk-0.12-0
44 sudo apt-get install libchamplain-gtk-0.12-dev
45 sudo apt-get install libchamplain-0.12-0
46 sudo apt-get install libchamplain-0.12-dev
47
48 # For the preview of pdf files
49 sudo apt-get install libpoppler-glib-dev
50
51 # For the display of .svg images
52 sudo apt-get install librsvg2-common
53
54 # For the display of .wmf images
55 sudo apt-get install libwmf0.2-7-gtk
56
57
58 # Other programs which help when using Geeqie
59
60 # For image rotation
61 sudo apt-get install exiftran
62 sudo apt-get install imagemagick
63
64 # For RAW file handling
65 sudo apt-get install ufraw
66
67 # For generating some documentation files
68 sudo apt-get install markdown
69
70
71 # To install, create a folder in which to compile Geeqie:
72 # mkdir <folder>
73 # cd <folder>
74 # git clone git://www.geeqie.org/geeqie.git
75 # cd geeqie
76 # For GTK3 (including GPS maps):
77 # ./autogen.sh
78 # For GTK2:
79 # ./autogen.sh --disable-gtk3
80 # make -j
81 # sudo make install
82
83 # Uninstall:
84 #sudo make uninstall
85