Package Details: gwc 0.22_06-1

Git Clone URL: https://aur.archlinux.org/gwc.git (read-only, click to copy)
Package Base: gwc
Description: Gtk Wave Cleaner is a digital audio editor to denoise, dehiss and amplify audio files
Upstream URL: http://gwc.sourceforge.net/
Licenses: GPL
Conflicts: gwc
Provides: gwc
Submitter: fenuks
Maintainer: fenuks
Last Packager: fenuks
Votes: 6
Popularity: 0.162913
First Submitted: 2016-01-04 17:34 (UTC)
Last Updated: 2023-02-17 21:39 (UTC)

Latest Comments

1 2 Next › Last »

Alister.Hood commented on 2021-05-24 08:37 (UTC) (edited on 2021-05-24 08:38 (UTC) by Alister.Hood)

For the record, I see that jlindren's comment to add CFLAGS=-fcommon was an alternative to LDFLAGS = -Xlinker --allow-multiple-definition, and another option might be --warn-common. In any case, it is fixed in git, so I guess I should make a new release soon.

fenuks commented on 2021-05-23 21:31 (UTC)

@Alister.Hood No problem, I forgot myself to make update I've promised.

LDFLAGS is needed to compile with gcc 11.1.0. There also seem to be an issue with machine.h file, it is missing at first attempt to build, as workaround I run make again after first failure.

Alister.Hood commented on 2021-05-21 08:25 (UTC)

Hi, sorry for the late reply, I mustn't have enabled notifications. It would be great if you could make those changes, thanks.

Unfortunately I don't have frequent access to Arch - I'd say someone who does is better-equipped to maintain. Development of gwc is very infrequent, so changes are most likely to be required if there are new compiler errors due to upgrades of other things in Arch.

I've just had a report of compile errors about multiple definitions with recent versions of gcc. Do you get these errors in Arch? The workaround is to use LDFLAGS = -Xlinker --allow-multiple-definition

fenuks commented on 2021-01-24 12:35 (UTC)

@Alister.Hood Thank you for your suggestions. I will update PKGBUILD, unless you want to carry over its maintenance? You are better-equipped to do so, since you are also an author of the program. ;)

Alister.Hood commented on 2021-01-24 05:46 (UTC)

One problem with the PKGBUILD is it's referencing the wrong tarball. It should at least be coming from the release page on github, or from sourceforge. I'm not sure which one should be considered the source.

Yes, then autoreconf shouldn't be required in the PKGBUILD. The files at both sources are identical. I'd say go with sourceforge since the website is still there.

In the OPTDEPENDS I'd suggest changing "ogg support" and "mp3 support" to "ogg export" and "mp3 export", so people don't feel let down when they find the support is only for export.

jlindgren commented on 2020-12-31 01:30 (UTC)

For GCC 10, add -fcommon to CFLAGS to get the build to succeed:

    CFLAGS=-fcommon ./configure --prefix=/usr

jazztickets commented on 2020-10-23 23:15 (UTC)

One problem with the PKGBUILD is it's referencing the wrong tarball. It should at least be coming from the release page on github, or from sourceforge. I'm not sure which one should be considered the source.

https://github.com/AlisterH/gwc/releases/download/0.22-04/gtk-wave-cleaner-0.22-04.tar.gz

OR

https://sourceforge.net/projects/gwc/files/gwc2/0.22-4/gtk-wave-cleaner-0.22-04.tar.gz/download

Then do the standard "./configure; make". However there are multiple problems with the code (mismatched preprocessor 'else', defining globals inside header files without 'extern', not using 'static' on variables inside c files)

After those are fixed, it works.

Tio commented on 2020-10-20 17:50 (UTC)

Error:

ar ru meschach.a copy.o err.o matrixio.o memory.o vecop.o matop.o pxop.o submat.o init.o otherio.o machine.o matlab.o ivecop.o version.o meminfo.o memstat.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib meschach.a
ar ru meschach.a lufactor.o bkpfacto.o chfactor.o qrfactor.o solve.o hsehldr.o givens.o update.o norm.o hessen.o symmeig.o schur.o svd.o fft.o mfunc.o bdfactor.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib meschach.a
ar ru meschach.a sparse.o sprow.o sparseio.o spchfctr.o splufctr.o spbkp.o spswap.o iter0.o itersym.o iternsym.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib meschach.a
make[1]: Leaving directory '/var/tmp/pamac-build-tio/gwc/src/gwc-0.22-04/meschach'
==> ERROR: A failure occurred in build().
    Aborting...

fenuks commented on 2020-07-13 20:00 (UTC) (edited on 2020-07-13 20:01 (UTC) by fenuks)

There is bug in gcc, or code is not compliant with newer standard. It builds for me with clang, you have to add CC=clang where make is invoked.