Coder Social home page Coder Social logo

Linux Wayland support about jwm HOT 6 OPEN

humbleui avatar humbleui commented on August 20, 2024 2
Linux Wayland support

from jwm.

Comments (6)

jakeisnt avatar jakeisnt commented on August 20, 2024 1
  • Let's use X11 x11 as the name
  • Looks like GTK3 builds statically with both Wayland and X11 by default, based on https://github.com/GNOME/gtk/blob/7213bf5b09dfd9d9daf5c30a257a8792e4c66421/meson.build. This seems like something we'd want given that some DEs allow the user to switch between X and Wayland (I think Gnome still does this?). This is a fairly small package, so I don't think size will be a huge issue if we build with both.

We can just check at runtime whether (1) wayland dependencies are available to dynamically link with and (2) whether a wayland server is present and fall back to X if either of those fail

from jwm.

jakeisnt avatar jakeisnt commented on August 20, 2024

I'd love to spearhead this if this is still desired! 😁

from jwm.

tonsky avatar tonsky commented on August 20, 2024

It is! It would be awesome. Let me know what you need to get started

from jwm.

jakeisnt avatar jakeisnt commented on August 20, 2024

Sure! Just wondering how we should set this up in the repository - I'm thinking:

Does this sound reasonable?

from jwm.

tonsky avatar tonsky commented on August 20, 2024

should it be xorg or x11? I think we use x11 sometimes in the code base, do you think it should be changed? or better stick with x11, as we already have it?

re: CMake, the question I’m more interested in is, should we build two different runtime libraries or a single one? If two, would we be able to determine at runtime which one to load?

Also, not sure if we need separate build for cmake, since it’s only for build machine. We could require both X11 and Wayland dev dependencies to exist at the same time. Up to you on this one

from jwm.

tonsky avatar tonsky commented on August 20, 2024

Sounds like a plan!

from jwm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.