Docs: relicense XSEmu to GPL-3.0-or-later #24
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/zortos293--XSEmu!24
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-24"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@zortos293 on GitHub · 2026-11-27 14:04 UTC · original
zortos293:capy/relicense-xsemu-to-gpl→main· +653 −308 · 12 files · 1 commits · merged 2026-11-27 14:32 UTCRelicenses XSEmu from GPL-2.0-only to GPL-3.0-or-later. Upstream XCL did the same today in xcl-dev/xcl@06f90c1 ("Docs: relicense XCL to GPL-3.0-or-later (#3002)") so code can move between XCL and the GPL-3.0 VIctory forks. XSEmu already carries GPL-3.0-or-later material from VIctory / cool_fox / CGBJ (
title_gta6_ambient.rs,image_writeback.rs, the marked parts oftitle_gta6.rs,pso_manifest.rs,pso_sched.rs,warm_children.rs), which conflicted with the old GPL-2.0-only declaration. This follows the upstream commit file for file where XSEmu has the same file. No code change.What is in it
LICENSE: the GPL-3.0 text from https://www.gnu.org/licenses/gpl-3.0.txt, byte for byte (sha2563972dc97…6986, the same file as upstream'sLICENSEat 06f90c1).Cargo.toml(workspace, inherited byxcl,xcl-bcpack,xcl-testtitle,testgame-mw) andcrates/xcl-dxil/Cargo.toml:license = "GPL-3.0-or-later".cargo metadatareports it for all five packages.README.md(badge, licence paragraph citing 06f90c1),UPSTREAM.mdandCONTRIBUTING.md: the new licence and upstream's GPL-3.0 compatibility rule for dependencies. XSEmu has noAGENTS.mdorSECURITY.md.THIRD_PARTY.md: upstream's GPL-3.0 wording (§5a provenance notes, §1 system libraries, the compatible-licence list) and upstream's reclassification of AnyPS5 as a reference only. New rows: XCL (GPL-3.0-or-later since 06f90c1), VIctory and its GPL-3.0 forks with the files that carry their code, Qt (LGPL-3.0, linked dynamically) and the launcher's third-party runners (GPL-3.0, not distributed). The DXC row is unchanged.gpu/recomp/emit.rsnow say the hardware behaviour was read as a reference with no code taken (an AnyPS5 port would be GPL-2.0-only and could not be combined with GPL-3.0), and the FFmpeg ports inhle/xma2/no longer name GPL-2.0-only. Every VIctory / CGBJ provenance comment and GPL-3 notice is untouched.GPL-3.0-or-later).HANDOFF.mdanddocs/specs/still describe the 2026-11-20 move to GPL-2.0-only. They are dated design notes, and upstream left them alone too.Tested
crates/xcl/build.rscomputesXCL_TRANSLATOR_SOURCE_ID=39e20e03828ad27abefore and after (theemit.rsedits are comments, which the fingerprint strips), so no shader cache rekey.cargo metadatafor the workspace andcrates/xcl-dxil: all packages reportGPL-3.0-or-later.Regression run
Not needed: docs, comments, Cargo metadata and launcher strings only.
Not tested
AI use
Summary by CodeRabbit
@coderabbitai[bot] on GitHub · 2026-11-27 14:04 UTC · original · edited 2026-11-27 14:08 UTC
Walkthrough
The project’s license text and declarations change from GPL-2.0 to GPL-3.0-or-later. Dependency compatibility and source-provenance notes are revised. Crate metadata, source comments, the built-in runner, and the launcher’s About section also receive licensing updates.
Changes: Project licensing update
LICENSE,Cargo.toml,crates/xcl-dxil/Cargo.tomlLICENSEis replaced with the GPL version 3 text. Workspace and crate license metadata changes toGPL-3.0-or-later.CONTRIBUTING.md,README.md,THIRD_PARTY.md,UPSTREAM.mdcrates/xcl/src/gpu/recomp/emit.rs,crates/xcl/src/hle/xma2/*,launcher/src/core/Runner.cpp,launcher/src/pages/settings/AboutSection.cppEstimated code review effort: 2 (Simple) | ~15 minutes
Change: Other
Merge Risk:
Moderate · up to
a4e51This license change drops the record that two GPU recompiler functions were ported from GPL-2.0-only AnyPS5 code, without changing the code. Resolve that provenance question, or restore the notes, before declaring the whole project GPL-3.0-or-later. The required PR check is also failing because the regression run is missing a smoke-test block for this commit.
Pre-merge checks:
4
Full details: Title check
Explanation
The title "Docs: relicense XSEmu to GPL-3.0-or-later" names the main change: the project license moves from GPL-2.0-only to GPL-3.0-or-later. The changeset updates LICENSE, Cargo license metadata, README, THIRD_PARTY.md, UPSTREAM.md, CONTRIBUTING.md and launcher license strings, which all match this title. The title is concise and specific. The "Docs:" prefix is slightly misleading because the change also touches Cargo metadata and launcher C++ strings, but it does not make the title unrelated.
Full details: Description check
Explanation
The description follows the template well. It gives a clear summary and a 'What is in it' list covering each changed file. It includes a 'Tested' section with the fingerprint and metadata checks. It has a 'Regression run' section that explains why none is needed, since the change covers docs, comments, Cargo metadata and launcher strings only, and this matches the template's rule for non-crates/xcl/src changes. It has a 'Not tested' section and an 'AI use' section. The 'Tested' section does not fill in the hardware/Rust version line or the cargo test line, so it is slightly incomplete. The 'Tested' section also does not cover the cargo test run. Those gaps are minor because the change has no code change.
Finishing Touches
Generate unit tests (beta)
Fix failing CI checks
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
CodeRabbit Verify
@capy-ai[bot] on GitHub · 2026-11-27 14:06 UTC · original · reviewed
Capy found no issues.
View 1 other finding in Capy.
@ -9,1 +9,3 @@| [AnyPS5](https://github.com/boykopovar/AnyPS5) | GPL-2.0-only | recompiler (`crates/xcl/src/gpu/recomp/`) – portions of logic marked in the files | port to Rust/HLSL with annotation || [XCL](https://github.com/xcl-dev/xcl) | GPL-3.0-or-later since [`06f90c1`](https://github.com/xcl-dev/xcl/commit/06f90c1986f43698d0405eff3c2ab0af230e1ed9) (2026-11-27; GPL-2.0-only before) | the base of XSEmu: loader, runtime shims, shader recompiler and test suite (forked at `f311ca5`, general fixes merged from `main`) | fork || [VIctory](https://github.com/Marvisak/VIctory) and its GPL-3.0 forks (CGBJ / [cool_fox](https://github.com/codec-d/cool_fox), [DoubleGhosty/cool_fox](https://github.com/DoubleGhosty/cool_fox) and the forks named in each file's header) | GPL-3.0 | marked parts of `crates/xcl/src/hle/d3d12x/`: `title_gta6.rs`, `title_gta6_ambient.rs`, `image_writeback.rs`, `pso_manifest.rs`, `pso_sched.rs`, `warm_children.rs`; behaviour only, no code, in `texture_alias.rs` and `pso_library.rs` | port to Rust with annotation (each header names the source commit and lines) || [AnyPS5](https://github.com/boykopovar/AnyPS5) | GPL-2.0-only | no code; read as a description of RDNA behaviour (descriptor fields, MIMG A16 address layout, 16-bit VALU halves), which the recompiler (`crates/xcl/src/gpu/recomp/`) implements independently | reference only |@coderabbitai[bot] on GitHub · 2026-11-27 14:08 UTC · original
Restore the AnyPS5 provenance record, or document independent authorship before relicensing.
THIRD_PARTY.md:11now describes AnyPS5 as "reference only", andcrates/xcl/src/gpu/recomp/emit.rsreplaces the "ported 2026-11-20" annotations at lines 3246-3248 and 4332-4333 with "no code taken". This PR does not change the code those comments describe. The base revision recorded that code as a GPL-2.0 port. Removing the record without a code change leaves the provenance unresolved. Under the file's own compatibility rule, GPL-2.0-only code cannot be relicensed to GPL-3.0-or-later without permission. If the annotated logic derives from AnyPS5, this license declaration does not cover it.Before this change merges, do one of the following:
emit.rsand the AnyPS5 row inTHIRD_PARTY.md, and resolve the license for that code. This requires permission from the AnyPS5 copyright holders.THIRD_PARTY.mdand the affected doc comments.Do not change the attribution text while the code remains unchanged.
@coderabbitai[bot] on GitHub · 2026-11-27 14:08 UTC · original · reviewed
Actionable comments posted: 1
f60d68d3-87a8-4f26-aedb-db32f053a3aeReviewing files that changed from the base of the PR and between
5e3a27e675anda4e513f043.CONTRIBUTING.mdCargo.tomlLICENSEREADME.mdTHIRD_PARTY.mdUPSTREAM.mdcrates/xcl-dxil/Cargo.tomlcrates/xcl/src/gpu/recomp/emit.rscrates/xcl/src/hle/xma2/mod.rscrates/xcl/src/hle/xma2/tables.rslauncher/src/core/Runner.cpplauncher/src/pages/settings/AboutSection.cppIncluded review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.