Skip to content

[GNU/Linux] [Wayland] Building ARES without legacy X11 dependencies #2254

@vanfanel

Description

@vanfanel

Is your feature request related to a problem? Please describe.
I'm trying to build Ares for the first time.
My system uses a lightweight Wayland compositor (labwc) with no X11 dependencies installed or needed: SDL2/3|RetroArch is used for everything having to do with graphics and sound, and all those systems wisely abstract the underlying windowing system.

Now, ARES seems to be different: some of it's components heavily depend on X11 apparently.
I can build the project if I comment out these lines in the main CMakeListst.txt:

add_subdirectory(ruby)
add_subdirectory(hiro)
add_subdirectory(desktop-ui)

I am perfectly OK with command-line driven emulator frontends (in fact, that's what I prefer!), but the results of building ARES with disabled "ruby", "hiro" and "desktop-ui" is a bunch of static libraries and nothing more, apparently.
Trying to install it using "make install" results in just /usr/local/bin/sourcery being installed.

Describe the solution you'd like
I would like to be able to build and run ARES without needing the old X11 libraries and headers to do so, using SDL2/3 (which ARES already does make use of) to abstract the windowing system.

Describe alternatives you've considered
Ehm... I don't know what the situation really is internally in ARES.

Additional context
Well, it doesn't build a runable emulator here, so nothing to show I guess :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestplatform-linuxThis issue is exclusive to Linux

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions