fix: unify purego fork to ebitengine/purego, resolve dlopen symbol conflict
Both jwijenbergh/purego and ebitengine/purego define dlopen in assembly, causing a linker error. Migrated the single jwijenbergh/purego import in webkit/gobject_type_helpers.go to ebitengine/purego. Added local replace directives for puregotk and puregotk-webkit. jwijenbergh/purego is now fully eliminated from the dependency tree.
- commit
- ecda50cc1eb7d681126c3c76f866f6e7a0b09955
- author
- brice · · 2026-03-19 16:43 UTC
- committer
- brice · · 2026-03-28 04:36 UTC
- parent
- 4fea28f
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
3 files · +11 -14
M go.mod +0 -1
| @@ -40,7 +40,6 @@ require ( | |||
| 40 | 40 | github.com/clipperhouse/uax29/v2 v2.5.0 // indirect | |
| 41 | 41 | github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect | |
| 42 | 42 | github.com/davecgh/go-spew v1.1.1 // indirect | |
| 43 | - | github.com/ebitengine/purego v0.10.0 // indirect | |
| 44 | 43 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | |
| 45 | 44 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | |
| 46 | 45 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| @@ -40,7 +40,6 @@ require ( | |||||
| 40 | github.com/clipperhouse/uax29/v2 v2.5.0 // indirect | 40 | github.com/clipperhouse/uax29/v2 v2.5.0 // indirect | ||
| 41 | github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect | 41 | github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect | ||
| 42 | github.com/davecgh/go-spew v1.1.1 // indirect | 42 | github.com/davecgh/go-spew v1.1.1 // indirect | ||
| 43 | - | github.com/ebitengine/purego v0.10.0 // indirect | |||
| 44 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | 43 | github.com/erikgeiser/coninput v0.0.0-20211004153227-1c3628e74d0f // indirect | ||
| 45 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | 44 | github.com/go-viper/mapstructure/v2 v2.5.0 // indirect | ||
| 46 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 45 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
M go.sum +10 -12 generated file: collapsed
M internal/infrastructure/cef/gl_loader.go +1 -1
| @@ -4,7 +4,7 @@ import ( | |||
| 4 | 4 | "fmt" | |
| 5 | 5 | "unsafe" | |
| 6 | 6 | ||
| 7 | - | "github.com/jwijenbergh/purego" | |
| 7 | + | "github.com/ebitengine/purego" | |
| 8 | 8 | ) | |
| 9 | 9 | ||
| 10 | 10 | // OpenGL constants for PBO-based texture rendering. | |
| @@ -4,7 +4,7 @@ import ( | |||||
| 4 | "fmt" | 4 | "fmt" | ||
| 5 | "unsafe" | 5 | "unsafe" | ||
| 6 | 6 | ||||
| 7 | - | "github.com/jwijenbergh/purego" | 7 | + | "github.com/ebitengine/purego" |
| 8 | ) | 8 | ) | ||
| 9 | 9 | ||||
| 10 | // OpenGL constants for PBO-based texture rendering. | 10 | // OpenGL constants for PBO-based texture rendering. | ||