refactor(libSceShare): build libSceShare.native from the libSceShare sources #1538
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1538"
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?
Imported from boykopovar/AnyPS5. Originally posted by Deses on 2026-10-08T11:41:43Z.
What
Depends on #1544. Until it is merged, this branch carries its commit (cherry-picked, authorship kept); the change of this PR is the last commit,
refactor(libSceShare): build libSceShare.native from the libSceShare sources.libSceShare.native was a copy of libSceShare's
Export.cppbuilt through the fallback incore/libs/CMakeLists.txt. #1544 brings the copy in line with libSceShare by duplicating the function bodies. This PR removes the copy and builds libSceShare.native from libSceShare's sources instead:libSceShare/ShareLibrary.cmakeaddsadd_sce_share_library(target), the pattern oflibSceFont/FontLibrary.cmakeandlibSceAudiodec/AudiodecLibrary.cmake. libSceShare and libSceShare.native both use it.libSceShare.native/Export.cppis deleted. libSceShare.native now also exports the calls only libSceShare had (sceShareCaptureScreenshotExtended,sceShareCaptureVideoClipExtended,sceShareGetRunningStatus,sceShareSetContentParamForApplicationTitle); none of its previous exports is lost.guest_share_nativerunsGuestShare.cppagainst libSceShare.native.sceShareGetCurrentStatusentry in TechnicalDebt no longer links the deleted file.No behaviour changes beyond #1544.
Tested
Windows 11, GCC 15.2.0 (WinLibs), Release, this branch on current upstream/main: full build and
libstarget,ctest -R guest_share(guest_shareandguest_share_native) pass.check_conventions.pyandcheck_test_registration.pyclean. No title tested.CI: the upstream runs for this head are waiting for approval (#1631). The same Build workflow ran on the fork for head
1692363e: https://github.com/Deses/AnyPS5/actions/runs/37804517771, Linux and Windows (full build,libs, ctest) and the relinker jobs (Linux, Windows, macOS) green.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by Deses on 2026-10-08T14:08:53Z.
Both overlaps come from the cherry-picked #1544 commit (3ecd68d9), not from this PR's own change: #1544 edits the "Share, NpTrophy2, ..." line next to #1468's edit (L158-159) and adds the
sceShareCaptureVideoClipExtended, sceShareSetContentParamForApplicationTitleentry where #1584 inserts its own (L225-226); #1544 carries the same #1584 overlap.This PR's commit (734a63fd) only changes the
sceShareGetCurrentStatusline in TechnicalDebt.md, outside both ranges. Neither #1468 nor #1584 is a dependency. Once #1544 is merged this branch is rebased and the overlaps go with its commit.Pull request closed