Commit graph

1852 commits

Author SHA1 Message Date
Tim Ledbetter
6678a3ad00 Ports/libssh2: Prefer openssl over libgcrypt as the crypto backend
Previously,`openssl` would be used as the crypto backend for `libssh2`
if the `openssl` port was installed and the `libgcrypt` dependency
would be ignored.

With this change we install `openssl` as a dependency and explicitly
specify that it should be used as the crypto backend. We also add
`zlib` as an explicit dependency and specify that `zlib` compression
should be used.
2023-08-24 13:16:58 +02:00
Tim Ledbetter
0cb339bad1 Ports/dtc: Specify NO_PYTHON when running make install
Previously, the install step was failing when the `python3` port was
installed.
2023-08-24 12:27:52 +02:00
Tim Ledbetter
c8f78066c4 Ports/SDL2: Update to version 2.28.2 2023-08-24 12:26:19 +02:00
Tim Ledbetter
aa322c0014 Ports: Update explanation of files syntax in README 2023-08-24 11:52:12 +02:00
Tim Ledbetter
81d9a6f44a Ports/build_all: Read port directory names into an array immediately
The script previously failed early after building `mandoc`, as it
failed to switch to the correct directory for the next port. With this
change, the script now runs to completion.
2023-08-23 15:42:49 +02:00
Tim Ledbetter
d7c1a1ecac Ports/libgd: Update formatting to be consistent with other ports 2023-08-23 13:33:49 +02:00
Tim Ledbetter
1f2aef4028 Ports/libgd: Explicitly specify which dependencies to include
Previously, building `libgd` with `fontconfig` already installed would
cause the build to fail.
2023-08-23 13:33:49 +02:00
Tim Ledbetter
5af7d5da2f Ports: Simplify the output from identify when installing icons
This ensures that the correct index is always used when selecting an
image of a particular size.
2023-08-23 12:55:00 +02:00
Tim Ledbetter
d09271be35 Ports/SDL_sound: Ensure build is run in parallel 2023-08-23 12:23:33 +02:00
Tim Ledbetter
b885be8046 Ports/SDL_sound: Specify which optional dependencies to include
This fixes an issue where building `SDL_sound` with the `libphysfs`
port installed would cause the build to fail.

Ogg support has also been enabled. This allows playback of the sound
effects in GLTron.

Both FLAC and `libmodplug` support are currently disabled, even
though the build succeeds with them enabled, as there is currently no
way to test whether they would work or not.
2023-08-23 12:23:33 +02:00
Tim Ledbetter
9e5d430fbd Ports/SDL_sound: Update formatting to be consistent with other ports 2023-08-23 12:23:33 +02:00
Tim Ledbetter
08528a8084 Ports/prboom-plus: Update formatting to be consistent with other ports 2023-08-22 09:14:28 +02:00
Tim Ledbetter
8676ffee77 Ports/prboom-plus: Add CMAKE_TOOLCHAIN_FILE to configopts
This fixes an issue where `prboom-plus` wouldn't build if the `make`
port was installed. Including this also makes some manually specified
paths unnecessary.
2023-08-22 09:14:28 +02:00
Tim Ledbetter
33b133d3f4 Ports/libuuid: Disable natural language support
Having this option enabled made `libuuid` link to `libintl` only when
the `gettext` port was installed. This made the `taskwarrior` port
fail to build when `gettext` was installed prior to `libuuid`.
2023-08-21 17:54:16 +02:00
Tim Ledbetter
da9c389ce3 Ports/libuuid: Update formatting to be consistent with other ports 2023-08-21 17:54:16 +02:00
Fabian Dellwing
8e75c605a1 Ports: Update poppler 2023-08-21 16:52:47 +02:00
Tim Ledbetter
f77f85291a Ports/freedink: Disable sound from launcher
Currently, launching the game with sound effects enabled causes the
game to segfault, so let's disable it until the sound issue is fixed.
2023-08-21 15:30:35 +02:00
Tim Ledbetter
66a3361b39 Ports/freedink: Update formatting to be consistent with other ports 2023-08-21 15:30:35 +02:00
Tim Ledbetter
79c5b96953 Ports/freedink: Add launcher icon 2023-08-21 15:30:35 +02:00
Tim Ledbetter
94de006144 Ports/freedink: Use make install rather than copying files manually
This ensures the required binary files are installed to the correct
location and data files are copied to their default location so the
`--refdir` argument isn't needed when launching the game.
2023-08-21 15:30:35 +02:00
Tim Ledbetter
cecc554102 Ports/freedink: Add required const to char* declarations
This allows FreeDink to be built with GCC 13.
2023-08-21 15:30:35 +02:00
Hans Joachim Desserud
2d31903e07 Ports: Add flare-game
Add a playable campagin to flare-engine
2023-08-19 15:51:50 +02:00
Hans Joachim Desserud
54ea999373 Ports: Add flare-engine
Action RPG engine
2023-08-19 15:51:50 +02:00
Fabian Dellwing
a6dd0e6339 Ports: Don't set previously unset environment variables
Co-authored-by: Tim Schumacher <timschumi@gmx.de>
Co-authored-by: Jelle Raaijmakers <jelle@gmta.nl>
2023-08-19 15:48:50 +02:00
Danik2343
a1ccc4b0cf Ports/zlib: Update to version 1.3 2023-08-18 23:56:41 +02:00
Tim Ledbetter
ca9785cf81 Ports/binutils: Build with support for zstd compression 2023-08-18 23:05:49 +02:00
Tim Ledbetter
5b23ec46b8 Ports/backward-cpp: Link against zstd if present
Previously, the build would fail when the `zstd` port was already
installed.
2023-08-18 23:05:49 +02:00
Tim Ledbetter
917de46589 Ports/mgba: Update to version 0.10.2 2023-08-18 22:43:07 +02:00
Tim Ledbetter
1a9c507093 Ports/mgba: Remove unnecessary futimens patch 2023-08-18 22:43:07 +02:00
Tim Ledbetter
0023bc0327 Ports/quake2: Add a launcher icon 2023-08-18 22:14:43 +02:00
Seal Sealy
9b1e33af69 Ports: Add lxt port 2023-08-18 11:43:19 +02:00
Tim Ledbetter
3a8e362ab0 Ports/citron: Use correct quote format 2023-08-16 21:40:05 +02:00
Tim Ledbetter
149ab91040 Ports/citron: Update formatting to be consistent with other ports 2023-08-16 15:32:42 +03:30
Tim Ledbetter
87d8a32f3d Ports/citron: Update to the latest commit 2023-08-16 15:32:42 +03:30
Tim Ledbetter
b707a7f57a Ports/klong: Create /usr/local/bin if it doesn't exist 2023-08-16 00:52:18 +02:00
Tim Ledbetter
c1e94bc3c1 Ports/stb: Create /usr/local/include if it doesn't exist 2023-08-16 00:51:09 +02:00
Jelle Raaijmakers
386505d0e0 Ports: Update README.md to show the right style for depends :^) 2023-08-16 00:38:18 +02:00
Tim Ledbetter
3782903642 Ports/brogue: Update formatting to be consistent with other ports 2023-08-16 00:29:55 +02:00
Tim Ledbetter
b5f34b3cda Ports/brogue: Update to version 1.12 2023-08-16 00:29:55 +02:00
Tim Ledbetter
66d52db044 Ports/brogue: Add launcher entry 2023-08-16 00:29:55 +02:00
Tim Ledbetter
ba51c7bb7f Ports: Add DevilutionX 2023-08-14 13:07:48 +02:00
Tim Ledbetter
bf5a17dedb Ports/openttd: Update formatting to be consistent with other ports 2023-08-14 12:36:03 +02:00
Tim Ledbetter
c8dbed09d8 Ports/openttd: Add a launcher icon 2023-08-14 12:36:03 +02:00
Tim Ledbetter
0866585b2b Ports/openttd: Update to version 13.4 2023-08-14 12:36:03 +02:00
Tim Ledbetter
c725a99799 Ports/ClassiCube: Add a launcher icon 2023-08-14 12:23:05 +02:00
Tim Ledbetter
2c60438b8e Ports/hatari: Update formatting to be consistent with other ports 2023-08-14 12:20:03 +02:00
Tim Ledbetter
c79c145a0a Ports/hatari: Add launcher icon 2023-08-14 12:20:03 +02:00
Tim Ledbetter
badf003511 Ports/hatari: Use correct launcher command path 2023-08-14 12:20:03 +02:00
Tim Ledbetter
cb8491ed0a Ports/hatari: Update to version 2.4.1 2023-08-14 12:20:03 +02:00
Tim Ledbetter
1f22cc9668 Ports/ja2: Update formatting to be consistent with other ports 2023-08-14 12:14:12 +02:00
Tim Ledbetter
792f8f9492 Ports/ja2: Add launcher icon 2023-08-14 12:14:12 +02:00
Tim Ledbetter
a827c0defc Ports/ja2: Ensure build is run in parallel 2023-08-14 12:14:12 +02:00
Tim Ledbetter
bb4e7c91ca Ports/cmatrix: Update formatting to be consistent with other ports 2023-08-14 12:10:11 +02:00
Tim Ledbetter
fe8c9aae23 Ports/cmatrix: Install binary to /usr/local/bin 2023-08-14 12:10:11 +02:00
Tim Ledbetter
fd0efa0106 Ports/nyancat: Update formatting to be consistent with other ports 2023-08-14 12:07:35 +02:00
Tim Ledbetter
301fbb013c Ports/nyancat: Use the correct launcher command path 2023-08-14 12:07:35 +02:00
Tim Ledbetter
cc304b2954 Ports/nyancat: Fetch from a specific commit hash rather than master
This avoids a potential sha256 mismatch whenever something is pushed
to the `master` branch.
2023-08-14 12:07:35 +02:00
Tim Ledbetter
629a6449c5 Ports/vitetris: Update formatting to be consistent with other ports 2023-08-14 12:05:02 +02:00
Tim Ledbetter
0e4f7d7f40 Ports/vitetris: Use correct launcher command path 2023-08-14 12:05:02 +02:00
Tim Ledbetter
6b1397a882 Ports/SDLPoP: Update formatting to be consistent with other ports 2023-08-14 11:45:08 +02:00
Tim Ledbetter
6cf9f495be Ports/SDLPoP: Add a launcher icon 2023-08-14 11:45:08 +02:00
Tim Ledbetter
5a04781224 Ports/SDLPoP: Remove an unnecessary patch
This patch removed some previously unsupported scanf format specifiers.

We still don't support these properly, but we can parse and ignore
them, which is equivalent to what this patch was doing.
2023-08-14 11:45:08 +02:00
djwisdom
bb23ee3521 Ports: Update serenity-theming use latest commit 7ef303d 2023-08-13 14:24:47 -04:00
Liav A
c2d9d0277f Ports: Add groff
This port is exceptionally useful in the ports ecosystem, as it will
allow us to read ROFF manual pages within the system.
2023-08-12 20:24:18 +02:00
Liav A
9b61339261 Ports/tar: Update to version 1.35
This version requires the gettext port as a dependency.

In addition to that, this release has a bug in which it doesn't include
libintl and libiconv properly when building the program.
Therefore, we add a patch that was originally made by Sergey Poznyakoff
after the report of this bug (savannah bug #64441).
2023-08-12 15:24:19 +02:00
Justin Brown
ec0bf937a2 Ports: Add Julius 2023-08-12 14:50:52 +02:00
Tim Ledbetter
51ee37ed76 Ports/wayland: Add libffi dependency
This allows `wayland` to build from a clean state.
2023-08-12 14:23:56 +02:00
Liav A
184056cf6a Ports/cpio: Update to version 2.14
We can also remove a patch that is no longer needed.
2023-08-12 02:07:54 +02:00
Tim Ledbetter
720d9dd683 Ports/poppler: Explicitly exclude optional dependencies
Previously, the optional `gpgme` and `nss3` dependencies could be
unintentionally included if they were present on the host machine.
2023-08-12 01:35:16 +02:00
Tim Ledbetter
87f4b0f1c2 Ports/mgba: Explicitly exclude optional dependencies
Previously, some optional dependencies could be unintentionally
included if they were present on the host machine.
2023-08-12 00:18:03 +02:00
Tim Ledbetter
c2afd3de23 Ports/mgba: Update formatting to be consistent with other ports 2023-08-12 00:18:03 +02:00
Gurkirat Singh
294a778492 Ports: Improve and refactor build_all.sh script
All the shellcheck errors are fixed, and output will how have coloured
logs with status symbol.

	1. # -> operation completed successfully
	2. ~ -> currently processing port
	3. * -> information
	4. ! -> warning
	5. x -> error in processing port

Now, you can use the failfast option to instantly exit the loop
whenever it reports an error while processing any port. Using realpath
of the ports directory to use `cd` operation only once and get rid of
pushd-popd pattern here.
2023-08-11 21:51:59 +02:00
Liav A
73523cef2b Ports/tree: Update to version 2.1.1 2023-08-11 15:45:28 +02:00
Beckett Normington
ed0936065f Ports: Add xorriso port 2023-08-11 13:15:52 +02:00
Gurkirat Singh
afb19a2cff Ports: Fix clean_dist function in .port_include.sh
A bug was introduced in commit #20413, where the `clean_dist` function
was missed from refactoring to the new "files" format.
2023-08-11 09:43:46 +02:00
Tim Ledbetter
5aa0be1a32 Ports/PrBoom+: Explicitly exclude optional dependencies
Previously, optional dependencies could be unintentionally included if
they were present on the host machine.
2023-08-11 09:36:41 +02:00
Justin Brown
68924a8e81 Documentation: Update formatting on Ports package.sh example 2023-08-11 09:09:53 +02:00
Tim Ledbetter
3a98c48f20 Ports/SDL2: Avoid accumulation errors in resampler
This adds a patch to the SDL2 port to fix a segfault which occurs in
the resampler.

Taken from this upstream commit:
https://github.com/libsdl-org/SDL/commit/78f9710

This fixes a crash we were seeing in the julius port.
2023-08-10 02:45:01 +02:00
Jelle Raaijmakers
a8857c06b3 Ports: Update PHP to 8.2.8 2023-08-09 05:40:39 +02:00
Jelle Raaijmakers
ad859a8d0d Ports: Update ScummVM to 2.7.1
The `glGetIntegerv` patch is now removed since a fix was upstreamed.
2023-08-09 05:37:05 +02:00
Tim Schumacher
fb4db096cb Ports: Remove the filename entry from files 2023-08-08 19:57:43 +02:00
Tim Schumacher
2732545b4c Ports: Ensure that the download filename matches the URL basename
This is a preparation step for removing support for explicitly setting a
download filename entirely.
2023-08-08 19:57:43 +02:00
Tim Schumacher
c71815bc91 Ports: Move handling for simple downloads into a separate function 2023-08-08 19:57:43 +02:00
Tim Schumacher
a37b95f465 Ports: Do file downloading in a single big loop 2023-08-08 19:57:43 +02:00
Tim Schumacher
284fee9e77 Ports: Make files a proper array 2023-08-08 19:57:43 +02:00
Liav A
fcc3497803 Ports: Rename packages.db => installed.db
The /usr/Ports/packages.db will be used later for tracking available
ports by the upcoming package manager, which will use it to do search
queries, providing metadata on available ports, etc.

Ports that are installed will be registered from now on in the file of
/usr/Ports/installed.db, so that file will be used later on to allow
further management of what is actually installed on the system.
2023-08-07 13:24:25 -06:00
Tim Ledbetter
87bf5045e4 Ports/nesalizer: Add SDL2 header include path to Makefile
Previously, we were relying on the host's SDL2 headers. If none were
present the build would fail.
2023-08-06 22:06:49 +02:00
Tim Ledbetter
f24aab662f Ports: Update freeciv to version 3.0.8
This commit also removes a logging patch, as these changes have now
been upstreamed.
2023-08-05 22:29:57 +02:00
Tim Ledbetter
0be4a3b635 Ports/doom: Use upstream doomgeneric SDL port
Doing this means we no longer need to maintain our own Doom fork and
we get  the newest features of the upstream repository, such as sound
effects and music.
2023-08-05 20:27:45 +02:00
Tim Ledbetter
eda73af265 Ports/potrace: Add zlib dependency 2023-08-05 12:03:21 +02:00
Daniel Bertalan
17b363b596 Ports/vim: Override uname output to fix compilation on macOS
`vim` does not use a mechanism like `config.sub` for determining the
canonical system name from the `--target` triple passed to `configure`.
Instead, it directly executes the `uname` executable on the host. This
leads to it trying to build macOS-specific files on Mac hosts even if we
are compiling for a different platform. To make cross-compilation
possible, developers added a way to override `uname`'s output with
environment variables. Let's set these.

See vim/vim#9338
Obsoletes #11426

Co-Authored-By: unixinspace <unixinspace@users.noreply.github.com>
2023-08-05 10:57:27 +02:00
Daniel Bertalan
a2daed5817 Ports/gettext: Replace manually linking libintl with a libtool patch
The `gettext` port comprises of multiple libraries, however `libintl.so`
is the one most commonly used in external executables/libraries, so
porting the patches to this one is enough.
2023-08-05 01:05:06 +02:00
Daniel Bertalan
e9ce317483 Ports: Replace manually linking freetype with a libtool patch 2023-08-05 01:05:06 +02:00
Daniel Bertalan
a050d91073 Ports/zlib: Do not manually link zlib into a shared library
Instead, pass our system name to its (non-autotools) configure script.
Tell it to include a SONAME to avoid breaking dependent ports when
updating zlib.
2023-08-05 01:05:06 +02:00
Tim Schumacher
a8f5cf9da7 Ports/sqlite: Replace the stub libtool patch with the full version 2023-08-04 20:51:19 +02:00
Tim Ledbetter
539a33dc28 Ports/glm: Create /usr/local/include if it doesn't exist
Previously, the glm port would not build from a clean state, as this
directory does not exist by default.
2023-08-04 13:40:52 +02:00
Tim Ledbetter
6ba38494c5 Ports: Add cowsay 2023-08-01 04:42:20 +02:00
Sergey Bugaev
a608458ee6 Ports: Add ObjFW :^) 2023-07-29 16:52:11 -06:00
Andrew Kaster
b5a728ae5f Ports: Port gn
This requires allowing ports to override fetch() since tar.gz sha256sums
from googlesource.com are not deterministic.
2023-07-29 09:42:20 -06:00
Beckett Normington
8ee71a9920 Ports: Add perl5 2023-07-29 09:03:39 -06:00
Beckett Normington
c5b8903761 Ports: Add OBJDUMP to hosted_defs
This allows the `perl5` port to be built with the Clang toolchain.
2023-07-29 09:03:39 -06:00
gloof11
1f1d5ed119 Ports: Update Cave Story version
Updated the version of Cave Story that is pulled from my repo.
The original port of this was missing game files that would've been
extracted on first boot such as .pbm files, and some .pxt files.
2023-07-27 21:17:10 +01:00
Liav A
061ebd0b15 Ports: Update acpica-tools to use other upstream
Also, update it to the latest revision, which makes it possible to build
without most of the patches we needed before, but now we need our own
definitions for LibC includes and to disable errors for the warning
bad-function-cast.
2023-07-21 12:48:24 +02:00
Kenneth Myhra
c0d0391d08 Toolchain+Ports: Update QEMU to 8.0.3 2023-07-20 07:24:40 +01:00
Kenneth Myhra
0263052284 Ports/glib: Reformat package.sh according to our current style 2023-07-20 07:24:40 +01:00
Kenneth Myhra
0bf8735aba Ports/glib: Update to 2.77.0 2023-07-20 07:24:40 +01:00
Kenneth Myhra
53db5d8b6c Ports/curl: Update to 8.2.0 2023-07-20 07:24:40 +01:00
Kenneth Myhra
1166f5a758 Ports/openssl: Reformat package.sh according to our current style 2023-07-20 07:24:40 +01:00
Kenneth Myhra
b38edc9d43 Ports/openssl: Update to 3.0.9
The 3.0 series is the new LTS version and is supported until 7th
September 2026. The 1.1.1 series which is the previous LTS version has
an end of support on 11th September 2023.
2023-07-20 07:24:40 +01:00
Fabian Dellwing
f9e62bc947 Ports: Update and refactor opentyrian
- Add SDL2_net
- Bring CMake file closer to proposed upstream
- Remove opentyrian-data port and merge it into the main port
- Do a release build
- Add correct icon
2023-07-18 14:31:33 +01:00
sin-ack
752d9d7c03 Ports: Bump Zig version to 0.11.0-dev.4003+c6aa29b6f
This commit fixes the build for LLVM 16 now that the toolchain has been
updated, and updates us to the latest available Zig commit.

The main patch changes are making more symbols available (and exposing
them through std.c.serenity) and working around new Zig build
requirements.

Co-Authored-By: Andre Herbst <moormaster@gmx.net>
2023-07-17 22:52:08 +01:00
Kenneth Myhra
f7d8fb6366 Ports/jfduke3d: Add post_install() section
This adds a post_install() section printing out useful information on
how to install the game files.
2023-07-16 23:45:23 +02:00
Kenneth Myhra
7fb2c79054 Ports/jfduke3d: Add game icon 2023-07-16 23:45:23 +02:00
Kenneth Myhra
ae1039387a Ports/jfduke3d: Install into '/usr/local/share/games/jfduke3d' 2023-07-16 23:45:23 +02:00
Shannon Booth
b980224640 Ports/cmake: Update cmake to version 3.26.4 2023-07-16 00:05:53 -06:00
Tim Schumacher
401544f68f Ports: Remove the separate branch for extracting .tar.gz files
This can just use the default `tar` invocation, which successfully
recognizes the type automatically. In fact, `.tar.gz` and `.tgz` are
already listed by that particular case anyways.
2023-07-13 05:09:46 +02:00
Tim Schumacher
58cf3b365e Ports: Don't import GPG keys on download
This was part of our setup for verifying GPG-signed files, but that is
no longer needed.
2023-07-13 05:09:46 +02:00
Tim Schumacher
b8cf8c6081 Ports: Remove the "no HTTPS" workaround
curl on SerenityOS now has HTTPS support, since we use the upstream
ca-certificates package.
2023-07-13 05:09:46 +02:00
Jelle Raaijmakers
3b2a7135b2 Ports: Add archive hash to Quake port
Also update the code style.
2023-07-11 13:42:02 +01:00
Beckett Normington
a961447dbd Ports: Add jdupes port
This commit ports the file deduplication utility `jdupes`.
2023-07-10 21:49:53 -06:00
Beckett Normington
73b5e3db6a Ports: Add libjodycode port
This commit ports `libjodycode` to Serenity, which is a helper library
containing shared code for utilities written by Jody Bruchon. This
library was required for porting `jdupes`.
2023-07-10 21:49:53 -06:00
Taj Morton
5941117739 Ports/alpine: Patch build system files that added Serenity support
Changes the strategy for building Alpine to patch the distribution build
system files (configure, pith/Makefile.in), instead of regenerating them
from scratch.
This reduces fragility of the port as it no longer depends on the build
system having a compatible version of the auto* tools installed.
Resolves SerenityOS/serenity#19891.
2023-07-10 13:16:20 +02:00
Tim Schumacher
89b0a61067 Ports: Remove support for auth_types other than sha256 2023-07-10 13:08:27 +02:00
Tim Schumacher
f7ccdc268d Ports: Migrate remaining signature-based ports to sha256 2023-07-10 13:08:27 +02:00
djwisdom
47eaef9b41 Ports: Update serenity-theming use latest commit 103b0ad 2023-07-09 15:40:54 +01:00
Fabian Dellwing
1d426df262 Ports: Add poppler 2023-07-07 00:43:42 +02:00
Ali Mohammad Pur
72b9f47bb1 Ports: Add jakt 2023-07-07 00:04:15 +02:00
Lucas CHOLLET
40c0dd67dd Ports/backward-cpp: Update to the latest available commit
backward-cpp 1.6 wasn't compatible with the latest version of binutils
(which we are using). This is now fixed upstream, but it forces us to
build with the latest commit and not a published version.
2023-07-06 15:01:17 +01:00
Lucas CHOLLET
b8bc1ac5d0 Ports: Fix a typo in .port_include.sh 2023-07-06 15:01:17 +01:00
Andre Herbst
703ac59b27 Ports/acpica-tools: Prevent dangling pointer compiler warning 2023-07-06 14:59:14 +01:00
Andre Herbst
4844e8869e Ports/imagemagick: Replace --host=... with --with-sysroot
... to prevent linking against libs from build host. I.e. if
Ports/fontconfig is already installed imagemagick tries to
link against it in /usr/local/lib and fails to build.
--host=... will already be passed by ../.port_include.sh
2023-07-06 10:17:29 +01:00
Fabian Dellwing
4a83fb1b12 Ports: Drop Python bindings for Boost
Building Boost failed in at least 2 cases using Python 3.11. Since
there is currently no known usage of Boost's Python binding by ports,
we drop the dependency to make the port install successfully again.
2023-07-05 20:08:53 +02:00
Jelle Raaijmakers
7551666a80 Ports: Do not perform slow curl check if download already exists
Even if the file was already downloaded, we were trying to perform a
relatively slow HTTPS-call.
2023-07-05 16:17:35 +01:00
gloof11
e4b6c402cb Ports: Cave Story (Aeon Genesis Translation) 2023-07-05 13:38:57 +02:00
Ben Wiederhake
a627c15b07 Ports: Avoid using DeprecatedFile in OpenJDK 2023-07-04 15:48:44 -06:00
Linus Groh
63c7747b8d Ports/SuperTuxKart: Set app icon 2023-07-04 21:08:55 +01:00
Linus Groh
9594b79d38 Ports/SuperTuxKart: Use 'NOT SERENITYOS' to disable USE_IPV6 option 2023-07-04 19:38:24 +01:00
Linus Groh
5c75117262 Ports/SuperTuxKart: Clean up IrrCompileConfig.h patch a little
There was still some code commented out from earlier attempts
piggybacking on Haiku ifdefs, this should now be in an upstreamable
state.
2023-07-04 19:38:24 +01:00
Linus Groh
fc6cf76b05 Ports/SuperTuxKart: Enable now-implemented SDL_GetWindowWMInfo() call 2023-07-04 19:38:24 +01:00
Linus Groh
8dee35065b Ports/SDL2: Implement GetWindowWMInfo 2023-07-04 19:38:24 +01:00
Jelle Raaijmakers
0487a841c3 Ports: Regenerate SuperTuxKart's ReadMe.md 2023-07-04 12:37:20 +02:00
Dominika Liberda
484f10132d Ports: Add a Super Tux Kart port
Co-Authored-By: Linus Groh <mail@linusgroh.de>
Co-Authored-By: Panagiotis "Ivory" Vasilopoulos <git@n0toose.net>
Co-Authored-By: lilylunatic <lily@acab.dev>
Co-Authored-By: io_err <quint@guvernator.net>
2023-07-04 12:26:05 +02:00
Dominika Liberda
815fc034ff Ports: Fix building harfbuzz against freetype 2023-07-04 12:26:05 +02:00
Linus Groh
8aa579d494 Ports: Update URL of pkgconf release tarball
See: 437c2a3218
2023-07-04 10:43:11 +01:00
Ali Mohammad Pur
251ea54cc8 Ports: Bump the version of make to 4.4.1 2023-07-04 08:35:02 +02:00
Andre Herbst
4bcf3ea0e1 Ports/libgd: Added --without-x to prevent linking against /usr/lib 2023-07-03 10:39:21 +02:00
djwisdom
2ba77489ee Ports: Update serenity theming use latest commit 49d499b
Add font HuntingRegular10
Update font AnodeRegular10
Update font GenodeRegular10
Update font VanligaMonoRegular10
2023-07-02 02:12:52 +02:00
Andre Herbst
6391480b80 Ports/ffmpeg: Build shared libraries by using configure option
This fixes build error: relocation R_X86_64_PC32 against symbol
`ff_pw_5' can not be used when making a shared object; recompile
with -fPIC
2023-06-30 23:34:20 +02:00
Tim Ledbetter
a036346e24 Ports: Update stockfish to version 16 2023-06-30 23:21:48 +02:00
implicitfield
941d68ac2d Toolchain+Ports: Update LLVM to 16.0.6 2023-06-27 12:40:38 +02:00
Liav A
99cc33bce9 Ports: Mark cbonsai package.sh as executable
This should fix a recent CI lint problem.
2023-06-25 09:40:00 +02:00
Beckett Normington
4032bfc2fc Ports: Add cbonsai port
This commit modifies the port list and adds the package.sh script
for `cbonsai`.
2023-06-25 08:04:23 +01:00
René Hickersberger
b0ef956fe0 Ports: Add lynx port 2023-06-23 17:25:37 +02:00
Tim Schumacher
ead756ca32 Ports: Point to the correct subdirectory for gettext
`ftpmirror.gnu.org` does not seem to have the `/pub/gnu` folder
structure, all files are in `/gnu` instead.

This regressed in 41f7f821f6.
2023-06-18 20:33:38 +02:00
djwisdom
ec0054da06 Ports: Update serenity-theming use latest commit 43c42c9 2023-06-17 06:27:56 -04:00
Emily Trau
fcef663869 Ports/nhlohmann-json: Fix pkgconf install path
CMAKE_INSTALL_DATADIR is used to define the install base dir for
pkgconf files. In this case it defaulted to /usr/local/share/pkgconf
which is not a location searched by default.

See a0c1318830/CMakeLists.txt (L69)
2023-06-13 16:44:13 +02:00
Emily Trau
675cf43937 Ports: Add lowdown 1.0.2 2023-06-07 13:44:44 +02:00
djwisdom
732bdf07bd Ports: Update serenity-theming use latest commit cd1fd73 2023-06-07 12:35:06 +02:00
Emily Trau
eabadf9e02 Ports: Add Brotli 1.0.9 2023-06-06 23:41:58 +02:00
Emily Trau
9a17f890ed Ports: Add editline 1.17.1 2023-06-06 23:41:12 +02:00
sin-ack
910bff9e94 Ports: Update the Zig port's Serenity type definitions
After b98f537, the Zig port's types for Serenity no longer matched what
Serenity actually returned from LibC; this caused weird errors due to
stat() not returning valid values anymore.
2023-06-04 05:39:32 +02:00
Daniel Bertalan
41f7f821f6 Toolchain+Ports: Use ftpmirror.gnu.org for faster downloads
This service automatically redirects to a mirror that's geographically
closer, which should make downloading the tarballs faster. The GNU
project recommends this instead of bombarding their top-level downloads
site.
2023-05-28 06:34:12 -07:00
kleines Filmröllchen
213025f210 AK: Rename Time to Duration
That's what this class really is; in fact that's what the first line of
the comment says it is.

This commit does not rename the main files, since those will contain
other time-related classes in a little bit.
2023-05-24 23:18:07 +02:00
Nathan Ell
fbb4887d9c Ports/dos2unix: Update to 7.5.0
Version 7.5.0 adds two new arguments for the command line, to add a line
break to the last line if one isn't present, and to write output to
stdout.
2023-05-19 22:55:39 +02:00
djwisdom
1b9c31da12 Ports: Update and clean up serenity-theming use latest commit 83fb3e7 2023-05-18 22:47:29 +02:00
Tim Schumacher
8434d76027 Ports: Update Ruby to version 3.2.2
Three patches that are apparently no longer needed have been removed.
2023-05-17 08:54:55 +02:00
Daniel Bertalan
07918b79b7 Toolchain+Ports: Update GCC to 13.1.0
This is a mostly straight-forward rebase of our patches on top of
13.1.0. The spec files needed a change, as GCC no longer supports STABS
debug information, but we were building GCC with support for it.

Highlights of this release include static `operator()`, The Equality
Operator You Are Looking For and extended `constexpr` support.
2023-05-15 07:00:29 +02:00
Mike Swanson
041e29e585 Ports: Add chocolate-doom 3.0.1 2023-05-13 17:52:58 -06:00
Mike Swanson
f947c4f4fc Ports: Add libsamplerate 0.2.2 2023-05-13 17:52:58 -06:00
Fabian Dellwing
4093952a6e Ports: Update and fix nethack
This update fixes the broken build on newer (Ubuntu) systems.

It also contains a security fix.
2023-05-13 07:53:58 +02:00
Mike Swanson
eb76329ad8 Ports: Add deutex 5.2.2 2023-05-12 05:36:47 +02:00
Mike Swanson
5a1c0c6836 Ports: Support extracting *.tar.zst source archives 2023-05-12 05:36:47 +02:00
Jelle Raaijmakers
3af92a76be Ports: De-special case ./package.sh dev
There is nothing special about the `dev` command; move its logic to
`do_dev` and invoke it generalized.
2023-05-09 06:36:30 +02:00
Jelle Raaijmakers
a81e83f3b5 Ports: Only remove dir contents on clean, not the dir itself
The entirety of `.port_include.sh` depends on having a current working
directory for the respective port. If we were to remove the directory,
some actions such as `fetch` could fail since our current working
directory would now be an invalid inode.

This issue was exposed by running `./package.sh` followed by
`./package.sh dev` and answering 'y' to the question on cleaning the
build directory.
2023-05-09 06:36:30 +02:00
Jelle Raaijmakers
71671e0921 Ports: Alphabetize commands in .port_include.sh
Also remove a stray newline.
2023-05-09 06:36:30 +02:00
Kenneth Myhra
03ca560b2d Ports: Update dosbox-staging to 0.77.1
This version of 'dosbox-staging' uses the meson build system.

Previous versions of dosbox-staging started in windowed mode with a
resolution of 320x200. This version starts in windowed mode with a
resolution of 640x480.

Audio was stuttering a bit in previous versions, but it sounds like it
might have become a bit worse. This is probably because of higher CPU
usage and the audio server/client not able to keep up.

Added a post_install() section to package script which outputs a link to
dosbox-staging's release notes.
2023-05-08 08:03:31 +02:00
Kenneth Myhra
9541f23376 Ports: Clean up 'package.sh' for dosbox-staging
This makes dosbox-staging's 'package.sh' conform to our coding standards
for bash scripts.
2023-05-08 08:03:31 +02:00
Kenneth Myhra
4eaac2ff1e Ports: Add opusfile 0.12 2023-05-08 08:03:31 +02:00
Kenneth Myhra
748289211a Ports: Add libopus 1.3.1 2023-05-08 08:03:31 +02:00
Ben Wiederhake
36ff6187f6 Everywhere: Change spelling of 'behaviour' to 'behavior'
"The official project language is American English […]."
5d2e915623/CONTRIBUTING.md (L30)

Here's a short statistic of the occurrences of the word "behavio(u)r":

$ git grep -IPioh 'behaviou?r' | sort | uniq -c | sort -n
      2 BEHAVIOR
     24 Behaviour
     32 behaviour
    407 Behavior
    992 behavior

Therefore, it is clear that "behaviour" (56 occurrences) should be
regarded a typo, and "behavior" (1401 occurrences) should be preferred.

Note that The occurrences in LibJS are intentionally NOT changed,
because there are taken verbatim from the specification. Hence:

$ git grep -IPioh 'behaviou?r' | sort | uniq -c | sort -n
      2 BEHAVIOR
     10 behaviour
     24 Behaviour
    407 Behavior
   1014 behavior
2023-05-07 01:05:09 +02:00
Ben Wiederhake
d5f8dac2bd dungeonrush: Fix typo in patches 2023-05-07 01:05:09 +02:00
Ben Wiederhake
ee47c0275e Everywhere: Run spellcheck on all documentation 2023-05-07 01:05:09 +02:00
Cubic Love
e7502d4d6d Ports: Update serenity-theming to use the latest commit (f4b6f7f) 2023-05-06 06:43:16 -07:00
Kenneth Myhra
4c17f22735 Ports: Unbreak SDL2 by using GUI::Application::create()
Commit 1a97382 introduced the fallible GUI::Application::create() and
removed GUI::Application::construct() breaking the SDL2 port, let's
update it to use the fallible version.
2023-05-06 00:08:59 +02:00
Fabian Dellwing
b443c0b80b Ports: Update OpenJDK 2023-05-05 02:19:05 +02:00
Daniel van Gerpen
98badc1466 Ports/ncdu: Update to version 1.18.1 2023-05-04 19:45:24 +02:00
Jelle Raaijmakers
1127bdb65c Ports: Add Serious Sam - The First Encounter
The actual port is SeriousSamClassic, but only The First Encounter is
built and installed. It should be relatively easy to also build and
install The Second Encounter from this port in the future.
2023-05-04 16:11:28 +02:00
Kenneth Myhra
368c255368 Ports: Add Duke Nukem 3D
This adds 'JonoF's Duke Nukem 3D Port'.

Parts of the network-related stuff has been patched out.
See patch: patches/0002-mmulti.c-ifdef-out-network-related-stuff-we-currentl.patch

Notes:
- Some sound work seems to be needed. During the title screen and
  gameplay SFX works, but music does not play. At the ending screen of
  Hollywood Holocaust music does play.
- GTK has been disabled, by default it will start in fullscreen, to get
  back to windowed mode can be done through the Video Settings.
- OpenGL support has been disabled, as far as I can tell it will need
  OpenGL 2.0 support which we do not currently have.
- True 3D renderer has been turned on.
2023-05-03 15:39:24 +02:00
Fabian Dellwing
8f34478e75 Ports: Add ssmtp port 2023-04-30 19:23:08 +02:00
Nicolas Josef Zunker
852bf35c1e Ports: Add c-ares library
The asynchronous DNS requests library c-ares was ported to serenity
2023-04-29 08:55:16 -06:00
Fabian Dellwing
824d23570a Ports: Remove getconf from bash examples
We fail to build `getconf.c` from the builtin examples. And therefore
don't install the rest. If we remove it, we successfully build the
rest of the examples.
2023-04-27 10:25:42 +01:00
Fabian Dellwing
6990d4e025 Ports: Cleanup the build process a bit for taskwarrior 2023-04-26 16:54:31 +02:00
LekKit
9fe6dcb50b Ports: Use makeopts in RVVM port 2023-04-26 12:48:56 +02:00
LekKit
1a3009fa2b Ports: Fix RVVM port syntax 2023-04-26 12:48:56 +02:00
LekKit
12730cefce Ports: Add RVVM port 2023-04-26 12:48:56 +02:00
Jelle Raaijmakers
34b04271f4 Ports/SDL2: Handle window close requests correctly
We were going about this the wrong way:

* We should not send `SDL_QUIT` events; SDL2 is doing this for us
  already when the last window is closed, for example.
* The `SDL_WINDOWEVENT_CLOSE` event does not represent a closed window,
  but rather a _request_ from the window manager to close a window.

This resolves the issue with the PrBoom+ port where the quit screen
would not be shown when trying to close the main window.
2023-04-26 09:37:16 +01:00
Jelle Raaijmakers
e283dfdeb6 Ports/scummvm: Enable release mode
This brings the binary's size down to 100 MiB, from about 600 MiB. The
`--enable-optimizations` flag is implied with `--enable-release`.
2023-04-26 09:37:16 +01:00
Jelle Raaijmakers
62843befca Ports/SDL2: Stop the audio client when device is closed
This ensures all threads and event loops on the audio client's side are
shut down.
2023-04-26 09:37:16 +01:00
Jelle Raaijmakers
bff5137cb4 Ports/gltron: Exit the game when SDL_QUIT is received 2023-04-26 09:37:16 +01:00
Fabian Dellwing
6acf03d9a8 Ports: Add default zshrc
Previosly we had a very messed up PS1 as the Shell PROMPT is not
unset correctly.

We now provide a default `zshrc` file for the system that uses
sane values for basic categories like aliases, autocompletion and
history management to make the port more usable. It also forces
the prompt to be the default zsh one.
2023-04-25 20:48:51 +02:00