summaryrefslogtreecommitdiff
path: root/Ports
AgeCommit message (Collapse)Author
2022-10-03Meta: Make x86-64 target the defaultLiav A
This is a preparation to check if our users find noticeable bugs in the x86-64 target, before we can decide if we want to remove the i686 target for good.
2022-10-03Ports/mold: Update to 1.5.1 and use CMake instead of MakefileAndrew Kaster
Per the release notes for 1.5.0, the CMake build is preferred going forward. This lets us drop some Makefile patches and pass them as CMake options instead, with the exception of disabling mold-wrapper.so.
2022-10-02Base: Update ports serenity-theming use latest commit f0100c2djwisdom
2022-10-02Ports/sdl12-compat: Update to version 1.2.56Tim Schumacher
2022-10-01Ports/OpenJDK: Use posix_fallocateDJtheRedstoner
2022-10-01Ports/OpenJDK: Update for the removal of StringView(char const*)DJtheRedstoner
2022-10-01Toolchain: Move the binutils patch into its own folderTim Schumacher
This makes binutils compatible with `./package.sh dev`, so that we can regenerate patches more easily, and neatly stack (temporary) patches on top.
2022-09-30Ports/qemu: Use the coarse monotonic clock for timing CPU ticksTim Schumacher
While this loses quite a bit of accuracy (although to no apparent decrease in emulation quality) , it helps avoiding the additional overhead of the `clock_gettime` syscall (as `CLOCK_MONOTONIC_COARSE` is forwarded using the mapped time page) and we don't have to do a HPET timer read for each tick. This results in a decrease of Serenity boot time from 1h16m down to 42m when running on Serenity.
2022-09-18Ports: Only regenerate patches if there are actual changed commitsTim Schumacher
We were previously comparing the hash against the hash after the initial import, which caused us to regenerate patches every time as long as we did have patches (even if they haven't changed at all) and the script entirely missing that it should remove patches if the current commit is the "import" commit.
2022-09-18Ports: Handle generating a ReadMe for an empty patch directoryTim Schumacher
2022-09-18Ports: Place tags at important points in the commit historyTim Schumacher
This helps with easier rebasing and for easier comparing or returning to the state at which the last actual on-disk patches were.
2022-09-18Ports: Unify the git "origin" and the working copyTim Schumacher
I've lost more changes to "you forgot to push the changed commits to the remote" than I'd like to admit, so let's just unify both and only ever use the actual working repository for detemining whether any patches have changed.
2022-09-18Toolchain: Regenerate patches using the latest format rulesTim Schumacher
2022-09-18Ports: Force full-length file indices when formatting patchesTim Schumacher
This keeps file index lengths from being dependent on internals of the repository.
2022-09-18Ports: Follow symlinks while discovering whether a port has patchesTim Schumacher
This enables us to use `./package.sh dev` with LLVM and GCC.
2022-09-18Ports: Keep `[...]` prefixes while importing patchesTim Schumacher
This stops us from mangling our LLVM patch names and titles when using `./package.sh dev`, as they like to put their category names in square brackets.
2022-09-17Ports: Make SDL2 build since recent `GL::create_context` changesJelle Raaijmakers
We also directly invoke `::present` on `GLContext` instead of going through the static method `GL::present_context`.
2022-09-16Ports: Remove the duplicated Clang compiler symlinksTim Schumacher
Those have been added to the Clang build script in d4d6f2d945153e9f77c4cfeee12cd0fcc6b72b68, and now that the Clang version has been updated, everyone should have those symlinks already anyways.
2022-09-16Toolchain: Update to LLVM 15.0.0Tim Schumacher
2022-09-13Ports: Do not allow `clean*` to be overriddenJelle Raaijmakers
There were only two packages making use of this functionality, but it seems more sensible to have a fixed implementation for the cleaning of ports - especially now they delete the entire build directory and/or dist files.
2022-09-13Ports: Actually clean port build directoryJelle Raaijmakers
The functionality for `./package.sh clean` was a bit weird: based on whether you were working in dev mode, it would try to delete either `$workdir` or `$nongit_workdir` and `*.out` from your `pwd`. The new functionality is pretty clear: `./package.sh clean` deletes the entire build directory for the port regardless of what mode you're in, `./package.sh clean_dist` removes all `$files`, and `./package.sh clean_all` does both.
2022-09-13Ports: Update serenity-theming use latest commit fbd26ecdjwisdom
2022-09-09Ports: Update Quake III's launcher nameJelle Raaijmakers
Following what is commonly used on the internet as the game's title, and making it consistent with Quake II.
2022-09-09Ports: Update launcher path to Quake IIJelle Raaijmakers
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-08Ports: Update serenity-theming use latest commit 3b4e1f2djwisdom
2022-09-08Ports: Build Quake in parallelJelle Raaijmakers
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-05Ports: Remove invalid copy action from PrBoom+ buildJelle Raaijmakers
This was a test that should have been removed in the previous PR.
2022-09-03Ports: Support `SDL_WINDOWEVENT_CLOSE` in SDL2Jelle Raaijmakers
This allows PrBoom+ to properly quit the application when closing the main window.
2022-09-03Ports: Add PrBoom+Jelle Raaijmakers
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-03Ports: Add TiMidity++Jelle Raaijmakers
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-02Ports/python3: Make pip workHumberto Alves
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-08-31Ports: Tidy up Quake2 platform patchJelle Raaijmakers
There were a lot of unrelated formatting changes in the patch, which is now shrunk by roughly 60%.
2022-08-31Ports: Fix Quake2 dynamic loading issuesJelle Raaijmakers
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-31Ports: Move Quake2 port in-treeJelle Raaijmakers
All commits have been combined into one platform support patch.
2022-08-31Ports: Support "restarts" in SDL2Jelle Raaijmakers
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-28Ports: Disable libsamplerate dependency for SDL2Valtteri Koskivuori
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-28Ports/glib: Update GLib to version 2.73.3Kenneth Myhra
2022-08-28Ports/glib: Switch to the offical Release tarball for GLibKenneth Myhra
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-27Ports: Update serenity-theming use latest commit 624c29adjwisdom
2022-08-24Ports: Update gcc to version 12.2.0Brian Gianforcaro
2022-08-24Ports: Update binutils to version 2.39Brian Gianforcaro
2022-08-24Ports: Set correct path in `.la` files for libvorbisJelle Raaijmakers
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-24Ports: Select right config tools for SDL_mixerJelle Raaijmakers
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-24Ports: Update stress-ng to version 0.14.03Brian Gianforcaro
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-23Ports/SDL2_ttf: Update to 2.20.1Tim Schumacher
2022-08-23Ports/SDL2_net: Update to 2.2.0Tim Schumacher
2022-08-23Ports/SDL2_mixer: Update to 2.6.2Tim Schumacher
2022-08-23Ports/SDL2_image: Update to 2.6.2Tim Schumacher
2022-08-23Ports/SDL2: Update to 2.24.0Tim Schumacher
2022-08-23Ports/SDL2: Do an out-of-tree buildTim Schumacher
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.