Replies: 3 comments 10 replies
-
Nice work! Once you get it fully functional, then we can start thinking about committing your changes :) Let me know if I can be of help. |
Beta Was this translation helpful? Give feedback.
-
Terminal version works too, just had to install ncurses dev libraries from HaikuDepot and pass the option to CMake :) |
Beta Was this translation helpful? Give feedback.
-
Hi again! I've been working to fix some of the issues, it's working great and I've enjoyed using Textadept to work on Textadept :) The only big issue is the key bindings, as both Ctrl and Alt seem to disable Shift. Plus they allow to options to swap Ctrl and Alt as by default Alt is the control key. So maybe Haiku needs a whole new keymap for things like folding, split views etc., although it's probably worth getting the input of regular Haiku users before committing to making a new one. Likewise it'll be worth a post to the Haiku forums anyways too see if they have interest in packaging to Haiku Depot. Sorry about CMakeList.txt, your generator expressions are very nice, but because the only way to test for Haiku is by manually checking CMAKE_HOST_SYSTEM_NAME, you gain some stuff that could've been added to the expression thanks to CMake not having a variable for it. Let me know if you have any thoughts, I imagine you'll want to give things a good check over and testing before anything. I've also added more info in the first issue for details about setting icons and making convenience shortcuts which could be added to the manual. Thank you!!! :) |
Beta Was this translation helpful? Give feedback.
-
Hi Mitchell/Orbitalquark (and other Textadept users),
After some messing I was able to get Textadept Qt to build and run on Haiku OS. I only needed to adjust five LOC between CMakeLists.txt and textadept.c, real testament to your work on portability!
At the moment it's a bit bodged as a proof of concept. I needed to change the linking for libdl and iconv in CMake - I'm not super familiar with CMake so I forced it. Likewise with the "textadept_home" variable I manually set it to be the correct string for the install directory it would build to, so some more work is needed there. Haven't built the terminal version yet either.
If you want to support Haiku "officially" (I imagine GitHub builds would be hard to set up, so maybe in a "build it yourself" manner same as BSD is) I can look at cleaning this up and pushing the changes? There's still testing to do but from what I've seen the core functionality works, although it's not opening the manual in the browser at the moment.
Even if not I thought you'd like to know anyways :)
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions