Sneeds-Feed-and-Seed / sneedacity

Audio Editor
https://sneedacity.org
Other
885 stars 62 forks source link

HOW TO BUILD THIS PROJECT #78

Open mariaWitch opened 3 years ago

mariaWitch commented 3 years ago
#/bin/bash
sudo apt install cmake
export PATH="/home/$USER/.local/bin:$PATH"
git clone https://github.com/Sneeds-Feed-and-Seed/sneedacity
mkdir sneed_build
cd sneed_build
cmake -G "Unix Makefiles" -Dsneedacity_use_ffmpeg=loaded ../sneedacity
make -j`nproc`
sudo make install

Simple.

NO LONGER RELIANT ON CONAN

For those who want to use Ninja

#/bin/bash
sudo apt install cmake ninja-build
export PATH="/home/$USER/.local/bin:$PATH"
git clone https://github.com/Sneeds-Feed-and-Seed/sneedacity
mkdir sneed_build
cd sneed_build
cmake -G Ninja -Dsneedacity_use_ffmpeg=loaded ../sneedacity
ninja
cmake -install
Ckath commented 3 years ago

for arch frens that want it as the -git package just go into pkg/arch/sneedacity-git and run makepkg -cirs also see the somewhat updated binary sneed repos

T0x1cL commented 3 years ago

for arch frens that want it as the -git package just go into pkg/arch/sneedacity-git and run makepkg -cirs

I juat noticed sneedacity already has a PKGBUILD lol

EverlastingEndeavour commented 3 years ago

Manually building on Arch/Endeavour:

#/bin/bash
yay -S python-pip cmake
pip3 install conan
export PATH="/home/$USER/.local/bin:$PATH"
git clone https://github.com/Sneeds-Feed-and-Seed/sneedacity
mkdir sneed_build
cd sneed_build
cmake -G "Unix Makefiles" -Dsneedacity_use_ffmpeg=loaded ../sneedacity
make -j$(nproc)
sudo make install
ghost commented 3 years ago

for gentoo GIGACHADS just add my repo, unmask =media-sound/sneedacity-9999 and install sneedacity

sneedcat commented 3 years ago

for gentoo GIGACHADS just add my repo, unmask =media-sound/sneedacity-9999 and install sneedacity

Extremely based. Also impressive that Sneedacity compiles with system wxWidgets

ghost commented 3 years ago

for gentoo GIGACHADS just add my repo, unmask =media-sound/sneedacity-9999 and install sneedacity

Extremely based. Also impressive that Sneedacity compiles with system wxWidgets

lol idk if the ebuild even compiles

sneedcat commented 3 years ago

lol idk if the ebuild even compiles

Even better

Ckath commented 3 years ago

somewhat up to date debian builds by not me: https://job.tilde.team/sneedacity/ todo: throw those in another action

pachuco commented 3 years ago

Where does GitHub-Actions run? On github servers or repo maintainer's computer? I'd like to play around with Sneedacity on Windows XP. I have crippling fear of any build system that is not a .BAT file.

sneedcat commented 3 years ago

Where does GitHub-Actions run? On github servers or repo maintainer's computer? I'd like to play around with Sneedacity on Windows XP. I have crippling fear of any build system that is not a .BAT file.

They run on Github side.

eylles commented 3 years ago

for building on devuan unstable, or if in any debian based distro cmake complains about expat or xml just sudo apt-get install docbook2x

also, does anyone have the script to package as .deb?

Kho-Dialga commented 3 years ago

Does anyone have this packaged for Void? I've been trying to make the template myself but when it reaches the install phase I get

=> ERROR: sneedacity-3.0.3_1: /builddir directory is not allowed, remove it!
=> ERROR: sneedacity-3.0.3_1: cannot continue with installation!

And I don't know which cmake options are required to change /builddir Here's the template I've been working with. https://gist.github.com/Kho-Dialga/8c0e3ca34b62cd40d98a912af36f6381

brmonaghan commented 3 years ago

Windows variant?

brmonaghan commented 3 years ago

EDIT: There seems to be NO release for windows. Does NOT apply to windows. Please continue to build via VC++

yonderbread commented 3 years ago

how the fuck do i remove this thing?!

yonderbread commented 3 years ago

how the fuck do i remove this thing?!

Once I compiled and installed sneedacity with sudo make install -j4 I'm unable to uninstall it with sudo make uninstall.

Ckath commented 3 years ago

with 'unable to install' do you mean it just errors? does nothing? or leaves some files behind?

I can see the latter being the case related to the conan removal workarounds, possibly

On 8/3/21 10:05 PM, yondering wrote:

how the fuck do i remove this thing?!

Once I compiled and installed |sneedacity| with |sudo make install -j4| I'm unable to uninstall it with |sudo make uninstall|.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sneeds-Feed-and-Seed/sneedacity/issues/78#issuecomment-892129333, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSXPTRC6AZT436ICR4CGC3T3BDZLANCNFSM476VXAGA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

yonderbread commented 3 years ago

with 'unable to install' do you mean it just errors? does nothing? or leaves some files behind? I can see the latter being the case related to the conan removal workarounds, possibly On 8/3/21 10:05 PM, yondering wrote: how the fuck do i remove this thing?! Once I compiled and installed |sneedacity| with |sudo make install -j4| I'm unable to uninstall it with |sudo make uninstall|. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#78 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSXPTRC6AZT436ICR4CGC3T3BDZLANCNFSM476VXAGA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.

I'm unable to uninstall, installing worked fine.

Ckath commented 3 years ago

tfw typod anyways I tried to reproduce and there is indeed an error trying to uninstall:

CMake Error at /home/cat/gitstuff/sneedacity/build/uninstall.cmake:11 (message):
  Cannot find install manifest:
  /home/cat/gitstuff/sneedacity/build/cmake-proxies/wxWidgets/wxwidgets/install_manifest.txt

the cmake file in question is pretty much completely useless and can be deleted

that aside, it seems cmake doesnt really provide an uninstall target by default which means I can just link you this generic stackoverflow answer https://stackoverflow.com/a/44649542 and it isnt the projects problem anymore

I could try to add the uninstall target in as they specify there, if anyone cares for it

Ckath commented 3 years ago

I've gone ahead and added it anyway, you can either generate the working uninstall.cmake and then copy it to your old project you installed from, or install again and then uninstall

bootmii commented 2 years ago

../sneedacity doesn't exist once you're in build