Skip to content

Add *BSD support #55

@arturbrzoz

Description

@arturbrzoz

Hi,

when building on recent FreeBSD 14.0 and OpenBSD 7.3 (amd64):

$ go install golang.design/x/clipboard/cmd/gclip@latest
# golang.design/x/clipboard
.go/pkg/mod/golang.design/x/[email protected]/clipboard.go:107:15: undefined: initialize
.go/pkg/mod/golang.design/x/[email protected]/clipboard.go:118:14: undefined: read
.go/pkg/mod/golang.design/x/[email protected]/clipboard.go:138:18: undefined: write
.go/pkg/mod/golang.design/x/[email protected]/clipboard.go:153:9: undefined: watch

I figure this is due to *BSDs not being explicitly supported, but perhaps there's a way to build clipboard anyways, especially since BSDs share a lot with Linux, including the X system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions