0

In this comment there is a distinction drawn between "native macOS libraries" and X11,

Haven‘t used MacPorts for years, but most probably Kitty is compiled with the native macOS libraries, not with X11. So you need to either use an X11 version of kitty (if MacPorts has something like that), or compile it yourself with X11 support enabled. – nohillside♦ 7 hours ago

Is it possible to target either of those within MacPorts? Or is the port package defined for just one?

2

No, there's no such possibility within MacPorts. This port does not come with such a choice.

kitty is based on OpenGL, and doesn't really use ordinary UI controls from a library such as GTK, QT, Aqua or similar.

kitty is a native Mac-application, as well as existing as a native Linux application. When you compile kitty on a Mac, the backend used is Cocoa (i.e. native Mac). X11 does not come into the picture at all.

You could try manually recompiling kitty and then force it to use its X11 backend. I don't think that backend has been tested on macOS though, as the author intends the user to use the native Carbon backend.

  • There is no way to use Cocoa within X11, so X11 can still do window decorations and I can manage that window within my X11 Window Manager? – Evan Carroll Mar 25 at 13:36
  • No, I don't think that is a possibility at all. – jksoegaard Mar 25 at 13:41
  • Perhaps you're coming at this from a wrong direction - it might be better to post a new question with what you're actually trying to achieve from the onset. I.e. you might get better suggestions on what software to use. It is not common these days to be using MacPorts and X11 window managers, etc. Today you would use native macOS window managers, applications, etc. - and usually you see HomeBrew instead of MacPorts. – jksoegaard Mar 25 at 13:43
  • I've done that numerous times. but to keep it super duper simple we can say that a working i3 that can manager a browser and a decent terminal would be a good place to start. I3 is a tiling window manager. It also seems iTerm2 won't work under i3. I'm not sure why X11 can't manage a window that uses coca underneath, what a limitation. That means that any desktop window manager is pretty useless in ports, despite having so many to choose from. – Evan Carroll Mar 25 at 13:45
  • 1
    So if you want to use X11 and i3 you need a terminal program and a browser running under X11 (and compiled against an X11 backend). Not sure these still are available prebuilt for Xquartz though. – nohillside Mar 25 at 14:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .