Package Details: gnaural 20110606-3

Git Clone URL: https://aur.archlinux.org/gnaural.git (read-only, click to copy)
Package Base: gnaural
Description: An opensource binaural-beat generator
Upstream URL: http://gnaural.sourceforge.net/
Keywords: audio meditation relaxation
Licenses: GPL
Submitter: speps
Maintainer: nimius
Last Packager: nimius
Votes: 34
Popularity: 0.000000
First Submitted: 2010-11-25 03:58 (UTC)
Last Updated: 2021-01-02 16:08 (UTC)

Latest Comments

1 2 Next › Last »

nimius commented on 2021-01-02 16:12 (UTC) (edited on 2021-01-02 16:13 (UTC) by nimius)

I fixed the GCC error by adding "CFLAGS='-fcommon'" as a parameter to the configure script. Apparantly GCC became more strict regarding to definition of global variables recently.

Popolon commented on 2020-09-30 17:21 (UTC)

Here is a git diff of the PKGBUILD. Just add makedep to clang, and add export C=clang before the configure.

diff --git a/PKGBUILD b/PKGBUILD
index 1e644b4..fd7ac17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,6 +8,7 @@ arch=(i686 x86_64)
 url="http://gnaural.sourceforge.net/"
 license=('GPL')
 depends=('libglade' 'portaudio')
+makedepends=('clang')
 install="$pkgname.install"
 source=("http://downloads.sourceforge.net/project/$pkgname/Gnaural/${pkgname}_${pkgver}.tar.xz"
         "gnaural.patch")
@@ -19,6 +20,7 @@ build() {

   patch --strip=1 < "$srcdir/gnaural.patch"

+  export CC=clang
   ./configure --prefix=/usr
   make
 }

dustball commented on 2020-08-07 21:04 (UTC)

GCC apparently broke something. Since I don't know C in any way, all I can recommend is building with clang, since that still works. If anyone provides a patch, I'm happy to update the package.

arun321 commented on 2020-07-28 04:50 (UTC)

Doesn't compile.

agusdallalba commented on 2018-07-10 21:39 (UTC)

Also the .install file is no longer necessary.

agusdallalba commented on 2018-07-10 21:32 (UTC) (edited on 2018-07-10 21:33 (UTC) by agusdallalba)

Download link and md5 seem to be wrong.

This works for me:

diff --git a/PKGBUILD b/PKGBUILD
index 98d9b47..e1e586f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,18 +2,18 @@

 pkgname=gnaural
 pkgver=20110606
-pkgrel=1
+pkgrel=2
 pkgdesc="An opensource binaural-beat generator"
 arch=(i686 x86_64)
 url="http://gnaural.sourceforge.net/"
 license=('GPL')
 depends=('libglade' 'portaudio')
 install="$pkgname.install"
-source=("http://downloads.sourceforge.net/project/Gnaural/$pkgname-$pkgver.tar.xz")
-md5sums=('55dd6c32ae08c637e40774c22d6c09ba')
+source=("http://downloads.sourceforge.net/project/$pkgname/Gnaural/${pkgname}_$pkgver.tar.xz")
+md5sums=('a3f909ca56466393c9eef42f25fc028b')

 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/${pkgname}_$pkgver"

   # Fix a bug where an inlined function isn't marked as extern. GCC seems to have tolerated rather long, but eventually broke.
   sed -i 's/#endif/extern inline void BB_ResetAllVoices ();\n#endif/g' src/main.h src/gnauralXML.h
@@ -27,7 +27,7 @@ build() {
 }

 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/${pkgname}_$pkgver"

   make DESTDIR="$pkgdir/" install
 }

chandra commented on 2018-07-10 15:11 (UTC)

While attempting to install using trizen, I get:

curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading https://sourceforge.net/projects/gnaural/files/Gnaural/20110606.tar.xz/download Aborting... :: Unable to build gnaural - makepkg exited with code: 1

Apparently the file name and location do not match currently.

Kindly enable.

Thanks.

Gruentee commented on 2015-09-30 19:05 (UTC)

Build without problems now. Thank you very much!

dustball commented on 2015-09-12 23:53 (UTC)

Bug identified. Will write a patch this week. I assume this was pankid's error too (though I can't see the paste). Please use something permanent, like ix, sprunge or dpaste.

Gruentee commented on 2015-09-12 14:26 (UTC)

Trying to build gnaural, it fails with following error messages: http://pastebin.com/yg49VVHh uname -a: Linux 4.1.6-3-MANJARO #1 SMP PREEMPT Sat Sep 5 10:57:06 UTC 2015 x86_64 GNU/Linux Any help appreciated! Thanks…