Bug 1518 - Port to Haiku OS
Summary: Port to Haiku OS
Status: UNCONFIRMED
Alias: None
Product: General
Classification: JogAmp
Component: builds (show other bugs)
Version: 2.6.0
Hardware: pc_all other
: P4 enhancement
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2025-07-09 21:56 CEST by Javier Steinaker
Modified: 2025-07-09 21:56 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Steinaker 2025-07-09 21:56:09 CEST
As discussed with Sven via email, I'm interested in porting the libraries to Haiku (an alternative OS, BeOS's successor), mostly to be able to run SweetHome3D. Haiku is pretty much POSIX compliant and has a Wayland compatibility layer, which is used to run software like Firefox.

Transcription of what Sven thinks that may need to be done at first glance:

shouldn't be too hard, more tedious :)

One layer of OS detection it the ant build-system,
either
- add some lines to the gluegen-cppbase.xml or
- use an override pre-set like in gluegen/make/lib/*xml

We need a new triple identifier to name the native jars,
and add a native subfolder to the fat jars.

Another layer is in the MachineDescription and Platform code,
which is pretty local and not wide spread.
MachineDescription is just to ensure proper CPU mechanics are met
like data type size, cache size etc.
In the Platform part the actual OS is matched to also allow loading
the proper compiled native code (-> above triple).

Guess that's all so far :)

Tedious ant build changes may need to apply in JOAL, JOGL and JOCL?