libretro: add melonDS DS core#521417
Conversation
efd69e7 to
7432766
Compare
this core supersedes melonds which is now deprecated see below libretro docs for information on the new core: https://github.com/libretro/docs/blob/master/docs/library/melonds_ds.md
|
@aanderse @thiagokokada I will likely not be available for debug until EU evening time, but will try to reply as soon as possible if you give feedback. |
|
Had a quick look at lunch and the part of the build related to the functions used in this repo seem to be working correctly, and this is entirely down to the build being with There is a PR in the melonds-ds repo itself to change the clone to a http get request but this would not resolve this issue: JesseTG/melonds-ds#238 |
Relaxing the BTW, there is already a PR to add melonds-ds: #475067. |
Yes, agreed. I gave predownloading a quick go last night but was running into a cascade of build errors afterwards which I didn't write up here before I went to bed.
Thanks, in that case I'll close this. I'll push the changes I was making here when I get home for posterity's sake. |
|
Commenting the status I was seeing before I closed this. No need to continue here if the other PR is ready. Currently there seem to be three predominant issues:
-- Renaming
-- /nix/store/lw5yk36dsq4jas3h9jf74b0x2zh4c0k5-source/zconf.h
-- to 'zconf.h.included' because this file is included with zlib
-- but CMake generates it automatically in the build directory.
CMake Error at /nix/store/lw5yk36dsq4jas3h9jf74b0x2zh4c0k5-source/CMakeLists.txt:76 (file):
file RENAME failed to rename
/nix/store/lw5yk36dsq4jas3h9jf74b0x2zh4c0k5-source/zconf.h
to
/nix/store/lw5yk36dsq4jas3h9jf74b0x2zh4c0k5-source/zconf.h.included
because: Permission denied
CMake Error at /nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/cmake/FetchDependencies.cmake:82 (set_target_properties):
set_target_properties Can not find target to add properties to: example
Call Stack (most recent call first):
/nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/CMakeLists.txt:88 (include)
CMake Error at /nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/cmake/FetchDependencies.cmake:84 (set_target_properties):
set_target_properties Can not find target to add properties to: example64
Call Stack (most recent call first):
/nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/CMakeLists.txt:88 (include)
a. The fetches claim that they will fetch from the remote instead of using the local cache, but do not fail for being in sandbox mode before the other failures occur. -- Using melonDS: /nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source (local)
-- Using libretro-common: https://github.com/JesseTG/libretro-common (ref 8e2b884)
-- Using embed-binaries: https://github.com/andoalon/embed-binaries (ref 078b62b)
-- Using glm: /nix/store/s6q0bfq9yankx21qg5rxg7p1a3hkjnws-source (local)
-- Using libslirp: /nix/store/cpygv15l85rmqw15w2gw4x3jc0chvvcd-source (local)
-- Using pntr: /nix/store/xxps17kax719khcq3267lgbhqq9gsdlr-source (local)
-- Using fmt: /nix/store/nr82wflgrdisjc66djlsvbs5vsjdzb5q-source (local)
-- Using yamc: /nix/store/gjwrj7dr3my8dj89hrf3ccc97w3ikccy-source (local)
-- Using span-lite: https://github.com/martinmoene/span-lite (ref 00afc28)
-- Using date: /nix/store/l3zdmr181j1jv0xn37rp0whdag287h3p-source (local)
-- Using zlib: /nix/store/lw5yk36dsq4jas3h9jf74b0x2zh4c0k5-source (local)b. CMake Error at /nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/cmake/ConfigureFeatures.cmake:252 (target_compile_definitions):
Cannot specify compile definitions for target "core" which is not built by
this project.
Call Stack (most recent call first):
/nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/cmake/ConfigureDependencies.cmake:36 (add_common_definitions)
/nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/CMakeLists.txt:90 (include)c. -- melonDS DS version string: '1.2.0'
CMake Error at /nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/src/libretro/CMakeLists.txt:4 (include):
include could not find requested file:
embed-binaries
CMake Error at /nix/store/zipr7a2ii2diinl3vs1xw43bi53062cr-source/src/libretro/CMakeLists.txt:134 (embed_binaries):
Unknown CMake command "embed_binaries".I suspect that these three issues are actually separate and will not fix each other. |
The
melonDS DScore supersedesmelonDSwhich is now deprecated, see below libretro docs for information on the new core:https://github.com/libretro/docs/blob/master/docs/library/melonds_ds.md
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage. - failed build locally due to below git error./result/bin/.Maintainers
@aanderse @thiagokokada
Help needed
I am having trouble building with the command provided in the README. I am unsure what is incorrect in my implementation to cause the build to try and clone the incorrect URL, any help would be appreciated.