chore(deps): pin puregotk nil-signal fix
- commit
- a161e348e2093172038390b0906448f0ae979a0d
- author
- brice · · 2026-07-14 17:11 UTC
- parent
- c053b99
- signature
- GPG Verified
CD88F9E564E0102646FB6077A1A07C7C7C3E349D· arch-gpg Verified for the committer email
905 files · +27842 -25263
M go.mod +1 -1
| @@ -10,7 +10,7 @@ require ( | |||
| 10 | 10 | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | |
| 11 | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | |
| 12 | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | |
| 13 | - | github.com/bnema/puregotk v0.7.0 | |
| 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 | |
| 14 | 14 | github.com/charmbracelet/bubbles v1.0.0 | |
| 15 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | |
| 16 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | |
| @@ -10,7 +10,7 @@ require ( | |||||
| 10 | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | 10 | github.com/bnema/purego-cef2gtk v0.8.4-0.20260714160309-bbd397409ebe | ||
| 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | 11 | github.com/bnema/purego-pipewire v0.1.5-0.20260714124450-6504b9cdf02a | ||
| 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | 12 | github.com/bnema/purego-sqlite v0.1.4-0.20260714131321-3614fe683b9c | ||
| 13 | - | github.com/bnema/puregotk v0.7.0 | 13 | + | github.com/bnema/puregotk v0.7.1-0.20260714170452-0b6b9b901234 |
| 14 | github.com/charmbracelet/bubbles v1.0.0 | 14 | github.com/charmbracelet/bubbles v1.0.0 | ||
| 15 | github.com/charmbracelet/bubbletea v1.3.10 | 15 | github.com/charmbracelet/bubbletea v1.3.10 | ||
| 16 | github.com/charmbracelet/lipgloss v1.1.0 | 16 | github.com/charmbracelet/lipgloss v1.1.0 | ||
M go.sum +4 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/internal/core/core.go +197 -4 generated file: collapsed
M vendor/github.com/bnema/puregotk/pkg/core/core.go +10 -0 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-dialog.go +99 -64 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-about-window.go +95 -62 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-accent-color.go +7 -15 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-action-row.go +33 -29 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-alert-dialog.go +66 -47 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-target.go +10 -27 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation-util.go +4 -12 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-animation.go +24 -26 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application-window.go +14 -22 generated file: collapsed
M vendor/github.com/bnema/puregotk/v4/adw/adw-application.go +3 -15
| @@ -5,7 +5,6 @@ import ( | |||
| 5 | 5 | "structs" | |
| 6 | 6 | "unsafe" | |
| 7 | 7 | ||
| 8 | - | "github.com/bnema/purego" | |
| 9 | 8 | "github.com/bnema/puregotk/pkg/core" | |
| 10 | 9 | "github.com/bnema/puregotk/v4/gio" | |
| 11 | 10 | "github.com/bnema/puregotk/v4/glib" | |
| @@ -87,6 +86,7 @@ type Application struct { | |||
| 87 | 86 | var xApplicationGLibType func() types.GType | |
| 88 | 87 | ||
| 89 | 88 | func ApplicationGLibType() types.GType { | |
| 89 | + | core.LazyRegister(&xApplicationGLibType, "ADW", "adw_application_get_type", false) | |
| 90 | 90 | return xApplicationGLibType() | |
| 91 | 91 | } | |
| 92 | 92 | ||
| @@ -106,6 +106,7 @@ var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr | |||
| 106 | 106 | // If no application ID is given then some features (most notably application | |
| 107 | 107 | // uniqueness) will be disabled. | |
| 108 | 108 | func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application { | |
| 109 | + | core.LazyRegister(&xNewApplication, "ADW", "adw_application_new", false) | |
| 109 | 110 | var cls *Application | |
| 110 | 111 | ||
| 111 | 112 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | |
| @@ -128,6 +129,7 @@ var xApplicationGetStyleManager func(uintptr) uintptr | |||
| 128 | 129 | // This is a convenience property allowing to access `AdwStyleManager` through | |
| 129 | 130 | // property bindings or expressions. | |
| 130 | 131 | func (x *Application) GetStyleManager() *StyleManager { | |
| 132 | + | core.LazyRegister(&xApplicationGetStyleManager, "ADW", "adw_application_get_style_manager", false) | |
| 131 | 133 | var cls *StyleManager | |
| 132 | 134 | ||
| 133 | 135 | cret := xApplicationGetStyleManager(x.GoPointer()) | |
| @@ -488,18 +490,4 @@ func (x *Application) RemoveActionEntries(EntriesVar []gio.ActionEntry, NEntries | |||
| 488 | 490 | func init() { | |
| 489 | 491 | core.SetPackageName("ADW", "libadwaita-1") | |
| 490 | 492 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | |
| 491 | - | var libs []uintptr | |
| 492 | - | for _, libPath := range core.GetPaths("ADW") { | |
| 493 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |
| 494 | - | if err != nil { | |
| 495 | - | panic(err) | |
| 496 | - | } | |
| 497 | - | libs = append(libs, lib) | |
| 498 | - | } | |
| 499 | - | ||
| 500 | - | core.PuregoSafeRegister(&xApplicationGLibType, libs, "adw_application_get_type") | |
| 501 | - | ||
| 502 | - | core.PuregoSafeRegister(&xNewApplication, libs, "adw_application_new") | |
| 503 | - | ||
| 504 | - | core.PuregoSafeRegister(&xApplicationGetStyleManager, libs, "adw_application_get_style_manager") | |
| 505 | 493 | } | |
| @@ -5,7 +5,6 @@ import ( | |||||
| 5 | "structs" | 5 | "structs" | ||
| 6 | "unsafe" | 6 | "unsafe" | ||
| 7 | 7 | ||||
| 8 | - | "github.com/bnema/purego" | |||
| 9 | "github.com/bnema/puregotk/pkg/core" | 8 | "github.com/bnema/puregotk/pkg/core" | ||
| 10 | "github.com/bnema/puregotk/v4/gio" | 9 | "github.com/bnema/puregotk/v4/gio" | ||
| 11 | "github.com/bnema/puregotk/v4/glib" | 10 | "github.com/bnema/puregotk/v4/glib" | ||
| @@ -87,6 +86,7 @@ type Application struct { | |||||
| 87 | var xApplicationGLibType func() types.GType | 86 | var xApplicationGLibType func() types.GType | ||
| 88 | 87 | ||||
| 89 | func ApplicationGLibType() types.GType { | 88 | func ApplicationGLibType() types.GType { | ||
| 89 | + | core.LazyRegister(&xApplicationGLibType, "ADW", "adw_application_get_type", false) | |||
| 90 | return xApplicationGLibType() | 90 | return xApplicationGLibType() | ||
| 91 | } | 91 | } | ||
| 92 | 92 | ||||
| @@ -106,6 +106,7 @@ var xNewApplication func(uintptr, gio.ApplicationFlags) uintptr | |||||
| 106 | // If no application ID is given then some features (most notably application | 106 | // If no application ID is given then some features (most notably application | ||
| 107 | // uniqueness) will be disabled. | 107 | // uniqueness) will be disabled. | ||
| 108 | func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application { | 108 | func NewApplication(ApplicationIdVar *string, FlagsVar gio.ApplicationFlags) *Application { | ||
| 109 | + | core.LazyRegister(&xNewApplication, "ADW", "adw_application_new", false) | |||
| 109 | var cls *Application | 110 | var cls *Application | ||
| 110 | 111 | ||||
| 111 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | 112 | ApplicationIdVarPtr := core.GStrdupNullable(ApplicationIdVar) | ||
| @@ -128,6 +129,7 @@ var xApplicationGetStyleManager func(uintptr) uintptr | |||||
| 128 | // This is a convenience property allowing to access `AdwStyleManager` through | 129 | // This is a convenience property allowing to access `AdwStyleManager` through | ||
| 129 | // property bindings or expressions. | 130 | // property bindings or expressions. | ||
| 130 | func (x *Application) GetStyleManager() *StyleManager { | 131 | func (x *Application) GetStyleManager() *StyleManager { | ||
| 132 | + | core.LazyRegister(&xApplicationGetStyleManager, "ADW", "adw_application_get_style_manager", false) | |||
| 131 | var cls *StyleManager | 133 | var cls *StyleManager | ||
| 132 | 134 | ||||
| 133 | cret := xApplicationGetStyleManager(x.GoPointer()) | 135 | cret := xApplicationGetStyleManager(x.GoPointer()) | ||
| @@ -488,18 +490,4 @@ func (x *Application) RemoveActionEntries(EntriesVar []gio.ActionEntry, NEntries | |||||
| 488 | func init() { | 490 | func init() { | ||
| 489 | core.SetPackageName("ADW", "libadwaita-1") | 491 | core.SetPackageName("ADW", "libadwaita-1") | ||
| 490 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | 492 | core.SetSharedLibraries("ADW", []string{"libadwaita-1.so.0", "libadwaita-1.0.dylib"}) | ||
| 491 | - | var libs []uintptr | |||
| 492 | - | for _, libPath := range core.GetPaths("ADW") { | |||
| 493 | - | lib, err := purego.Dlopen(libPath, purego.RTLD_NOW|purego.RTLD_GLOBAL) | |||
| 494 | - | if err != nil { | |||
| 495 | - | panic(err) | |||
| 496 | - | } | |||
| 497 | - | libs = append(libs, lib) | |||
| 498 | - | } | |||
| 499 | - | ||||
| 500 | - | core.PuregoSafeRegister(&xApplicationGLibType, libs, "adw_application_get_type") | |||
| 501 | - | ||||
| 502 | - | core.PuregoSafeRegister(&xNewApplication, libs, "adw_application_new") | |||
| 503 | - | ||||
| 504 | - | core.PuregoSafeRegister(&xApplicationGetStyleManager, libs, "adw_application_get_style_manager") | |||
| 505 | } | 493 | } | ||