-
Notifications
You must be signed in to change notification settings - Fork 40
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
Add build instructions #1
Comments
YES PLS |
I'm not sure if this is the OFFICIAL way to go about it, but... gtkcord3's installation process invoked one command: having no knowledge of go, i assumed that it pulled the files from the repository & builds according to the instructions for go in the git repo; i replaced the old URL with this repository's URL ( edit: yup, installed the client perfectly! i will note though that because discord is requiring captchas to log in on a regular basis, your mileage may vary when trying to login using your email / password; i logged using the token method instead |
Hmmm... No clue what happened here... P.S Using pop os 21.10, I think I didn't install something could I get the commands I needa run? |
it's the exact same as gtkcord3. go install -v github.com/diamondburned/gtkcord4@[commit]. |
This is just the compiler being slow. You can wait out for the whole build or you can patch the compiler to make it faster. See golang/go#9887 (comment) for more information. |
This is indeed what I'll eventually add onto the README. You can also clone the repository down and run I'll also eventually add a CI that automatically produces binaries for each release, but that's only for when I'm happy with the state of the program.
There is actually no custom way to build this project. Most Go projects build the same, and the toolchain handles all the complicated steps. The only additional step here is installing the C dependencies of the program. |
your fork of go is super fast, It take 8 sec to build |
This might just be because you've already built it before, so the time-intensive parts (gotk4) are cached. It will be cached until you update your Go version or I update the dependencies. |
No, the difference is 7 sec to 8 min with the other GO version under the same conditions |
Dont see any proper way to install your fork of go? |
There's no "proper way" to install it. It patches over the source code, so use whichever way to do that that your distro recommends. The way I do it is with a Nix overlay, as written in the bottom comment, but that's only for me (and Nix users). |
I get errors regarding pkg-config when building |
Try these. |
you can generally find the packages you're missing for your distro pretty easily with a package search engine like pkgs.org |
Noticed Pop os is like the worst distro to build stuff on, Atleast for coding noobs like me. So how would I apply this patch on pop os 21.10 |
the nix package manager should be available on any linux distro |
so is there any particular reason why you wouldn't include the |
It isn't yet a priority to me. |
So if I were to send a PR with those Instructions added you would merge it? |
Yes. |
Closed by #6. |
Some compilation instructions and a list of requirements would be most welcome.
The text was updated successfully, but these errors were encountered: