site  contact  subhomenews

Audacity 3.1.3 SFS created

October 16, 2022 — BarryK

Forum member don570 has created a Audacity SFS for EasyOS, ported from FatDog.

Audacity homepage:

https://www.audacityteam.org/

img1

I got curious what it would take to compile it for EasyOS. Toward that, I compiled 'python3-conan' in OE:

https://bkhome.org/news/202210/conan-package-manager-compiled-in-oe.html

'python3-conan' is required to compile Audacity, not needed at runtime. I was unable to compile Audacity in OE -- it is just too cross-compiler-unfriendly. So, compiled it in a running EasyOS 4.4.1, and didn't use the python3-conan package; instead, installed it like this:

# pip3 install conan

Then compiled Audacity:

# mkdir build
# cd build
# cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_BUILD_TYPE=release -Daudacity_use_ffmpeg=loaded \
-Daudacity_lib_preference=system -Daudacity_obey_system_dependencies=on \
-Daudacity_conan_allow_prebuilt_binaries=off -Daudacity_use_lv2=local -Daudacity_use_portmixer=local \
-Daudacity_use_midi=local -Daudacity_use_vamp=local -Daudacity_use_portsmf=local \
-Daudacity_use_sbsms=local -Daudacity_use_soundtouch=local -Daudacity_use_twolame=local \
-Daudacity_use_soxr=local ..
# make
# new2dir make install

Here is a list of dependencies:

ffmpeg,gtk+,alsa-lib,cairo,expat,flac,gdk-pixbuf,glib-2.0,harfbuzz,libid3tag,libmad,
lame,mpg123,libogg,pango,libsndfile1,sox,sqlite3,util-linux,vamps,libvorbis,wavpack,
zlib,jack,pulseaudio,portaudio-v19,libopus

...the only package not already in EasyOS was 'libopus', so installed that via the package manager prior to compiling. And included it in the SFS.

The 'audacity_3.1.3_amd64.sfs' file (23MB) is available by clicking on the "sfs" icon. It works great, both in the main filesystem and in a container.

I'm not sure if it will work in a container prior to Easy 4.4.1, as Audacity requires openGL, and 4.4.1 was the first to properly support openGL in containers.    

Tags: easy