-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Add to.us.scrollprotocol.Profectus #5245
Conversation
@hfiguiere I was getting compilation errors from not having SDL2, SDL2-ttf, and SDL2-image. |
the pkg-config are there. Definitely in the SDK / runtime. |
I'll try again without them and see how that goes. |
@hfiguiere Here's the compilation error that I'm getting when I don't have the SDL2 libraries being built in the manifest:
|
that's in SDL_gfx, which is NOT in the runtime. |
@hfiguiere I'm still building sdl-gfx. To my understanding, sdl2-gfx is trying to include a header from SDL2, but it CANNOT find it. |
Maybe because the proper include path are not set, and it's a fluke that it works. I know nothing about Go. |
is SDL2_gfx from what I can read |
You're right, sorry. SDL2_framerate.h is in fact in sdl2-gfx and not sdl2. I don't understand why it compiled before then when I was building everything in the manifest. |
According to this issue, it seems to be a problem related to pkg-config: veandco/go-sdl2#565 |
probably because it doesn't check for the SDL2_gfx package separately and they end up all in the same prefix, as it seems the SDL2 headers are dumped into the A |
Makes sense. Thanks. sigh |
or maybe what |
I'm going to fix the metainfo stuff first and then I'll come back to this gfx problem and see what I can do. |
I think I'm getting it to build by using CGO_CFLAGS and putting in that pkg-config command. Thanks for your help @hfiguiere ! Just waiting for this compile to finish to see. |
Ok, so this is the issue I'm getting now:
When using this command to build: Idk if the cgo settings in the sdl2 golang bindings library is messing with thing. All I know is I hate this so much right now 🤣 |
you need to set the LDFLAGS too. with |
@hfiguiere Thanks you, thank you, thank you. You saved me hours of trying to figure out how to fix this! |
bot, build to.us.scrollprotocol.Profectus |
Queued test build for to.us.scrollprotocol.Profectus. |
Started test build 121315 |
Build 121315 failed |
Ok, now it seems there's a problem with mmx or something:
@bbhtt Do you know of a way to disable mmx, perhaps? |
bot, build to.us.scrollprotocol.Profectus |
Queued test build for to.us.scrollprotocol.Profectus. |
Started test build 121329 |
Build 121329 successful
|
Ok, I've tested the flatpak build, and it seems to work well on my system. |
bot, build to.us.scrollprotocol.Profectus |
Queued test build for to.us.scrollprotocol.Profectus. |
Started test build 122057 |
Build 122057 successful
|
bot, build to.us.scrollprotocol.Profectus |
Queued test build for to.us.scrollprotocol.Profectus. |
Started test build 122276 |
Build 122276 successful
|
/merge |
A repository for this submission has been created: https://github.com/flathub/to.us.scrollprotocol.Profectus You will receive an invitation to be a collaborator which will grant you write access to the repository above. The invite can be also viewed here. If you've never maintained an app on Flathub before, common questions are answered in the app maintenance guide. If you're the original developer (or an authorized party), verify your app next to let users know it's coming from you. Thanks! |
Please confirm your submission meets all the criteria
Description
Profectus is a new GUI smallnet browser to rival lagrange in terms of performance, visual design, and features. It supports the Gemini, Nex, Spartan, and Scroll protocols, as well as music streaming (mp3, vorbis, flac, and wav), and animated images (gif, apng, jpeg xl, avif). It is written in Golang using SDL and a custom GUI.
Application Repository: https://gitlab.com/clseibold/profectus
Gitlab Profile: https://gitlab.com/clseibold