summaryrefslogtreecommitdiff
path: root/Ports
AgeCommit message (Collapse)Author
2022-01-12Ports+LibGL: Replace LibGL context check by ScummVM patchJelle Raaijmakers
According to the OpenGL spec, invoking functions without an active context results in undefined behavior. Since ScummVM seems to be the only port having issues with our behavior, patch their code instead.
2022-01-12Ports: Remove obsolete mold patchDaniel Bertalan
This is no longer needed, as both toolchains now support std::filesystem.
2022-01-12Ports: Add missing GLtron port dependenciesJelle Raaijmakers
2022-01-12Ports: Correct EOL in GLtron patchJelle Raaijmakers
The line endings for this patch were inadvertently normalized because of our old `.gitattributes` rules.
2022-01-11Ports: Add GLTronJelle Raaijmakers
The patches mainly convert this SDL1 game to SDL2. It has some graphical artifacts, but it's playable!
2022-01-11Ports: Add Half-Life Port :^)Jesse Buhagiar
Add a port of Half-Life, the classic game by VALVe Software
2022-01-11Ports: Add mold portAndrew Kaster
The port exposes some dynamic loader and toolchain shortcomings, namely RTLD_NEXT, RTLD_NOLOAD, and std::filesystem. Hopefully we can discover a ton of multi-threading bugs in Serenity with this port :^)
2022-01-10Ports: Remove wireguard-tools strsep() replacement patchLinus Groh
2022-01-10Ports: Update bash port to version 5.1.16Daniel Bertalan
The `remove-conflicting-declaration-in-glob` patch seems to not be needed anymore.
2022-01-10Ports: Add wireguard-toolsLinus Groh
What will it take to port WireGuard to SerenityOS? No idea. But this is a start :^)
2022-01-10Toolchain: Backport `--update-section` support to llvm-objcopyDaniel Bertalan
This commit backports the LLVM commit that adds support for the `--update-section` flag to llvm-objcopy. We use this feature of GNU objcopy to embed the symbol map in the kernel. The corresponding LLVM Phabricator Differential Revision can be found here: https://reviews.llvm.org/D112116 This patch is identical to the upstream commit, except for two hunks that had to be changed as they didn't apply cleanly.
2022-01-09Ports: Add "-ldl" as CMAKE_DL_LIBS in CMake platform patchAndrew Kaster
2022-01-09Ports: Add ccache port to make compiling on Serenity more fun :^)Andrew Kaster
2022-01-09Ports: Convert curl port to use CMake, remove two autoconf patchesAndrew Kaster
This removes the shlib hack from the install step, which repackaged the static library as the shared one. It also has the benefit of making the port work with the Clang toolchain :^).
2022-01-09Ports: Patch out SDL timer lock from ScummVMJelle Raaijmakers
This change is backported from upstream master and prevents unnecessary spam to our debug console about NULL mutexes.
2022-01-09Ports: Compile ScummVM with OpenGL supportJelle Raaijmakers
By default, ScummVM will still run in software rendering mode, but the options to enable OpenGL will become available.
2022-01-09Ports: Update ScummVM to version 2.5.1Jelle Raaijmakers
2022-01-08Ports: Add interactive mode to .port_include.shNoah Rosamilia
Running `./package.sh interactive` in a port directory will spawn a new shell with the serenity build environment set up. This makes porting software much easier as build commands can be run interactively instead of having to modify package.sh just to test things.
2022-01-08Ports: Don't try to enable PGO for python3 when cross-compilingAndrew Kaster
The --enable-optimizations flag attempts to enable PGO. Profile-guided optimization is great in general, but will not work at all when doing a cross-compile. If there's a more fine-grained flag for generic optimization levels that doesn't try to do PGO, we should enable that instead. The flag also enables `-fno-semantic-interposition`, but our GCC patches enable that by default for -fPIC anyway, so that's not necessary.
2022-01-08Ports: Add $READELF and $HOST_READELF variables to include scriptsAndrew Kaster
Ports such as python require a distinction between host readelf and target readelf. Set a toolchain-specific varaible for these, but be sure save off the host readelf binary in case anyone needs it later. This is part of allowing python to build with the Clang toolchain.
2022-01-08Ports: Add /usr/local/lib to openssl's library search pathAndrew Kaster
This allows building with the clang toolchain. We might consider a more global patch in the future for this, it seems a lot of packages need help to find /usr/local/lib.
2022-01-08Ports: Patch sqlite's configure script to let it build as a shared libAndrew Kaster
By telling the libtool-related configure checks that the serenity platform does in fact support shared libs, we can get a VERSYM-free shared lib out of sqlite. This probably applies to other ports as well. Suggested-by: Daniel Bertalan <dani@danielbertalan.dev>
2022-01-08Ports: Update curl port to version 7.81.0Luke Wilde
2022-01-08Ports: Update zstd port to version 1.5.1Luke Wilde
2022-01-08Ports: Update OpenSSL port to version 1.1.1mLuke Wilde
2022-01-08Ports: Update libtiff port to version 4.3.0 and use sha256Luke Wilde
This uses sha256 instead of signatures like what has been done for the other ports. This version of libtiff uses the version of config.sub which has Serenity in it, so this port no longer needs any patches! :^)
2022-01-08Ports: Remove unnecessary `-lmodplug` from `tuxracer`Jelle Raaijmakers
2022-01-08Ports: Fix dynamic load of libmodplug by SDL2_mixerJelle Raaijmakers
The configure script for `SDL2_mixer` was trying to find the shared library for `libmodplug` in the wrong directories and with the wrong filename. This installs the shared library as `libmodplug.so.1` and symlinks to it from `libmodplug.so`, and instructs the `SDL2_mixer` build to search for it in `/usr/local/lib`. Fixes the build for ports Super-Mario, freeciv and dungeonrush.
2022-01-08Ports: Include missing signal.h in emu2Tim Schumacher
This file apparently relies on the fact that `sys/wait.h` _may_ include symbols from `signal.h`, but as we don't have that (and it isn't a requirement), let's just add the include for `signal.h`.
2022-01-08Ports: Unset env vars after configure in `php`Jelle Raaijmakers
These environment variables would linger after the `php` port was done building. This would pose issues in the future if other ports depend on this package, since these vars then leak into the build scripts.
2022-01-08Ports: Update `php` port to version 8.1.1Jelle Raaijmakers
2022-01-08Ports: Reinstate `config.sub` patch for `libogg`Jelle Raaijmakers
Commit fee43e3544 broke the `libogg` port build by removing the `config.sub` patch. This reinstates that patch.
2022-01-07Ports/qt6: Add qt6-serenityMartin Bříza
And this is the platform plugin we need to run Qt6 apps properly
2022-01-07Ports/qt6: Add a very basic Qt6 Base packageMartin Bříza
It's necessary to have a working serenity platform plugin for it to work with GUI applications
2022-01-07Ports: Describe in README that 'depends' is an arrayErlend Lind Madsen
The README previously described `depends` as a space-separated string. This is now changed to an array, which seem to be the correct type used in the other Ports.
2022-01-06Ports/stress-ng: Remove patches which disable lchown testingBrian Gianforcaro
Serenity's LibC now supports lchown, so we no longer need to disable these stressors. The port can build and run cleanly without these patches.
2022-01-06Ports/stress-ng: Update to the latest version - v0.13.10Brian Gianforcaro
2022-01-07Ports: Add npietNoah Rosamilia
Add interpreter for piet programming language https://www.bertnase.de/npiet/ https://www.dangermouse.net/esoteric/piet.html
2022-01-07Ports: Add libgdNoah Rosamilia
Required for npiet port
2022-01-06Ports: Add liboggz portRafał Babiarz
2022-01-05Ports: Fix the sha256sum for libjpegTim Schumacher
While the modification time still points back to 2020, it looks like the tarball got updated secretly.
2022-01-05Ports: Updated libogg to version 1.3.5Rafał Babiarz
2022-01-04Toolchain: Fix building the aarch64 toolchainDaniel Bertalan
The `aarch64/t-aarch64` makefile fragment needs to be included for the aarch64-specific parts of GCC to be built. Before 738e52da5, this was done implicitly, but now it is not. This caused the following error when building the toolchain: "aarch64-builtins.o: No such file or directory".
2022-01-03Ports: Remove build-crt patch from llvmAndrew Kaster
This patch has been integrated into the toolchain.patch file.
2022-01-01Ports: Add pfetch utilityLiav A
This is a nice and small utility that prints system info based on POSIX interfaces only.
2021-12-30Ports: Implement `SDL_QUIT` event in Tux RacerJelle Raaijmakers
This allows the user to close Tux Racer by closing the window.
2021-12-29Ports/gdb: Add basic ptrace based native target for SerenityOS/i386Brian Gianforcaro
This patch adds a ptrace based gdb backend, which is then enlightended to known how to read the serenity i386 registers via ptrace. This is just a basic implementation to get the port bootstrapped.
2021-12-29Ports/gdb: Fix compiler -fpermissive warnings from using latest GCCBrian Gianforcaro
These are compilation errors coming form upstream gdb.
2021-12-29Ports/gdb: Use mmap instead of malloc for sigaltstack()Daniel Bertalan
Stack regions can't be made volatile, which makes it impossible for malloc to manage memory that's used for `sigaltstack()`. Let's use mmap instead. Co-authored-by: Idan Horowitz <idan.horowitz@gmail.com>
2021-12-29Ports: Add initial GDB 11.1 portBrian Gianforcaro
This builds and runs, but crashes when you attempt to try to debug something at the moment.