-
-
Notifications
You must be signed in to change notification settings - Fork 15.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dosbox-x: init at v2023.10.06 #258301
dosbox-x: init at v2023.10.06 #258301
Conversation
|
Ah whoops, right. You'll need to use nativeBuildInputs = [
makeWrapper
];
postInstall = ''
wrapProgram $out/bin/dosbox-x \
--prefix PATH : ${lib.makeBinPath [ yad ]}
''; … or browse the source code, find the places where such binaries are listed and expand the relative, PATHed |
You're right that worked wonderfully. Would you mind seeing if your input issue is present with DOOM?
I used DOOM from here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Builds on x86_64-linux, but I have some issues with the way this is written. Will also check how trivial adding Darwin support to this is.
Let me go through your points but would absolutely love some co-maintainership. Feel free to PR to the branch I have |
Disregard the input issue, SDL2 was just having a problem with my connected-but-not-paired controller. Input works fine on IBM & NEC systems. |
With Much cleaner build now. No need for I also added ffmpeg for video capture as per the build instructions |
video capture working: https://imgur.com/a/xF6jqtU |
squashed |
I have a patch to fix building on Darwin: 0001-dosbox-x-Enable-on-Darwin.patch.txt But I can't run the resulting binary on my 10.13 system:
This might be because building this needs the 11.0 SDK for I tried to change the
Could you apply the patch file above + the following in a separate commit and let the OfBorg builder test if the produced binary works on Darwin? If the x86_64-darwin run manages to build passthru.tests.version = testers.testVersion {
package = finalAttrs.finalPackage;
# Version output on stderr, program returns status code 1
command = "${finalAttrs.meta.mainProgram} -version 2>&1 || true";
}; |
Might be easier if I just add you as a collaborator on my fork from which this PR originates. Invite sent. Go nuts. |
Darwin changes worked on OfBorg, I'lve squashed everything down. |
23e9d76
to
9f1f672
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've force-pushed some minor style changes, nothing functionality-related. I hope you don't mind.
Quite recently a new system for managing packages was introduced where stuff is supposed to be put under pkgs/by-name/<first-two-letters-of-package-name>/<package>
instead (see explanation here). I've been too busy to really follow when it should be used and what its limitations are, but I think now that we're using pkgs.darwin.apple_sdk_11_0.callPackage
for Darwin support instead of the regular pkgs.callPackage
, we need to stick with the "old" pkgs/<categories>/<package>
system? That's how I understand the limitations section of the readme? So AFAICT, this is done.
I can't run nixpkgs-review
on the hardware I'm currently stuck on, but I've built it on aarch64-linux and tested it under Wayland. yad
dialogue also works. LGTM, though I have no merge permissions & am now a co-committer.
I hadn't seen the new layout yet, thanks for sharing. Using nixpkgs SDL2 gives us wayland support IIRC, I think the vendored one didn't support it. Were you able to test
On the contrary, very glad of the help. Thanks again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(re-approving cus automation re-requested a review)
Were you able to test
aarch64-darwin
?
I don't have apple silicon hardware so no. The version test passes on aarch64-darwin
OfBorg though, so I assume it works.
bumped to latest release |
Description of changes
Introduce dosbox-x, a fork of DosBox with a focus on emulating later stage systems such as Win98.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)