Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOW TO BUILD THIS PROJECT #78

Open
mariaWitch opened this issue Jul 7, 2021 · 21 comments
Open

HOW TO BUILD THIS PROJECT #78

mariaWitch opened this issue Jul 7, 2021 · 21 comments
Labels
documentation Improvements or additions to documentation

Comments

@mariaWitch
Copy link
Contributor

mariaWitch commented Jul 7, 2021

#/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 Ckath pinned this issue Jul 7, 2021
@Ckath
Copy link
Contributor

Ckath commented Jul 7, 2021

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
Copy link

T0x1cL commented Jul 7, 2021

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
Copy link

EverlastingEndeavour commented Jul 7, 2021

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
Copy link

ghost commented Jul 7, 2021

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

@sneedcat
Copy link
Contributor

sneedcat commented Jul 7, 2021

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
Copy link

ghost commented Jul 7, 2021

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
Copy link
Contributor

sneedcat commented Jul 7, 2021

lol idk if the ebuild even compiles

Even better

@Ckath
Copy link
Contributor

Ckath commented Jul 7, 2021

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

@pachuco
Copy link

pachuco commented Jul 8, 2021

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
Copy link
Contributor

sneedcat commented Jul 8, 2021

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
Copy link

eylles commented Jul 12, 2021

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?

@mariaWitch mariaWitch added based documentation Improvements or additions to documentation labels Jul 16, 2021
@Kho-Dialga
Copy link

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
Copy link

Windows variant?

@brmonaghan
Copy link

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

@yonderbread
Copy link

how the fuck do i remove this thing?!

@yonderbread
Copy link

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
Copy link
Contributor

Ckath commented Aug 4, 2021 via email

@yonderbread
Copy link

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
Copy link
Contributor

Ckath commented Aug 5, 2021

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 Ckath mentioned this issue Aug 5, 2021
5 tasks
@Ckath
Copy link
Contributor

Ckath commented Aug 5, 2021

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
Copy link

bootmii commented Mar 17, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

13 participants