forked from otsaloma/gaupol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.aeidon
68 lines (54 loc) · 2.74 KB
/
README.aeidon
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
On the aeidon Package
=====================
aeidon is a Python package for reading, writing and manipulating
text-based subtitle files. It is separate from the gaupol package,
which provides a subtitle editor application with a GTK+ user
interface. Separating a user-interface independent general-purpose
subtitle editing package from Gaupol has to some extent been an
afterthought and thus, for historical reasons, the following caveats
remain that may or may not affect the use of aeidon.
* aeidon shares installation paths with gaupol. For example, data
files are installed under $PREFIX/share/gaupol. User configuration
and data files are looked for under $XDG_CONFIG_HOME/gaupol and
$XDG_DATA_HOME/gaupol.
* Translatable strings from both aeidon and gaupol are in the same
.po files and thus both found under the "gaupol" gettext domain.
These caveats and having aeidon maintained under the Gaupol source
tree and released along with Gaupol are subject to change if demand
and better solutions are found.
Installation
============
To install only the aeidon package, use command
python3 setup.py --without-gaupol clean install [--prefix=...]
To install only the gaupol package, use command
python3 setup.py --without-aeidon clean install [--prefix=...]
Note that the --with-* and --without-* are global options and must
placed before any commands.
Dependencies
============
As separate packages, aeidon requires Python [1] 3.2 or greater.
Optional dependencies include: PyEnchant [5] 1.4.0 or greater --
required for spell-checking; iso-codes [7] -- required to translate
language and country names; and Universal Encoding Detector [8] --
required for character encoding auto-detection. If aeidon is installed
using the '--without-iso-codes' switch, then iso-codes is required
instead of optional.
gaupol requires Python [1] 3.2 or greater, PyGObject [2] 3.6.0 or
greater and aeidon of the exact same version as gaupol. Optional
dependencies include GStreamer [3] 1.0 or greater -- required for the
integrated video player; pocketsphinx [4] -- required for speech
recognition; pygtkspell [6] -- required for inline spell-checking;
MPlayer [9] or VLC [10] -- recommended for preview; PT Sans Caption and
PT Mono fonts [11] -- recommended and used by default for integrated
video player's subtitle and timecode overlays.
[1] http://www.python.org/
[2] http://wiki.gnome.org/PyGObject/
[3] http://gstreamer.freedesktop.org/
[4] http://cmusphinx.sourceforge.net/
[5] http://pythonhosted.org/pyenchant/
[6] http://koehlma.github.io/projects/pygtkspellcheck.html
[7] http://pkg-isocodes.alioth.debian.org/
[8] http://pypi.python.org/pypi/chardet
[9] http://www.mplayerhq.hu/
[10] http://www.videolan.org/vlc/
[11] http://www.paratype.com/public/