{"action":"created","issue":{"url":"https://api.github.com/repos/JACoders/OpenJK/issues/604","labels_url":"https://api.github.com/repos/JACoders/OpenJK/issues/604/labels{/name}","comments_url":"https://api.github.com/repos/JACoders/OpenJK/issues/604/comments","events_url":"https://api.github.com/repos/JACoders/OpenJK/issues/604/events","html_url":"https://github.com/JACoders/OpenJK/pull/604","id":53279986,"number":604,"title":"Allow using an external libjpeg-turbo or libjpeg8","user":{"login":"smcv","id":1561141,"avatar_url":"https://avatars.githubusercontent.com/u/1561141?v=3","gravatar_id":"","url":"https://api.github.com/users/smcv","html_url":"https://github.com/smcv","followers_url":"https://api.github.com/users/smcv/followers","following_url":"https://api.github.com/users/smcv/following{/other_user}","gists_url":"https://api.github.com/users/smcv/gists{/gist_id}","starred_url":"https://api.github.com/users/smcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcv/subscriptions","organizations_url":"https://api.github.com/users/smcv/orgs","repos_url":"https://api.github.com/users/smcv/repos","events_url":"https://api.github.com/users/smcv/events{/privacy}","received_events_url":"https://api.github.com/users/smcv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-02T21:44:16Z","updated_at":"2015-01-02T22:07:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/JACoders/OpenJK/pulls/604","html_url":"https://github.com/JACoders/OpenJK/pull/604","diff_url":"https://github.com/JACoders/OpenJK/pull/604.diff","patch_url":"https://github.com/JACoders/OpenJK/pull/604.patch"},"body":"The JPEG code in OpenJK is basically the same as in ioquake3, which requires either its own  bundled copy of IJG libjpeg 8c, an external copy of IJG libjpeg >= 8, or any vaguely recent version of jpeg-turbo with the jpeg8-compatible MEM_SRCDST_SUPPORTED feature enabled.\r\n\r\nDistributions like Debian don't like to use embedded/bundled code copies: it makes it harder to fix security bugs. This branch allows the jpeg-8c directory to be unused, or deleted entirely, when the system libjpeg is suitable.\r\n\r\nI've made it default to use the bundled libjpeg on Windows or Mac, or a system libjpeg on Linux, since libjpeg is ubiquitous, and most Linux distributions use libjpeg-turbo these days. If you don't like that default, changing it (e.g. to default to the bundled copy everywhere) would be fine."},"comment":{"url":"https://api.github.com/repos/JACoders/OpenJK/issues/comments/68567134","html_url":"https://github.com/JACoders/OpenJK/pull/604#issuecomment-68567134","issue_url":"https://api.github.com/repos/JACoders/OpenJK/issues/604","id":68567134,"user":{"login":"smcv","id":1561141,"avatar_url":"https://avatars.githubusercontent.com/u/1561141?v=3","gravatar_id":"","url":"https://api.github.com/users/smcv","html_url":"https://github.com/smcv","followers_url":"https://api.github.com/users/smcv/followers","following_url":"https://api.github.com/users/smcv/following{/other_user}","gists_url":"https://api.github.com/users/smcv/gists{/gist_id}","starred_url":"https://api.github.com/users/smcv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smcv/subscriptions","organizations_url":"https://api.github.com/users/smcv/orgs","repos_url":"https://api.github.com/users/smcv/repos","events_url":"https://api.github.com/users/smcv/events{/privacy}","received_events_url":"https://api.github.com/users/smcv/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T22:07:30Z","updated_at":"2015-01-02T22:07:30Z","body":"This commit is also now part of #605."}}