File: INSTALL

package info (click to toggle)
latexila 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,424 kB
  • sloc: ansic: 57,879; xml: 2,258; sh: 91; makefile: 14
file content (97 lines) | stat: -rw-r--r-- 2,095 bytes parent folder | download
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Requirements
============

GTK+ >= 2.16
GtkSourceView >= 2.10
GLib >= 2.30
libgee
unique
GtkSpell
gdk-x11
x11
CMake >= 2.6.4
gettext
ITS Tool
gsettings-desktop-schemas (optional)
Vala >= 0.15.1 (may be optional)

If you are installing LaTeXila from a tarball, you don't have to install Vala
because the C code is already generated.

You also probably want to install Latexmk or Rubber. Latexmk is used by default
for compiling documents.


Simple install procedure
========================

$ cd build/			# go to the build directory
$ cmake ../			# run the Makefile generator
$ make				# build LaTeXila
[ Become root if necessary ]
$ make install			# install LaTeXila


Simple uninstall procedure
==========================

All the files installed are listed in the "install_manifest.txt" file.
So you can uninstall LaTeXila by doing this:

$ cd build/
[ Become root if necessary ]
$ xargs rm < install_manifest.txt


Configuration
=============

* Change the install directory

	Default value: /usr/local/

	Run cmake with this option:
	-DCMAKE_INSTALL_PREFIX=/path/to/install/directory/


* Generate the C code from the Vala files

	Default value: OFF in tarballs; ON in Git.

	Run cmake with this option:
	-DBUILD_VALA=ON


* Better integration with GNOME, depends on gsettings-desktop-schemas

	Default value: OFF

	Run cmake with this option:
	-DWITH_GNOME=ON

	The only use of this is for knowing the system fixed width font (most
	probably "Monospace 10").


* GSettings schema compilation (with glib-compile-schemas)

	Default value: ON

	To disable this option, run cmake with:
	-DCOMPILE_SCHEMA=OFF

	Useful for packages.


* Set a custom Vala compiler

	By default, the right "valac-X.Y" is searched in the directories listed
	by the PATH environment variable. If Vala 0.12 is required for example,
	CMake search the binary "valac-0.12".

	But if you want to use another valac binary located in a strange
	directory, you can run cmake with:
	-DVALAC=/path/to/your/valac

	Pay attention that if you use this option, there is no check to see if
	you specify the right version of Vala.