mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-05 09:25:38 +00:00
cmd/gogio: rip out cgo deps for x11
Instead rely on more tiny standalone tools. In this case, scrot lets us take png screenshots, and works well. On the plus side, we remove some large X Go deps, and we don't need nearly as much code. While at it, skip if any of the tools are missing, and actually defer the cleanup funcs so that they run when we fail the test early. Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
@@ -4,10 +4,6 @@ go 1.13
|
||||
|
||||
require (
|
||||
gioui.org v0.0.0-20191030194120-b53c2a7c9d56
|
||||
github.com/BurntSushi/freetype-go v0.0.0-20160129220410-b763ddbfe298 // indirect
|
||||
github.com/BurntSushi/graphics-go v0.0.0-20160129215708-b43f31a4a966 // indirect
|
||||
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802
|
||||
github.com/BurntSushi/xgbutil v0.0.0-20190907113008-ad855c713046
|
||||
github.com/chromedp/cdproto v0.0.0-20191009033829-c22f49c9ff0a
|
||||
github.com/chromedp/chromedp v0.5.1
|
||||
golang.org/x/image v0.0.0-20190802002840-cff245a6509b
|
||||
|
||||
Reference in New Issue
Block a user