Package Details: audacity-git 3.4.2.r93.g86a6b6df8-1

Git Clone URL: https://aur.archlinux.org/audacity-git.git (read-only, click to copy)
Package Base: audacity-git
Description: A program that lets you manipulate digital audio waveforms
Upstream URL: https://www.audacityteam.org/
Keywords: audio editor
Licenses: GPL2, CCPL
Groups: pro-audio
Conflicts: audacity
Provides: audacity, ladspa-host, lv2-host, vamp-host, vst-host, vst3-host
Submitter: proudzhu
Maintainer: ongyx
Last Packager: ongyx
Votes: 15
Popularity: 0.000002
First Submitted: 2015-11-02 16:13 (UTC)
Last Updated: 2023-11-20 13:54 (UTC)

Dependencies (39)

Required by (116)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

ongyx commented on 2022-01-14 15:32 (UTC) (edited on 2022-01-14 16:23 (UTC) by ongyx)

To build Audacity against GTK3, it seems the solution is to ditch conan totally and force it to build only against system libraries.

EDIT: Apparently it's not possible to patch in wxgt3 so Audacity can link against it. Short of patching the special wxwidgets/3.1.3.2-audacity conan package ourselves, I don't see any other way.

magnus-tesshu commented on 2022-01-14 07:29 (UTC) (edited on 2022-01-14 11:31 (UTC) by magnus-tesshu)

As far as I can tell, building wxwidgets with conan doesn't honor wxBUILD_TOOLKIT=gtk3 any longer, and it now generates a gtk2 wxwidgets. I haven't found a way to fix this yet.

This is very annoying. I'm trying to install this, but I don't have gtk2 installed anymore. It fails to build. Any idea why that might be happening?

EDIT: looking into it, a configure script from conan is the problem. I'm presently setting random environment variables to see if one of them gets it to ignore its default and use GTK3.

EDIT2: Doesn't appear like any environment variables will do the trick. wxBUILD_TOOLKIT is not found by grep anywhere in audacity anymore, I'm going to look at when it was removed to see if anything else is also missing

This is commit 70bbfb69d5006950ef3e6a21078ece0771beacfe. At that time, they didn't use conan to install wxWidgets-audacity and so it is unlikely that a simple solution exists.

If you go to the directory that conan downloads wxWidgets to you can run cmake -DwxBUILD_TOOLKIT=gtk3 and it will work, but audacity doesn't pass the arguments over to it in its build process. I have no idea how conan or the Cmake language works so I don't know if it is possible to get conan to do this on its own.

Refutationalist commented on 2021-11-04 05:42 (UTC)

As far as I can tell, building wxwidgets with conan doesn't honor wxBUILD_TOOLKIT=gtk3 any longer, and it now generates a gtk2 wxwidgets. I haven't found a way to fix this yet.

fab4fab commented on 2021-10-27 10:52 (UTC)

@ongyx thank you for your reply, now working perfectly.

ongyx commented on 2021-10-27 07:56 (UTC)

@fab4fab please set your locale to English (LC_ALL=en_US.UTF-8) so I can read the error messages. Other than that, it looks like the flac conan package is being built with warnings being treated as errors. I'll add flags to force Audacity to compile with the system provided flac instead of compiling using conan.

fab4fab commented on 2021-10-27 06:52 (UTC) (edited on 2021-10-27 06:52 (UTC) by fab4fab)

@ongyx thank you for your reply, I tried to do what you said. This is the output:

cc1plus: some warnings being treated as errors make[2]: [source_subfolder/src/utils/flacdiff/CMakeFiles/flacdiff.dir/build.make:76: source_subfolder/src/utils/flacdiff/CMakeFiles/flacdiff.dir/main.cpp.o] Errore 1 make[1]: [CMakeFiles/Makefile2:603: source_subfolder/src/utils/flacdiff/CMakeFiles/flacdiff.dir/all] Errore 2 make: *** [Makefile:156: all] Errore 2 flac/1.3.3: flac/1.3.3: ERROR: Package '2e198b8f5694d68dae7c7264d91b82e6e9469b96' build failed flac/1.3.3: WARN: Build folder /home/utente/.conan/data/flac/1.3.3///build/2e198b8f5694d68dae7c7264d91b82e6e9469b96 ERROR: flac/1.3.3: Error in build() method, line 65 cmake.build() ConanException: Error 2 while executing cmake --build '/home/utente/.conan/data/flac/1.3.3///build/2e198b8f5694d68dae7c7264d91b82e6e9469b96' '--' '-j4' CMake Error at cmake-proxies/cmake-modules/conan.cmake:631 (message): Conan install failed='1' Call Stack (most recent call first): cmake-proxies/cmake-modules/AudacityDependencies.cmake:255 (conan_cmake_install) cmake-proxies/cmake-modules/AudacityDependencies.cmake:277 (_conan_install) CMakeLists.txt:541 (resolve_conan_dependencies)

-- Configuring incomplete, errors occurred! See also "/home/utente/.cache/yay/audacity-git/src/audacity/build/CMakeFiles/CMakeOutput.log". See also "/home/utente/.cache/yay/audacity-git/src/audacity/build/CMakeFiles/CMakeError.log". ==> ERRORE: Si è verificato un errore in build(). L'operazione sta per essere interrotta... -> error making: audacity-git

ongyx commented on 2021-10-26 06:13 (UTC)

@fab4fab Try clearing the cached flac package with conan remove -f flac/1.3.3@" and do a cleanbuild. A previous build may have been interrupted so the cache is broken.

fab4fab commented on 2021-10-25 14:09 (UTC)

I get this: [ 98%] Built target metaflac make: *** [Makefile:156: all] Errore 2 flac/1.3.3: flac/1.3.3: ERROR: Package '2e198b8f5694d68dae7c7264d91b82e6e9469b96' build failed flac/1.3.3: WARN: Build folder /home/utente/.conan/data/flac/1.3.3///build/2e198b8f5694d68dae7c7264d91b82e6e9469b96 ERROR: flac/1.3.3: Error in build() method, line 65 cmake.build() ConanException: Error 2 while executing cmake --build '/home/utente/.conan/data/flac/1.3.3///build/2e198b8f5694d68dae7c7264d91b82e6e9469b96' '--' '-j4' CMake Error at cmake-proxies/cmake-modules/conan.cmake:631 (message): Conan install failed='1' Call Stack (most recent call first): cmake-proxies/cmake-modules/AudacityDependencies.cmake:255 (conan_cmake_install) cmake-proxies/cmake-modules/AudacityDependencies.cmake:277 (_conan_install) CMakeLists.txt:541 (resolve_conan_dependencies)

Please solve this issues.

rcrath commented on 2021-10-23 04:03 (UTC)

now builds, installs, and runs. thnx @ongyx!

ongyx commented on 2021-10-21 11:18 (UTC)

After restoring the original cmake flags from previous commits, Audacity now compiles from source successfully on my system. I'll push the updated PKGBUILD now.