summaryrefslogtreecommitdiff
path: root/Ports
AgeCommit message (Collapse)Author
2022-03-08Ports: Add ca-certificates as a dependency to curlTim Schumacher
2022-03-08Ports: Add a ca-certificates "port"Tim Schumacher
2022-03-08Ports: Download fresh config.guess if neededDaniel Bertalan
The config.guess file needs to know about the SerenityOS `uname -m` system name if we want to build ports inside Serenity. Support was only added in January 2022, so most ports don't have a new enough version yet. This commit adds facilities for fetching a fresh config.guess file that supports SerenityOS, similarly to what we do for config.sub. As its first user, we make the bash port buildable inside the system.
2022-03-08Ports: Use `sed -i` for run_replace_in_file on Serenity hostsDaniel Bertalan
We don't have a perl port, so let's use GNU sed's in-place option for doing substitutions when running inside Serenity. Note that we can't do this unconditionally, as `sed -i` is not portable and works differently on BSD systems.
2022-03-08Ports: Add a bdwgc (aka libgc) portAli Mohammad Pur
For all your ports' garbage collection needs :^)
2022-03-08Ports: Add OpenGL include dir to quake2 buildJelle Raaijmakers
2022-03-02Ports: Update vttest to version 20220215Daniel Bertalan
We now download a versioned tarball instead of the latest release to avoid breaking the port build due to a signature mismatch when a new version is released.
2022-03-02Ports: Upgrade to FFmpeg 5.0 release; enable SDL and networkingPeter Ross
2022-02-23Ports: Add Bochs x86 PC emulatorPeter Ross
2022-02-22Ports: Enable `monkey4` engine for ScummVMJelle Raaijmakers
This depends on both the `libmpeg2` and `libmad` ports. Since `monkey4` is currently an experimental engine in ScummVM, we need to explicitly enable it during configuration.
2022-02-22Ports: Add libmpeg2Jelle Raaijmakers
2022-02-22Ports: Add libmadJelle Raaijmakers
2022-02-20Ports: Use the objcopy built as part of the toolchainDaniel Bertalan
Relying on host tools working correctly is not a good idea, as they may be outdated (and therefore not support features like RELR relocations) or may not exist at all (like objcopy on macOS).
2022-02-20Ports: Update libjpeg to 9eDaniel Bertalan
2022-02-20Ports/gdb: Implement wait and mourn_inferior overrides for our targetBrian Gianforcaro
While troubleshooting why gdb wasn't working when attempting to debug serenity programs I noticed two things: - The contract of serenity's `waitpid(..)` appears to be slightly different than the generic ptrace target expects. We need to make sure we pass `WSTOPPED`, and it can return different errno values that we would want to re-try on. - The contract of serenity's `ptrace(..)` implementation appears to diverge as well, as we are expected to call `PT_ATTACH` before we call `PT_CONTINUE`, otherwise `ptrace(..)` will just error out. These two patches fix the behavior of wait and mourn_inferior so that they work as expected on serenity and allow us to attach and then wait for a process to exit while running under gdb.
2022-02-20Ports/gdb: Add descriptions to all gdb patches and remove dead codeBrian Gianforcaro
Before working on the gdb port some more, I wanted to get these patches cleaned up to have a good base to build upon.
2022-02-17Ports: Enable OpenSSL support for CMakeTim Schumacher
2022-02-17Ports: Set the correct config.sub path for patchTim Schumacher
2022-02-17Ports: Set the correct config.sub path for mpcTim Schumacher
2022-02-16Ports: Disable socketpair support for curlTim Schumacher
This is currently broken in Serenity. Disable it until we figure out why.
2022-02-14Ports: Add ImageMagickJoe Petrus
2022-02-13Ports: Update the citron patches after upstreaming a fewAli Mohammad Pur
This also switches to checking out a specific commit instead of just the master HEAD, as the port linter requires a hash (which is imo pointless in this case), and we can't provide a stable hash for the master branch HEAD.
2022-02-12Ports: Add a citron portAli Mohammad Pur
This disables the GC, so the REPL doesn't run, but basic programs do work.
2022-02-12Ports: Add a sparsehash portAli Mohammad Pur
2022-02-12Ports: Add a pre_install hookAli Mohammad Pur
2022-02-11Ports: Update binutils to version 2.38Daniel Bertalan
2022-02-08Ports: Fix lua not buildingJackson
2022-02-06Ports: Update nano to version 6.0BodgeMaster
This is just a bump of the version number in a couple places. Tested to work.
2022-02-06Ports: Update wget to version 1.21.2BodgeMaster
This is another one where I just changed the version number and it worked.
2022-01-31Ports/fontconfig: Add freetype dependencyLuke Wilde
When I did a fresh build of ports, I got this while building fontconfig: ``` checking for FREETYPE... no configure: error: Package requirements (freetype2 >= 21.0.15) were not met: No package 'freetype2' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FREETYPE_CFLAGS and FREETYPE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ```
2022-01-30Ports: Update Python to 3.10.2Linus Groh
Released on 2022-01-14. https://www.python.org/downloads/release/python-3102/
2022-01-27Ports: Explain some new patch script options and features in the READMEAli Mohammad Pur
This explains: - `package.sh dev [--no-depends]` - `use_fresh_config_sub` & `config_sub_path`
2022-01-27Ports: Make 'package.sh dev' a bit more friendly when importing patchesAli Mohammad Pur
When a git patch that doesn't apply is encountered, start a git am session and _then_ drop the user in it instead of expeting the user to start the session on their own. Also prompt for leftover files and delete them if the user does not want them.
2022-01-24Ports: Add Half-Life: Opposing Force port :^)Jesse Buhagiar
2022-01-24Toolchain: Backport support for the mold linkerDaniel Bertalan
The `-fuse-ld=mold` flag was only added in the not-yet-released GCC 12. Cherry-picked from the following upstream commit: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ad964f7eaef9c03ce68a01cfdd7fde9d56524868
2022-01-24Toolchain+Ports: Use the GNU hash format by defaultDaniel Bertalan
This hash format offers faster symbol lookup than the System V hash. We've been using it in all our shared libraries for a long time, but did not have it enabled by default in our toolchain, so ports couldn't make use of it.
2022-01-24Kernel+Toolchain: Use `.init_array` section for global constructorsDaniel Bertalan
Before this change, our dynamic linker's global constructor handler relied on the GNU linker implicitly including the content of `.ctors` section inside `.init_array`. The mold linker does not do this, so global constructors would fail to be called in the mold-built userland. There is no point in sticking to `.ctors`, as most other systems already use the superior `.init_array` scheme. This commit changes the kernel linker script to not discard this new section, and enables it by default in our toolchain.
2022-01-24Ports: Enable menu support for half-life portSahan Fernando
This partially enables support for menus in half-life. Currently, mouse input does not work in it, the arrow keys are needed for navigation.
2022-01-24Ports: Add link flags to pkgconfig file installed by fontconfig portSahan Fernando
2022-01-24Ports: Fix freetype portSahan Fernando
2022-01-24Ports: Update mold port to v1.0.2Andrew Kaster
Patches regenerated with the new ./package.sh dev mode. It seems to work as advertised, after a bit of experimentation :^).
2022-01-21Ports: Set `config.sub` path for SDL2_mixerJelle Raaijmakers
This path needs to be set, or otherwise SDL2_mixer will not build.
2022-01-22Ports: Remove redundant `ensure_new_config_sub` callFragstiller
2022-01-22Ports: Relocate `use_fresh_config_sub` check to `do_configure()`Fragstiller
2022-01-18Ports: Add a port of tig 2.5.5Brian Gianforcaro
2022-01-18Ports/readline: Fix config.sub refresh for the readline portBrian Gianforcaro
The new `use_fresh_config_sub` option puts the config.sub in the root of the tree, but `readline` puts it in the `support/` folder. So we need to tell the ports infrastructure to place the file in that folder.
2022-01-17Meta+Ports: Make 'package.sh showproperty' report multiple propertiesAli Mohammad Pur
And use that to avoid shelling out multiple times for checking properties in lint-ports.py.
2022-01-17Ports/git: Update git to the latest 2.34.1 releaseBrian Gianforcaro
2022-01-16Ports: Correct the config.sub path for freetypeAli Mohammad Pur
This regressed in cdd6d68, setting the correct path makes it build again.
2022-01-16Ports: Regenerate patches for python3Linus Groh