Hacker News new | ask | show | jobs
by icebraining 3504 days ago
You can do that if you're the copyright owner of all the code (or have some kind of CLA granting your licensing rights). Then you can distribute the app under one license on the App Store and under the GPL somewhere else.

But if you're the "someone else" who just got the code with the GPL license from the original devs, you can't redistribute it under any other license, hence the impossibility of putting it on the App Store.

1 comments

Thats not what I mean. You are not the copyright owner, you take it (under GPL terms) and upload it to the App store. The uploaded version is restricted, as per Apples terms. Users do not yet have the rights you need to grant them according to the GPL. You fulfill your obligations, granting these rights, in the next step.

Then, outside of the App store, you give everybody an additional copy. The GPL is satisfied, since the user gets to distribute the binary, and gets the source.

You are not distributing it separately under two licenses, but at the same time over two channels.

It's like you have a locked-down computer in a high security room, and I want to send you a program. "A" enforces the security of the room and while you can download stuff to the computer, you can't copy stuff from it. "G" supplies the software to me, and says I can give it to other people, as long as I allow them to have the source and pass it on under the same terms. I would say you can satisfy both at the same time by giving the customer an additional copy at the same instant, say on a USB drive.

Ah, well, with the huge caveat that IANAL, I don't think that can work here. Maybe if the only right was the access and distribution of the source, but one of the GPL Four Freedoms is "The freedom to run the program as you wish, for any purpose", and the App Store terms restrict that.