Commit Graph

1901 Commits

Author SHA1 Message Date
Oskar Skog
ebee480bcc Ports/python3: Update patch for configure
- Dropped modifications to `configure.ac`
- "Merged" `0007-Set-name-of-shared-libpython.patch` into
  `0002-Tweak-configure.patch`
- Use `CCSHARED=fPIC`
2023-09-29 09:55:48 +02:00
Andre Herbst
14d8403a7b Ports/zig: Bump zig version to 0.12.0-dev.141+ddf5859c2
Fixes build error
```
error "It looks like you're trying to enable vendor availability
markup, but you haven't defined the corresponding macros yet!"
```
while trying to #include <__availability> header without having
the necessary preprocessor directive
`_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS` set
2023-09-29 00:58:17 +02:00
Héctor Molinero Fernández
b7676d3bad Ports: Generate OpenSSH host keys using a service 2023-09-28 20:26:38 +02:00
Lucas CHOLLET
e62a4c169b Ports: Add libjxl :^) 2023-09-27 03:14:44 +02:00
Lucas CHOLLET
48a1fe8308 Ports/brotli: Update to 1.1.0 2023-09-27 03:14:44 +02:00
Lucas CHOLLET
7a993cad7a Ports: Add highway
This library is used by multiple projects but was ported to get `libjxl`
on SerenityOS.
2023-09-27 03:14:44 +02:00
Tim Schumacher
40808fe1cd Ports: Properly update submodules when checking out Git repositories 2023-09-24 23:54:56 +02:00
Tim Schumacher
e12e833eaa Ports: Clone Git repositories to the actual workdir 2023-09-24 23:54:56 +02:00
surrealegg
d94a374001 Ports: Add libenet
Libenet is a UDP networking library that is used by Love2D,
a game framework I would like to port.
2023-09-24 21:05:44 +02:00
Daniel Bertalan
4defa401d3 Toolchain+Ports: Update binutils to 2.41
Aside from a straightforward rebase, this contains an out-of-tree patch
from MaskRay which adds the `-Bsymbolic-non-weak-functions` flag to ld.
2023-09-18 10:26:42 +02:00
Daniel Bertalan
ae21002cb5 Toolchain+Ports: Update GCC to 13.2.0
This is a minor bugfix release, which to my knowledge contains nothing
of importance to us. However, there is one QoL change to our patches.

We no longer force `-fpic` in the compiler driver, and instead use the
`--enable-default-pie` configure option to generate position-independent
code suitable for executables. For building shared libraries, the
`-fpic` flag must be specified explicitly.
2023-09-18 10:26:42 +02:00
Tim Ledbetter
27b08c0c74 Ports/julius: Add a launcher entry and setup instructions
The CMake-generated Makefile's install target is also no longer used,
as the `julius` binary is the only file we actually need to copy.
2023-09-17 16:29:51 -06:00
Daniel Bertalan
d87fbcccb7 Toolchain+Ports: Update QEMU to 8.1.0
This version contains my patch that adds support for the proprietary
VideoCore mailbox message for reading the kernel command line, so
patches aren't needed anymore.
2023-09-17 15:26:20 -06:00
Tim Schumacher
c99c065a40 Ports/acpica-tools: Ignore unknown warning options
-Wlogical-op, -Wmissing-parameter-type, and -Wold-style-declaration
are unknown to Clang. While this isn't fatal by itself, it is very
noisy.
2023-09-09 11:28:59 -06:00
Tim Schumacher
1875d373e5 Ports/acpica-tools: Don't treat warnings as errors
This also removes existing patches that were trying to fix warnings
one-by-one.

Note that the patch making `CurrentSp` static was incorrect, the
variable needs to be on the stack for us to retrieve the current stack
address.
2023-09-09 11:28:59 -06:00
Tim Schumacher
ce556c9566 Ports: Remove the ability to override fetch and patch_internal 2023-09-09 01:06:31 +02:00
Tim Schumacher
d94bffd708 Ports/gn: Switch to using the Git repository directly 2023-09-09 01:06:31 +02:00
Tim Schumacher
e28ff48304 Ports: Introduce support for Git repositories 2023-09-09 01:06:31 +02:00
Tim Schumacher
ce50dbb411 Ports: Pass --no-sign to tagging operations
If the user chose to sign tags by default, not passing this flag will
force a signed and therefore annotated tag, which requires a message.
2023-09-09 01:06:31 +02:00
Tim Schumacher
b80760003e Ports: Use clearer tag names for ./package.sh dev
The old names only made sense in the context of `./package.sh dev` but
that will not be the only context anymore very soon.
2023-09-09 01:06:31 +02:00
Tim Schumacher
9a828a76d2 Ports: Remove ./package.sh dev support for non-Git patches
All of our existing patches have been converted into Git patch format,
and new patches are created through `./package.sh dev` itself.
2023-09-09 01:06:31 +02:00
Tim Schumacher
456fd9f574 Ports: Switch to the new files syntax 2023-09-09 01:06:31 +02:00
Liav A
2a995cffc5 Ports: Add giflib 2023-09-07 19:35:54 +02:00
Tim Ledbetter
490949c6a8 Ports/devilutionX: Update to version 1.5.1 2023-09-07 07:36:02 +02:00
Liav A
4cee3b65d3 Ports: Add lcms2 2023-09-03 06:34:52 +02:00
Liav A
cd3c06dcef Ports: Add liblzf
This small data compression library also provides userspace utilities to
compress and decompress data.
2023-09-03 06:30:36 +02:00
René Hickersberger
bd3d185b3b Ports: Add nnn port
This ports the nnn (n³ / Nnn's Not Noice) file manager.
2023-09-03 06:21:40 +02:00
René Hickersberger
a969e55bf2 Ports: Add libfts port
This ports an implementation of the FTS functions that can be used to
traverse the file system. They are non-standard, but provided by glibc
and most BSD systems. This ported library implements FTS for musl-based
Linux systems and happens to work on Serenity.
2023-09-03 06:21:40 +02:00
Liav A
db2701f2e2 Ports: Add libwebp
This library includes webp converter to other formats as well and could
be used as reference implementation for performance improvements.
2023-09-01 23:01:34 +02:00
Nathan Ell
f642b54b5e Ports/dos2unix: Update to 7.5.1
Version 7.5.1 fixes a problem of converting a symbolic link target that
is on another filesystem, and updates Chinese and Serbian translations.
2023-09-01 15:03:13 +02:00
Beckett Normington
f56b772b29 Ports/dosbox-staging: Update to version 0.80.1
This commit updates `dosbox-staging` to the latest stable version and
removes patches that are no longer needed for successful
compilation/usage.
2023-08-30 13:19:20 +02:00
Linus Groh
ebb7079795 Ports: Update Python to 3.11.5
Released on 2023-08-24.
https://www.python.org/downloads/release/python-3115/
2023-08-30 09:34:43 +02:00
Beckett Normington
39e79d6f6f Ports/perl5: Remove no longer needed Makefile patch
Following the removal of the `drand48` patch to the configure script,
we can now remove this patch as it is no longer needed to prevent an
interpreter hang.
2023-08-28 00:40:35 +02:00
Beckett Normington
eaf7dbaced Ports/perl5: Remove unnecessary drand48 patch
With `drand48` now in LibC, this patch is not needed.
2023-08-28 00:40:35 +02:00
Gurkirat Singh
4519ac2da9 Ports: Add doxygen v1.9.7 2023-08-27 15:20:39 +02:00
Tim Ledbetter
e1a9d7ec9d Ports/glib: Specify pcre2 as a dependency instead of pcre
Previously, if `pcre2` was not installed before `glib`, the meson
script would download its own version and use that.
2023-08-27 01:29:13 +02:00
Tim Ledbetter
a0a43d1a0e Ports/mc: Update formatting to be consistent with other ports 2023-08-27 01:20:47 +02:00
Tim Ledbetter
c5800229d5 Ports/mc: Remove libtool dependency
This is a build time dependency only. Therefore it is expected to be
present on the host machine prior to installation.
2023-08-27 01:20:47 +02:00
Tim Ledbetter
b2f2156706 Ports/mc: Add --with-sysroot to configopts
This prevents any host dependencies affecting the build and negates
the need to manually specify `ncurses` directories.
2023-08-27 01:20:47 +02:00
Tim Ledbetter
b91cd56a53 Ports/gettext: Update formatting to be consistent with other ports 2023-08-27 01:05:41 +02:00
Tim Ledbetter
07075ac0c2 Ports/gettext: Explicitly disable curses support
This makes the build behave the consistent regardless of whether
`ncurses` or `termcap` was previously installed or not.
2023-08-27 01:05:41 +02:00
Tim Ledbetter
435c53ee1c Ports/gettext: Remove unnecessary wctype patch 2023-08-27 01:05:41 +02:00
Tim Ledbetter
d730cd89f5 Ports/gnuplot: Update formatting to be consistent with other ports 2023-08-25 10:33:30 +02:00
Tim Ledbetter
2512544b6b Ports/gnuplot: Explicitly specify which optional dependencies to enable
This change explicitly enables support for `libgd` and the lua
terminal in `gnuplot`, while explicitly disabling `cairo` terminals,
which don't work with our `cairo` port. Adding `libgd` as a
dependency requires us to manually link against the dependencies of
`libgd`, as this is not done automatically by the configure script.

This fixes an issue where building `gnuplot` would fail if `libgd`
was already installed.
2023-08-25 10:33:30 +02:00
Tim Ledbetter
673d6bf2d2 Ports/gnuplot: Update to version 5.4.8
We also no longer build the tutorial, as that directory no longer
exists.
2023-08-25 10:33:30 +02:00
Tim Ledbetter
ad5df3bef8 Ports/aria2: Update formatting to be consistent with other ports 2023-08-24 13:16:58 +02:00
Tim Ledbetter
87c17c9bb9 Ports/aria2: Explicitly disable Firefox/Chromium cookie support
Previously, this would only be enabled if the `sqlite` port was
already installed. This change explicitly disables the feature, as it
isn't that useful on SerenityOS. This ensures a consistent build
regardless of whether the `sqlite` port is installed or not.
2023-08-24 13:16:58 +02:00
Tim Ledbetter
434c97010f Ports/aria2: Explicitly disable c-ares support
This was causing the build to fail when the `c-ares` port was
installed.
2023-08-24 13:16:58 +02:00
Tim Ledbetter
637eb3179a Ports/libssh2: Update formatting to be consistent with other ports 2023-08-24 13:16:58 +02:00
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