Commit graph

888 commits

Author SHA1 Message Date
Tim Schumacher de7aa80669 Ports: Add GNU core utilities 2022-04-03 19:15:14 +02:00
Hunter Kvalevog 85ed64b99c Ports: Enable libx264 support in FFmpeg 2022-04-03 14:45:13 +01:00
Hunter Kvalevog a0bbadac14 Ports: Add x264 2022-04-03 14:45:13 +01:00
Jelle Raaijmakers d53c602e11 Ports: Set port to match the port's directory
We currently have no valid use case for having a `port` property
different from the directory name the port's residing in. We do have
issues when this is the case when referencing dependencies, so let's
make sure all ports have a sensible `port` property to begin with.
2022-04-03 12:35:14 +01:00
Jelle Raaijmakers 563d11c977 Ports: Move luajit warning into preconfigure
Otherwise this message will be printed during other `package.sh`
actions such as `showproperty`.
2022-04-03 12:35:14 +01:00
Tim Schumacher 4c9fbea987 Revert "Ports: Fix dependency install if port name is not folder name"
This breaks ports whose name may come up in more than one port name.

This reverts commit cc08f82ddb.
2022-04-03 12:32:00 +01:00
EWouters cc08f82ddb Ports: Fix dependency install when port name is not port folder name
There was a bug in the way the `.port_include.sh` script handled
installing dependencies. According to the
[documentation](https://github.com/SerenityOS/serenity/tree/master/Ports#depends)
the depends array should have port names in it. The port system allows
for the name of the port to be different from the folder where port
lives. Previously the `installdepends` function would cd to the name
of the port, now it will find and run the `package.sh` that has the
line `port=$depend` in it.
2022-04-02 13:12:02 +01:00
EWouters 77d9a764e3 Ports/libtiff: Name port as folder name and fix workdir
Previously when installing libtiff as a dependency for another port
it would not find the entry in `packages.db` as the ports that
depend on libtiff would use the folder name rather than the port
name in the dependency list. They did this because there was is a
bug in `.port_include.sh` that cds to the port name and not the
folder the port lives in. This is a workaround for that issue.
2022-04-02 13:12:02 +01:00
Liav A 979f89473b Ports: Remove IPv6 patch for dmidecode
This is not needed anymore because our LibC recognizes what AF_INET6 is
about.
2022-04-01 11:27:19 +02:00
Liav A 9af62ba6e3 Ports: Fix dmidecode SYS_FIRMWARE_DIR patched macro 2022-04-01 11:27:19 +02:00
EWouters e6d28a9dd4 Ports/cmake: Update cmake to version 3.23.0 and remove upstreamed patch
The check for HAVE_SIZEOF_SSIZE_T and not HAVE_SSIZE_T has been upstreamed in 99acfe41f5.
2022-03-31 16:05:07 -07:00
safarp 278241859b Ports: Add Jagged Alliance 2 Stracciatella port 2022-03-30 14:11:53 +01:00
Jelle Raaijmakers c637795888 Ports: Update PHP to 8.1.4 2022-03-29 22:49:27 +01:00
Daniel Bertalan 941d152a88 Ports: Stop zlib from trying to use the host linker
Backports an upstream fix for a bug that caused the host compiler to be
used for linking even though the cross-compiler was specified in the
`CC` environment variable.

This didn't cause an issue for SERENITY_ARCH=i686 on Linux hosts,
because seeing that the host linker couldn't deal with i686 objects, the
configure script fell back to generating only a static library. On
x86-64, the host toolchain was able to deal with the object files, but
tried to link those to host libraries. On macOS hosts, nothing worked.
2022-03-29 20:25:36 +02:00
Tim Schumacher 8f3326616a Ports: Remove the OpenSSH prctl compatibility patch 2022-03-29 09:10:34 -07:00
Sebastian Rueth 4707b3a8a1 Ports: Update zlib to 1.2.12 2022-03-29 12:10:13 +02:00
Tim Schumacher 022aed2541 Ports: Upgrade to sed 4.8 2022-03-28 10:38:02 -07:00
Michael Manganiello f421addc50 Ports: Add Free Heroes of Might and Magic II (fheroes2) port
`fheroes2` is a recreation of HoMM2 game engine. This port is set with
`GET_HOMM2_DEMO=ON` for a free demo version to be automatically
downloaded and used, without requiring the user to provide game
resources from the original game.

Besides the provided patches, we set `CXXFLAGS="'-D_GNU_SOURCE'"` to
build the port, for SerenityOS' `LibC/endian.h` to provide required
endianness functions and constants.

**Considerations**:
* In-game custom cursor is not working, game logs show:
  `Cursors are not currently supported` [0].
* Game is still unplayable, as it commonly raises a Kernel panic when
  trying to start a new game (reported at SerenityOS/serenity#9401).

[0] ae3bc94772/src/events/SDL_mouse.c (L952)
2022-03-27 18:31:10 +02:00
Michael Manganiello 16ff2d339a Ports: Enable MP3 support for SDL2_mixer
`SDL2_mixer` needs `libmpg123` to support MP3 playback. By adding
it as a dependency, its compilation now outputs:

```
checking mpg123.h usability... yes
checking mpg123.h presence... yes
checking for mpg123.h... yes
checking for mpg123_replace_reader_handle in -lmpg123... yes
-- dynamic libmpg123 -> libmpg123.so.0
```

Sound output was tested with
[an implementation](https://gist.github.com/cdave1/10563386) found
online.
2022-03-26 18:13:46 +01:00
Michael Manganiello 7dfb167b18 Ports: Add libmpg123 port
Add `libmpg123` port, for dependant projects to be able to use it.

This port doesn't include the entire `mpg123` project, just the
`libmpg123` library.
2022-03-26 18:13:46 +01:00
Linus Groh 6b8358b1f1 Ports: Update Python to 3.10.3
Released on 2022-03-16.
https://www.python.org/downloads/release/python-3103/
2022-03-25 22:27:14 +00:00
Tobias Christiansen acdb0860b1 Ports: Add cfunge
This adds the `cfunge` Befunge interpreter. An interpreter for the
esoteric programming language Befunge written in C.
2022-03-25 22:49:06 +01:00
Tim Schumacher a763e68e73 Ports: Unignore the Ruby version helper script 2022-03-24 20:11:39 -07:00
Tim Schumacher 53b0078486 Ports: Unignore the OpenSSH port README 2022-03-24 20:11:39 -07:00
Tim Schumacher 25bc9c6054 Ports: Unignore the basic verification file of fio 2022-03-24 20:11:39 -07:00
Tim Schumacher 35e7ccb65b Ports: Explicitly unignore glib meson configuration files 2022-03-24 20:11:39 -07:00
circl aac4382cd1 Ports: Add icon to The Powder Toy port 2022-03-24 22:31:02 +00:00
circl f1c28ea3e0 Ports: Add required Meson cross-files to The Powder Toy port
Previously the port would not build, as these files were mistakenly
ignored by Git.
2022-03-24 22:31:02 +00:00
circl 0865a06ef5 Ports: Add The Powder Toy port 2022-03-20 18:20:01 +00:00
circl adcd39d928 Ports: Add FFTW port 2022-03-20 18:20:01 +00:00
circl ce5f34f153 Ports: Add luajit port 2022-03-20 18:20:01 +00:00
Brian Gianforcaro 213df97b55 Ports/gdb: Upgrade gdb to version 11.2 2022-03-19 11:55:08 -07:00
Brian Gianforcaro 83abc83d3c Ports/stress-ng: Update stress-ng to 0.13.12
This required updating a bunch of patches which had conflicts
in the latest version.

New Patches:
- serenity: Add bogus O_NDELAY just to allow the port to compile
- serenity: Disable nice() stress workload as we do not implement it
- serenity: Disable prctl stressor on serenity
2022-03-18 11:59:35 +00:00
Daniel Lemos 3063aedb0c Ports: Add Lua's package manager LuaRocks
Ports: Add LuaRocks to AvailablePorts.md

Ports: Add ReadMe.md for the patches
2022-03-16 14:14:01 +00:00
Daniel Lemos a4e5c6201e Ports: Make lua depends and build with readline 2022-03-16 14:12:30 +00:00
Tim Schumacher 4cbf78ce6a Ports: Add a dependency on libiconv to tig 2022-03-16 14:10:59 +00:00
Tim Schumacher d3f3bb1853 Ports: Add a dependency on libiconv to p7zip 2022-03-16 14:10:59 +00:00
Tim Schumacher 8ffba7e2cf Ports: Add libpng and libjpeg dependencies to imgcat
Those don't seem to be strictly required, but we already have those
ports, might as well add a few more formats to the mix.
2022-03-16 14:10:59 +00:00
Tim Schumacher aad776048e Ports: Add a dependency on zlib to ntbtls 2022-03-16 14:10:59 +00:00
Tim Schumacher 1cab2e54e1 Ports: Fail if config.{sub,guess} don't replace existing files
This should help with finding misconfigured config.sub and config.guess
settings.
2022-03-16 14:10:59 +00:00
Tim Schumacher 26b4e74f4a Ports: Add a dependency on pcre to citron 2022-03-16 14:10:59 +00:00
Tim Schumacher 46399e3dc0 Ports: Disable SDL support for libmpeg2
We do not have a port of SDL.
2022-03-16 14:10:59 +00:00
Luke Wilde 6f4dde253f Ports: Update OpenSSL to 1.1.1n 2022-03-16 13:01:23 +00:00
Pierce Andjelkovic 1b14840b48 Ports: Allow harfbuzz to be built with cmake 3.18.4
CMake defaults to the current directory if the source or build 
directory is not specified. Harfbuzz builds into an alternate 
directory so it fails. This change specifies the directory prior 
to any additional parameters so the build can succeed with 
cmake 3.18.4.
2022-03-15 14:03:07 +00:00
Pierce Andjelkovic c24ba8c5ad Ports: Add config_sub_path to flex 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic 67de6446a9 Ports: Add config.sub location to diffutils config.sub 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic 9b437718fb Ports: Point gnucobol to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic 108808bb8f Ports: Point indent to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic a7ba108d1d Ports: Point libarchive to the correct config.sub location 2022-03-15 14:03:07 +00:00
Pierce Andjelkovic 7b2e0af13f Ports: Point libexpat to the correct config.sub location 2022-03-15 14:03:07 +00:00