Commit graph

567 commits

Author SHA1 Message Date
TheFightingCatfish
0921390109 Ports: Support libcurl in the git build
Previously, libcurl is not used in the git build because the test
program in configure fails to link against it properly. We bypass the
test and make sure we link against all necessary libraries (libssl,
libcrypto and zlib).
2021-08-13 15:43:36 +02:00
TheFightingCatfish
ff8630c66f Ports: Disable uname detection when building git
Previously, the git port would fail in various ways because it uses an
uname detection mechanism to update the configurations, and Makefile
would receive incorrect configurations from the host system. This makes
sure the build uses the correct configurations detected by ./configure.

Fixes #9357.
2021-08-13 15:43:36 +02:00
TheFightingCatfish
2fbeacb9e7 Ports: Use TextEditor and less as git's default editor and pager 2021-08-13 15:43:36 +02:00
Kenneth Myhra
6ace2187e2 Ports/stress-ng: Remove custom pause function from patch
This removes the custom pause function in patch so that we can use our
own LibC pause function.
2021-08-13 07:54:26 +02:00
Jean-Baptiste Boric
072961090f Ports: Add cc symlink to gcc port 2021-08-12 18:56:30 +02:00
Jean-Baptiste Boric
c9d287b226 Ports: Add awk symlink to mawk port 2021-08-12 18:56:30 +02:00
roytam1
8545bd5fdb Ports/ed: Make the configure script use the target toolchain
With this patch, ed's configure script will not override
CC and *FLAGS if they are not unset.
2021-08-11 08:41:17 +02:00
Kenneth Myhra
3e0d0847b6 Ports: Compile ncurses as a shared library
This sets the --with-shared switch for the configure script so that
ncurses is compiled as a shared library in addition the default which is
a static library.
Without the --with-shared switch ncurses will only be compiled as a
static library.

To properly set the environment variables LOCAL_LDFLAGS and
LOCAL_LDFLAGS2,  a case in the configure script had to be updated to
include '*serenity*'.
2021-08-09 20:08:36 +02:00
roytam1
6de6dff5b9 Ports: Add missing fnmatch patch for diffutils
It requires FNM_EXTMATCH in order to build.

This patch is based on an existing patch for gettext
(Ports/gettext/patches/fnmatch.patch).
2021-08-09 17:56:29 +01:00
Gunnar Beutner
a29c18f969 Toolchain+Ports: Let -nostdlib make us not link against libgcc_s
For now this is not a mandatory toolchain rebuild.
2021-08-08 16:41:51 +02:00
Linus Groh
81784afbe1 Ports: Fix Python's expected SHA256 sum
Fixes #9265.
2021-08-07 15:10:50 +01:00
Jelle Raaijmakers
d2379dfe96 Ports: Add PHP entry to taskbar menu 2021-08-04 13:54:08 +01:00
Jelle Raaijmakers
a76c208bae Ports: Support icons for launchers with arguments 2021-08-04 13:54:08 +01:00
Jelle Raaijmakers
8493477cc7 Ports: Convert only first index of ico files
When installing an icon, we fall back to a resizing strategy when an
exact match on the image dimensions is missing. However, if we are
dealing with an `.ico` file with multiple indices, `convert` will
resize every separate index and will create multiple files.

This changes makes sure we only resize the first index. A future
improvement could be to select an index most closely matching the
requested dimensions.
2021-08-04 13:54:08 +01:00
Jelle Raaijmakers
546af2d9ef Ports: Notify user of missing ImageMagick binaries 2021-08-04 13:54:08 +01:00
Linus Groh
18f507520e Ports: Update Python to 3.10.0rc1
Released on 2021-08-02.
https://www.python.org/downloads/release/python-3100rc1/

This contains the first upstreamed change for SerenityOS, making the
webbrowser module work with Browser out of the box :^)
2021-08-03 21:01:07 +01:00
Linus Groh
5a0a426c18 Ports: Make Python version check work with suffixed versions
E.g. a1, b1, rc1. Simply don't parse anything beyond major and minor.
2021-08-03 21:01:07 +01:00
Linus Groh
a613e00caa Ports: Change Python's auth_type to sha256 2021-08-03 21:01:07 +01:00
Kenneth Myhra
cb9de1d741 Ports: Bump pkgconf from version 1.7.3 to 1.8.0 2021-08-02 00:35:35 +02:00
Luke
4ca14d6e67 Ports: Update OpenSSL to 1.1.1k 2021-07-30 20:49:56 +02:00
Luke
dc34cbe28b Ports: Update curl to 7.78.0 2021-07-30 10:23:33 +02:00
Luke
999448066f Ports: Update bash to 5.1.8
Also switches to using a sha256 signature check.
2021-07-29 19:35:03 +01:00
Jelle Raaijmakers
6eb3bfb171 Ports: Update PHP to version 8.0.8 2021-07-29 15:58:38 +02:00
Jelle Raaijmakers
0d75637ffa Ports: Add readline support to PHP 2021-07-29 15:58:38 +02:00
Jelle Raaijmakers
16dbba3b8f Ports: Force cross compiling for zlib
By setting `--uname=Linux`, we tell `configure` to use the right tools
for cross compilation. Without this on e.g. macOS it would try to use
XCode's `libtool` which would then fail.
2021-07-29 15:58:38 +02:00
Jelle Raaijmakers
5bb64c57f9 Ports: Use sha256 sig check for zlib 2021-07-29 15:58:38 +02:00
Jelle Raaijmakers
79066e4b03 Ports: Remove outdated patch for OpenSSL
Additionally, this patch failed to apply on some versions of `patch`
since it was a git diff instead of a `diff -u` patch.
2021-07-29 15:58:38 +02:00
Jelle Raaijmakers
c9c3f6c20f Ports: Use sha256 sig check for readline 2021-07-29 15:58:38 +02:00
Jelle Raaijmakers
8ab0518712 Ports: Use sha256 sig check for libiconv 2021-07-29 15:58:38 +02:00
Luke
0a8209ab81 Ports: Add MPC
Required to build the toolchain inside Serenity.
2021-07-28 21:55:00 +02:00
Luke
36af58c187 Ports: Add MPFR
Required to build the toolchain inside Serenity.
2021-07-28 21:55:00 +02:00
Luke
6fe8d1da97 Ports: Add more spacing for the name column in AvailablePorts.md 2021-07-28 21:55:00 +02:00
Gunnar Beutner
5df8c274bb Toolchain+Ports: Fix building ports on x86_64
Fixes #8377.
2021-07-28 21:28:31 +02:00
Gunnar Beutner
a11070ab15 Ports: Update GCC to version 11.2.0 2021-07-28 21:28:31 +02:00
Gunnar Beutner
f7d772282d Ports: Use SHA256 to verify file integrity for binutils
There's no point in using a keyring file we just downloaded from the
same file mirror to verify the authenticity of the binutils tarball.

If someone were to compromise the file mirror they could just as easily
replace the keyring file and we'd happily tell the user that their copy
of binutils is genuine.
2021-07-28 21:28:31 +02:00
Gunnar Beutner
edce9153af Ports: Update binutils to version 2.37 2021-07-28 21:28:31 +02:00
Gunnar Beutner
9252addf55 Ports: Make libxml2 work when Python is installed
Building libxml2 fails when Python was previously installed.
2021-07-28 19:02:41 +02:00
Gunnar Beutner
12bfc7b3fc Toolchain+Ports: Ignore -arch on macOS M1 hosts
CMake specifies -arch arm64 for our toolchain. Unfortunately that's an
option GCC only understands when built for macOS. This causes the build
to fail.

I haven't been able to get CMake to not specify that option so this adds
a dummy option to GCC.
2021-07-24 14:04:13 +02:00
Kenneth Myhra
cc45ccbd9b Ports: Add ScummVM game Soltys 2021-07-22 22:30:55 +02:00
Kenneth Myhra
d84102de99 Ports: Add ScummVM game Sfinx 2021-07-22 22:30:55 +02:00
Kenneth Myhra
caca5b0b3e Ports: Add ScummVM game Nippon Safes Inc 2021-07-22 22:30:55 +02:00
Kenneth Myhra
924930f357 Ports: Add ScummVM game Lure of the Temptress 2021-07-22 22:30:55 +02:00
Kenneth Myhra
8853d94032 Ports: Add ScummVM game DreamWeb 2021-07-22 22:30:55 +02:00
Kenneth Myhra
59e303cc54 Ports: Add ScummVM game Dráscula: The Vampire Strikes Back 2021-07-22 22:30:55 +02:00
Kenneth Myhra
281cff7845 Ports: Add ScummVM game Hi-Res Adventure #1: Mystery House 2021-07-22 22:30:55 +02:00
Kenneth Myhra
bcd96df2ac Ports: Add ScummVM game The Griffon Legend 2021-07-22 22:30:55 +02:00
Kenneth Myhra
f11fc28351 Ports: Add ScummVM game Flight of the Amazon Queen
This adds the ScummVM game Flight of the Amazon Queen.

Since all files are on the root of the zip file we utilize 'pre_fetch'
to create the directory 'workdir'. In 'post_fetch' we move all the files
into 'workdir' except for the zip file and 'package.sh'. Doing this lets
us use the 'clean' command without any modifications.
2021-07-22 22:30:55 +02:00
Kenneth Myhra
f7161b03ca Ports: Add overridable pre_fetch method in .port_include.sh
This adds an overridable pre_fetch method which is called from the fetch
method at the very beginning.

The pre_fetch method can be overridden in your package.sh script so that
you can do any necessary preparations before the fetch method is called.
2021-07-22 22:30:55 +02:00
Linus Groh
84efed502a Ports: Add a launcher for Python
We're even downloading an additional older icon from the git repo
instead of using their current ones for accurate look and feel :^)
2021-07-20 00:58:26 +01:00
Linus Groh
b8cd6ae02e Ports: Use "launcher_run_in_terminal=true" instead of "Terminal -e ..." 2021-07-20 00:58:26 +01:00