Interest in a few modern python-and SDL2-related packages?

Jonathan Cox joncox at alum.mit.edu
Mon Jul 1 08:14:35 CEST 2024


H Dago,

I was able to build cmake 3.29.6, OpenSSL 1.1.1w, FLTK 1.3.9 and dillo 3.1.1. Dillo is a lightweight but capable web browser with modern TLS support, but supposedly can run on hardware as limited as a 486DX2. I find it’s a lot snappier than Firefox 10 ESR or Firefox 31.8.0 ESR.  On my Sun Blade 2500 1.28 GHz dual CPU with XVR-600 graphics, Firefox feels sluggish, but Dillo looks about the same, scrolls smoothy, and supports the latest TLS security. Dillo would be great for older systems like the Ultra series (e.g. Ultra 10).

Previously I was able to build Python 3.9.19, SDL2-2.30.4, SDL2_image, SDL2_ttf, SDL2_gfx, SDL2_mixer, and pygame 2.5.2, OpenBLAS 0.2.20 and numpy 1.22.4. I don’t think any of these libraries have UltraSPARC VIS SIMD instruction support, although I did confirm that GCC offers it. Thus, multimedia operations like transparency or scaling aren’t very fast. But I bet its not that hard to port an MMX function to VIS2 instructions. I haven’t looked into it very closely, but I wouldn’t be surprised if they are more or less the same thing, at least from the compiler function perspective.

If there is a guide on how to make these into OpenCSW packages, I could give that a shot. I am using the OpenCSW GNU/gcc toolchain to build everything.

P.S. I think Dillo needs a newer version of libpng since it might not be able to render all PNGs. I linked it with libpng16.

-Jonathan

From: users <users-bounces+joncox=alum.mit.edu at lists.opencsw.org> On Behalf Of Jonathan Cox via users
Sent: Wednesday, June 26, 2024 00:48
To: Dagobert Michelsen <dam at opencsw.org>; Questions and discussions <users at lists.opencsw.org>
Cc: Jonathan Cox <joncox at alum.mit.edu>; buildfarm <buildfarm at opencsw.org>
Subject: RE: Interest in a few modern python-and SDL2-related packages?

Hello Dago,

I think I am using GAR, but I need to double check that I built with gar for all of the packages. Initially, I spent a lot of time trying to build with Solaris Studio 12.4, but I found that most code assumes GNU compilers and tools these days, so I gave up on that. Thus, I am building with the gcc-5.5, g++5.5, gfortran-5.5 compilers and toolchain from OpenCSW, using mcpu=ultrasparc or ultrasparc3.

Most of the builds weren’t too difficult, although I did have to modify source code slightly in a few places. SDL2 has been the most complicated to date.

-Jon

From: Dagobert Michelsen <dam at opencsw.org<mailto:dam at opencsw.org>>
Sent: Wednesday, June 26, 2024 00:33
To: Questions and discussions <users at lists.opencsw.org<mailto:users at lists.opencsw.org>>
Cc: Jonathan Cox <joncox at alum.mit.edu<mailto:joncox at alum.mit.edu>>; buildfarm <buildfarm at opencsw.org<mailto:buildfarm at opencsw.org>>
Subject: Re: Interest in a few modern python-and SDL2-related packages?

Hi Jon,

Am 26.06.2024 um 07:43 schrieb Jonathan Cox via users <users at lists.opencsw.org<mailto:users at lists.opencsw.org>>:
I recently acquired a Sun Blade 2500 UltraSPARC IIIi dual-cpu workstation running Solaris 10 1/13, and I’ve been working on building and testing modern, UltraSPARC optimized packages for the following:

  *   Python 3.9.19
  *   OpenBLAS 0.2.20
  *   Tcl/tk 8.6.14
  *   SDL2 2.30.4
  *   numpy 1.22.4
  *   lapack 3.12.0

I’m working on a few other things, such as other SDL2 components and other python packages like matplotlib, pygame, etc. I found that, for a RISC processor like the SPARC, configuring the compiler to target the proper CPU makes a huge difference. Thus, I’d like to target at least -mcpu=ultrasparc, preferably -mcpu=ultrasparc3.

If it’s a relatively straightforward process to package this up as a package and add it to OpenCSW, I could try to do that. Let me know if there is interest. I’m a big Python fan, so I’m working toward having a complete enough set of python tools to accomplish all the things I’m interested in.

This would indeed be interesting! Are you building your packages with GAR? That is a close to a requirement because
the packages must also conform to a special structure so the OpenCSW infrastructure can process them.


Best regards

  — Dago

--
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.opencsw.org/pipermail/users/attachments/20240701/ec016842/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dillo_solaris10sparc3.png
Type: image/png
Size: 349488 bytes
Desc: dillo_solaris10sparc3.png
URL: <https://lists.opencsw.org/pipermail/users/attachments/20240701/ec016842/attachment-0001.png>


More information about the users mailing list