Commit graph

982 commits

Author SHA1 Message Date
Daniel Bertalan
cccc001ded Ports: Add $STRIP and $HOST_STRIP variables
This fixes stripping the debug information from the gcc port when
building on macOS hosts.
2022-05-12 13:12:37 +02:00
Daniel Bertalan
2c0c1dca04 Ports/gcc: Install dependencies as ports
This lets us remove a couple manual config.sub patches.
2022-05-12 13:12:37 +02:00
Daniel Bertalan
f123fd7af6 Ports: Enable ccache for SERENITY_TOOLCHAIN=Clang 2022-05-12 13:12:37 +02:00
Daniel Bertalan
9b34ffd964 Ports: Add Integer Set Library (isl)
This is a dependency of gcc.
2022-05-12 13:12:37 +02:00
Jelle Raaijmakers
b5a39f5edb Ports: Play GLTron audio at 1x speed
Because of sample rate issues, the audio used to be played at 2x speed.
2022-05-09 21:18:21 +02:00
Jelle Raaijmakers
fa77e6b289 Ports: Convert GLTron patches to new format 2022-05-09 21:18:21 +02:00
Jelle Raaijmakers
37bbfc1b38 Ports: Improve newline support for ./package.sh dev
Previously `git am` could fail on patches with Windows line endings
(CRLF). By supplying `--keep-cr`, we prevent git from stripping the CR
from our patches.
2022-05-09 21:18:21 +02:00
EWouters
0e9100e3c2 Ports/cmake: Update cmake to version 3.23.1 2022-05-08 16:33:27 +02:00
EWouters
a07e12609e Ports/mrsh: Fix workdir, remove or upgrade patches
Also removes mrsh from the list of ports missing descriptions. I tried
to be descriptive about the patches, but as I picked this port up from
someone else, I'm not 100% sure how to best explain the patches.
2022-05-07 17:00:39 +02:00
EWouters
f04911e777 Ports/libmad: Use fresh config.guess
This fixes the build on MacOS.
2022-05-07 01:10:28 +02:00
Luke Wilde
8ed4ec9bc4 Ports: Update ca-certificates to 2022-04-26 2022-05-04 19:26:02 +02:00
Luke Wilde
65693bd003 Ports: Update OpenSSL to 1.1.1o 2022-05-04 19:26:02 +02:00
Luke Wilde
58409bcbd2 Ports: Update curl to 7.83.0 2022-05-04 19:26:02 +02:00
Tim Schumacher
812aa1a99c Ports: Make cmake adhere to the number of build jobs 2022-05-03 22:18:20 +02:00
Tim Schumacher
8f8673474a Ports: Make llvm adhere to the number of build jobs 2022-05-03 22:18:20 +02:00
Tim Schumacher
d8ce2802e0 Ports: Make the number of compile jobs configurable 2022-05-03 22:18:20 +02:00
Tim Schumacher
7eb8d13f84 Ports: Update mc to 4.8.28
This also switches us from the GitHub tag archive to using the actual
release tarballs, which don't require us to run autoconf anymore.
2022-05-03 22:17:28 +02:00
Tim Schumacher
365caec2e2 Ports: Replace mc config.sub patch with our own download
`mc` runs `autoconf` on the fly, which unpacks a `config.sub` from its
own files. This means that support for `serenity` (and the fact whether
the patch successfully applies) depends on the version of `autoconf`
that is installed on the host.

Instead, just always replace it with a fresh version straight from the
GNU server.
2022-05-03 22:17:28 +02:00
Tim Schumacher
283aa43bf9 Ports: Force glib to link against gcc_s during the configure stage 2022-05-03 22:17:28 +02:00
Tim Schumacher
9dde7dcd70 Ports: Fix the default Toolchain name in .hosted_defs.sh 2022-05-03 22:17:28 +02:00
Tim Schumacher
be8a18b8d5 Ports: Work around halflife formatting NaN values endlessly 2022-05-03 22:16:14 +02:00
Tim Schumacher
73e505fb77 Ports: Return opfor to upstream 2022-05-03 22:16:14 +02:00
Tim Schumacher
c9c59602a4 Ports: Return halflife to upstream 2022-05-03 22:16:14 +02:00
Linus Groh
45995aaeb6 Ports: Add RISCVEmu 2022-05-03 21:38:35 +02:00
Patrick Meyer
7b76bc2b49 Ports: Update openssh to 9.0 2022-05-02 17:12:51 -07:00
Patrick Meyer
6020364476 Ports: Make openssh server not crash during startup
Before, the openssh server tried to chroot. The startup always aborted
after that, as our chroot stub currently simply returns -1. Luckily we
can use unveil instead.

Furthermore the missing ssh_host_ed25519_key also prevented the server
from successfully starting.

The previous ReadMe.md entry about socketpair missing was already
resolved by #6705.
2022-05-02 17:12:51 -07:00
Tim Schumacher
139f903960 Ports: Set the correct prefix for libxml2
The prefix should apply both inside and outside the system. Having the
full host path there only confuses software that is built inside the
system, as well as other ports that prepend the host path themselves
additionally.
2022-04-30 16:22:40 +02:00
Kenneth Myhra
1cc69edc34 Ports: Remove no longer needed fnmatch.patch
We already have LibC/fnmatch.h with the necessary defines so these
patches are no longer needed.
2022-04-29 22:49:25 +02:00
Jelle Raaijmakers
15b0c38c0f Ports: Compile SDL2 against LibAudio 2022-04-29 18:05:42 +02:00
Patrick Meyer
03d38e3ab8 Ports: Update dropbear port to 2022.82 2022-04-28 08:38:24 -07:00
circl
8cdbad3c7a Ports: Use correct packages.db location in build_installed.sh
The packages.db file now resides in Serenity's root.
2022-04-26 22:45:48 +02:00
circl
2130a83640 Ports: Make .hosted_defs.sh usable outside of .port_include.sh
This commit moves some stuff around in order to isolate .hosted_defs.sh
from .port_include.sh
2022-04-26 22:45:48 +02:00
EWouters
559ea5a030 Ports/libyaml: Fix download location 2022-04-24 11:30:24 -04:00
Daniel Bertalan
01b31d9858 Toolchain+Ports: Update LLVM to 14.0.1
Besides a version bump, the following changes have been made to our
toolchain infrastructure:
- LLVM/Clang is now built with -march=native if the host compiler
  supports it. An exception to this is CI, as the toolchain cache is
  shared among many different machines there.
- The LLVM tarball is not re-extracted if the hash of the applied
  patches doesn't differ.
- The patches have been split up into atomic chunks.
- Port-specific patches have been integrated into the main patches,
  which will aid in the work towards self-hosting.
- <sysroot>/usr/local/lib is now appended to the linker's search path by
  default.
- --pack-dyn-relocs=relr is appended to the linker command line by
  default, meaning ports take advantage of RELR relocations without any
  patches or additional compiler flags.

The formatting of LLVM port's package.sh has been bothering me, so I
also indented the arguments to the CMake invocation.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
9a898df1cd Ports: Fix issue with the patches directory being a symlink
The path of the temporary directory should be an absolute path to
account for the patches directory being a symlink like in the upcoming
LLVM port update.
2022-04-23 10:43:32 -07:00
Daniel Bertalan
899616198c Ports: Remove Clang -fPIC hack from zlib
Despite the comment, only -fPIE was enabled by default in the Clang
toolchain, and not -fPIC. With the LLVM 14 upgrade, we made PIC the
default.
2022-04-23 10:43:32 -07:00
Tim Schumacher
020bc0e218 Ports: Exclude non-working utilities from the coreutils installation 2022-04-20 18:42:36 +02:00
EWouters
94c380de58 Ports/libzip: Remove DESTDIR from make install
CMake already picks up the install location. Passing `DESTDIR` resulted
in installing to `$DESTDIR/$DESTDIR/Root`.
2022-04-20 18:15:43 +02:00
Tim Schumacher
880bb53247 Ports: Update git to 2.36.0 2022-04-19 10:07:09 -04:00
Tim Schumacher
cf308643c7 Ports: Update coreutils to 9.1 2022-04-19 10:07:09 -04:00
Tim Schumacher
a99c4a7a7d Ports: Pass a proper sysroot value for mpc 2022-04-19 10:51:11 +02:00
Tim Schumacher
02a6ca43a9 Ports: Don't force GCC when linking libiconv into a shared library 2022-04-19 10:51:11 +02:00
Luke Wilde
a9a90b1b58 Ports: Add mGBA 2022-04-13 18:32:25 +01:00
EWouters
2f8afcccfd Ports: Add port libyaml version 0.2.5 2022-04-13 15:14:50 +01:00
EWouters
81f1929a6f Ports/libarchive: Update libarchive to version 3.6.1 2022-04-11 19:43:56 -07:00
EWouters
6d4fe4fa60 Ports/zsh: Update zsh to version 5.8.1 2022-04-11 19:43:56 -07:00
EWouters
deb4f2aff2 Ports/wget: Update wget to version 1.21.3 2022-04-11 19:43:56 -07:00
EWouters
1d47699e6a Ports/tcl: Update tcl to version 8.6.12 2022-04-11 19:43:56 -07:00
EWouters
0d0ab08ff6 Ports/sqlite: Update sqlite to version 3380200 2022-04-11 19:43:56 -07:00
EWouters
bb8ca24212 Ports/SDL_sound: Update SDL_sound to git commit df3fc77 2022-04-11 19:43:56 -07:00