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

Restore license headers to external files #5

Closed
AntonioND opened this issue Nov 30, 2020 · 8 comments
Closed

Restore license headers to external files #5

AntonioND opened this issue Nov 30, 2020 · 8 comments

Comments

@AntonioND AntonioND changed the title Restore license headers to extenal files Restore license headers to external files Nov 30, 2020
@evanbowman
Copy link
Owner

evanbowman commented Nov 30, 2020

It's not exactly that I copied the files and removed the licenses, you'll notice that some of the files don't even have the same names. I didn't want to have to link to the libgba library just for these files, and I copied the assembly instructions into these files, and probably didn't bother to copy the comment block at the top of the file. Now that I look at this licensing, does this mean that I need to convert this project to gpl, or just make the project open source, as I'm already doing?

P.s. Tonc, along with devkit arm, are specifically credited in the special thanks section of the in-game credits, I'm not trying to steal credit for other people's work. https://github.com/evanbowman/blind-jump-portable/blob/master/source/state/endingCreditsState.cpp#L67

@AntonioND
Copy link
Author

AntonioND commented Nov 30, 2020

Yeah, the files don't have the same names, but the content is the same. I understand not wanting to link with libgba just for 2 or 3 files, to be honest, but the fix is really easy in this case.

libgba is LGPL. I'm not sure how it works when you link it statically, to be fair. The thing is, your game is MIT, which is less restrictive than LGPL, so all you have to do is keep it as it is, open source, and restore the headers.

Giving credit is nice, but if the files don't have the right copyright, whoever copies them from your game doesn't know where they came from or the license they have, and they may assume they are MIT-licensed.

EDIT: libtonc is MIT-licensed as well, even though that's not as clear. devkitPro/libtonc#4

@evanbowman
Copy link
Owner

Ah I see, just a minute, I'll fix the files.

@evanbowman
Copy link
Owner

evanbowman commented Nov 30, 2020

Actually, I don't even think that I'm using any of the code from bios_math.s, at first I thought that these math routines from the bios were actually faster than the emulated division from devkitarm compiler, but turns out that there isn't really any significant difference, and in some cases, the compiler can optimize the emulated division better, because it has no concept really of what the assembly instructions in the bios look like.

@evanbowman
Copy link
Owner

I'll add the licences everywhere for now, and remove unused files later.

@evanbowman
Copy link
Owner

evanbowman commented Nov 30, 2020

Ok, I added back the licenses. For memcpy.s, which never had a license attached to the file in the first place, I inserted the licence, from the PR that you linked, at the top of the file. Let me know if this is acceptable.

https://github.com/evanbowman/blind-jump-portable/blob/master/source/platform/gba/memcpy.s

@AntonioND
Copy link
Author

Works for me.

@evanbowman
Copy link
Owner

Cool, thanks for your suggestions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants