Commit Graph

687 Commits

Author SHA1 Message Date
Tim Schumacher
48dc28996d Ports: Update Python patches for the recent signal changes
The old patch to define `HAVE_SIGSET_T` is no longer needed, as we now
have implementations for `sigwaitinfo` and `sigtimedwait`.

Instead, for the same reason, we now have to remove a reference to
`si_errno`, which we haven't implemented yet but is just assumed to be
there.
2021-12-22 11:28:20 +01:00
Tim Schumacher
1145638de5 Ports: Remove wchar parts from openssh patches 2021-12-21 20:35:52 -08:00
Tim Schumacher
939469c831 Ports: Remove wchar patch from dosbox-staging 2021-12-21 20:35:52 -08:00
Tim Schumacher
ee994832cf Ports: Remove wstring patch from LLVM
One of the chunks in `remove-wstring.patch` was not wchar-related and
has been moved to `insert-ifdef-serenity.patch` instead.
2021-12-21 20:35:52 -08:00
Tim Schumacher
e6c90a3048 Ports: Remove the cmake wstring patch 2021-12-21 20:35:52 -08:00
Ben Reeves
58ec2f688b Ports/ncurses: Check for proper tic version during install
MacOS ships with an out of date ncurses that can't properly generate
terminfo from the newer source code. This change checks for a valid
`tic` executable of the proper version, first in PATH and then in
the Homebrew cellar if brew is installed. Otherwise it aborts
installation.

See comment in the code as well as the following for details:
https://github.com/termux/termux-packages/issues/4487#issuecomment-626277493
https://lists.gnu.org/archive/html/bug-ncurses/2019-07/msg00020.html.
2021-12-20 10:45:52 -08:00
Rafał Babiarz
196bd11743 Ports: Add libssh2 port 2021-12-20 10:43:47 -08:00
Rafał Babiarz
ef1d4aab73 Ports: Updated lua port to version 5.3.6 2021-12-17 03:25:52 -08:00
Rafał Babiarz
39e3c68e94 Ports: Updated links port to version 2.25 2021-12-16 22:45:05 +01:00
Daniel Bertalan
2c1a6ce9a5 Ports: Update gcc patch to match the toolchain 2021-12-16 21:27:03 +02:00
Daniel Bertalan
edb810f854 Ports: Remove obsolete openssh password prompt patch
As of 8dd11ae, we have `/dev/tty`, which is used by openssh's built-in
read_passphrase function to access the TTY, making our patch
unnecessary.

Removing it also fixes a subtle issue: we did not handle the case of
stdout not being a TTY correctly, so prompts failed to show up when e.g.
the ssh process was being piped to. This made `git clone` not work when
the server's fingerprint was not already verified.
2021-12-13 00:12:28 +01:00
Sahan Fernando
398f1ca842 Ports: Don't return errno value as pointer in openssh port 2021-12-12 13:16:55 +02:00
Linus Groh
db610d0cd6 Ports: Restore Python's setup.py patch
It appears that the patch still applied partially, which led to me
believing our changes were fully upstreamed. Only the _uuid module
specific changes didn't apply and are no longer needed, so simply
restore the other ones that I removed.
2021-12-12 00:23:04 +00:00
Linus Groh
6d9a1d3c93 Ports: Update Python to 3.10.1 :^)
This was released a couple of days ago, on 2021-12-06 and contains
various changes that we previously needed custom patches for, so we are
now able to remove those and compile more unchanged upstream sources.
Thanks to Rodrigo for making that effort! :^)
2021-12-11 19:02:00 +00:00
Nathan Ell
a1580a1d00 dos2unix: Swap to official signature validation
In the initial port of dos2unix, there was a miss in the validation
of the files. Let's switch to the original author's official
signed verification of the source :^)
2021-12-09 09:48:43 +01:00
Andreas Kling
78252d7777 Ports: Add SHA256 checksum to dos2unix port 2021-12-08 10:48:39 +01:00
Nathan Ell
444a7eb929 dos2unix: Introduce dos2unix port
Port the ubiquitous dos2unix tool to Serenity. Dos2Unix is a suite of
tools for converting file line endings, from dos/mac to unix and unix
to dos/mac.
2021-12-08 09:20:04 +01:00
Daniel Bertalan
e88ca09609 Ports: Upgrade LLVM to version 13.0.0
With this update, we now use our custom `serenity` Clang target, which
means that all system-specific compilation options (e.g. default PIE,
header search paths) will be handled automatically.

This port has been tested to build `Source/little` on all 4
toolchain-architecture pairs. Furthermore, `lib(std)c++` headers are
picked up correctly and our AK headers can be included without any
issues.

Due to recent kernel fixes related to memory-mapped files, the LLD
linker can now be used by default, so there's no need to also build the
GCC port alongside this.

Although our patches cover building libLLVM as a shared library, this is
currently not enabled by default, as DynamicLoader is very slow in
dealing with such a large number of relocations.
2021-11-28 09:38:57 -08:00
Jelle Raaijmakers
ce6fd38e5d Ports: Remove ScummVM's SVG patch
No longer necessary now that we have a better `acosf` implementation.
2021-11-18 21:10:30 +01:00
EWouters
069e64efd1 Ports/libuv: Update libuv to version 1.42.0 and fix cmake argument
Add CMAKE_BUILD_WITH_INSTALL_RPATH=true to the cmake arguments as it
wouldn't compile on MacOS without this argument
2021-11-14 16:20:55 +00:00
Brian Gianforcaro
2c4db837e7 Ports: Add initial Pipe Viewer (pv) 1.6.20 port 2021-11-14 16:18:45 +00:00
Daniel Bertalan
df06552b48 Ports: Fix building zlib with Clang
Even though Clang generates PIC objects by default, an R_386_PC32
relocation still slips into libz.a if we don't set -fPIC explicitly.
2021-11-14 11:38:40 +00:00
Tim Schumacher
26a48f3516 Ports: Use GNU patch instead of the OpenBSD version
The OpenBSD version is having some weird issues, so:

Reject OpenBSD, return to GNU.
2021-11-10 14:48:39 +01:00
Daniel Bertalan
05cb72e2c3 Ports: Unbreak and update oksh
This port has been broken since the introduction of `sys_signame` (which
was almost 3 months ago), as oksh provided a conflicting definition for
it.

This commit also cleans up some of the patches, defining the appropriate
config macro instead of commenting out code.

When I opened this program's GitHub releases page, I noticed that a new
version was available, so I also did the update.
2021-11-08 01:36:54 +01:00
Tim Schumacher
5c75216361 Ports: Update byacc to 20210808 2021-11-06 20:49:47 -07:00
Tim Schumacher
b26e4874ec Ports: Update to ncurses 6.3 2021-11-06 20:49:18 -07:00
Tim Schumacher
18792a6305 Ports: Remove the obsolete howto guide from cmake
We have long been able to build CMake fully on the host.
2021-11-06 18:07:15 +03:30
Tim Schumacher
e3a0e93390 Ports: Add a missing hyphen to GNinja in cmake 2021-11-06 18:07:15 +03:30
Tim Schumacher
b220b45c5e Ports: Don't add ports to the "built" list unless successful 2021-11-06 11:54:00 +01:00
Tim Schumacher
85db9aac49 Ports: Update pcre to 8.45 2021-11-06 12:40:19 +02:00
Brian Gianforcaro
abf1585a3f Ports: Fix cmatrix version in AvailablePorts.md to appease the linter 2021-11-06 01:24:28 -07:00
Tim Schumacher
d1588dc806 Ports: Add a dependency on pcre to glib
This previously only worked because glib will automatically try and
compile pcre, but due to ftp.pcre.org being down this no longer works.

Instead, just rely on the pcre port that we already have anyways.
2021-11-06 01:16:14 -07:00
EWouters
2b5c377781 Ports/cmatrix: Fix hash and update version
The download links to the master branch of a repository, hence the
hash doesn't match anymore. Now setup to download a new version
with a known hash.
2021-11-06 00:42:02 -07:00
Tim Schumacher
7391104e5d Ports: Update pcre2 to 10.39
PCRE2 has moved to GitHub for code and release hosting, and ftp.pcre.org
is decommissioned.
2021-11-06 00:32:36 -07:00
EWouters
20f730dc1c Ports/libtheora: Change download link to mirror with TLS1.2 support
Fixes download on Mac where an old version of LibreSSL won't redirect to
the download mirror.
2021-11-04 17:14:33 +01:00
EWouters
617c06e82e Ports: Patch Makefile to use normal soname flags on Mac
Remove if statement altogether, as suggested by timschumi.
2021-11-03 11:22:50 +01:00
EWouters
3a8c423447 Ports: Update zstd to version 1.5.0 2021-11-03 11:22:50 +01:00
Tim Schumacher
37aa75c370 Ports: Use immutable tarballs for libsodium
The "stable" tarballs appear to be continuously updated after the
release.
2021-11-03 11:10:38 +01:00
Brendan Coles
5537334f66 Ports: quake: Do no set PATH environment variable in package.sh 2021-11-02 23:04:22 +01:00
Tim Schumacher
02446a5431 Ports: Enable SDL support in Angband 2021-11-01 11:34:25 +01:00
Tim Schumacher
8e6de62d57 Ports: Fix typo in ffmpeg dependencies
This makes ffmpeg build again!
2021-11-01 10:45:15 +01:00
Brendan Coles
aea2583cde Ports: gnucobol: Build with ncurses and without NLS 2021-11-01 10:44:57 +01:00
Kenneth Myhra
f848d65fd9 Ports/vim: Add symlink 'vi' pointing to target 'vim'
This adds a symlink named 'vi' which points to the target 'vim'. It's
useful in scenarios where a third-party application might rely on 'vi'.
2021-10-31 21:09:49 +01:00
Brendan Coles
3ce4d0f89a Ports: Add FreeDink port 2021-10-31 11:52:27 +01:00
Brendan Coles
287bbabbc1 Ports: Add OpenGL Mathematics (GLM) port 2021-10-31 11:52:27 +01:00
Jelle Raaijmakers
a6c5ce11b8 Ports: Remove ScummVM FMOPL patch
This patch is no longer required after this PR fixes the x86_64 PLT
trampoline:
https://github.com/SerenityOS/serenity/pull/10711
2021-10-31 00:21:42 +02:00
Brendan Coles
c1511ebbea Ports: Add Fontconfig port 2021-10-28 11:25:56 +02:00
Jelle Raaijmakers
ae405ed2eb Ports: Disable MAME FMOPL emulation in ScummVM
It crashes with an unrecoverable page fault. The DOSBox emulation works
fine however, so let ScummVM default to that engine for now.
2021-10-28 00:23:30 +02:00
Jelle Raaijmakers
5f5fe16d4b Ports: Disable SVG in ScummVM themes
The ScummVM modern remastered theme contains SVG images that are
rendered through NanoSVG. Somehow, the ScummVM logo gets all messed up,
but all other SVGs render nicely.

It takes a lot of time to debug NanoSVG, so disable loading SVGs in
themes for now so BMPs are used instead.
2021-10-28 00:23:30 +02:00
Jelle Raaijmakers
3941e4fe24 Ports: Prevent exporting symbols for ScummVM
Both LibGUI and ScummVM have a GUI::Widget class. This interferes with
normal operation of LibGUI, since the wrong GUI::Widget::~Widget() is
invoked when SerenitySDLWidget (from the SDL2 port) is destructed.

By adding `-fvisibility=hidden` to the compiler flags, we set the
symbol visibility to hidden by default and the correct destructor is
invoked again.
2021-10-28 00:23:30 +02:00