Commit graph

1888 commits

Author SHA1 Message Date
Refrag
f77e91e0f0 Ports: Remove SRB2 mouse hacks
This patch builds off the previous commit and removes the mouse hacks
entirely as they are not needed anymore.

With this, Sonic Robo Blast 2 now correctly locks the mouse inside the
game and makes for a much better playing experience! :^)
2024-02-20 00:20:18 +01:00
Refrag
33b772a7fa Ports: Implement SDL2 mouse warping
This patch implements the mouse warping functionality of SDL2.
This adds a WarpMouse function implementation to the SDL2 port.
SDL2 will then be able to use this for it's relative mouse mode
implementation.

With this, multiple ports depending on SDL2 now correctly lock the
mouse inside the window and it improves the experience significantly.

Note that as of now, you may need to pass the kernel argument
'vmmouse=off' in order to test these changes properly.
2024-02-20 00:20:18 +01:00
Jelle Raaijmakers
66859c8cd8 Ports/SDL2: Support ShowMessageBox before VideoInit
An SDL2 application is allowed to show a message box before the video
subsystem is initialized. This change makes sure GUI::Application is
initialized.

An example of this is SRB2: the process forks itself to let the child
process install itself as the signal handler and deal with errors. This
child process could try to show a message box long after the video
subsystem was initialized, but since it is a forked process there is no
static state for GUI::Application or the connection to the window
server and the process would crash because of a null dereference.
2024-02-15 12:33:23 +01:00
Jelle Raaijmakers
50bba8d9fc Ports: Add glu as a dependency to SRB2
SRB2 will try to load libGLU.so.1 dynamically if started with the OpenGL
renderer, so add it as a dependency. The game still crashes immediately,
but this brings us one step closer :^)
2024-02-12 18:01:22 +01:00
Jelle Raaijmakers
401a37417b Ports: Update glu to 9.0.3
This necessitates a switch to the Meson build system. A nice side effect
of this is that we now build & install the shared library for glu as
well.
2024-02-12 18:01:22 +01:00
Refrag
4fbc701721 Ports: Add Sonic Robo Blast 2
This commit adds Sonic Robo Blast 2, a Sonic fangame running with SDL2
to the list of SerenityOS game ports.
The game is working fine for the most part but there's some performance
issues and the mouse never resets to the center so it gets stuck in the
window's corners. It seems like the multiplayer / networking is also
not quite working but I think that this is very cool already.
2024-02-09 23:10:18 +01:00
Kenneth Myhra
e8a20b3c3e Ports: Update mc to 4.8.31 2024-02-07 15:04:21 +01:00
Kenneth Myhra
45f827f58c Ports: Update glib to 2.79.1 2024-02-07 15:04:21 +01:00
Kenneth Myhra
e865b3e3ab Ports: Update curl to 8.6.0 2024-02-07 15:04:21 +01:00
Tim Ledbetter
bf0b114bde Ports/devilutionX: Update to version 1.5.2 2024-02-06 15:44:33 +01:00
Jelle Raaijmakers
6b08b43a1e Ports: Update URL for qt6-qt5compat
They moved the file from `official_releases` to `archive` :^)
2024-02-06 08:46:10 +01:00
Fabian Dellwing
ef9bfe3499 Ports: Update poppler to 24.02.0 2024-02-04 23:58:52 +01:00
Fabian Dellwing
e8b5055349 Ports: Update zlib to 1.3.1 2024-01-23 18:31:00 +01:00
Hugh Davenport
8bb6dc9c4b Ports: Add hotkey for Utilities system menu 2024-01-14 15:16:45 -07:00
Hugh Davenport
d65e8735f6 Ports: Add hotkey for Internet system menu 2024-01-14 15:16:45 -07:00
Hugh Davenport
8dc146f9f2 Ports: Add hotkey for Development system menu 2024-01-14 15:16:45 -07:00
Hugh Davenport
6272ee3104 Ports: Add hotkeys for games system menu 2024-01-14 15:16:45 -07:00
Jelle Raaijmakers
055f78f528 Ports: Update SDL2 scancode mapping
This was broken since c8f27d7cb8 introduced a new enum value in
between existing values. Since the Serenity platform support in SDL2
relied on a sequential array index, a lot of keys were now incorrectly
mapped.

This introduces a new way to map Serenity `KeyCode` to SDL2's scancode
constants that is less prone to breaking in the future.
2024-01-14 15:06:37 -07:00
Jelle Raaijmakers
8b2144c8e6 Ports: Update ScummVM to 2.8.0 2024-01-14 14:59:57 -07:00
Rawley
27339fe6e7 Ports: Bump perl5 to 5.38.2 2024-01-09 14:48:53 +01:00
Mr.UNIX
09af16f6ed Ports: Bump gawk to 5.3.0 2023-12-29 12:00:01 +01:00
Mr.UNIX
ae7d0f18ec Ports: Bump libssh2 to 1.11.0 2023-12-29 11:58:21 +01:00
Mr.UNIX
c382db351a Ports: Bump gettext to 0.22.4 2023-12-29 11:58:21 +01:00
Mr.UNIX
deb3e1eb7a Ports: Bump byacc to 20230521 2023-12-29 11:58:21 +01:00
Kenneth Myhra
759c8ccc55 Ports: Update checksum for stpuzzles 2023-12-27 19:30:23 +01:00
Ali Mohammad Pur
5e1499d104 Everywhere: Rename {Deprecated => Byte}String
This commit un-deprecates DeprecatedString, and repurposes it as a byte
string.
As the null state has already been removed, there are no other
particularly hairy blockers in repurposing this type as a byte string
(what it _really_ is).

This commit is auto-generated:
  $ xs=$(ack -l \bDeprecatedString\b\|deprecated_string AK Userland \
    Meta Ports Ladybird Tests Kernel)
  $ perl -pie 's/\bDeprecatedString\b/ByteString/g;
    s/deprecated_string/byte_string/g' $xs
  $ clang-format --style=file -i \
    $(git diff --name-only | grep \.cpp\|\.h)
  $ gn format $(git ls-files '*.gn' '*.gni')
2023-12-17 18:25:10 +03:30
Tim Schumacher
afea177d41 Ports/qemu: Update to 8.1.3 2023-12-14 16:43:37 +01:00
Tim Schumacher
592c3a8cb4 Ports: Remove termcap
termcap has last been updated in 2002, and is relying on a lot of
deprecated C99 behavior. All two current users are fine without it,
so just remove it completely.
2023-12-14 16:43:37 +01:00
Andrew Kaster
14c724e8e2 Ports: Use valid URL for libopus 2023-12-14 08:36:25 -07:00
Andrew Kaster
db7eff582e Meta: Update cacert.pem to 2023-12-12 2023-12-14 08:36:25 -07:00
Linus Groh
499441c747 Ports: Update Python to 3.12.1
Released on 2023-12-08.
https://www.python.org/downloads/release/python-3121/
2023-12-09 01:44:43 +01:00
Kenneth Myhra
5f275cd5ce Ports: Update curl to 8.5.0
Also remove CMake cache variable HAVE_GETADDRINFO_THREADSAFE since the
issue: https://github.com/curl/curl/issues/12093 has been resolved for
this release.
2023-12-07 00:14:36 +01:00
Ali Mohammad Pur
4893dfdc57 Ports: Update Jakt to the latest commit 2023-12-03 14:11:23 +01:00
Ali Mohammad Pur
167b54d03d Ports: Make the LLVM port install its ocaml bindings somewhere else
By default the bindings go to /usr/local on the host, which is a very
big no-no; this path is not affected by CMAKE_INSTALL_PREFIX, so this
commit sets the LLVM_OCAML_INSTALL_PATH variable instead.
It should be noted that disabling the ocaml bindings doesn't make all
the users of this variable go away, so this commit doesn't do so.

This also sorts the -DFOO options passed to cmake, because...sorting.
2023-12-03 14:11:23 +01:00
Romain Chardiny
71d4ab367a Ports/python3: Add support for TCP_NODELAY 2023-11-11 15:05:52 +01:00
Romain Chardiny
eb71950c8b Ports/dropbear: Add support for TCP_NODELAY 2023-11-11 15:05:52 +01:00
Ostap Brehin
7e6722abe8 Ports/php: Enable curl 2023-11-03 15:32:44 +01:00
Ostap Brehin
a30939feba Ports/composer: Update to version 2.6.5 2023-11-03 11:57:27 +01:00
Anders Jenbo
e14189de0f Ports/devilutionX: Remove SDL2_mixer dependency 2023-10-26 15:53:33 -06:00
cflip
b7b57523cc Ports/ClassiCube: Update ClassiCube to version 1.3.6 2023-10-20 23:24:03 +02:00
Kenneth Myhra
a3073824a9 Ports/curl: Set CMake cache variable HAVE_GETADDRINFO_THREADSAFE to 1
According to the issue https://github.com/curl/curl/issues/12093 the
curl build doesn't properly detect that Serenity has getaddrinfo() and
outputs the following:
---
Performing Test HAVE_H_ERRNO_ASSIGNABLE
CMake Error: try_run() invoked in cross-compiling mode, please set the
following cache variables appropriately:
HAVE_H_ERRNO_ASSIGNABLE_EXITCODE (advanced)
---

Setting the CMake cache variable HAVE_GETADDRINFO_THREADSAFE=1 solves
the mentioned error.

Also see: https://github.com/curl/curl/pull/12094
2023-10-16 09:41:00 +02:00
Kenneth Myhra
4f0af7b4de Ports: Update mc to 4.8.30 2023-10-15 07:16:04 +02:00
Kenneth Myhra
44865a8482 Ports: Update glib to 2.78.0 2023-10-15 07:16:04 +02:00
Kenneth Myhra
12bdac92e5 Ports: Update curl to 8.4.0 2023-10-15 07:16:04 +02:00
EWouters
af7b4609b6 Ports/zstd: Update zstd to version 1.5.5 2023-10-12 23:30:22 +02:00
EWouters
df50d6ccfa Ports/xz: Update xz to version 5.4.4 2023-10-12 23:30:22 +02:00
EWouters
4a5f796647 Ports/x264: Update x264 to version a8b68eb 2023-10-12 23:30:22 +02:00
EWouters
75b3066207 Ports/wget: Update wget to version 1.21.4 2023-10-12 23:30:22 +02:00
EWouters
03afeb3692 Ports/vttest: Update vttest to version 20230201 2023-10-12 23:30:22 +02:00
EWouters
2fa36f02b0 Ports/tig: Update tig to version 2.5.8 2023-10-12 23:30:22 +02:00