diamondburned / gtkcord3

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

does not build on openbsd #100

Open brightersun99 opened 3 years ago

brightersun99 commented 3 years ago

this somehow does not work on openbsd libhandy, gtk and pkgconfig are all installed..

bash-5.0$ go get github.com/diamondburned/gtkcord3

github.com/diamondburned/gtkcord3/gtkcord/ningen

go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:69:5: cannot use (ningen.State)(nil) (type ningen.State) as type Presencer in assignment: ningen.State does not implement Presencer (wrong type for Presence method) have Presence(discord.GuildID, discord.UserID) (discord.Presence, error) want Presence(discord.Snowflake, discord.Snowflake) (*discord.Presence, error) go/src/github.com/diamondburned/gtkcord3/gtkcord/ningen/ningen.go:82:9: e.ID.Valid undefined (type discord.EmojiID has no field or method Valid)

diamondburned commented 3 years ago

What Go version is this?

brightersun99 commented 3 years ago

bash-5.0$ go version go version go1.13.9 openbsd/amd64

diamondburned commented 3 years ago

Try with https://github.com/diamondburned/gtkcord3/pull/97.

jitterdev commented 3 years ago

@diamondburned 97 was closed, so I posted here

$ go get github.com/Pauldg7/gtkcord3              package github.com/Pauldg7/gtkcord3
        go/src/github.com/Pauldg7/gtkcord3/main.go:14:2: use of internal package github.com/diamondburned/gtkcord3/internal/keyring not allowed
package github.com/Pauldg7/gtkcord3
        go/src/github.com/Pauldg7/gtkcord3/envs.go:9:2: use of internal package github.com/diamondburned/gtkcord3/internal/log not allowed
diamondburned commented 3 years ago

97 is not closed; it's a draft PR. You can't go get this, so you'll have to clone it down and go build.

jitterdev commented 3 years ago

I can't test this yet as I'm out of internal storage, I'll either test this once I get external storage or free up some more internal storage.

micwoj92 commented 3 years ago

This should be fixed now.