diamondburned / gtkcord3

A Gtk3 Discord client in Golang
GNU General Public License v3.0
631 stars 29 forks source link

Installing libhandy #56

Open servusdei2018 opened 4 years ago

servusdei2018 commented 4 years ago

Where do I find libhandy? I couldn't find it in aptitude; I'm running on Raspbian 10 and my package lists are all up-to-date. If all goes well, I'll be able to contribute a Linux/ARM build :)

diamondburned commented 4 years ago

Seems like your distro is too old.

Which, by the way, if you could figure out AppImage building, that would be gold. This issue and several others would be fixed by doing that.

Danct12 commented 4 years ago

The distro is probably too old, libhandy seems to exist here..

Another fact is that libhandy already exist in vast majority of Linux distributions, as it is a major components for GNOME stuffs.

servusdei2018 commented 4 years ago

Hmm, maybe I could add an upstream that has libhandy to my apt sources.

NTBBloodbath commented 4 years ago

Same problem, Ubuntu 18.04 LTS. @servusDei2018 could you install?

diamondburned commented 4 years ago

Try upgrading your Ubuntu version to 20.04.

NTBBloodbath commented 4 years ago

Try upgrading your Ubuntu version to 20.04.

I'm not able to do that... Sadly I'm running on chroot.

Could be there an alternative to libhandy? It could bring more support for that client on more "older" distributions

diamondburned commented 4 years ago

You could try compiling libhandy there; it doesn't have to be installed from the distribution. But unfortunately, there's not a way of making libhandy an optional dependency.

NTBBloodbath commented 4 years ago

You could try compiling libhandy there; it doesn't have to be installed from the distribution. But unfortunately, there's not a way of making libhandy an optional dependency.

Oh, I see... I'll try by compiling libhandy, thank you!

micwoj92 commented 3 years ago

Also make sure it is libhandy 0 version and not 1. I didn't have it installed and got some build error, didn't read what exactly it was :/

diamondburned commented 3 years ago

Upstream libhandy seems to be 1: https://github.com/diamondburned/handy/blob/master/handy_generated.go

You can PR a change to fix that.

micwoj92 commented 3 years ago

So I installed fresh arch vm, installed git, go, base-devel and gtk3, then ran go build libhandy0

after that installed libhandy0 and then it installed just fine. Just to be sure I also checked and libhandy1(called libhandy on Arch) was not installed on the system.