Package Details: praat 6.2.12-1

Git Clone URL: https://aur.archlinux.org/praat.git (read-only, click to copy)
Package Base: praat
Description: A speech analysis tool used for doing phonetics by computer
Upstream URL: https://www.praat.org
Licenses: GPL
Submitter: jpate
Maintainer: alerque (svkampen)
Last Packager: alerque
Votes: 27
Popularity: 0.003387
First Submitted: 2010-03-09 18:13 (UTC)
Last Updated: 2022-04-18 07:47 (UTC)

Pinned Comments

petronny commented on 2020-12-10 06:35 (UTC)

BTW, the arch4edu repository is also providing the prebuilt packages of praat.

alerque commented on 2020-03-03 13:20 (UTC)

PSA: I've started hosting this and all its dependencies as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

Latest Comments

alerque commented on 2021-08-16 13:25 (UTC)

@thylacine222 Thanks for the note. I've added it to the arch array so you won't have to edit or ignore the arch on build — although that might be small comfort considering this package is likely to move to [community] in the relatively near future (~1 mo). You'll still have to build it from that PKGBUILD yourself and will probably be back to fixing the arch each time. :/

thylacine222 commented on 2021-08-15 18:55 (UTC)

can confirm that this builds on aarch64

alerque commented on 2021-01-07 19:08 (UTC)

@linos I think it may be okoy to bundle it in this package since it's expected to work with it and the upstream project bundles it in their Debian builds. I've been aware of this, see the note at the top of the PKGBUILD.

At the moment I'm having trouble building praat at all; I haven't been able to bump this to 6.1.38 because I get a build error that I haven't yet been able to sort out.

If you can contribute to either of these two things I'm happy to accept PRs for this build over here, or just use git format-patch from this repo and post here. I'm open to adding co-maintainers too, I don't use this that often.

linos commented on 2021-01-05 12:30 (UTC)

Could we maybe include sendpraat in this PKGBUILD? Or should it be a dedicated package?

https://www.fon.hum.uva.nl/praat/sendpraat.html

svkampen commented on 2020-12-13 00:26 (UTC)

I've replaced the gtk2 dependency with gtk3.

petronny commented on 2020-12-12 11:36 (UTC)

About the pkgdesc, I think we can use the descriptions on Ubuntu, "program for speech analysis and synthesis".

petronny commented on 2020-12-12 11:32 (UTC)

After changing gtk2 to gtk3, the build passed.

petronny commented on 2020-12-10 06:35 (UTC)

BTW, the arch4edu repository is also providing the prebuilt packages of praat.

petronny commented on 2020-12-10 06:33 (UTC) (edited on 2020-12-10 06:33 (UTC) by petronny)

Package 'gtk+-3.0', required by 'virtual:world', not found
Package gtk+-3.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-3.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-3.0', required by 'virtual:world', not found
In file included from ../sys/GuiP.h:21,
                 from melder_debug.cpp:21:
../sys/Gui.h:64:12: fatal error: gtk/gtk.h: No such file or directory
   64 |   #include <gtk/gtk.h>
      |            ^~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: melder_debug.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from melder_audio.cpp:47:
../sys/Gui.h:64:12: fatal error: gtk/gtk.h: No such file or directory
   64 |   #include <gtk/gtk.h>
      |            ^~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: melder_audio.o] Error 1

alerque commented on 2020-06-25 08:00 (UTC)

@mhmmmaria I would probably work fine, but I don't have a system to test it on. I'd be happy to add it to the architecture array if somebody else can confirm that it actually builds or sends a patch for whatever changes need to be made. I don't want to just blindly add things to the array without testing that they build. Can you have a go at it?

mhmmmaria commented on 2020-06-24 18:13 (UTC)

Hi @caleb, I was wondering if aarch64 would work as a supported architecture, and if so, if you could add it? Thanks!

alerque commented on 2020-03-03 13:23 (UTC)

Does anybody know whats up with the alsa/jack/pulse dependencies? Given that there are separate makefile setups for each, and we are currently using the pulse configuration, de we really need the also and jack dependencies to compile? Wouldn't they only be necessary if using those audio profiles for the build?

@petronny I'm just a little bit confused be the various audio dependencies in this package. You seem to have some experience with this, perhaps you can answer.

alerque commented on 2020-03-03 13:20 (UTC)

PSA: I've started hosting this and all its dependencies as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

svkampen commented on 2020-03-03 12:46 (UTC)

I've just updated to 6.1.09, apologies for the late update.

@caleb sounds good. I don't really use praat anymore myself so I have no personal reason to update the package anymore - am fine with orphaning it.

alerque commented on 2020-03-03 12:03 (UTC)

I have adopted and updated the two related packages praat-bin and praat-git. I would like to either adopt or co-maintain this one as well. I plan to add prebuilt Arch packages for it to my package repo. @svkampen would you be willing to add me to this as a co-maintainer (or orphan it) so I can help keep it up to date?

petronny commented on 2020-03-01 04:57 (UTC)

Please update this package.

svkampen commented on 2019-09-03 12:45 (UTC)

Updated to 6.1.03. I think no dependencies changed; it built fine on my machine, but I didn't build it in a clean environment, so please do tell if I'm missing a dependency.

mrxx commented on 2019-01-05 13:17 (UTC)

Thank you, petronny.

Added jack as dependency.

petronny commented on 2019-01-04 06:06 (UTC)

pa_jack.c:63:10: fatal error: jack/types.h: No such file or directory
 #include <jack/types.h>
          ^~~~~~~~~~~~~~

Well, a new dependency is needed now.

petronny commented on 2018-10-26 06:47 (UTC)

melder_audio.cpp:32:12: fatal error: pulse/pulseaudio.h: No such file or directory
   #include <pulse/pulseaudio.h>
            ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [<builtin>: melder_audio.o] Error 1
make[1]: *** Waiting for unfinished jobs....

Please add libpulse to depends.

chvp commented on 2018-08-21 08:39 (UTC)

Updated to 6.0.42

chvp commented on 2018-08-12 12:07 (UTC)

Updated to 6.0.41 with a custom patch that fixes the build error.

chvp commented on 2018-08-08 19:43 (UTC)

I updated the package to 6.0.40 because the recently released 6.0.41 fails to build for me. I have opened an issue at the github repo to try and get this fixed. I also switched from a prebuilt binary to a built binary, as is recommended for the aur (since this package is not named praat-bin).

tiagohbalves commented on 2018-05-03 12:32 (UTC) (edited on 2018-05-03 12:37 (UTC) by tiagohbalves)

New Updated PKGBUILD


# Maintainer: jpate <jkpate@jkpate.net>
pkgname=praat
pkgver=6.0.39
pkgrel=1
pkgdesc="A tool for 'Doing Phonetics by computer'"
arch=('x86_64' 'i686')
url="http://www.fon.hum.uva.nl/praat/"
license=('GPL')
depends=( 'alsa-lib' 'gtk2' ) 
optdepends=( 'ttf-sil-fonts' )

source_x86_64=("http://www.fon.hum.uva.nl/praat/praat6039_linux64.tar.gz")
source_i686=("http://www.fon.hum.uva.nl/praat/praat6039_linux32.tar.gz")

md5sums_x86_64=('75B9D843F34423F39DC7BCF2FD3E9F75')
md5sums_i686=('B688B560AE7DAF6CEE331449FFE9E90F')

package() {
  install -Dm755  "$srcdir/praat" "$pkgdir/usr/bin/praat"
}
</jkpate@jkpate.net>

flipflop97 commented on 2018-04-02 14:50 (UTC)

Updated PKGBUILD

# Maintainer: jpate <jkpate@jkpate.net>
pkgname=praat
pkgver=6.0.37
pkgrel=1
pkgdesc="A tool for 'Doing Phonetics by computer'"
arch=('x86_64' 'i686')
url="http://www.fon.hum.uva.nl/praat/"
license=('GPL')
depends=( 'alsa-lib' 'gtk2' )
optdepends=( 'ttf-sil-fonts' )

source_x86_64=("http://www.fon.hum.uva.nl/praat/praat6037_linux64.tar.gz")
source_i686=("http://www.fon.hum.uva.nl/praat/praat6037_linux32.tar.gz")

md5sums_x86_64=('493b662a61cdc3c877b003f762152da5')
md5sums_i686=('e2f8899f31eff8fac342a2436342cb59')

package() {
  install -Dm755  "$srcdir/praat" "$pkgdir/usr/bin/praat"
}

MaoCPU commented on 2016-02-19 22:16 (UTC)

I used https://gist.github.com/MaoPU/4f3339dd146bb52d5efa to update to 6.0.15. Seems to work.

jpate commented on 2015-11-02 15:29 (UTC)

Development has now moved to github, and rather than create a -git package, the PKGBUILD downloads a pre-built binary. This was made possible by a change so that Praat calls pulseaudio directly, and the hard-coded change to PULSE_LATENCY_MSEC is no longer necessary.

rmanne commented on 2015-09-27 14:56 (UTC)

The sources for 5.4.20 are available. (September 26) EDIT: rather, the sources for 5.4.17 are no longer available.

diegoM commented on 2015-09-03 19:01 (UTC)

Hi John, the sources of 5.4.15 version are not avalaibale. I use this PKGBUILD (http://dpaste.com/1WPXTPH) to install 5.4.17 version.

jpate commented on 2015-08-11 17:07 (UTC)

The new PKGBUILD removes a line in the praat source that tinkers with pulseaudio environment variables, hardcoding PULSE_LATENCY_MSEC to 1. This value causes terrible audio for me, and hard-coding the environment variable seems like a no-no. I'll contact Paul Boersma to try to change it upstream.

pankid commented on 2015-08-11 14:25 (UTC)

Here is a working pkgbuild for the new version, 5.4.15 http://paste.debian.net/291333/

jpate commented on 2015-02-07 10:19 (UTC)

I've updated (although the changelog indicates the only changes have to do with running on windows). In the future, you can click "flag package out-of-date" if the only issue is an upstream update.

iwaka commented on 2015-02-06 20:10 (UTC)

Thanks to jpate for maintaining this valuable package! The upstream package has been updated, please update here. Cheers!

jpate commented on 2014-12-20 04:44 (UTC)

I've updated the package. Please install the updated package and let me know if you still have sound problems

rcrath commented on 2014-12-20 04:19 (UTC)

download gives 404 not found. I just ran the binary version instead, but did not get any sound out of it.

mwv commented on 2014-07-09 17:42 (UTC)

For the new (July 2nd, 2014) version, change this in the PKGBUILD: pkgver=5.3.81 source=("http://www.fon.hum.uva.nl/praat/praat5381_sources.tar.gz") md5sums=('f3ce934a5e4d3b161d179a9666196431') and every 5376 -> 5381.

mimex commented on 2014-05-13 16:11 (UTC)

For the last version you can change this in the PKGBUILD: pkgver=5.3.76 url=("http://www.fon.hum.uva.nl/praat/praat5376_sources.tar.gz") md5sums=('43f41ca761d357045c2196d0ccfcfa71') Change every 5369 with 5376.

Amnet04 commented on 2014-03-31 13:30 (UTC)

And sorry, this is the line for the source: source=("http://www.fon.hum.uva.nl/praat/praat5369_sources.tar.gz")

Amnet04 commented on 2014-03-31 13:29 (UTC)

I dont know about the correct procedure, but here is the pkgbuild for version 5.3.69: # Maintainer: jpate <j.k.pate@sms.ed.ac.uk> pkgname=praat pkgver=5.3.69 pkgrel=1 pkgdesc="A tool for 'Doing Phonetics by computer'" arch=('x86_64' 'i686') url="http://www.fon.hum.uva.nl/praat/" license=('GPL') depends=( 'alsa-lib' 'gtk2' ) makedepends=( 'pkg-config' ) optdepends=( 'ttf-sil-fonts' ) source=("http://www.fon.hum.uva.nl/praat/praat5356_sources.tar.gz") md5sums=('30793d2f623ea4532df87e41105cacf6') prepare() { cd "$srcdir/sources_5369/" cp makefiles/makefile.defs.linux.alsa makefile.defs sed -i 's/-lasound/-lasound -lpthread/' makefile.defs } build() { cd "$srcdir/sources_5369/" make } package() { cd "$srcdir/sources_5369/" install -Dm755 praat "$pkgdir/usr/bin/praat" }

parchd commented on 2014-03-19 10:59 (UTC)

There is also a version 5.3.66 now. The existing PKGBUILD works fine if you replace every 5356 with 5366 and put the correct md5sum in (d7d36a2e61043fcffeee603fd5ffeec7)

Shardz commented on 2014-01-21 22:13 (UTC)

Here's a PKGBUILD for the latest version: http://dl.logik.li/praat-5.3.62-PKGBUILD

Xyne commented on 2013-09-27 00:40 (UTC)

Hi, The package should be updated to conform to current package guidelines. The sed command should be in a "prepare" function and the make command should be in a "build" function. Thanks!

jpate commented on 2013-05-16 05:48 (UTC)

m13253 thanks for the pointer, and sorry for the delay. I've just moved house to the other side of the planet :p

m13253 commented on 2013-04-16 08:48 (UTC)

Please suggest the optdeps with ttf-sil-fonts (from aur), according to http://www.fon.hum.uva.nl/praat/download_linux.html (section 3) BTW, a new version has come out and please update it.

Dheart commented on 2012-02-13 01:04 (UTC)

New version doesn't compile unless you: a) Install espeak b) Uncompress tar package, open the makefile, remove the lines that say make -C espeak c) make dir espeak and copy libespeak.a and speak_lib.h c) Compress, do md5sum checks and makepkg

hollunder commented on 2011-12-07 22:25 (UTC)

I wonder.. since praat uses portaudio for audio output it should be able to output to jack. Is there a way to enable jack input/output?

justin.kueser commented on 2011-03-12 22:11 (UTC)

New version: 5.2.18. source=("http://www.fon.hum.uva.nl/praat/praat5218_sources.tar.gz") sha256sums=('268d54b3c3a33f9e27fb7e565c485b9b576ebd0711bdd513e9aed0569e930158') change cp makefiles/makefile.defs.linux.gtk makefile.defs to cp makefiles/makefile.defs.linux makefile.defs per compilation instructions here (http://www.fon.hum.uva.nl/praat/download_sources.html). Builds and runs.

jpate commented on 2010-12-28 13:50 (UTC)

thanks

Xyne commented on 2010-12-26 03:46 (UTC)

Here's an updated version of the PKGBUILD with the following changes: * quoted variables * "install" instead of "mkdir" and "cp" * no "|| return 1" statements" (no longer needed) * no "maintainer" variable (serves no purpose) http://aur.pastebin.com/b0WfrARi

jpate commented on 2010-09-23 08:50 (UTC)

I had to make a small change to the makefile, let me know if there are any problems

Shardz commented on 2010-09-23 03:26 (UTC)

Thank you! Invaluable phonetics/linguistics tool!