File: README.md

package info (click to toggle)
parlatype 1.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,792 kB
  • sloc: ansic: 9,936; xml: 275; python: 272; makefile: 28; sh: 15
file content (82 lines) | stat: -rw-r--r-- 3,617 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
# Parlatype

For a screenshot, an overview what Parlatype actually is and packages please visit https://gkarsay.github.io/parlatype/.

The following instructions are for developers, contributors and those who want to have the latest version from the master branch.

## Build from source

### Dependencies

Parlatype switched its build system to Meson. To build it from source, you need these packages:
* meson >= 0.47.2 (older versions not tested)
* gettext >= 0.19.7
* appstream (main package, not devel version, for metainfo.its rules)
* gobject-introspection-1.0
* yelp-tools
* gtk+-3.0 >= 3.22
* gstreamer-1.0 >= 1.6.3
* gstreamer-plugins-base-1.0
* atspi-2
* sphinxbase
* pocketsphinx

Optional, depending on your configure options:
* gladeui-2.0 (>= 3.12.2; with `glade=true`)
* gtk-doc (with `gtk-doc=true`)
* desktop-file-utils (if installed, this checks the desktop file)
* appstream-utils (if installed, this checks the appstream file)

Runtime dependencies:
* GStreamer "Good" Plugins
* If you need MP3 support for GStreamer versions older than 1.14, you have to install the "Ugly" Plugins.
* For the LibreOffice helpers obviously LibreOffice (>= 4) and also libreoffice-script-provider-python (Debian) or libreoffice-pyuno (Fedora)

Debian based distros have to be Debian >= 9 (Stretch) or Ubuntu >= 18.04 (Bionic). On Debian Stretch meson must be installed from backports. Install these packages:

```
$ sudo apt-get install meson build-essential appstream libgirepository1.0-dev libgladeui-dev gtk-doc-tools yelp-tools libgtk-3-dev libgtk-3-0 libgstreamer1.0-dev libgstreamer1.0-0 libgstreamer-plugins-base1.0-dev gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly libreoffice-script-provider-python libatspi2.0-dev libsphinxbase-dev libpocketsphinx-dev
```
On Fedora this should work:

```
$ su -c 'dnf install meson appstream gcc gobject-introspection-devel glade-devel gtk-doc yelp-tools gtk3-devel gstreamer1-devel gstreamer1-plugins-base-devel gstreamer1-plugins-good gstreamer1-plugins-ugly libreoffice-pyuno at-spi2-core-devel sphinxbase-devel pocketsphinx-devel'
```

### Configure options

Parlatype ships its own library, libparlatype. Developers might be interested in having a library documentation, gobject introspection and a glade catalog for the widgets. These are the configure options:

* `libreoffice`: install LibreOffice macros (default: true)
* `libreoffice-dir`: installation folder for LibreOffice macros (default: /usr/lib/libreoffice/share/Scripts/python)
* `asr`: build with automatic speech recognition, requires sphinxbase and pocketsphinx (default: true)
* `gir`: install gobject introspection (default: false)
* `gtk-doc`: install library documentation (default: false)
* `glade`: install a glade catalog (default: false)

### Build from git
Clone the repository and build with meson. You can use any prefix but you may have to adjust LD_LIBRARY_PATH and GST_PLUGIN_PATH for other prefixes. In this case Meson prints a message with those paths.
```
$ git clone https://github.com/gkarsay/parlatype.git
$ cd parlatype
$ meson build --prefix=/usr
$ cd build
$ ninja
$ sudo ninja install
```

### Build from tarball
Download the latest release tarball from https://github.com/gkarsay/parlatype/releases/latest. Assuming it’s version 1.6.2 and you want the program only:
```
$ wget https://github.com/gkarsay/parlatype/releases/download/v1.6.2/parlatype-1.6.2.tar.gz
$ tar -zxvf parlatype-1.6.2.tar.gz
$ cd parlatype-1.6.2/
$ meson build --prefix=/usr
$ cd build
$ ninja
$ sudo ninja install
```

## Bugs
Please report bugs at https://github.com/gkarsay/parlatype/issues.