-
Notifications
You must be signed in to change notification settings - Fork 811
Add "SDL3 ImGui File Dialogs" Port... #405
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
base: main
Are you sure you want to change the base?
Conversation
Very special thanks to @k3nrap from the FreeBSD Discord for all the hard work that went into this! :D
@@ -0,0 +1,3 @@ | |||
bin/filedialogs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this some sort of demo program?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's a demo program but also a command line interface, serves a similar purpose as zenity or kdialog
@@ -0,0 +1,65 @@ | |||
PORTNAME= sdl3-imgui-filedialogs | |||
DISTVERSIONPREFIX= v | |||
DISTVERSION= 0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any mentions of this version string in the software's repo. It might be better to use g20250603
here - the date of the 8d28d3688accaa00cb5bf56919c57cfee134a937 commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also need to refresh distinfo
after changing DISTVERSION
.
do-build: | ||
mkdir ${WRKSRC}/_build | ||
cmake "${WRKSRC}/filedialogs/lunasvg" -B "${WRKSRC}/_build" | ||
make -j${MAKE_JOBS_NUMBER} -C "${WRKSRC}/_build" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These steps seem to match with what USES=cmake
does. Why have :indirect
and put these commands into do-build
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me test that too.
It looks like your project statically links to various dependencies that wasn't developed by you. I'm not a lawyer at all, but are you sure that deps licenses permit that? |
@arrowd My understanding on MIT is that as long as the license files remain in tact for all authors it should be fine. When i made this pull request I didn't really think about the fact the author listed in the port is just myself and doesn't include the other authors. i wasn't the one who wrote this port initially. I'll fix that now. |
Is this software a plugin for either SDL or imgui? |
im not sure, depends on how you define plugin. |
@arrowd I updated the license in the root of the repository, it now includes mention of everyone involved that is statically linked afaik: I will add this license to be exported by the makefile |
When this pr is approved, im too lazy to learn how to squash commits again; im going to close this pr and open a fresh one with the most up to date changes so it is all one commit. |
A couple of points regarding this:
|
The post-build section is a no go, fix Makefile or use something that works as intended |
|
Could you please be more specific on what the direct issue is? I have no idea what you are referring to. The Makefile used to be written wrongly in a way the produced executable would segfault, because I accidentally passed the |
It's simply not maintainable, there are very few cases where we provide our own build / build file but that's in cases where there's an issue with upstream (dead, not accepting patches, unable to contact etc). Just fix it since you're upstream. |
@diizzyy I don't mean to be annoying, but I still don't understand what you are trying to say. Fix what? Everything is working for me. Edit: Are you saying I shouldn't include build instructions in the Makefile? how is it supposed to build without it? Are you saying I should bulid using the Makefile in my repository and somehow call that Makefile from the port's Makeifle? |
What I'm saying is that post-build shouldn't be needed at all, this should all be done in the project's Makefile (whatever it uses). |
@diizzyy |
That's what I figured you meant, or at least something similar. Thanks for the info. |
I'm not sure how to most appropriately include the individual licenses and associated copyright holders. Should I have all the licenses and copyright holders in one file like I did before? Or should I keep them in different files, even if some of those files are the exact same license, just associated with a different project and/or copyright holder? I'm very new to this so I have no idea what is considered OK and what isn't. Should I give a title to each license file explaining which portions of the software the copyright and license covers? For example, for the imgui license, caption it with "imgui"? |
Very special thanks to @k3nrap from the FreeBSD Discord for all the hard work that went into this! :D