Show HN: Quake 1 ported to the Apple Watch (opens in a new tab)github.com
692 pointsI ported Quake 1 to the Apple Watch, building on top of existing ports for iOS and Mac.
Some features:
* uses Quake SW renderer + blitting to WatchKit surface (~60 fps, 640x480, larger res can run on lower framerate, tested up until 1024x768)
* touch + gyro + digital crown controls
* new AVFoundation audio backend (quake to Watchkit audio buffer copy logic), as Watchkit does not support CoreAudio
* high pass audio filter to remove clicking on Watch speaker for some of the low frequency quake .wav samples
* some smaller modifications and code updates to glue Quake 1 c code to Objective C and Watchkit
https://www.youtube.com/watch?v=cPC2o262TfQ
Comments (216) 34 threads
Show all comments
Showing thread 20 of 34
Continue this thread — 1 reply
https://www.quakeworld.nu/wiki/Quake_Shareware_License
It's not that Apple doesn't allow anything here, they just impose their own T&C which breaches some, but not all, OSS licenses. And the workaround for the former is usually to have the contributors accept a small affidavit, which effectively puts their software in compliance with App Store.
If you copy and distribute the GPLv2 code or a work based on it in object or executable form, you have to do one of:
a) Accompany it with the complete machine-readable source code; or
b) Accompany it with a written offer valid for at least three years to give any third party a complete machine-readable copy of the source code, for a charge of no more than your cost of physically distributing the source; or
c) Accompany it with the information you received to distribute such code, but only if your distribution is noncommercial and you received it in object or executable code.
See GPLv2 section 3.
A developer uploads a copy of their app to the App Store. Apple then makes copies and distributes it when people buy it (for free or for money) on the App Store.
Since Apple is copying and distributing that GPLv2 code, Apple should have an obligation under GPLv2 section 3 to distribute the source. They would not be able to punt this obligation back on the developer via option c because their distribution is not noncommercial.
This is a crucial difference between app stores (and other digital goods stores) and stores selling physical products that contain GPL code.
Best Buy for example does not run into this problem when they sell you a TV that contains a Linux kernel because although they are in fact distributing a copy of a Linux kernel to you they did not make that copy. They received that copy from the TV manufacturer or a distributor and are just passing it along.
Copyright law in most places contains an exception, often called the "first sale doctrine", which states that once the copyright owner releases a particular copy, those who legally obtain that copy can give it away or sell it or rent it without requiring permission of the copyright owner. That covers Best Buy's case.
Unless there is some way to argue that when I but an app on the Apple App Store it is the developer who uploaded the app that is making the copy I get, I'm having trouble thinking of a way to avoid Apple having to handle GPLv2 source distribution if they let third party GPLv2 code on the store.
First party GPLv2 code would be OK, because then the developer owns the copyright and so can grant Apple the rights to distribute it in binary form without source code. (It has been a long time since I've read Apple's developer agreement, but I think it requires the developer to give Apple such rights).
Continue this thread — 1 reply
Is there any write-up on that that explains how exactly they did that?
> For example, this is what iSH uses to legally ship an entire x86 Linux userland inside of an app.
An entire userland?! AFIR it only shipped the gnu toolkit, the rest is downloaded from the repositories?
Continue this thread — 3 replies
Continue this thread — 6 replies
Continue this thread — 1 reply
Continue this thread — 2 replies
Continue this thread — 1 reply