Commit graph

1317 commits

Author SHA1 Message Date
Liav A
d1c9089fcd Ports: Add ACPICA tools port 2022-05-27 08:52:35 +01:00
Xexxa
1b622c9921 Ports: AvailablePorts.md: Add link to ports.serenityos.net 2022-05-26 10:26:48 +01:00
gouchi
74226a6cb3 Ports: Add RetroArch 2022-05-25 23:19:25 +01:00
Tim Schumacher
5a24accfa7 Ports: Update SDL2 to 2.0.22 2022-05-25 23:04:52 +01:00
Tim Schumacher
cb6a406190 Ports: Return SDL2 to upstream 2022-05-25 23:04:52 +01:00
EWouters
81a2f09a80 Ports: Return nesalizer to upstream
This makes https://github.com/SerenityPorts/nesalizer obsolete.

The patch that hardcoded the SDL2 location is removed. The the patches
to the `Makefile` are quashed. A new install function is added.
2022-05-25 22:55:59 +01:00
Tim Schumacher
317ca37dc6 Ports: Replace the manual dosbox-staging config.sub patch 2022-05-25 22:54:04 +01:00
Tim Schumacher
bbd54a5a25 Ports: Replace the gnuapl config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
99cdafa5bc Ports: Replace the x264 config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
1371d1d952 Ports: Replace the joe config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
7ceccb7b82 Ports: Replace the gsl config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
aa18adc43f Ports: Replace the jq config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
2d3724303a Ports: Replace the manual glu config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
40b9318695 Ports: Use the official release tarball for glu 2022-05-25 22:54:04 +01:00
Tim Schumacher
22b862e9f0 Ports: Replace the gettext config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
ffe541e4ef Ports: Replace the libiconv config.sub patch with our download 2022-05-25 22:54:04 +01:00
Tim Schumacher
f31f25b918 Ports: Use our built-in config.sub download for libuuid 2022-05-25 22:54:04 +01:00
Tim Schumacher
2c886fa93f Ports: Use the official release tarball for libuuid
These already come preconfigured
2022-05-25 22:54:04 +01:00
Tim Schumacher
f81e47eea8 Ports: Allow selecting multiple config_{sub,guess}_paths
Some ports may have more than one `config.sub` that is in use (vendored
dependencies, etc.). Instead of fiddling about with space-delimited
strings, let's just make that setting into an array right away.
2022-05-25 22:54:04 +01:00
Tim Schumacher
ff90647958 Ports: Fix a typo in get_new_config_guess
While we're at it, we might as well replace the download arguments in
`get_new_config_{sub,guess}` with the variable we defined earlier.
2022-05-25 22:54:04 +01:00
Peter Elliott
f19aad8336 Ports: Port GNU guile 2022-05-23 00:13:26 +02:00
Peter Elliott
0b9a9c7708 Ports: Port libunistring 2022-05-23 00:13:26 +02:00
Peter Elliott
8a007e755d Ports/bdwgc: Build using automake
This provides the necessary pkg-config files for other automake ports
that depend on it.
2022-05-23 00:13:26 +02:00
Tim Schumacher
ee66ed6248 Ports: Fully delete Co-Authored-By lines from the ReadMe
Otherwise, this results in a number of empty lines where
Co-Authored-By would have been.
2022-05-22 00:11:16 +01:00
Tim Schumacher
6641868c35 Ports: Bring all ReadMes in line with their respective patches 2022-05-22 00:11:16 +01:00
Tim Schumacher
0e0db33a2a Ports: Don't unset {HOME,USER,TERM,PATH}
These are required for the `dev` environment (or more precisely, `git`)
to work.
2022-05-22 00:11:16 +01:00
Kenneth Myhra
6a3f959e92 Ports/glib: Update to version 2.72.1 2022-05-21 20:38:04 +01:00
Tim Schumacher
7550017f97 Ports: Sanitize environment before handling Ports
This keeps users from leaking their host environment variables (CFLAGS,
etc.) into Ports, and it keeps us from leaking Port-specific settings
into their dependencies.
2022-05-21 18:12:07 +02:00
Tim Schumacher
034951dd92 Ports: Remove the /usr/lib pkg-config path
Our Ports are exclusively installed to `/usr/local/lib`, so having
`/usr/lib` in there as well doesn't make much sense.
2022-05-21 18:11:04 +02:00
Simon Danner
92d113ee32 Ports: Enable x265 in ffmpeg 2022-05-21 18:10:52 +02:00
Simon Danner
4af690f376 Ports: Add x265
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>
2022-05-21 18:10:52 +02:00
Tim Schumacher
651560d588 Ports: Update and fix imgcat
- Update imgcat to 2.5.1 to get rid of prebuilt object files that have
  accidentally been included in the previous release tarball.
- Add a missing dependency on `termcap`.
- Remove an unused include of `err.h`, which we do not support.
- Use actually working settings for installing the built files.
2022-05-21 18:10:38 +02:00
Tim Schumacher
749d0eef7f Ports: Install ncurses headers into the main include directory 2022-05-21 18:10:38 +02:00
Ali Mohammad Pur
80c745066b Ports: Add a ReadMe.md for qt6-qtbase's patches 2022-05-19 20:17:10 +04:30
Daniel Bertalan
d0edf2627c Toolchain+Ports: Split the GCC patches
This shouldn't cause any breaking changes, so a toolchain rebuild is not
required.

As per Hendiadyoin's request, math errno is disabled by default, which
should enable some extra compiler optimizations in LibGL and LibSoftGPU
code that uses math functions heavily.

Co-Authored-By: Ali Mohammad Pur <mpfard@serenityos.org>
2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
83aa5dcbf6 Ports: Update cfunge's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
b321d2b563 Ports: Update zstd's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
a3ff011fcb Ports: Update zsh's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
26ca20a55d Ports: Update x264's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
73f92f49c2 Ports: Update vitetris' patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
4e979feb6e Ports: Update tuxracer's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
624c3c5a46 Ports: Update tr's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
a20773b5ce Ports: Update tinycc's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
3531aa2b84 Ports: Update thesilversearcher's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
6f6d1a8f76 Ports: Update tcl's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
ee557a4145 Ports: Update sqlite's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
54f191f25b Ports: Update sl's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
06f9a1bacc Ports: Update scummvm's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
0068f7f764 Ports: Update sam's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
57bbe11933 Ports: Update ruby's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
8e95236efb Ports: Update the Ruby port to version 3.0.4 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
a9c362a4be Ports: Update pfetch's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
9e12cd0098 Ports: Update pcre2's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
5b91e02dc9 Ports: Update patch's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
848c883bb6 Ports: Update p7zip's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
bb40ff80b2 Ports: Update opentyrian's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
32c380b7f9 Ports: Update openttd's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
2c71a62e09 Ports: Update openssl's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
6e5509183f Ports: Update openssh's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
7077ce7779 Ports: Update oksh's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
bb8febffac Ports: Update nyancat's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
288818eb29 Ports: Update npiet's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
e16272eacd Ports: Update ninja's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
59156d0f0e Ports: Update nethack's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
b62503a142 Ports: Update neofetch's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
bd0c78e40e Ports: Update ncurses' patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
a2402faaf3 Ports: Update mruby's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
37857a629d Ports: Update milkytracker's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
e1a5f63e1a Ports: Update mgba's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
79dc62af61 Ports: Update mbedtls' patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
1f64b93b21 Ports: Update mandoc's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
490e97233d Ports: Update make's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
2ec53fd9c0 Ports: Update m4's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
9424b610ed Ports: Update luarocks' patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
318cc0a188 Ports: Update lua's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
eda9f383f8 Ports: Update libzip's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
b97b6bd348 Ports: Update libpuffy's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
6c2009f915 Ports: Update libmpg123's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
70a8cb0ac3 Ports: Update libmodplug's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
4007f69976 Ports: Update libicu's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
0293439d28 Ports: Update libiconv's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
8d370cf81d Ports: Update libgpg-error's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
6c24b509e1 Ports: Update libassuan's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
e99a1b5b64 Ports: Update jq's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
8a610b1bb9 Ports: Update joe's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
ab83c669ea Ports: Update ja2's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
6058f623e9 Ports: Update indent's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
aea8b8fd0f Ports: Update harfbuzz's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
89c59f20d2 Ports: Update gsl's patches to use git patches
Note that the previous patches have been split in this commit as well.
2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
d6076bfce7 Ports: Update gnuplot's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
0bec82d6fe Ports: Update gnucobol's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
fd388bb239 Ports: Update gnuapl's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
4876a943cd Ports: Update gmp's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
1f93ef2b83 Ports: Update git's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
d4413bc26b Ports: Update gettext's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
2f58fe00bd Ports: Update genemu's patches to use git patches
This required splitting the single patch file up, which was done with
_some_ degree of accuracy (but not entirely so).
2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
c92ec097c0 Ports: Update freedink's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
bf5f83907f Ports: Update freeciv's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
d383bae7d3 Ports: Update fontconfig's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
4fa66c91d5 Ports: Update flex's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
17ef3530cd Ports: Update figlet's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
1e06a78966 Ports: Update fheroes2's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
5da5c4d9fa Ports: Update ffmpeg's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
47a840ea13 Ports: Update epsilon's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
1b5389ea81 Ports: Update emu2's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
f5a4d529c2 Ports: Update ed's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
25dc066af6 Ports: Update dungeonrush's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
a4c404ea9c Ports: Update dropbear's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
5f986a91c6 Ports: Update dosbox-staging's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
9188e35e1d Ports: Update dos2unix's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
09d63910c2 Ports: Update dmidecode's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
03e9253d37 Ports: Update dash's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
b7975b33b3 Ports: Update curl's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
ff7163e5b8 Ports: Update cmatrix's patches to use git patches
Also fixes one of the patches no longer applying.
2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
57a98258aa Ports: Update chester's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
4874465018 Ports: Update c-ray's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
8b9302890e Ports: Update brogue's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
3a7d5ca469 Ports: Update bochs's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
d65736e5bd Ports: Update awk's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
0880542d99 Ports: Update angband's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
cbd76e0531 Ports: Update Super-Mario's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
6eb071cd0d Ports: Update SDL_sound's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
e24b55db8c Ports: Update SDLPoP's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
98260975c0 Ports: Update SDL2_net's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
7574dc0258 Ports: Update SDL2-mixer's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
f901f98814 Ports: Update SDL2-GNUBoy's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
1dc03216ab Ports: Update Another-World's patches to use git patches 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
3a879faba6 Ports: Skip Co-Authored-By lines when generating patch ReadMes 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
dcf8385e5b Ports: Make package.sh dev work with ports that have slashes in $workdir 2022-05-19 20:17:10 +04:30
Ali Mohammad Pur
527502494c Ports: Make the patch auto-import script care about the patch's authors
Previously it would commit with the current user's git identity, this
commit makes it ask the user if they want to retain the original
author(s) of the patch as commit authors and co-authors, as well as the
original commit date.
2022-05-19 20:17:10 +04:30
Snow
a1f19b7a98 Ports: Add joe's own editor 2022-05-15 12:14:02 +02:00
Raymond Lucke
f8984146bd Ports: Add thesilversearcher (ag) 2022-05-14 19:38:07 +02:00
Jelle Raaijmakers
4472cab81a Ports: Set right launcher command for Quake
By setting the absolute path for `launcher_command`, the menu item
actually shows up. Provide an `icon_file` as well so it's pretty.
2022-05-13 23:01:58 +02:00
Luke Wilde
1f94c8c622 Ports: Update curl to 7.83.1 2022-05-12 22:51:10 +02:00
Daniel Bertalan
0aee2abda7 Ports/gcc: Update to version 12.1.0 2022-05-12 13:12:37 +02:00
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
EWouters
20d4566ad4 Ports/SDL2_ttf: Update SDL2_ttf to version 2.0.18 2022-04-11 19:43:56 -07:00
EWouters
7fb1711a83 Ports/SDL2-GNUBoy: Update SDL2-GNUBoy to version 1.2.1 2022-04-11 19:43:56 -07:00
EWouters
f37d2e2d1c Ports/readline: Update readline to version 8.1.2 2022-04-11 19:43:56 -07:00
EWouters
218ade0b8b Ports/python3: Update python3 to version 3.10.4 2022-04-11 19:43:56 -07:00
EWouters
d89a58216d Ports/pt2-clone: Update pt2-clone to version 1.43
Upgrade patches to git style, add ReadMe.md and remove from the list
of ports missing descriptions.
2022-04-11 19:43:56 -07:00
EWouters
d6ce3a842c Ports/ninja: Update ninja to version 1.10.2
The sys-select-for-pselect patch was upstreamed in
b191404828.
:^)
2022-04-11 19:43:56 -07:00
EWouters
ccc9550114 Ports/nano: Update nano to version 6.2 2022-04-11 19:43:56 -07:00
EWouters
a9d53b1b88 Ports/mrsh: Update mrsh to git commit cd3c3a4
Also preserve `-j$(nproc)` flag.
2022-04-11 19:43:56 -07:00
EWouters
d4ae72d844 Ports/libxml2: Update libxml2 to version 2.9.13
This version is not available from the old mirror.
2022-04-11 19:43:56 -07:00
EWouters
f0ded32200 Ports/libuv: Update libuv to version 1.44.1
Part of the build-Add-platform-specific-stubs-and-implementation
was upstreamed.
2022-04-11 19:43:56 -07:00
EWouters
db4370992f Ports/libuuid: Update libuuid to version 2.38 2022-04-11 19:43:56 -07:00
EWouters
a37ce939ee Ports/libtool: Update libtool to version 2.4.7 2022-04-11 19:43:56 -07:00
EWouters
60e2d0fbba Ports/libmodplug: Update libmodplug to version 0.8.9.0 2022-04-11 19:43:56 -07:00
EWouters
21ea62460d Ports/libgpg-error: Update libgpg-error to version 1.44
The syntax-error patch is no longer needed. :^)
2022-04-11 19:43:56 -07:00
EWouters
61a2e1cf89 Ports/libgcrypt: Update libgcrypt to version 1.10.1 2022-04-11 19:43:56 -07:00
EWouters
80f2c6581e Ports/libexpat: Update libexpat to version 2.4.8 2022-04-11 19:43:56 -07:00
EWouters
4cf67063c0 Ports/libatomic_ops: Update libatomic_ops to version 7.6.12 2022-04-11 19:43:56 -07:00
EWouters
cf0798158a Ports/klong: Update klong to version 20220315
Upgrade patch to git style, add ReadMe.md and remove from the list of
ports missing descriptions.
2022-04-11 19:43:56 -07:00
EWouters
d59694b864 Ports/imagemagick: Update imagemagick to version 7.1.0-29 2022-04-11 19:43:56 -07:00
EWouters
149428041b Ports/hatari: Update hatari to git commit 6a86f05 2022-04-11 19:43:56 -07:00
EWouters
9a4d100913 Ports/gsl: Update gsl to version 2.7.1 2022-04-11 19:43:56 -07:00
EWouters
12b9bf826d Ports/grep: Update grep to version 3.7 2022-04-11 19:43:56 -07:00
EWouters
0e08aa7e10 Ports/genemu: Update genemu to git commit e39f690 2022-04-11 19:43:56 -07:00
EWouters
769615fc48 Ports/gawk: Update gawk to version 5.1.1
The patch for config.sub is no longer required.

This also removes gawk from the list of ports missing descriptions as
it no longer has any patches.
2022-04-11 19:43:56 -07:00
EWouters
61768c732a Ports/freetype: Update freetype to version 2.12.0 2022-04-11 19:43:56 -07:00
EWouters
e20d7788ec Ports/fontconfig: Update fontconfig to version 2.14.0 2022-04-11 19:43:56 -07:00
EWouters
e9d8e0e03e Ports/flatbuffers: Update flatbuffers to version 2.0.0 2022-04-11 19:43:56 -07:00
EWouters
e6172445e2 Ports/ed: Update ed to version 1.18 2022-04-11 19:43:56 -07:00
EWouters
8828b038f5 Ports/diffutils: Update diffutils to version 3.8
The fnmatch patch that was added in 6de6dff is reverted because it is
not clear why it is necessary, as discussed in #9206.

This also removes diffutils from the list of ports missing descriptions
as it no longer has any patches.
2022-04-11 19:43:56 -07:00
EWouters
8a84a03850 Ports/dialog: Update dialog to version 1.3-20220117 2022-04-11 19:43:56 -07:00
EWouters
33343998f4 Ports/ccache: Update ccache to version 4.6 2022-04-11 19:43:56 -07:00
EWouters
72d5a19db3 Ports/ca-certificates: Update ca-certificates to version 2022-03-29 2022-04-11 19:43:56 -07:00
EWouters
67ce82ba97 Ports/c-ray: Update c-ray to git commit 8f30eb9
Part of the fix-linkage patch is removed as the changes are no
longer required.
2022-04-11 19:43:56 -07:00
EWouters
711e317bd5 Ports/byacc: Update byacc to version 20220128 2022-04-11 19:43:56 -07:00
EWouters
aa0f356a81 Ports/brogue: Update brogue to version 1.10.1
Also preserve the `-j$(nproc)` flag.
2022-04-11 19:43:56 -07:00
EWouters
7952af9b6d Ports/bc: Update bc to version 5.2.3
Also added the recommended CFLAGS.
2022-04-11 19:43:56 -07:00
Martin Bříza
adc92beed1 Ports: Update Qt to 6.2.3 2022-04-10 21:28:41 +02:00
Jesse Buhagiar
e2f1da8cec Ports: Add quake3 port :^) 2022-04-09 11:40:33 +02:00
Jelle Raaijmakers
ada4f8d660 Ports: Update Composer to 2.3.4
This fixes some warnings when running with PHP 8.1.
2022-04-08 00:30:26 +01:00
Mattias Nilsson
45d73f8ef9 Ports: Added The One True AWK 2022-04-06 17:16:02 -07:00
Tim Schumacher
b884c5746d Ports: Update angband to 4.2.4 2022-04-06 08:05:57 +01:00
Kevin Nobel
654075ab48 Ports: Update openttd to version 12.2 2022-04-05 22:17:04 +01:00
Kevin Nobel
3049ef740a Ports: Update openttd-opensfx to version 1.0.3 2022-04-05 22:17:04 +01:00
Kevin Nobel
8a548b1a45 Ports: Update openttd-opengfx to version 7.1 2022-04-05 22:17:04 +01:00
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