8000 GitHub - yradunchev/parlatype: GNOME audio player for transcription
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yradunchev/parlatype

 
 

Repository files navigation

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 7E2D 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.

About

GNOME audio player for transcription

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 92.7%
  • Python 3.6%
  • Meson 2.7%
  • Other 1.0%
0