Search found 6 matches

by gale_username
Thu Sep 19, 2024 6:46 pm
Forum: General Discussion
Topic: NixOS Package
Replies: 12
Views: 334

Re: NixOS Package

Is there a way I could generate the manifest files separate from the main build step after the modules have been patched?
by gale_username
Thu Sep 19, 2024 5:05 am
Forum: General Discussion
Topic: NixOS Package
Replies: 12
Views: 334

Re: NixOS Package

I'm able to compile with only patches for what you've already fixed, but there's still a significant problem getting things to run. Nix uses patchelf to edit paths in shared libraries to their unique Nix locations. This is causing all the file size checks for dragengine modules to fail, because they...
by gale_username
Fri Sep 13, 2024 3:07 am
Forum: General Discussion
Topic: NixOS Package
Replies: 12
Views: 334

Re: NixOS Package

Ya. I tried to make things less confusing by wording the question in a way that avoids the many non-traditional behaviors of NixOS.

What finally fixed the problem was including xorgproto, libXrender, libXext, and libXfixes in the generated include and lib folders.
by gale_username
Wed Sep 11, 2024 12:44 am
Forum: General Discussion
Topic: NixOS Package
Replies: 12
Views: 334

Re: NixOS Package

After enabling "build_input_x" and "with_x", I'm having a lot of trouble getting it to recognize the X11 header files. All the system dependencies are passed via "CPPFLAGS" and "LDFLAGS" as a single include folder and single single lib folder. Most checks work...
by gale_username
Mon Sep 09, 2024 12:55 am
Forum: General Discussion
Topic: NixOS Package
Replies: 12
Views: 334

Re: NixOS Package

Thanks for the help! Can you also state which version of Drag[en]gine you try to package? Always the latest released version, so 1.23 at the moment. You can drop this patch. Sndio is deprecated and not used anywhere in the game engine. I should remove this old package. I can switch to disabling it, ...
by gale_username
Sun Sep 08, 2024 1:30 am
Forum: General Discussion
Topic: NixOS Package
Replies: 12
Views: 334

NixOS Package

Hello! I've been trying to make a package for Drag[en]gine on NixOS. I'm currently using 5 patches for this but still run into a non-obvious to me compilation error. First I'll go through the patches I had to make. This one lets me add to CPPPATH and LIBPATH: diff --git a/SConstruct b/SConstruct ind...