Commit graph

1336 commits

Author SHA1 Message Date
Jelle Raaijmakers
eb6b78b950 Ports: Set correct path in .la files for libvorbis
These libtool archives incorrectly pointed to `/usr/local` causing
other ports not to be able to find the libvorbis libraries.

We cannot use `configure --prefix=...` since that will add up with our
fixed `make DESTDIR=...` logic, causing the path to be duplicated.

We can also not change that `DESTDIR` logic without influencing all
other port builds.

Finally, `configure --with-sysroot=...` doesn't work since not all
other ports (such as SDL_mixer) have a recent enough libtool to
understand the sysroot syntax.

So let's `sed` this and be done with it :^)
2022-08-24 12:14:18 +02:00
Jelle Raaijmakers
07a7d3e136 Ports: Select right config tools for SDL_mixer
Previously, you would need `sdl-config` and `libmikmod-config` on your
host machine to get SDL_mixer to build. With this patch, it always
works :^)
2022-08-24 11:59:50 +02:00
Brian Gianforcaro
77a725b6f4 Ports: Update stress-ng to version 0.14.03
The stress-ng project appears to have addressed all the issues
we had been patching, and thus we no longer need almost all of
these patches.
2022-08-24 07:29:49 +00:00
Tim Schumacher
a0820b205c Ports/SDL2_ttf: Update to 2.20.1 2022-08-23 13:30:48 +01:00
Tim Schumacher
4678028842 Ports/SDL2_net: Update to 2.2.0 2022-08-23 13:30:48 +01:00
Tim Schumacher
ebf713da60 Ports/SDL2_mixer: Update to 2.6.2 2022-08-23 13:30:48 +01:00
Tim Schumacher
1ce3b9ea48 Ports/SDL2_image: Update to 2.6.2 2022-08-23 13:30:48 +01:00
Tim Schumacher
831afe3c3d Ports/SDL2: Update to 2.24.0 2022-08-23 13:30:48 +01:00
Tim Schumacher
2e31a479c4 Ports/SDL2: Do an out-of-tree build
SDL 2.24.0 starts having include loops if we try to do an in-tree build
against its wishes, so let's not do that anymore.
2022-08-23 13:30:48 +01:00
Seal Sealy
ffe9a862f0 Ports: Add aclock port 2022-08-23 13:29:32 +01:00
pancake
d6deecf7d8 Ports: Update to the latest radare2-5.7.6 2022-08-14 18:34:59 +01:00
EWouters
1712b6b3ed Ports: Add port aria2 version 1.36.0 2022-08-14 18:24:30 +01:00
Tim Schumacher
7e245b74f1 Ports: Remove two getprogname patches that are no longer needed 2022-08-12 19:51:45 -07:00
djwisdom
7a91105270 Ports: Update serenity-theming use latest commit 018356b
Improve theming support include color-palettes, wallpapers and
terminal-colors folders
2022-08-12 01:04:15 -04:00
Daniel Bertalan
34ae69b99d Ports/bzip2: Set AR and RANLIB
bzip2's Makefile uses the '=' operator to set these variables so they
cannot be overridden by just the environment variables; we have to pass
them on the command line.

This change ensures that the system ar/ranlib are no longer used, so the
port can be build on macOS or non-x86 Linux.
2022-08-04 02:54:19 +02:00
Jelle Raaijmakers
b44275569b Ports: Download and install ScummVM game icons 2022-08-02 13:26:49 +01:00
Jelle Raaijmakers
e83d03038a Ports: Update ScummVM to 2.6.0 2022-08-02 13:26:49 +01:00
djwisdom
8ab31284e7 Ports: Update serenity-theming use commit 3dc8b8e 2022-08-01 14:28:27 +01:00
djwisdom
8598fbb008 Ports: Update serenity-theming use latest commit 5d626d9 2022-07-27 21:43:33 +00:00
djwisdom
fae715a2c2 Ports: Update serenity-theming use latest commit f6d9306 2022-07-23 10:41:25 +01:00
Tim Schumacher
218e6d2f5e Ports/SDL2: Rename LibAudio connection to ConnectionToServer 2022-07-23 00:21:13 +01:00
Tim Schumacher
a39a341e26 Ports: Update the CMake platform module from upstream
While we're at it, remove the `/bin/sh` patch that is no longer needed,
as we now build the port fully on the host.
2022-07-22 17:33:28 +01:00
djwisdom
268c146c04 Ports: Update serenity-theming use latest commit 98ea1b3 2022-07-19 10:50:05 +01:00
Tim Schumacher
028c26df76 Ports/opfor: Update to 2022.07.14 2022-07-16 23:13:43 +01:00
Tim Schumacher
9383ffadb6 Ports/halflife: Update to 2022.07.14 2022-07-16 23:13:43 +01:00
Tim Schumacher
cdb59ec82a Ports/xash3d-fwgs: Update to 2022.07.14 2022-07-16 23:13:43 +01:00
Tim Schumacher
4cf55c4056 Ports/SDL2: Update for the recent StringView changes 2022-07-16 23:13:43 +01:00
kleines Filmröllchen
6e25b501ad Ports: Make libmpg123 compile again
This was as simple as copying over the libtool patches from libvorbis
and removing now-unneeded Serenity-awareness patches.

Co-authored-by: Tim Schumacher <timschumi@gmx.de>
2022-07-15 12:34:52 +02:00
Liav A
e5de5f4cf3 Ports: Update libuv to use the right /proc/memstat values 2022-07-14 23:27:46 +02:00
Liav A
7b7847c707 Ports: Update neofetch to use the right /proc/memstat values 2022-07-14 23:27:46 +02:00
djwisdom
ae60357951 Ports: Update serenity-theming use latest commit 2ce930e 2022-07-14 04:34:19 +00:00
Tim Schumacher
75a1442aac Ports: Move build directories into Build/ 2022-07-13 21:22:52 +01:00
Tim Schumacher
99713afa0d Ports/opentyrian-data: Don't extract the archive a second time 2022-07-13 21:22:52 +01:00
Tim Schumacher
fb877effb8 Meta+Ports: Automatically generate a meson cross file that we can use 2022-07-13 21:22:52 +01:00
Tim Schumacher
0057b24b9e Ports/freedink: Don't extract freedink-data a second time
Our implicit extraction already takes care of this.
2022-07-13 21:22:52 +01:00
Tim Schumacher
b3f9d2a24e Ports/git: Store default gitconfig as heredoc 2022-07-13 21:22:52 +01:00
Tim Schumacher
9cbf65761d Ports/libicu: Evaluate the host build folder later
We need this to be the build directory, not the tarball directory.
2022-07-13 21:22:52 +01:00
Tim Schumacher
eaee7e9d5b Ports/cfunge: Remove workdir weirdness 2022-07-13 21:22:52 +01:00
Tim Schumacher
a813b941b8 Ports: Add a QEMU port 2022-07-08 22:27:38 +00:00
Tim Schumacher
5835373fc6 Ports: Add a port for pixman 2022-07-08 22:27:38 +00:00
Liav A
6256bdb075 Ports: Add QOI converter and QOI benchmark utility 2022-07-08 12:01:52 +02:00
Liav A
5fe4feee33 Ports: Add stb header files 2022-07-08 12:01:52 +02:00
Tim Schumacher
5bbd5e7322 Ports: Don't create ccache symlinks for tools we don't have 2022-07-07 19:32:33 +02:00
Luke Wilde
7fbc354829 Ports: Update OpenSSL to 1.1.1q 2022-07-07 16:30:51 +02:00
djwisdom
036f68f857 Ports: Update serenity-theming to latest commit 2022-07-04 05:50:32 +00:00
Nathan Ell
4947804121 Ports: Update dos2unix to 7.4.3
Update to the latest version of the upstream dos2unix, 7.4.3.
Simplify the URL used to download the upstream PGP key for the
dos2unix package, by leveraging the already well-used version
variable.
2022-07-03 21:56:03 +00:00
Tim Schumacher
0d2613ebeb Ports: Add a port of genext2fs 2022-07-01 14:32:03 +02:00
Andrew Kaster
6d4cfba596 Ports/ruby: Pass proper --with-coroutine flag per architecture
This fixes the x86_64 build. However, when built with clang x86_64,
ruby crashes on exit trying to free some memory that has an invalid
header magic. More work to be done here to make the x86_64 build work
properly.
2022-06-30 12:29:18 +01:00
Andrew Kaster
809852aeb1 Toolchain+Ports: Install host ruby into Local/ruby, not Local/$ARCH
Following the pattern for qemu, mold, and clang, we should install the
host ruby required to build the ruby port into its own install tree
rather than forcing it into the GNU compiler's bindir.
2022-06-30 12:29:18 +01:00
Andrew Kaster
dcc0f299be Toolchain+Ports: Install host python into Local/python, not Local/$ARCH
Following the pattern for qemu, mold, and clang, we should install the
host python required to build the python port into its own install tree
rather than forcing it into the GNU compiler's bindir.
2022-06-30 12:29:18 +01:00
Tim Schumacher
154f3dc4ae Ports: Add a port of e2fsprogs 2022-06-30 11:57:49 +02:00
Luke Wilde
2916b3bebf Ports: Update curl to 7.84.0 2022-06-27 22:51:52 +01:00
Liav A
e85b3fc750 Ports: Add edid-decode port 2022-06-25 12:10:04 +01:00
Liav A
410b2f5d29 Ports: Add GNU findutils utility suite 2022-06-25 12:08:43 +01:00
Liav A
e20706760f Ports: Add GNU gzip utility port 2022-06-25 12:01:45 +01:00
Liav A
f8611ec7bd Ports: Add GNU cpio archive utility port 2022-06-25 12:01:19 +01:00
Liav A
1cd610072a Ports: Add lz4 compression utility 2022-06-25 11:59:42 +01:00
Tim Schumacher
5b86698bb8 Ports/qt6-qtbase: Add md4c as a dependency 2022-06-24 23:20:28 +01:00
Tim Schumacher
a50400072e Ports: Add a port of md4c 2022-06-24 23:20:28 +01:00
Tim Schumacher
c0a7ac53cb Ports/mbedtls: Update to Mbed TLS 3.1.0 2022-06-24 22:39:52 +01:00
Tim Schumacher
3c43ac9eb5 Ports/lua: Update to Lua 5.4 2022-06-24 22:38:55 +01:00
Luke Wilde
69c451e485 Ports: Update OpenSSL to 1.1.1p
This also changes the source to fetch OpenSSL from the OpenSSL site, as
1.1.1p is not currently available from the usual source.
2022-06-21 18:14:55 +01:00
Grigoris Pavlakis
2fa907b31a Ports/gltron: Use sdl12-compat instead of SDL2 2022-06-20 23:24:45 +01:00
Grigoris Pavlakis
c98a275931 Ports: Add SDL_sound for SDL 1.2 2022-06-20 23:24:45 +01:00
Grigoris Pavlakis
de31f51bbe Ports: Move SDL_sound to SDL2_sound 2022-06-20 23:24:45 +01:00
SeekingBlues
dafea57fe2 Ports/ncurses: Disable mixed-case directory names when building on macOS
Since macOS's filesystem is case-insensitive, its `tic` only generates
terminfo directory names that are hex numbers instead of letters, such
as 78/xterm instead of x/xterm. However, the configure script still
enables the mixed-case directory name feature by default. As a result,
ncurses will fail when trying to find terminfo entries like x/xterm if
they are generated on macOS.

It seems like there is no way to change the behavior of `tic` to create
alphabetical directories, so we can only disable this option explicitly.
2022-06-19 19:50:23 +01:00
kleines Filmröllchen
b3d87f8e37 Ports: Update mold to 1.0.3 2022-06-19 15:45:14 +01:00
Timur Sultanov
1f886f94bd Ports: Add OpenJDK port
Port of OpenJDK 17.0.2, zero VM only.

More work needed to get the full hotspot VM up and running :^)

Co-Authored-By: Andrew Kaster <akaster@serenityos.org>
2022-06-19 09:05:35 +02:00
Andrew Kaster
ad0a001f0a Ports: Use $arch-serenity-pc-clang{++} for CC and CXX
This lets us eliminate the extra arguments on CC and CXX for ports that
care about CC and CXX pointing to actual filenames they can invoke
realpath or basename on.
2022-06-19 09:05:35 +02:00
Andrew Kaster
8c877664f7 Ports: Add variables for Toolchain binary directory and cxxfilt 2022-06-19 09:05:35 +02:00
kleines Filmröllchen
709f0a2ab3 Ports: Add OptiPNG
OptiPNG is a neat little tool that optimizes PNG sizes to ridiculous
degrees. We like to use it to optimize PNGs before including them in
Serenity itself, so it's a nice port to have. OptiPNG is a very
cooperative POSIX C program, it compiles and works without any patching
on x86_64 and i686 :^)
2022-06-17 21:53:28 +01:00
Grigoris Pavlakis
51315c0b1d Ports: Add VVVVVV port
Co-Authored-By: Tim Schumacher <timschumi@gmx.de>

(thanks for the line ending and assert() troubleshooting)
2022-06-17 19:18:33 +01:00
Tim Schumacher
e29e4e6c1f Ports: Ensure that core.autocrlf is disabled before handling patches
While `core.autocrlf=false` should be the default, there will certainly
be users that have changed the default setting in their global
configuration.

Ensure that the setting is disabled to avoid accidentally mangling or
not applying our patches.
2022-06-17 09:47:57 +01:00
Kenneth Myhra
fd5f18b4e1 Ports/glib: Bump GLib to 2.73.0 2022-06-15 10:55:54 +01:00
djwisdom
455c0b7794 Ports: Update serenity-theming to e4e2f26 2022-06-12 15:50:46 +01:00
Timur Sultanov
35d31dec7e Ports: Add option to disable ccache 2022-06-12 00:28:26 +01:00
Tim Schumacher
1b135f9127 Ports/glib: Add back a missing DESTDIR
Otherwise, glib will try installing to the host.
2022-06-10 14:21:42 +01:00
Tim Schumacher
333429fa47 Ports/SDL2: Implement a basic keyboard focus
Some SDL applications will not process inputs that they receive without
ensuring that they have the keyboard input focus.
2022-06-10 14:21:20 +01:00
Tim Schumacher
817c79431d Ports: Split up the halflife port into engine and game 2022-06-10 00:04:33 +01:00
Tim Schumacher
d426c5a4b2 Ports: Format patches without numbering, commit hash or version number 2022-06-08 17:58:36 +01:00
Tim Schumacher
d69a79b03b Ports: Automatically enter the work directory when running dev 2022-06-08 17:58:36 +01:00
Tim Schumacher
f76f68aad9 Ports/libtiff: Set the correct sysroot 2022-06-08 13:23:04 +01:00
Tim Schumacher
5704b7e128 Ports/awk: Change the file name to match the compression 2022-06-08 13:23:04 +01:00
Tim Schumacher
869333e10e Ports/mrsh: Explicitly disable readline support
Previously, `mrsh` automatically enabled support for `readline` if it
was detected as installed. However, linking against `readline` currently
doesn't work, so disable it completely instead.
2022-06-08 13:23:04 +01:00
Tim Schumacher
86d71028df Ports/readline: Build it as a shared library 2022-06-08 13:23:04 +01:00
Tim Schumacher
29c408d9db Ports/gnucobol: Set the correct sysroot 2022-06-08 13:23:04 +01:00
Tim Schumacher
b51bc1aa4e Ports/fontconfig: Import the libtool patch
This previously went unnoticed because `fontconfig` was never linked
into a shared library manually.
2022-06-08 13:23:04 +01:00
Tim Schumacher
90dafefb9e Ports/freetype: Set the correct sysroot
This is now required after we don't manually link the build output
anymore.
2022-06-08 13:23:04 +01:00
Tim Schumacher
b67b5b8292 Ports/thesilversearcher: Change the file name to match the compression 2022-06-08 13:23:04 +01:00
EWouters
e3eb45c6e5 Ports/x264: Update x264 to version baee400 2022-06-08 11:40:31 +01:00
EWouters
6f4a903be6 Ports/sqlite: Update sqlite to version 3380500 2022-06-08 11:40:31 +01:00
EWouters
7e3a952158 Ports/radare2: Support x86_64
This update was merged with a33b9a8, which has the `--disable-threads`
flag. This update brings support for `x86_64` and uses a more up to date
Github url. It also removes the `workdir` as it was set to the default.
2022-06-08 11:40:31 +01:00
EWouters
4d2f148267 Ports/pt2-clone: Update pt2-clone to version 1.49 2022-06-08 11:40:31 +01:00
EWouters
a9e9b55380 Ports/php: Update php to version 8.1.6 2022-06-08 11:40:31 +01:00
EWouters
e26d0a9c9f Ports/pcre2: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00
EWouters
bb98991ff8 Ports/pcre2: Update pcre2 to version 10.40 2022-06-08 11:40:31 +01:00
EWouters
a25ab52ee7 Ports/oksh: Update oksh to version 7.1 2022-06-08 11:40:31 +01:00
EWouters
efa9b7d9a1 Ports/ninja: Update ninja to version 1.11.0 2022-06-08 11:40:31 +01:00
EWouters
41390c9da8 Ports/ncdu: Update ncdu to version 1.17 2022-06-08 11:40:31 +01:00
EWouters
6d1ec983a4 Ports/nano: Use sha256 to check the downloaded file 2022-06-08 11:40:31 +01:00