Re: Support for BeOS in APR-trunk

Daniel Sahlberg <[email protected]> Sat, 16 May 2026 17:12:10 +0200
Newsgroups gmane.comp.apache.apr.devel
Message-ID <CAMHy98P20+o_3nNNthDRj0FCKGii2x4wwhCnVUZTFJk=czL2Ag@mail.gmail.com>
--00000000000088be410651f0c12b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

l=C3=B6r 16 maj 2026 kl. 17:09 skrev Ivan Zhakov <[email protected]>:

> On Sun, 10 May 2026 at 14:11, Ivan Zhakov <[email protected]> wrote:
>
>> Hi,
>>
>> 1. According to Wikipedia [1] BeOS was released in 1995 and the latest
>> release was in 2000.
>>
>> 2. There is Haiku (OpenBeOS) project. Which looks like reimplementation
>> of BeOS API based on Linux kernel though. I checked Haiku package
>> repository [2] and didn't find APR/HTTPD packages.
>>
>> 3. APR contains separate code for BeOS (like 19 source code files)
>>
>> Given all above I suggest to remove BeOS related source code from trunk,
>> unless someone comes forward and offers to maintain the BeOS code.
>>
>> Partially discussed before:
>> https://lists.apache.org/thread/r9txh2n1xpx3mh0ckrt8xhzvsqr9s56b
>>
>> [1]: https://en.wikipedia.org/wiki/BeOS
>> [2]: https://depot.haiku-os.org/
>>
>>
> Thanks everyone for feedback and research on BeOS support topic.
>
> Here is updated summary of findings:
> 1. According to Wikipedia [1] BeOS was released in 1995 and the latest
> release was in 2000.
>
> 2. APR contains separate code for BeOS (like 19 source code files) and
> some conditional code (#ifdef BEOS) in "unix" source files.
>
> 3. There is Haiku (OpenBeOS) project. Haiku is an active project that
> aims to be a spiritual successor of BeOS.
>
> 4. There are APR, HTTPD and Subversion packages for Haiku ([2], [3], [4],
> [5])
>
> 5. APR on Haiku doesn't use BeOS specific code [6)
>
> 6. When compiling on Haiku BeOS specific preprocessor macros are not
> defined (BEOS, __BEOS__, BEOS_R5, HAVE_BONE_VERSION).
>
> I propose the following plan:
> 1. Remove BeOS from list supported platforms.
> 2. Remove BeOS specific source code.
> 3. Consider adding patches from Haiku ports [7] to APR trunk
>
> How does it sounds?
>

+1!

And on the third point we should of course do that if it can be done
without any downsides.

Thanks for the investigation!

/Daniel


> [1]: https://en.wikipedia.org/wiki/BeOS
> [2]:
> https://depot.haiku-os.org/__multipage/pkg/apr/haikuports/haikuports_x86_=
64/1/7/5/-/1/x86_64
> [3]:
> https://depot.haiku-os.org/__multipage/pkg/apache/haikuports/haikuports_x=
86_64/2/4/66/-/1/x86_64
> [4]:
> https://depot.haiku-os.org/__multipage/pkg/serf/haikuports/haikuports_x86=
_64/1/3/10/-/1/x86_64
> [5]:
> https://depot.haiku-os.org/__multipage/pkg/subversion/haikuports/haikupor=
ts_x86_64/1/14/5/-/2/x86_64
> [6]: https://github.com/haikuports/haikuports/issues/14120
> [7]: https://github.com/haikuports/haikuports/tree/master/dev-libs/apr
>
> --
> Ivan Zhakov
>

--00000000000088be410651f0c12b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"auto">l=C3=B6r 16 maj 2026 kl. 17:09 skrev Ivan Zhakov &lt;<a h=
ref=3D"mailto:[email protected]">[email protected]</a>&gt;:<br></div><div dir=
=3D"auto"><div class=3D"gmail_quote gmail_quote_container"><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;b=
order-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"=
><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">On Sun, 10 May 2026 at =
14:11, Ivan Zhakov &lt;<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>&gt; wrote:</div><div class=3D"gmail_quote"><blockquote=
 class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:=
1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,=
204)"><div dir=3D"ltr"><div>Hi,</div><div><br></div><div>1. According to Wi=
kipedia [1] BeOS was released in 1995 and the latest release was in 2000.</=
div><div><br></div><div>2. There is Haiku (OpenBeOS) project. Which looks l=
ike reimplementation of BeOS API based on Linux kernel though. I checked Ha=
iku package repository [2] and didn&#39;t find APR/HTTPD packages.</div><di=
v><br></div><div>3. APR contains separate code for BeOS (like 19 source cod=
e files)</div><div></div><div><br></div><div>Given all above I suggest to r=
emove BeOS related source code from trunk, unless someone comes forward and=
 offers to maintain the BeOS code.</div><div><br></div><div></div><div>Part=
ially discussed before:</div><div><a href=3D"https://lists.apache.org/threa=
d/r9txh2n1xpx3mh0ckrt8xhzvsqr9s56b" target=3D"_blank">https://lists.apache.=
org/thread/r9txh2n1xpx3mh0ckrt8xhzvsqr9s56b</a></div><div><br></div><div>[1=
]:=C2=A0<a href=3D"https://en.wikipedia.org/wiki/BeOS" target=3D"_blank">ht=
tps://en.wikipedia.org/wiki/BeOS</a></div><div>[2]:=C2=A0<a href=3D"https:/=
/depot.haiku-os.org/" target=3D"_blank">https://depot.haiku-os.org/</a></di=
v><div><br></div></div></blockquote><div><br></div><div>Thanks everyone for=
 feedback and research on BeOS support topic.</div><div><br></div><div>Here=
 is updated summary of findings:</div><div>1. According to Wikipedia [1] Be=
OS was released in 1995 and the latest release was in 2000.<br><br></div><d=
iv>2. APR contains separate code for BeOS (like 19 source code files) and s=
ome conditional code (#ifdef BEOS) in &quot;unix&quot; source files.<br>

<br>3. There is Haiku (OpenBeOS) project.=C2=A0<span style=3D"border-color:=
rgb(0,0,0)">Haiku is an active project that aims to be a spiritual successo=
r of BeOS.</span>

</div><div><br></div><div>4. There are APR, HTTPD and Subversion packages f=
or Haiku ([2], [3], [4], [5])</div><div><br></div><div>5. APR on Haiku does=
n&#39;t use BeOS specific code [6)</div><div><br></div><div>6. When compili=
ng on Haiku BeOS specific preprocessor macros are not defined (BEOS, __BEOS=
__, BEOS_R5, HAVE_BONE_VERSION).</div><div><br></div><div>I propose the fol=
lowing plan:</div><div>1. Remove BeOS from list supported platforms.</div><=
div>2. Remove BeOS specific source code.</div><div>3. Consider adding patch=
es from Haiku ports [7] to APR trunk=C2=A0</div><div><br></div><div>How doe=
s it sounds?</div></div></div></div></blockquote><div dir=3D"auto"><br></di=
v><div dir=3D"auto">+1!</div><div dir=3D"auto"><br></div><div dir=3D"auto">=
And on the third point we should of course do that if it can be done withou=
t any downsides.</div><div dir=3D"auto"><br></div><div dir=3D"auto">Thanks =
for the investigation!</div><div dir=3D"auto"><br></div><div dir=3D"auto">/=
Daniel</div><div dir=3D"auto"><br></div><blockquote class=3D"gmail_quote" s=
tyle=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:so=
lid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir=3D"ltr"><=
div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"auto"></div><div><br=
></div><div>[1]: <a href=3D"https://en.wikipedia.org/wiki/BeOS" target=3D"_=
blank">https://en.wikipedia.org/wiki/BeOS</a><br>[2]: <a href=3D"https://de=
pot.haiku-os.org/__multipage/pkg/apr/haikuports/haikuports_x86_64/1/7/5/-/1=
/x86_64" target=3D"_blank">https://depot.haiku-os.org/__multipage/pkg/apr/h=
aikuports/haikuports_x86_64/1/7/5/-/1/x86_64</a><br>[3]: <a href=3D"https:/=
/depot.haiku-os.org/__multipage/pkg/apache/haikuports/haikuports_x86_64/2/4=
/66/-/1/x86_64" target=3D"_blank">https://depot.haiku-os.org/__multipage/pk=
g/apache/haikuports/haikuports_x86_64/2/4/66/-/1/x86_64</a><br>[4]: <a href=
=3D"https://depot.haiku-os.org/__multipage/pkg/serf/haikuports/haikuports_x=
86_64/1/3/10/-/1/x86_64" target=3D"_blank">https://depot.haiku-os.org/__mul=
tipage/pkg/serf/haikuports/haikuports_x86_64/1/3/10/-/1/x86_64</a><br>[5]: =
<a href=3D"https://depot.haiku-os.org/__multipage/pkg/subversion/haikuports=
/haikuports_x86_64/1/14/5/-/2/x86_64" target=3D"_blank">https://depot.haiku=
-os.org/__multipage/pkg/subversion/haikuports/haikuports_x86_64/1/14/5/-/2/=
x86_64</a></div></div><div>[6]: <a href=3D"https://github.com/haikuports/ha=
ikuports/issues/14120" target=3D"_blank">https://github.com/haikuports/haik=
uports/issues/14120</a></div><div>[7]:=C2=A0<a href=3D"https://github.com/h=
aikuports/haikuports/tree/master/dev-libs/apr" target=3D"_blank">https://gi=
thub.com/haikuports/haikuports/tree/master/dev-libs/apr</a></div></div></di=
v><div dir=3D"ltr"><div dir=3D"ltr"><div><br></div><span class=3D"gmail_sig=
nature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature">Iva=
n Zhakov</div></div>
</div>
</blockquote></div></div>

--00000000000088be410651f0c12b--