Skip to content

Commit

Permalink
Remove support for GopherJS to unblock newer Go versions
Browse files Browse the repository at this point in the history
The leaves the GopherJS support in cmd/fyne intact given that the plan is to move that tool out of the repository for this release.
  • Loading branch information
Jacalz committed Dec 26, 2023
1 parent 3365e7f commit 8b5c15c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 86 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/web_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
persist-credentials: false
- uses: WillAbides/[email protected]
with:
go-version: '1.17.x'
go-version: '1.19.x'

- name: Get dependencies
run: sudo apt-get update && sudo apt-get install gcc libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev libx11-dev xorg-dev
Expand All @@ -26,9 +26,3 @@ jobs:
GOARCH: wasm
working-directory: cmd/fyne_demo
run: go build

- name: Build GopherJS and Wasm full website
run: |
go install github.com/gopherjs/gopherjs@latest
go install ./cmd/fyne
cd cmd/fyne_demo && fyne package --target=web
20 changes: 0 additions & 20 deletions app/app_openurl_js.go

This file was deleted.

29 changes: 0 additions & 29 deletions app/app_theme_js.go

This file was deleted.

4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ require (
github.com/go-text/render v0.0.0-20230619120952-35bccb6164b8
github.com/go-text/typesetting v0.0.0-20230616162802-9c17dd34aa4a
github.com/godbus/dbus/v5 v5.1.0
github.com/gopherjs/gopherjs v1.17.2
github.com/jackmordaunt/icns/v2 v2.2.6
github.com/josephspurrier/goversioninfo v1.4.0
github.com/lucor/goinfo v0.9.0
Expand All @@ -34,19 +33,20 @@ require (
golang.org/x/mod v0.12.0
golang.org/x/sys v0.13.0
golang.org/x/tools v0.12.0
honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2
)

require (
github.com/akavel/rsrc v0.10.2 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/jsummers/gobmp v0.0.0-20151104160322-e2ba15ffa76e // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/tevino/abool v1.2.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/text v0.13.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
honnef.co/go/js/dom v0.0.0-20210725211120-f030747120f2 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/fyne-io/gl-js v0.0.0-20220119005834-d2da28d9ccfe h1:A/wiwvQ0CAjPkuJytaD+SsXkPU0asQ+guQEIg1BJGX4=
github.com/fyne-io/gl-js v0.0.0-20220119005834-d2da28d9ccfe/go.mod h1:d4clgH0/GrRwWjRzJJQXxT/h1TyuNSfF/X64zb/3Ggg=
github.com/fyne-io/glfw-js v0.0.0-20220120001248-ee7290d23504 h1:+31CdF/okdokeFNoy9L/2PccG3JFidQT3ev64/r4pYU=
github.com/fyne-io/glfw-js v0.0.0-20220120001248-ee7290d23504/go.mod h1:gLRWYfYnMA9TONeppRSikMdXlHQ97xVsPojddUv3b/E=
github.com/fyne-io/glfw-js v0.0.0-20220517201726-bebc2019cd33 h1:0Ayg0/do/sqX2R7NonoLZvWxGrd9utTVf3A0QvCbC88=
github.com/fyne-io/glfw-js v0.0.0-20220517201726-bebc2019cd33/go.mod h1:gLRWYfYnMA9TONeppRSikMdXlHQ97xVsPojddUv3b/E=
github.com/fyne-io/image v0.0.0-20220602074514-4956b0afb3d2 h1:hnLq+55b7Zh7/2IRzWCpiTcAvjv/P8ERF+N7+xXbZhk=
Expand Down
15 changes: 0 additions & 15 deletions internal/driver/glfw/shortcuts_js.go

This file was deleted.

11 changes: 0 additions & 11 deletions internal/driver/glfw/window_js.go

This file was deleted.

0 comments on commit 8b5c15c

Please sign in to comment.