Skip to content

Update sdl2 from 2.0.10 to 2.30.6 #3160

Merged
merged 7 commits into from
Aug 27, 2024
Merged

Conversation

thomas
Copy link
Collaborator

@thomas thomas commented Aug 23, 2024

Simple DirectMedia Layer is a cross-platform library designed to provide low level access to audio, keyboard, mouse, and graphics hardware, see https://www.libsdl.org/.

The former installation just contained the core libSDL2, plus SDL-image. In the meantime the package has grown, so there is also a sdl2_mixer, sdl2_net, and sdl2_ttf

To replay the build, do:

  ./sdl2.be0
  bee update sdl2
  ./fluidsynth.be0
  bee install fluidsynth
  ./sdl2_mixer.be0
  bee install sdl2_mixer
  ./sdl2_image.be0 
  bee remove SDL_image-2.0.0-0.x86_64
  bee install sdl2_image
  ./sdl2_net.be0 -c
  bee install sdl2_net
  ./sdl2_ttf.be0 -c
  bee install sdl2_ttf

To just install:

bee update sdl2
bee install fluidsynth sdl2_mixer
bee remove SDL_image-2.0.0-0.x86_64
bee install sdl2_image sdl2_net sdl2_ttf

The previous beefile made the SDL2 package name lowercase,
this convention will be kept in the following commits.
fluidsynth is a dependency for the sdl2 mixer.
More at: https://www.fluidsynth.org/
Note on using autotools. The cmake build has less options
than the autotools build. (Somehow I think that the cmake way
is intended for windows builds)
Mind the name change when installing:
 #> bee remove SDL_image-2.0.0-0.x86_64
 #> bee install sdl2_image

And yes, /usr/lib/libSDL2_image-2.0.so.0 is still
present :)
SDL2 alone is now kind of a core package, sdl2_net is kind of
an extension that is used often by projects that use SDL2.
SDL2 alone is now kind of a core package, sdl2_ttf is kind of
an extension that is used often by projects that use SDL2.
@thomas thomas merged commit 1a54398 into master Aug 27, 2024
@donald
Copy link
Collaborator

donald commented May 22, 2025

I think you forgot to install fluidsynth on the distmaster.

@donald
Copy link
Collaborator

donald commented Jul 1, 2025

package in git but not in system: fluidsynth-2.3.6-0.x86_64 (fluidsynth.be0)

@donald
Copy link
Collaborator

donald commented Jul 1, 2025

hello?

@thomas
Copy link
Collaborator Author

thomas commented Jul 1, 2025

Oops, yes, sorry (maybe it needed to ripe in a bottle for a year...)
Installed

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants