aaaton / X11-screenshot

A handy little OSX like screenshot tool for the X11 window manager written in Go
1 stars 0 forks source link

No longer builds #1

Open xyproto opened 2 years ago

xyproto commented 2 years ago

Hi,

Thanks for creating a utility that can screenshot with pure Go.

As far as I can tell, this project no longer builds.

I tried with Go 1.8 on Arch Linux.

I tried running go init and go tidy. when building now, I get this:

sser.go:10:2: cannot find package "." in:
/home/user/clones/X11-screenshot/vendor/xgbutil/ewmh
sser.go:11:2: cannot find package "." in:
/home/user/clones/X11-screenshot/vendor/xgbutil/icccm
sser.go:12:2: cannot find package "." in:
/home/user/clones/X11-screenshot/vendor/xgbutil/keybind
sser.go:13:2: cannot find package "." in:
/home/user/clones/X11-screenshot/vendor/xgbutil/xcursor
sser.go:14:2: cannot find package "." in:
/home/user/clones/X11-screenshot/vendor/xgbutil/xwindow
aaaton commented 1 year ago

Sorry for a late reply. Yes that is very possible. I haven't actually opened the project since 2016 and it was not very near completion at that date. If you want to make it work I'm happy to accept a pull-request. But I almost think you would be better off writing something new that depends on something like BurntSushi/xgb