Commit graph

107 commits

Author SHA1 Message Date
Jools Wills
52e74fc6db sdl2 - update to 2.30.8 2024-10-03 23:45:41 +01:00
Jools Wills
2178b68d11
Merge pull request #3607 from joolswills/sdl2_bullseye
sdl2 - updated to retropie-2.26.3 branch for bullseye
2023-02-28 17:57:58 +00:00
Jools Wills
361edcb4be sdl2 - updated to retropie-2.26.3 branch for bullseye
Due to https://github.com/libsdl-org/SDL/issues/5399 which breaks darkplaces-quake in RetroPie we are keeping Buster at 2.0.10 until there is a resolution.

Added libsamplerate0-dev dependency to module.

Branch includes reworking the patch for kms modesetting via env variables, some minor changes to our Mali and RPI patches, and some removal of no longer needed changes.

It also includes removal of some debian/control build dependencies which were added to upstream to align with Debian's packaging. The additions caused dependencies like libwayland-dev and libpulse-dev to be required for all platforms. As we handle adding dependencies in our sdl module code, these have been removed in our retropie-2.0.16+ sdl2 branches.

Include fix for detection of videocore due to our renamed include folders (thanks @cmitu).
2023-02-22 14:18:28 +00:00
Stefan
2386c4b22a add platform flag "vulkan" 2023-02-12 19:47:07 +01:00
Jools Wills
0d45d6bb0f
Revert "sdl2 - updated to retropie-2.0.20 branch" 2022-02-13 16:40:47 +00:00
Jools Wills
cc07a9fb4e sdl2 - updated to retropie-2.0.20 branch
Added libsamplerate0-dev dependency to module.

Branch includes reworking the patch for kms modesetting via env variables, some minor changes to our Mali and RPI patches,
and some removal of no longer needed changes. It also includes removal of some debian/control build dependencies which were
added to upstream to align with Debian's packaging. The addition causes dependencies like libwayland-dev and libpulse-dev to
be required for all platforms. As we handle adding dependencies in our sdl module code, these have been removed in our
retropie-2.0.16+ sdl2 branch.

Include fix for detection of videocore due to our renamed include folders (thanks @cmitu).
2022-02-10 18:28:40 +00:00
Jools Wills
f06d0800a2 sdl2 - switch sdl2 to use our fork of the new upstream repository
Have forked https://github.com/libsdl-org/SDL to https://github.com/RetroPie/SDL and have applied
our patches against the upstream release-2.0.10 tag in the retropie-2.0.10 branch.
2021-03-08 03:00:52 +00:00
freddii
4ac341ac9f
fixed some incorrectly spelt words (#3293) 2021-01-21 02:32:29 +00:00
Jools Wills
99f6feaa78 sdl1 / sdl2 - use new download / signing functions and verify signature on download
* also rework logic - use a temporary folder for downloaded debs rather than cwd
 * remove unneeded (and failing url) sdl1 .xz archive download
2020-09-10 07:13:27 +01:00
Jools Wills
c4147511b4 sdl2 - workaround error moving/renaming vc headers on Raspberry Pi OS 64bit
* headers no longer live at /opt/vc/include - needs to check how this will affect our SDL2 build
2020-07-30 04:28:30 +01:00
Jools Wills
731bb20a30 added depends package section and show in setup gui
this allows switching dependencies between binary/source installs and removal if needed - useful in some cases,
as it's possible if our server was offline for a source install to be used, which with the new packaging will be
rememebered - so this allows switching back to binary.

added golang / mesa-drm  omxiv / sdl1 and sdl2 to depends section
2020-03-23 04:17:06 +00:00
Jools Wills
12414f49eb sdl1 / sdl2 - add __binary_url functions and rework packaging logic
* create a rp_getBinaryUrl function to get the binary url of a package
 * if a module has a __binary_url and it returns an empty string, treat this as no binary available - this allows removing hardcoded logic for sdl1/sdl2 from getDepends
 * if a module doesn't have this function but it has its own install_bin don't test for a binary and assume it's ok
2020-03-17 04:37:02 +00:00
hissingshark
aa23d118d1 Unneeded vero4k/mali reference 2020-03-07 09:16:06 +00:00
Jools Wills
a8c2b97261 sdl2 - bump version to +5 due to sdl2 build fix for recent mesa 19.3.2 2020-02-02 01:03:54 +00:00
Jools Wills
7c74cff0cf sdl2 - bump version to +4 to pull in latest changes (reverted kms non vsync fix) 2020-01-28 02:24:23 +00:00
Jools Wills
bc2031b534 sdl2 - bump version so it includes our latest sdl2.0.10 patch from our repo 2020-01-07 21:26:48 +00:00
Conn O'Griofa
0e9cf2dedd sdl2: switch to RetroPie repo and bump internal version
Bump version to trigger rebuild of SDL2 with modesetting patches.
2019-12-30 20:18:58 +00:00
Jools Wills
3ac6b024cc sdl1/2 - reduce dependencies when installing the first time from binary
initially the binary package will fail if dependencies are missing so we re-run apt-get
with --fix-broken - however this will install recommendations also so have added
--no-install-recommends to reduce packages installed - this is added primarily due to newer
sdl2 package having more dependencies than before
2019-12-25 23:00:44 +00:00
Jools Wills
d881bdaebc sdl2 - mali targets require opengl driver disabled
without --disable-video-opengl SDL2 when building with mali driver SDL2 will try and
use opengl driver first and fail due to driver ordering in SDL_video.c
2019-12-24 01:57:38 +00:00
Conn O'Griofa
9538f42db6 sdl2: add dependencies to debian packages
This should ensure that an installation of SDL2 from binary on a fresh
installation should not fail due to missing dependencies not being
installed by the debian packages themselves.

Certain board-specific packages that may cause distribution dependency
resolution issues are deliberately omitted, but they should already be
installed (if not, we can do so during script first-time run or basic
install).

Some dependencies have also been reordered to be more consistent with our
board flags; x11 depends are still a mess, but reordering them may
break vero4k.
2019-11-11 14:00:24 +00:00
Jools Wills
f5c720a2a0 sdl1 / sdl2 - copy binaries to new __binary_path to fix location on rpi4 2019-11-09 06:12:37 +00:00
Conn O'Griofa
bc1ccd7531 sdl2: consolidate branches and update to 2.0.10
All targets now use a unified branch that builds for any target.

Branch:
* Based on 2.0.10 upstream
* All custom patches have been imported, but any changes to default build via
  debian/rules have been removed.
* Includes fixes for RPI3 regression in SDL_EGL_ChooseConfig, segfault on joystick
  disconnect, RPI + kmsdrm coexistence.

Scriptmodule:
* All driver selection is done via script
* Raspberry Pi: build with RPI and KMSDRM driver together
* X11 & GL support is enabled by default; useful for FKMS, and GLES2 targets
  via gl4es translation library.
2019-08-12 09:25:28 +01:00
Jools Wills
0064874808 sdl2 - build sdl2 2.0.9 for buster due to ffmpeg having specific version dependencies 2019-06-25 05:33:58 +01:00
Jools Wills
41e0e8ea91 sdl2 - use 2.0.9 on x11 targets 2019-05-11 17:04:22 +01:00
Jools Wills
7bc1d49631 Revert "sdl2 - updated to 2.0.9"
This reverts commit 1437d10d0f.

switching back to 2.0.8 due to crashes when removing some pads in Emulation Station
2019-04-03 21:04:03 +01:00
Jools Wills
1437d10d0f sdl2 - updated to 2.0.9 2019-03-27 01:24:53 +00:00
Jools Wills
0b2e2378cc sdl2 - restore x11 dependencies for non vero4k platforms 2019-03-26 23:45:21 +00:00
Jools Wills
a346fea230 sdl1 / sdl2 - use --allow-change-held-packages and remove last --force-yes for sdl library removal 2018-08-18 20:45:12 +01:00
Jools Wills
40551b0b0d pcsx2 / sdl2 - trap errors reverting back to OS packaged sdl2
* don't set config own_sdl2 back to 0 unless revert was successful
2018-08-18 20:35:49 +01:00
Jools Wills
e0b1e3bc06 sdl2 - also use --allow-change-held-packages for reverting to packaged versions 2018-08-18 20:20:53 +01:00
Jools Wills
2c8028d80c sdl2 - fix reverting to packaged sdl2 on Ubuntu 18.04
* bionic / bionic updates both had versions so we need to use the first line
 * use --allow-downgrades rather than deprecated --force-yes
2018-08-18 20:13:00 +01:00
hissingshark
3e21a64598 Add detection/build params/fixes for Vero4k and let gitPullOrClone wind back to a specific commit 2018-07-19 09:08:19 +01:00
Jools Wills
30e75c6e03 sdl2 - update to sdl 2.0.8
* there was no upstream branch on the repo we use, but branched off from 36d733cc which is a few commits after release)
2018-03-10 10:15:56 +00:00
Jools Wills
cb77f9ef7c sdl2 - added additional dependencies for sdl2 on x11 2018-03-10 10:14:31 +00:00
Jools Wills
a332ef9b30 sdl2 - kms dependencies 2017-12-18 18:25:42 +00:00
Jools Wills
cb2180355d sdl2 - bump version (due to sdl 2.0.7 fixes) 2017-11-22 19:20:05 +00:00
Jools Wills
40b1e7af40 sdl2 - update to v2.0.7 2017-11-19 10:24:58 +00:00
Jools Wills
2530a32a53 sdl2 - use kms branch for platforms with kms flag (eg tinker board) 2017-11-02 19:49:59 +00:00
Jools Wills
c8c2150d03 sdl2 - update to 2.0.6
* use rpi-x branch naming for raspberry pi instead of retropie-x).
2017-10-08 13:50:07 +01:00
Jools Wills
8c4c7b1091 Revert "sdl2 - update to 2.0.6"
This reverts commit 41633b9821.

new sdl 2.0.6 has issues with mupen64 - rolling back until resolved
2017-10-07 05:16:28 +01:00
Jools Wills
41633b9821 sdl2 - update to 2.0.6
* use rpi-x branch naming for raspberry pi instead of retropie-x).
2017-10-04 17:04:54 +01:00
Jools Wills
947f39fb6b sdl2 - function to revert/downgrade to system packaged sdl2 2017-06-09 22:18:39 +01:00
Jools Wills
4a27bc8666 sdl2 - added libpulse-dev dependency for x11 targets - fixes #1926 2017-03-16 18:10:10 +00:00
Jools Wills
57db52a0b7 sdl2 - added libgl1-mesa-dev dependency 2017-03-14 22:38:20 +00:00
Jools Wills
79d519dc0d sdl2 - update version (dependency changes in sdl2 library) 2017-03-13 17:44:07 +00:00
Jools Wills
74496eed24 sdl2 - bump version to force rebuild/new binary with coolcv stuttering fix 2017-03-03 16:29:31 +00:00
Jools Wills
5926524aff added licences to modules 2017-03-01 13:51:12 +00:00
Jools Wills
a43a1f9831 sdl2 - enable custom retropie sdl2 for x11 targets 2017-02-17 18:48:45 +00:00
Jools Wills
1761c80270 sdl2 - bump version again, as missed patch on retropie-2.0.5 sdl branch 2017-01-20 19:03:32 +00:00
Jools Wills
7042cd7f4b sdl2 - bump version (removed error log from SDL_EVDEV_translate_keycode) 2017-01-19 20:08:38 +00:00