Commit Graph

1305 Commits

Author SHA1 Message Date
Jelle Raaijmakers
9cf329183f Ports: Update Quake III's launcher name
Following what is commonly used on the internet as the game's title,
and making it consistent with Quake II.
2022-09-09 15:15:22 +02:00
Jelle Raaijmakers
39a9ebf4fc Ports: Update launcher path to Quake II
The launcher was not created as a result of the path not being
absolute. Also set a more commonly used title for the launcher.
2022-09-09 15:15:22 +02:00
djwisdom
dd510b24c9 Ports: Update serenity-theming use latest commit 3b4e1f2 2022-09-08 18:07:07 +01:00
Jelle Raaijmakers
f3877daac5 Ports: Build Quake in parallel
Instead of overwriting the existing `-j` makeopt, we only append
options. This brings the build time for the Quake port down from 24.3s
to 4.4s on my machine.
2022-09-08 12:08:09 -04:00
Jelle Raaijmakers
71c7ac3510 Ports: Remove invalid copy action from PrBoom+ build
This was a test that should have been removed in the previous PR.
2022-09-05 23:26:18 +02:00
Jelle Raaijmakers
6af184b48b Ports: Support SDL_WINDOWEVENT_CLOSE in SDL2
This allows PrBoom+ to properly quit the application when closing the
main window.
2022-09-03 00:07:24 +02:00
Jelle Raaijmakers
180effa8ac Ports: Add PrBoom+
Music (MIDI) works through TiMidity++ and OpenGL support works, but is
still very buggy. Sometimes PrBoom+ fails to load its own configuration
file, which can be worked around by deleting it.
2022-09-03 00:07:24 +02:00
Jelle Raaijmakers
808e0c9b17 Ports: Add TiMidity++
Also add it as a dependency for the `SDL_mixer` and `SDL2_mixer` ports.

Eawpats GUS patches are installed as part of the port, because without
patches TiMidity++ is not able to generate any sound. The license for
these is "fameware", credit to Andrew Suffield:

  https://lists.debian.org/debian-legal/2002/09/msg00137.html
2022-09-03 00:07:24 +02:00
Humberto Alves
fb5a39498a Ports/python3: Make pip work
Add two patches to allow Python's package manager to work on Serenity:

- The first one enables zlib module, which is needed for `ensurepip`
  command;
- The second patch fixes pip downloads, so it's possible to install
  packages from the PyPI repository.
2022-09-02 14:03:24 +01:00
Jelle Raaijmakers
fa2ece1183 Ports: Tidy up Quake2 platform patch
There were a lot of unrelated formatting changes in the patch, which is
now shrunk by roughly 60%.
2022-08-31 14:25:15 +01:00
Jelle Raaijmakers
b057a2d82b Ports: Fix Quake2 dynamic loading issues
Our DynamicLoader would choke on a couple of missing symbols. I'm not
certain how this could have worked before, but there we go. :^)
2022-08-31 14:25:15 +01:00
Jelle Raaijmakers
45b9fc2bad Ports: Move Quake2 port in-tree
All commits have been combined into one platform support patch.
2022-08-31 14:25:15 +01:00
Jelle Raaijmakers
14ece2ac90 Ports: Support "restarts" in SDL2
SDL2 applications are prone to reinitializing the SDL components when,
for example, changing the display resolution. This would lead to
crashes since we were doing things in the wrong order.

* We now decouple `GLContext` from `SDL_Window` a bit more, allowing
  the window to be destroyed before the GLContext.
* Do not quit the `GUI::Application`, let our event loop handle exiting

These changes allow changing the display resolution in the Quake3 port.
2022-08-31 12:42:55 +01:00
Valtteri Koskivuori
adf85c719a Ports: Disable libsamplerate dependency for SDL2
On Arch Linux, the build was picking up the system libsamplerate, which
is undesirable. Unlikely that it is needed on Serenity, so disabling it
is a good workaround.
2022-08-28 22:54:11 +01:00
Kenneth Myhra
e22311370b Ports/glib: Update GLib to version 2.73.3 2022-08-28 15:42:14 +01:00
Kenneth Myhra
f99eb2d11b Ports/glib: Switch to the offical Release tarball for GLib
The GLib repository contains several submodules which is part of the
build process, but the source code for these submodule is not part of
the Source code tarball generated by Gitlab. Switching to download the
Release tarball from download.gnome.org solves this issue. It first
became apparent in version 2.73.x.

Additional information at: https://gitlab.gnome.org/GNOME/glib/-/issues/2716
2022-08-28 15:42:14 +01:00
djwisdom
98672e09dd Ports: Update serenity-theming use latest commit 624c29a 2022-08-27 03:34:04 +00:00
Brian Gianforcaro
14264ca022 Ports: Update gcc to version 12.2.0 2022-08-24 22:24:34 +00:00
Brian Gianforcaro
46f41f40a2 Ports: Update binutils to version 2.39 2022-08-24 22:24:34 +00:00
Jelle Raaijmakers
eb6b78b950 Ports: Set correct path in .la files for libvorbis
These libtool archives incorrectly pointed to `/usr/local` causing
other ports not to be able to find the libvorbis libraries.

We cannot use `configure --prefix=...` since that will add up with our
fixed `make DESTDIR=...` logic, causing the path to be duplicated.

We can also not change that `DESTDIR` logic without influencing all
other port builds.

Finally, `configure --with-sysroot=...` doesn't work since not all
other ports (such as SDL_mixer) have a recent enough libtool to
understand the sysroot syntax.

So let's `sed` this and be done with it :^)
2022-08-24 12:14:18 +02:00
Jelle Raaijmakers
07a7d3e136 Ports: Select right config tools for SDL_mixer
Previously, you would need `sdl-config` and `libmikmod-config` on your
host machine to get SDL_mixer to build. With this patch, it always
works :^)
2022-08-24 11:59:50 +02:00
Brian Gianforcaro
77a725b6f4 Ports: Update stress-ng to version 0.14.03
The stress-ng project appears to have addressed all the issues
we had been patching, and thus we no longer need almost all of
these patches.
2022-08-24 07:29:49 +00:00
Tim Schumacher
a0820b205c Ports/SDL2_ttf: Update to 2.20.1 2022-08-23 13:30:48 +01:00
Tim Schumacher
4678028842 Ports/SDL2_net: Update to 2.2.0 2022-08-23 13:30:48 +01:00
Tim Schumacher
ebf713da60 Ports/SDL2_mixer: Update to 2.6.2 2022-08-23 13:30:48 +01:00
Tim Schumacher
1ce3b9ea48 Ports/SDL2_image: Update to 2.6.2 2022-08-23 13:30:48 +01:00
Tim Schumacher
831afe3c3d Ports/SDL2: Update to 2.24.0 2022-08-23 13:30:48 +01:00
Tim Schumacher
2e31a479c4 Ports/SDL2: Do an out-of-tree build
SDL 2.24.0 starts having include loops if we try to do an in-tree build
against its wishes, so let's not do that anymore.
2022-08-23 13:30:48 +01:00
Seal Sealy
ffe9a862f0 Ports: Add aclock port 2022-08-23 13:29:32 +01:00
pancake
d6deecf7d8 Ports: Update to the latest radare2-5.7.6 2022-08-14 18:34:59 +01:00
EWouters
1712b6b3ed Ports: Add port aria2 version 1.36.0 2022-08-14 18:24:30 +01:00
Tim Schumacher
7e245b74f1 Ports: Remove two getprogname patches that are no longer needed 2022-08-12 19:51:45 -07:00
djwisdom
7a91105270 Ports: Update serenity-theming use latest commit 018356b
Improve theming support include color-palettes, wallpapers and
terminal-colors folders
2022-08-12 01:04:15 -04:00
Daniel Bertalan
34ae69b99d Ports/bzip2: Set AR and RANLIB
bzip2's Makefile uses the '=' operator to set these variables so they
cannot be overridden by just the environment variables; we have to pass
them on the command line.

This change ensures that the system ar/ranlib are no longer used, so the
port can be build on macOS or non-x86 Linux.
2022-08-04 02:54:19 +02:00
Jelle Raaijmakers
b44275569b Ports: Download and install ScummVM game icons 2022-08-02 13:26:49 +01:00
Jelle Raaijmakers
e83d03038a Ports: Update ScummVM to 2.6.0 2022-08-02 13:26:49 +01:00
djwisdom
8ab31284e7 Ports: Update serenity-theming use commit 3dc8b8e 2022-08-01 14:28:27 +01:00
djwisdom
8598fbb008 Ports: Update serenity-theming use latest commit 5d626d9 2022-07-27 21:43:33 +00:00
djwisdom
fae715a2c2 Ports: Update serenity-theming use latest commit f6d9306 2022-07-23 10:41:25 +01:00
Tim Schumacher
218e6d2f5e Ports/SDL2: Rename LibAudio connection to ConnectionToServer 2022-07-23 00:21:13 +01:00
Tim Schumacher
a39a341e26 Ports: Update the CMake platform module from upstream
While we're at it, remove the `/bin/sh` patch that is no longer needed,
as we now build the port fully on the host.
2022-07-22 17:33:28 +01:00
djwisdom
268c146c04 Ports: Update serenity-theming use latest commit 98ea1b3 2022-07-19 10:50:05 +01:00
Tim Schumacher
028c26df76 Ports/opfor: Update to 2022.07.14 2022-07-16 23:13:43 +01:00
Tim Schumacher
9383ffadb6 Ports/halflife: Update to 2022.07.14 2022-07-16 23:13:43 +01:00
Tim Schumacher
cdb59ec82a Ports/xash3d-fwgs: Update to 2022.07.14 2022-07-16 23:13:43 +01:00
Tim Schumacher
4cf55c4056 Ports/SDL2: Update for the recent StringView changes 2022-07-16 23:13:43 +01:00
kleines Filmröllchen
6e25b501ad Ports: Make libmpg123 compile again
This was as simple as copying over the libtool patches from libvorbis
and removing now-unneeded Serenity-awareness patches.

Co-authored-by: Tim Schumacher <timschumi@gmx.de>
2022-07-15 12:34:52 +02:00
Liav A
e5de5f4cf3 Ports: Update libuv to use the right /proc/memstat values 2022-07-14 23:27:46 +02:00
Liav A
7b7847c707 Ports: Update neofetch to use the right /proc/memstat values 2022-07-14 23:27:46 +02:00
djwisdom
ae60357951 Ports: Update serenity-theming use latest commit 2ce930e 2022-07-14 04:34:19 +00:00