gtkcord3 icon indicating copy to clipboard operation
gtkcord3 copied to clipboard

does not build on openbsd

Open brightersun99 opened this issue 4 years ago • 7 comments

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)

brightersun99 avatar Sep 27 '20 18:09 brightersun99

What Go version is this?

diamondburned avatar Sep 27 '20 19:09 diamondburned

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

brightersun99 avatar Sep 29 '20 23:09 brightersun99

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

diamondburned avatar Sep 30 '20 01:09 diamondburned

@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

jitterdev avatar Sep 30 '20 17:09 jitterdev

#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.

diamondburned avatar Sep 30 '20 17:09 diamondburned

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.

jitterdev avatar Sep 30 '20 18:09 jitterdev

This should be fixed now.

micwoj92 avatar Nov 03 '20 23:11 micwoj92