Re: Support for BeOS in APR-trunk
Ivan Zhakov <[email protected]> Sat, 16 May 2026 17:09:39 +0200
| Newsgroups | gmane.comp.apache.apr.devel |
|---|---|
| Message-ID | <CAPZho0_ZZDZoKsNbUNjGXYRESDcYjr+kgvvdtFbrmyyVCHEyBQ@mail.gmail.com> |
--0000000000008ec1a80651f0b8b8 Content-Type: text/plain; charset="UTF-8" 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]: 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_x86_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/haikuports_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 --0000000000008ec1a80651f0b8b8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr">On Sun, 10 May 2026 at 1= 4:11, Ivan Zhakov <<a href=3D"mailto:[email protected]" target=3D"_blank">= [email protected]</a>> wrote:</div><div class=3D"gmail_quote"><blockquote = class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px sol= id rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Hi,</div><div><= br></div><div>1. According to Wikipedia [1] BeOS was released in 1995 and t= he latest release was in 2000.</div><div><br></div><div>2. There is Haiku (= OpenBeOS) project. Which looks like reimplementation of BeOS API based on L= inux kernel though. I checked Haiku package repository [2] and didn't f= ind APR/HTTPD packages.</div><div><br></div><div>3. APR contains separate c= ode for BeOS (like 19 source code files)</div><div></div><div><br></div><di= v>Given all above I suggest to remove BeOS related source code from trunk, = unless someone comes forward and offers to maintain the BeOS code.</div><di= v><br></div><div></div><div>Partially discussed before:</div><div><a href= =3D"https://lists.apache.org/thread/r9txh2n1xpx3mh0ckrt8xhzvsqr9s56b" targe= t=3D"_blank">https://lists.apache.org/thread/r9txh2n1xpx3mh0ckrt8xhzvsqr9s5= 6b</a></div><div><br></div><div>[1]:=C2=A0<a href=3D"https://en.wikipedia.o= rg/wiki/BeOS" target=3D"_blank">https://en.wikipedia.org/wiki/BeOS</a></div= ><div>[2]:=C2=A0<a href=3D"https://depot.haiku-os.org/" target=3D"_blank">h= ttps://depot.haiku-os.org/</a></div><div><br></div></div></blockquote><div>= <br></div><div>Thanks everyone for feedback and research on BeOS support to= pic.</div><div><br></div><div>Here is updated summary of findings:</div><di= v>1. According to Wikipedia [1] BeOS was released in 1995 and the latest re= lease was in 2000.<br><br></div><div>2. APR contains separate code for BeOS= (like 19 source code files) and some conditional code (#ifdef BEOS) in &qu= ot;unix" 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'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><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://depot.haiku-os.org/__multipage/pkg/apr/haikuports/h= aikuports_x86_64/1/7/5/-/1/x86_64" target=3D"_blank">https://depot.haiku-os= .org/__multipage/pkg/apr/haikuports/haikuports_x86_64/1/7/5/-/1/x86_64</a><= br>[3]: <a href=3D"https://depot.haiku-os.org/__multipage/pkg/apache/haikup= orts/haikuports_x86_64/2/4/66/-/1/x86_64" target=3D"_blank">https://depot.h= aiku-os.org/__multipage/pkg/apache/haikuports/haikuports_x86_64/2/4/66/-/1/= x86_64</a><br>[4]: <a href=3D"https://depot.haiku-os.org/__multipage/pkg/se= rf/haikuports/haikuports_x86_64/1/3/10/-/1/x86_64" target=3D"_blank">https:= //depot.haiku-os.org/__multipage/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/hai= kuports_x86_64/1/14/5/-/2/x86_64</a></div></div><div>[6]: <a href=3D"https:= //github.com/haikuports/haikuports/issues/14120" target=3D"_blank">https://= github.com/haikuports/haikuports/issues/14120</a></div><div>[7]:=C2=A0<a hr= ef=3D"https://github.com/haikuports/haikuports/tree/master/dev-libs/apr" ta= rget=3D"_blank">https://github.com/haikuports/haikuports/tree/master/dev-li= bs/apr</a></div><div><br></div><span class=3D"gmail_signature_prefix">-- </= span><br><div dir=3D"ltr" class=3D"gmail_signature">Ivan Zhakov</div></div> </div> --0000000000008ec1a80651f0b8b8--