Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New package: supersonic-desktop-0.13.2 #53632

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fanyx
Copy link
Contributor

@fanyx fanyx commented Dec 22, 2024

Resolves #53617

Testing the changes

  • I tested the changes in this PR: NO(t yet, i can get to after the holidays)

@tommyalatalo Feel free to test, if you are able

Might be missing runtime dependencies.

New package

Local build testing

  • I built this PR locally for my native architecture, (x86_64-glibc)

@fanyx fanyx marked this pull request as draft December 22, 2024 18:09
@classabbyamp classabbyamp added the new-package This PR adds a new package label Dec 22, 2024
@tommyalatalo
Copy link
Contributor

Hi, thanks for creating this template!
It builds and installs successfully, but the application errors when trying to start it.
For what it's worth I checked out the same package from nix package manager, and it fails with the same error.

❯ supersonic
2024/12/22 19:20:49 Error reading app config file: open /home/tommy/.config/supersonic/config.toml: no such file or directory
2024/12/22 19:20:49 Starting supersonic...
2024/12/22 19:20:49 Using config dir: /home/tommy/.config/supersonic
2024/12/22 19:20:49 Using cache dir: /home/tommy/.cache/supersonic
2024/12/22 19:20:50 failed to load theme file "": open /home/tommy/.config/supersonic/themes: no such file or directory
go-gl/glfw: internal error: an uncaught error has occurred: APIUnavailable: GLX: No GLXFBConfigs returned
go-gl/glfw: Please report this in the Go package issue tracker.
go-gl/glfw: internal error: an invalid error was not accepted by the caller: FormatUnavailable: GLX: Failed to find a suitable GLXFBConfig
go-gl/glfw: Please report this in the Go package issue tracker.
panic: FormatUnavailable: GLX: Failed to find a suitable GLXFBConfig

goroutine 1 [running, locked to thread]:
github.com/go-gl/glfw/v3.3/glfw.acceptError({0xc000019728, 0x2, 0x1d7a4770?})
        github.com/go-gl/glfw/v3.3/[email protected]/error.go:181 +0x225
github.com/go-gl/glfw/v3.3/glfw.CreateWindow(0xa, 0xa, {0xf0e3e4?, 0xe?}, 0x0, 0x0)
        github.com/go-gl/glfw/v3.3/[email protected]/window.go:349 +0x15d
fyne.io/fyne/v2/internal/driver/glfw.(*window).create.func1()
        fyne.io/fyne/[email protected]/internal/driver/glfw/window_desktop.go:751 +0x11f
fyne.io/fyne/v2/internal/driver/glfw.runOnMain(0x0?)
        fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:45 +0xd0
fyne.io/fyne/v2/internal/driver/glfw.(*window).create(0xc000441180)
        fyne.io/fyne/[email protected]/internal/driver/glfw/window_desktop.go:723 +0x56
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).SetSystemTrayMenu.func1()
        fyne.io/fyne/[email protected]/internal/driver/glfw/driver_desktop.go:71 +0xfb
sync.(*Once).doSlow(0xedaa20?, 0x1f6a401?)
        sync/once.go:76 +0xb4
sync.(*Once).Do(...)
        sync/once.go:67
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).SetSystemTrayMenu(0xc000476c30, 0xc00080c6f0)
        fyne.io/fyne/[email protected]/internal/driver/glfw/driver_desktop.go:42 +0x4d
fyne.io/fyne/v2/app.(*fyneApp).SetSystemTrayMenu(0xeff74c?, 0xc00080c6f0?)
        fyne.io/fyne/[email protected]/app/app_xdg.go:105 +0x3c
github.com/dweymouth/supersonic/ui.(*MainWindow).SetupSystemTrayMenu(0xc000400880, {0xf0808f, 0xa}, {0x107e538?, 0xc0002ae820})
        github.com/dweymouth/supersonic/ui/mainwindow.go:268 +0x92c
github.com/dweymouth/supersonic/ui.NewMainWindow({0x107e538, 0xc0002ae820}, {0xc0000b2688?, 0xc0000b2698?}, {0xf0808f, 0xa}, {0xf01b1a, 0x6}, 0xc000381508)
        github.com/dweymouth/supersonic/ui/mainwindow.go:60 +0x306
main.main()
        github.com/dweymouth/supersonic/main.go:53 +0x293

@fanyx
Copy link
Contributor Author

fanyx commented Dec 22, 2024

thanks for checking so fast!
i'll have a look once i get on my laptop.

@matthewbeaudoin
Copy link
Contributor

matthewbeaudoin commented Dec 22, 2024

I've been using Supersonic with a build template based on #47986 for a while now, and I've had no problems building and running v0.13.2.

The only difference to the previous PR is the addition of go_build_tags="wayland" to the template (not including the version and checksum, of course).

@tommyalatalo
Copy link
Contributor

Ah yes sorry, scratch all I said above, I'm an idiot... I still had the nix package installed and accidentally started that instead of the void package.

The void package works, the only thing I would say I'm missing is an application shortcut so that it can be started from a launcher and not just from the cli, would that be possible to include?

@fanyx
Copy link
Contributor Author

fanyx commented Dec 23, 2024

I'll add the application shortcut, similar to matthew's solution.

@michalszmidt where did you get the dependency on libsecret and libayatana-appindicator in you template?
I don't see them listed on the github install docs and it works without just fine.

@fanyx fanyx changed the title New package: supersonic-0.13.2 New package: supersonic-desktop-0.13.2 Dec 23, 2024
@fanyx fanyx marked this pull request as ready for review December 23, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-package This PR adds a new package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Package request: supersonic
4 participants