Commit graph

677 commits

Author SHA1 Message Date
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
Linus Groh 6b9e0d98d9 Ports: Add launcher_run_in_terminal package.sh variable
This is being used to generate the RunInTerminal entry in launcher app
files.
2021-07-20 00:58:26 +01:00
Kenneth Myhra 157fccfe7b Ports/dosbox-staging: Change 'serenity*' build target to '*serenity*'
The serenity build target in config.sub did not match
'i686-pc-serenity'. This commit changes the build target from
'serenity*' to '*serenity*'.
2021-07-19 16:59:56 +02:00
Kenneth Myhra 777e103908 Ports: Bump libarchive from version 3.4.0 to 3.5.1 2021-07-19 16:24:15 +02:00
Kenneth Myhra 37543234ce Ports: Bump libffi from version 3.3 to 3.4.2 2021-07-19 10:45:47 +02:00
Kenneth Myhra d60f617644 Ports: Add Launcher for Epsilon 2021-07-15 01:47:51 +02:00
Kenneth Myhra 6fa4eb7c8e Ports: Add missing dependency 'freetype' for Epsilon 2021-07-15 01:47:51 +02:00
Joachim Le Fournis 1420549abf Ports: Add epsilon 15.5.0 2021-07-14 05:27:25 +02:00
pancake eb7b755937 Ports: Add vlang weekly.2021.28 package 2021-07-13 23:30:59 +02:00
Linus Groh c77215fc61 Ports: Build Python with ncurses and termcap
Neither the _curses nor the termios module builds to completion
currently due to some missing functions, but we can let it try
nonetheless - it'll likely get fixed at some point :^)
2021-07-10 11:13:02 +01:00
Linus Groh b2d68913d3 Ports: Build Python with sqlite
This makes the _sqlite3 module work :^)
2021-07-10 11:13:02 +01:00
Linus Groh 3b863561d7 Ports: Build Python with bzip2
This makes the _bz2 module work :^)
2021-07-10 11:13:02 +01:00
Linus Groh 5e3af8b7db Ports: Build Python with readline
This provides a *much* improved REPL experience :^)
2021-07-10 11:13:02 +01:00
Linus Groh 123c2f2f7f Ports: Add a patch for Python's setup.py to consider /usr/local
This makes it find more includes and libraries than by default when
crosscompiling.
2021-07-10 11:13:02 +01:00
Linus Groh 96331d7d87 Ports: Export CC with added --sysroot for building Python
This is used in the setup.py file when adding include and lib paths to
the list when crosscompiling, if it's not found in any of the checked
environment variables they don't get added.
2021-07-10 11:13:02 +01:00
Linus Groh 2c78fa066f Ports: Remove Python setlocale patch that's no longer needed
Since 4cd45f5, setlocale() always pretends to succeed.
2021-07-09 20:14:08 +01:00
Ali Mohammad Pur 67362b1f85 Ports: Make the CMake port use the LibUV port
Now that we've ported libuv, we can remove the libuv patches from cmake
and make it use the ported libuv.
2021-07-09 15:36:50 +02:00
Ali Mohammad Pur fcd56f2172 Ports: Add libuv
We've had a half-arsed port of libuv inside the cmake port, but let's
just port it properly.
Note that this pins a specific commit (which is currently the latest
commit in their default branch).
2021-07-09 15:36:50 +02:00
modmuss50 1b4138e687 Ports: Fix building gcc on arm64 macs 2021-07-08 16:07:14 +02:00
pancake f1266335e7 Ports: Add './package.sh shell' to get a shell with the build env set 2021-07-08 15:42:51 +02:00
pancake 633dc74606 Ports: Add radare2-5.4.0-git package 2021-07-08 14:34:08 +02:00
Linus Groh 116f1c5c56 Ports: Update Python to 3.9.6
Released on 2021-06-28.
https://www.python.org/downloads/release/python-396/
2021-07-07 20:24:48 +01:00
Andreas Kling 4ad389d0d6 Ports: Add a missing pipe character to AvailablePorts.md 2021-07-07 21:21:37 +02:00
Andreas Kling cf77d6aa98 Ports: Add r0 to AvailablePorts.md 2021-07-07 21:08:54 +02:00
pancake 4ac8d9c2ac Ports: Add minimalistic r0 hexadecimal editor 2021-07-07 20:27:15 +02:00
Gunnar Beutner 148679d1b5 Ports: Update gcc patch to match the toolchain 2021-07-06 19:08:22 +02:00
Gunnar Beutner 43e46df561 Ports: Remove obsolete patches for ninja 2021-07-04 00:35:35 +02:00
Gunnar Beutner ef4efce897 Ports: Remove obsolete patches for libexpat 2021-07-04 00:35:35 +02:00
Gunnar Beutner 27005fe846 Ports: Remove obsolete patches for cmake 2021-07-04 00:35:35 +02:00
Gunnar Beutner 12c98105bc Ports: Remove obsolete patches for chester 2021-07-04 00:35:35 +02:00
Gunnar Beutner 8c062e8bef Ports: Remove obsolete patches for bc 2021-07-04 00:35:35 +02:00
Gunnar Beutner 18ae608815 Ports: Remove obsolete patches for libicu 2021-07-04 00:35:35 +02:00
Liav A 0259781402 Ports: Fix dmidecode patches
Since we have a SysFS now, we can just let dmidecode to read the DMI
blobs from it.
2021-06-29 20:53:59 +02:00
Daniel Bertalan f68932cac1 Ports: Bump nano to version 5.8 2021-06-21 12:21:03 +02:00
breakgimme 995594b403 Ports: Add libpng to dependencies of dosbox-staging 2021-06-20 01:50:20 +01:00
Gunnar Beutner 94f56b5f6d Ports: Add port for DOSBox Staging 2021-06-18 16:35:15 +02:00
Gavin Downard 3c6d99f696 Ports: Fix less by disabling wctype
The commit c2b47c067 (LibC: Add stubs for wctype and iswctype,
2021-05-27) introduced the wctype.h header, which caused the less port
to try to build with wchar support. This patches the header generated by
the configure script to remove wchar support.
2021-06-18 10:19:00 +02:00
Gunnar Beutner 8ba0533138 Ports: Add port for DungeonRush 2021-06-16 20:08:13 +02:00
Gunnar Beutner d7f0d5ffb8 Ports: Disable gettext support for libiconv
libiconv and gettext have a circular dependency. In an ideal world we'd
build libiconv without gettext support first, then gettext and finally
libiconv again with gettext support.

However, if the libiconv port detects gettext on the host system while
the gettext port hasn't been built yet things break.

This disables gettext support for the libiconv port for now.
2021-06-16 20:08:13 +02:00
Gunnar Beutner dd35bd158e Ports: Add port for SDL2_net 2021-06-16 20:08:13 +02:00
Brian Gianforcaro 13dc26eb0f Ports: Remove note about ssh needing port numbers explicitly specified
This is no longer true, I'm not sure where this got fixed, but I can
successfully connect via IP without specifying a port number using
the latest HEAD of master.
2021-06-16 10:38:12 +02:00
Pavel Safar c38f051bf7 Ports: Adds Another World VM interpreter implementation 2021-06-14 12:19:54 +01:00
Jelle Raaijmakers ba7e025320 Ports: Add Composer 2021-06-13 17:06:45 +01:00
Jelle Raaijmakers ed62fc9a43 Ports: Update diffutils to version 3.7 2021-06-13 17:05:03 +01:00
Jelle Raaijmakers 77e085d8c4 Ports/OpenSSL: Switch to sha256 signature check 2021-06-11 11:33:36 +02:00
Jelle Raaijmakers c5ece5e787 Ports/OpenSSL: Use install_prefix to fix resource install
The `--openssldir` parameter was causing OpenSSL to search for its
resources in the wrong location, e.g.:

  `/serenity/Build/i686/Root/usr/local/ssl/...`

By using `--install_prefix`, the build system understands where to put
the OpenSSL files and does not leak the build path into the compiled
binaries.
2021-06-11 11:33:36 +02:00
Jelle Raaijmakers b6c1f0af5d Ports/OpenSSL: Remove test statement 2021-06-11 11:33:36 +02:00
Jelle Raaijmakers 8cc8c64ef5 Ports/OpenSSL: Remove unnecessary patch 2021-06-11 11:33:36 +02:00
Egor Ananyin 023df8e596 Ports: Add LLVM port 2021-06-10 20:21:08 +01:00
Egor Ananyin 142f9db5bd Ports: Add pre_fetch to .port_include.sh 2021-06-10 20:21:08 +01:00
Thiago Henrique Hupner d0bed24ca1 Ports: Add ZSH port 2021-06-09 19:41:23 +01:00
Jelle Raaijmakers 8b1d4d1b8e Ports: Build an .so file for SQLite 2021-06-09 20:04:25 +02:00
Jelle Raaijmakers 832127121b Ports: Update SQLite to version 3.35.5 2021-06-09 20:04:25 +02:00
Jelle Raaijmakers 340f6cde2d Ports: Use shared icon logic for ScummVM 2021-06-09 18:53:21 +02:00
Gunnar Beutner a4d5745e2f Ports: Remove checksum for the stpuzzles port
The Git repository is hosted on GitHub and is owned by the SerenityOS
GitHub organization which means our root of trust is GitHub anyway
(where did you get _this_ repository from?) So let's remove the
checksum.
2021-06-09 17:39:00 +04:30
Gunnar Beutner a5e6a373cc Ports: Embed icons for the stpuzzles port 2021-06-09 17:39:00 +04:30
Max Trussell b889bfe0f6 Ports: .port_include.sh add install_icon function 2021-06-09 17:37:56 +04:30
Jelle Raaijmakers efae7b7748 Ports/ScummVM: Add freetype, libiconv, libjpeg and libpng to build deps 2021-06-08 17:29:57 +02:00
Jelle Raaijmakers 4bf9f334d5 Ports/ScummVM: Use SERENITY_INSTALL_ROOT instead of _BUILD_DIR 2021-06-08 17:29:57 +02:00
Jelle Raaijmakers 774fb4dede Ports: Make curl detect our OpenSSL port
Without a proper prefix, the `configure` script will probably pick up
the host's OpenSSL library. This change makes sure the script always
looks at the library present in the Serenity build dir.
2021-06-07 22:43:43 +02:00
Jelle Raaijmakers 5183952d1d Ports: Add Beneath a Steel Sky 2021-06-07 19:04:57 +02:00
Gunnar Beutner 988dfa7f33 Toolchain+Ports: Fix building binutils on FreeBSD
This imports the upstream patch from
https://sourceware.org/bugzilla/show_bug.cgi?id=27382

Fixes #7407.
2021-06-07 09:51:12 +02:00
Gunnar Beutner 6591d423d4 Ports: Install launcher for Freeciv 2021-06-06 20:31:38 +02:00
Kenneth Myhra 4ca4c43cbd Ports/freeciv: Add missing dependencies SDL2_gfx and curl (libcurl) 2021-06-06 18:22:56 +02:00
Edwin Hoksberg 6a15bd06cb Ports: Fix zlib include directory for libzip 2021-06-06 17:45:15 +02:00
Timothy 65d4ac1c14 Ports: Add sam 2021-06-06 00:17:37 +01:00
Jelle Raaijmakers e72e621d89 Ports/PHP: Enable OpenSSL extension 2021-06-05 13:02:13 +02:00
Jelle Raaijmakers fccba571a2 Ports/PHP: Disable PCRE JIT
The PCRE JIT creates memory that needs to be readable, writable and
executable at the same time. Serenity does not like this, so disable
it. This JIT is of limited use for the current applications of PHP
within Serenity anyway :-)
2021-06-05 13:02:13 +02:00
Jelle Raaijmakers 012a5b145b Ports/PHP: Enable Zlib extension 2021-06-05 13:02:13 +02:00
Jelle Raaijmakers 64e2e2cff3 Ports/PHP: Enable Phar extension 2021-06-05 13:02:13 +02:00
Gunnar Beutner aec941b46c Ports: Add port for freeciv 2021-06-05 10:56:37 +02:00
Gunnar Beutner 431bed5158 Ports: Specify missing library when linking SDL2_ttf 2021-06-05 10:56:37 +02:00
Gunnar Beutner 7e1f413a89 Ports: Build shared library for freetype 2021-06-05 10:56:37 +02:00
yegor 6f0092edb8 Ports: fix gcc for mac users
BSD sed differs from GNU sed with the `-i` option.
This commit changes the sed line in package.sh to be
portable across macOS and Linux.
2021-06-05 10:56:04 +02:00
Jelle Raaijmakers 18a5ac1e66 Ports: Enable PHP XML extensions 2021-06-04 19:10:58 +02:00
Jelle Raaijmakers 93e605e415 Ports: Add libxml2 2021-06-04 19:10:58 +02:00
Jelle Raaijmakers 977addf76d Ports/PHP: Enable SQLite3 and iconv extensions 2021-06-04 13:03:13 +02:00
Jelle Raaijmakers a446530c0d Ports: Embed ScummVM icons into the binary
Slightly inspired by 9c0cfede.
2021-06-04 12:54:27 +02:00
Jelle Raaijmakers 280785f0fa Ports: Add PHP 2021-06-04 10:39:41 +02:00
Gunnar Beutner 9c0cfede59 Ports: Embed icon into the Super Mario port 2021-06-04 09:38:25 +02:00
Gunnar Beutner 46de51f467 Ports: Create launchers for the stpuzzles port
This changes the .port_include.sh script so that ports can more easily
create more than one launcher by making the install_launcher function
available to the port's package.sh script.

This creates launchers for the stpuzzles port in the Games/Puzzles
category.
2021-06-04 09:38:25 +02:00
Gunnar Beutner 101e4233b8 Ports: Don't set the current working directory in the launcher script
This removes the hack for launching Super Mario.
2021-06-04 09:38:25 +02:00
Gunnar Beutner 8c18c7e4c2 Ports: Don't crash when starting uMario outside of /opt/Super_Mario
Previously this port would just crash. There was a workaround in
the way the app launcher started the game but I'd really like to
get rid of that hack.
2021-06-04 09:38:25 +02:00
John Brehm 2dfd95767a
Ports: Add p7zip 2021-06-04 08:21:33 +01:00
Oleg Kosenkov 971523621c
Ports: Add opentyrian and opentyrian-data 2021-05-31 19:01:49 +01:00
Egor Ananyin ed89cd93aa Ports: Add Simon Tatham's Puzzle Collection 2021-05-31 18:44:56 +01:00
Tim Schumacher 040d2479bf Ports: Add port for wget 2021-05-30 14:56:50 +01:00
Gunnar Beutner 0ee8c1ed27 Ports: Install mbedtls into the right directory and build shared libs
Previously we'd install mbedtls into /lib, /include, etc. Instead we
should install this port into /usr/local/lib.

This also builds shared libraries for this port.
2021-05-28 16:40:02 +01:00
Andreas Kling 993211f184 Ports: Bump curl to 7.77.0 :^) 2021-05-27 08:48:29 +02:00
Linus Groh c1b2813ddf Ports: Only do build check for configure, build, and install steps
This was breaking ports linting, which runs the script with the
'showproperty' option. This check is not needed for some other options
as well, so let's do it conditionally.
2021-05-20 20:04:58 +01:00
Linus Groh 068ddf4513 Ports: Add build completion sanity check to .port_include.sh
Simply by checking whether a built libc.so exists, we should be able to
avoid strange build errors where that's not the case and just tell the
user upfront.

Fixes #7309.
2021-05-20 19:41:45 +01:00
Gunnar Beutner cdb0a08946 Ports: Build shared libraries for the GnuPG libraries
This builds all the GnuPG libraries as shared libraries so that -lintl
is linked when building the final GnuPG executable.
2021-05-19 22:45:02 +02:00
Gunnar Beutner 6808cd1915 Ports: Remove dns and getpw pledges for the OpenSSH client
These are not valid flags for SerenityOS.
2021-05-18 16:33:48 +02:00
Ömer Kurttekin cab821cd22
Ports: Update the packages.db directory in README
"packages.db" used to be directly in the "Build" directory but it has
been moved to "Build/i686/Root/usr/Ports/" in 6877a5b.
2021-05-16 22:52:51 +01:00
nooga da4928feea Ports: Add port for Brogue (BrogueCE) 2021-05-15 10:13:43 +01:00
Tim Schumacher 3ba3d2ddfd Ports: Add libiconv dependency to gettext
libiconv is explicitly linked later and required by gettext as well.

Add it to the dependencies to make builds in a clean environment work.
2021-05-15 09:01:55 +02:00
Gunnar Beutner e9a8646d3e Ports: Add missing dependencies for openttd 2021-05-12 08:37:07 +01:00
Gunnar Beutner 83c78971e2 Ports: Fix building the libicu port
If you're on the new toolchain with std support already
you'd be unable to build libicu because <cmath> #undefs
some of the defines from <math.h> (e.g. isfinite).
2021-05-12 08:37:07 +01:00
Gunnar Beutner 659c22e17e Ports: Add missing dependency for vim
The vim port links against gettext when it's available so we
should add it as a dependency in the package.sh script.
2021-05-11 13:13:08 +01:00
Gunnar Beutner 6e2d59b49f Ports: Link gettext against libpthread
Apparently libintl uses pthread_cond_broadcast() so let's make sure
that we link it against libpthread so we don't call libc's pthread
stubs.
2021-05-11 13:13:08 +01:00
Gunnar Beutner 9909a3f015 Ports: Remove obsolete patch for flatbuffers
The patch is not neccessary anymore, in fact it breaks the build
now because we have those functions in the std namespace.
2021-05-10 20:39:19 +02:00
Gunnar Beutner a14a1f2d61 Ports: Add missing curl dependency for the git port
fixes #6724
2021-05-10 17:44:18 +01:00
Gunnar Beutner 9a41e7df2d Ports: Update build options for curl
This enables SSL support (verified to work), IPv6 (won't work for
lack of IPv6 support in the kernel) and threads.
2021-05-09 23:47:37 +01:00
Gunnar Beutner 62b76a7c95 Ports: Remove obsolete patches for openttd 2021-05-09 21:16:11 +02:00
Gunnar Beutner 76160ba3be Ports: Remove IPv6 patches for cmake 2021-05-09 21:16:11 +02:00
Gunnar Beutner 2a10257f33 Ports: Remove obsolete patches for stress-ng 2021-05-09 21:16:11 +02:00
Gunnar Beutner 2d600a8675 Ports: Add port for libopenal 2021-05-09 17:26:50 +01:00
Gunnar Beutner 8603041ed8 Ports: Add missing .so extension for ffmpeg library SONAMEs 2021-05-09 17:26:50 +01:00
Linus Groh 80a742b1b3 Ports: Remove obsolete patch for dropbear 2021-05-09 17:25:41 +01:00
Gunnar Beutner 52861226c3 Ports: Remove obsolete patches for stress-ng 2021-05-09 17:21:38 +01:00
Linus Groh 25cf59f2f6 Ports: Add note about Python webbrowser patch upstreaming 2021-05-09 17:15:15 +01:00
Linus Groh 2cbe510e89 Ports: Remove obsolete rlimit patch for Python
Stubs for getrlimit()/setrlimit() have been added in 1c3c072.
2021-05-09 17:11:02 +01:00
Gunnar Beutner b223233b15 Toolchain+Ports: Skip link tests for libstdc++v3
This makes stdlib.h and stdio.h functions available in the std
namespace for C++.

libstdc++v3's link tests can fail if you don't have an up-to-date
build directory, for example:

1. Have libc with missing _Exit symbol because you haven't done
   a build since that was added.

2. Run toolchain rebuild. libstdc++v3's configure script will
   realize that it can do link tests in general but will fail
   later on when it tries to link a program that tests for _Exit.

Even though this is a toolchain patch this does not necessarily
require rebuilding the toolchain right away. This is only required
once we start using any of these new members in the std namespace,
e.g. for ports.
2021-05-09 15:35:01 +02:00
Gunnar Beutner d301bd6732 Ports: Fix building icu
LC_MESSAGES was recently added in LibC which makes the hack in the
package.sh script unnecessary. In fact, this breaks building the
port now.
2021-05-08 20:48:23 +02:00
Gunnar Beutner b05a6a1701 Ports: Add port for gettext 2021-05-08 19:14:21 +02:00
Gunnar Beutner fc2ddd5843 Ports: Build shared libraries for ffmpeg 2021-05-08 19:14:09 +02:00
Gunnar Beutner be724f184b Ports: Link libtiff against libjpeg
Apparently libtiff uses symbols from libjpeg when that port was
previously built.
2021-05-08 19:14:09 +02:00
Gunnar Beutner 611019e938 Ports: Add port for harfbuzz 2021-05-08 19:13:42 +02:00
Gunnar Beutner 2f3ded4dfd Ports: Add port for libsodium 2021-05-08 18:12:01 +02:00
Gunnar Beutner 5093b76f85 Ports: Add port for libphysfs 2021-05-08 18:11:52 +02:00
Gunnar Beutner a2f919c760 Ports: SDL2-GNUBoy shouldn't try to link against host libs
Without this patch I'm unable to build this port because it tries
to link against my host's libgcc_s.so.
2021-05-08 00:30:30 +01:00
Rafał Babiarz 7004fab643 Ports: Add SDL2-GNUBoy Gameboy emulator 2021-05-08 00:05:04 +01:00
Gunnar Beutner 224755e6ef Ports: Update the gcc patch to match the toolchain 2021-05-07 15:35:50 +02:00
Linus Groh f1791eca13 Ports: Always set Python MACHDEP to version-less 'serenityos'
This is used for `sys.platform`, so it's important to get it right and
ideally never change it again. When not cross-compiling this would
append the `uname -r` version number, so let's explicitly override the
generated value and set it to `serenityos`. Various other systems do
this as well.
2021-05-06 16:46:43 +01:00
Linus Groh 8cfbeb78ff Ports: Remove Python printf fraction length patch
This functionality was implemented in f0fe449, making the patch
unnecessary.
2021-05-06 15:26:49 +01:00
Linus Groh 9f970c3459 Ports: Register Browser in the Python webbrowser module
This makes the following work:

    >>> import webbrowser
    >>> webbrowser.open("http://serenityos.org")

As well as this well-known easter egg:

    >>> import antigravity

Pretty cool! :^)
2021-05-06 14:26:09 +01:00
Linus Groh e76342e242 Ports: Update Python to 3.9.5
Released on 2021-05-03.
https://www.python.org/downloads/release/python-395/
2021-05-06 13:04:38 +01:00
Linus Groh 013b2c1627 Ports: Fix hatari install step
Fixes #6798.
2021-05-01 23:22:27 +02:00
Gunnar Beutner 9b2dd0f3b4 Ports: Fix building libpuffy 2021-05-01 22:52:15 +02:00
Gunnar Beutner a6201f708e Ports: Generate host keys for OpenSSH 2021-05-01 12:40:12 +02:00
Gunnar Beutner e69b729733 Ports: Use sendfd()/recvfd() for mm_send_fd()/mm_receive_fd() 2021-05-01 12:40:12 +02:00
Gunnar Beutner ce77caf479 LibC: Move crypt() and crypt_r() to the right header file
According to POSIX.1 these should be in <crypt.h>.
2021-05-01 12:40:12 +02:00
Gunnar Beutner 03f4c48de1 Ports: Disable GetPerformanceTimer() for OpenTTD
OpenTTD calls gettimeofday() so many times per second that the
game becomes unusable after joining a reasonably active network
game.
2021-05-01 09:02:57 +02:00
Jesse Buhagiar cae33305b0 Ports: QuakeII port 2021-04-30 11:35:17 +02:00
jakewestrip 81eab1a9d1 Ports: Remove SDL Timer replacement in MilkyTracker 2021-04-30 09:26:12 +02:00
jakewestrip 1ce70bb418 Ports: Fix MilkyTracker install script 2021-04-30 09:26:12 +02:00
Andreas Kling def1f1444a WindowServer: Move configuration file to /etc/WindowServer.ini
This was in the /etc/WindowServer/ directory which had nothing else in
it, so let's just get rid of the directory and move this up one step.
2021-04-29 22:16:18 +02:00
Gunnar Beutner 2f1ee91b3e Ports: Make Super Mario work with GCC 11 2021-04-29 10:33:44 +02:00
Gunnar Beutner 797cb8858a Ports: Update binutils to version 2.36.1
Otherwise linking fails when building object files with
DWARF 5 symbols.
2021-04-29 10:33:44 +02:00
Gunnar Beutner 77087780a2 Ports: Remove duplicate configopts var 2021-04-29 10:33:44 +02:00
Gunnar Beutner 669676b635 Ports: Build fix for gcc when building the port with gcc 11.1.0 2021-04-29 10:33:44 +02:00
Gunnar Beutner d2a5d76b54 Ports: Use SHA256 for the gcc port
This updates the way we verify signatures for the gcc
port because we were previously downloading the keychain
from the mirror which defeats the point of doing signature
checks.
2021-04-29 10:33:44 +02:00
Gunnar Beutner 8cd62b5780 Toolchain+Ports: Update GCC to version 11.1.0 2021-04-29 10:33:44 +02:00
Brian Gianforcaro 1d3bc482a5 Ports: Fix ports linting, ffmpeg is missing from AvailablePorts.md 2021-04-29 09:50:10 +02:00
Holden Green 0d74dffe3b Ports: ffmpeg 4.4 2021-04-29 09:34:27 +02:00
Gunnar Beutner f94f381210 Ports: Fix the SHA256 checksum for the yasm port 2021-04-29 09:29:53 +02:00
Gunnar Beutner 21ba438ad3 Ports: Remove unused signature file for the rsync port 2021-04-29 01:12:55 +02:00
Gunnar Beutner aa792062cb Kernel+LibC: Implement the socketpair() syscall 2021-04-28 14:19:45 +02:00
Jelle Raaijmakers 212c3e7f2a Ports/scummvm: Add libtheora as a dependency 2021-04-27 22:31:07 +02:00
Jelle Raaijmakers c1c6002e28 Ports: Add libtheora 2021-04-27 22:31:07 +02:00
Gunnar Beutner 0b47ea408c Ports: Change how we invoke ccache because some ports didn't use it
This prepends ccache to the PATH instead of setting CC/CXX. Doing it
this way ensures all ports use ccache because some of them didn't
before.
2021-04-27 18:01:43 +02:00
Gunnar Beutner 7576761543 Ports: Use HOST_PATH when updating the PATH variable
Previously we'd just append to the existing PATH environment variable
rather than resetting it to HOST_PATH first.
2021-04-27 18:01:43 +02:00
Gunnar Beutner 7ab68b6c83 Ports: Fix path for the tcl port's patch file 2021-04-27 17:59:52 +02:00
jake.westrip f4a05611c6 Ports: Add MilkyTracker port 2021-04-27 11:32:19 +02:00
Linus Groh 653a60cd13 Ports: Add missing SHA256 hashes to dash and zstd
We don't support hashes from external files (anymore), downloading
another file for integrity validation is pointless. As as result, these
two ports would refuse to build as their hashes were missing.

Fixes #6645.
2021-04-25 23:30:38 +02:00
Linus Groh 15cccdba7b Ports: Add readline 2021-04-25 17:29:28 +02:00
Gunnar Beutner 64d05152f7 Ports: Try to download files again when verification fails 2021-04-25 13:30:18 +02:00
Gunnar Beutner 5a3f63ea00 Ports: Remove support for algos other than sha256 and sig 2021-04-25 13:30:18 +02:00
Gunnar Beutner 5911d379a6 Ports: Update checksums to use the SHA256 algorithm 2021-04-25 13:30:18 +02:00
Gunnar Beutner 5b69e8d2c6 Ports: Build shared libraries with -Wl,-soname
Without a SONAME gcc will put the whole library path into executables
which link against these libraries:

$ readelf -d Root/usr/local/games/openttd

Dynamic section at offset 0xf0747c contains 32 entries:
 Tag        Type     Name/Value
0x00000001 (NEEDED) [libgcc_s.so]
0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/libpng.so]
0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/libz.so]
0x00000001 (NEEDED) [/serenity/Build/i686/Root/usr/local/lib/liblzma.so]
0x00000001 (NEEDED) [libSDL2-2.0.so.1]
0x00000001 (NEEDED) [libicui18n.so.69]
0x00000001 (NEEDED) [libicuuc.so.69]
0x00000001 (NEEDED) [libicudata.so.69]
0x00000001 (NEEDED) [libpthread.so]
0x00000001 (NEEDED) [libm.so]
0x00000001 (NEEDED) [libc.so]

This causes the executable to fail because the dynamic linker
tries to find the library in the incorrect path.
2021-04-25 10:14:50 +02:00
Gunnar Beutner 6a825510a0 Ports: Fix detection for -ldl 2021-04-25 10:14:50 +02:00
Gunnar Beutner adaf2b347c Ports: Remove obsolete patches for Python
This enables shared library support for Python and removes
a few patches which are not necessary anymore now that
we have dlfcn support.
2021-04-25 10:14:50 +02:00
Gunnar Beutner cfa095b44a Port: Add port for tcl 2021-04-25 09:54:39 +02:00
Gunnar Beutner f89c60664c Ports: Fix building openssh
This fixes a spelling mistake in the timespeccmp() macro and
enables debug symbols for OpenSSH to make diagnosing problems
easier.
2021-04-25 09:28:21 +02:00
Brian Gianforcaro 0398e4a48a Ports: Fix python3 package so linting script doesn't error out.
I have my environment configured to use https://pre-commit.com/.
I guess the scripts were changed recently to lint all ports, and
the python port was barfing on my system because of this bug.
2021-04-25 00:57:36 +02:00
Jelle Raaijmakers 4c26e318a3 Ports: Pass along any command arguments in package.sh
Commit b3db01e20 broke simple commands without arguments like:

  ./package.sh clean

Now, all available arguments are passed along, even if there are none.
2021-04-25 00:38:27 +02:00
Jelle Raaijmakers 2a0f92ef1f Ports/scummvm: Add launcher 2021-04-24 00:17:47 +02:00
Gunnar Beutner ede0d7c04f Ports: Add launcher for OpenTTD 2021-04-23 20:15:49 +02:00
Gunnar Beutner ae32abffe9 Ports: Add openttd 2021-04-23 20:15:49 +02:00
Gunnar Beutner b3db01e20e Ports: Detect more types of errors in the AvailablePorts.md file
This adds support for detecting incorrect version numbers and links
in the ports list.

Also, unlike before it doesn't parse the package.sh script but executes
it instead which allows us to detect syntax errors.
2021-04-23 16:11:48 +02:00
Gunnar Beutner fb67e99562 Ports: Fix version numbers for some of the ports 2021-04-23 16:11:48 +02:00
Gunnar Beutner e72235b981 Ports: Add launchers for some of the ports 2021-04-23 11:33:57 +02:00
Gunnar Beutner 6a957daba4 Ports: Use a specific version for frotz
The hash for the master zip file changed again. Probably because
GitLab only caches those zip files for a bit and re-generates them
with slightly different zip headers after some time even though
the repository didn't change.
2021-04-23 11:33:03 +02:00
Gunnar Beutner 3a3f47115d Ports: Shorten the build message for skipped builds
The new message for skipping builds makes it hard to
distinguish failed builds from builds that were just skipped
so change it back to the old one - but don't actually build
packages twice again.
2021-04-23 11:33:03 +02:00
Jelle Raaijmakers f54a6d273e Ports/scummvm: Build with C++11 support
This unbreaks the ScummVM port build. Some `[[noreturn]]` keywords were
added to `<assert.h>` recently and this required an additional flag to
the ScummVM configure script to fix.

Also removed the now unnecessary `export LIBS`.
2021-04-22 13:05:30 +02:00
Gunnar Beutner 4115fcc933 Ports: Build ports only once when running build_all.sh
Previously we'd end up building some ports multiple times, e.g.
as a dependency for another port. This changes the build_all.sh
script so that it builds ports only once.
2021-04-21 23:41:48 +02:00
Gunnar Beutner 8a95408673 Ports: Rename dirname to port to clarify its meaning 2021-04-21 23:41:48 +02:00
Gunnar Beutner e9604f1bd6 Ports: Add missing dependency for libgcrypt 2021-04-21 23:41:48 +02:00
Linus Groh b06f68c3d2 Ports: Fix Python _crypt module linkage error
we need to link against LibCrypt and subsubsequently LibCore (which
LibCrypt does not link against itself due to a circular dependency
issue).
Not sure why this broke, it worked when I last updated the port.
2021-04-21 23:35:35 +02:00
Brendan Coles 5f10c0628a Ports: emu2: Bump version to 2021.01 2021-04-21 15:14:10 +02:00
Gunnar Beutner 1e06a9b10f Ports: Build shared library for xz with -pthread 2021-04-20 21:08:17 +02:00
Gunnar Beutner 75d41657d5 Toolchain+Ports: Enable threads for gcc
This enables POSIX threads for GCC and makes the -pthread
argument available.
2021-04-20 21:08:17 +02:00
Linus Groh 09f8d52b00 Ports: Consistently indent with four spaces 2021-04-20 18:38:13 +02:00
Panagiotis Vasilopoulos 492f7132d2 Ports: Improve consistency and quality of ports
- Replaced /Root with
- Improved documentation.
- Removed a few typos.
- Replaced  with
- Added brackets in some cases.

Most of the changes were reviewed and applied manually.
2021-04-20 18:20:00 +02:00
Panagiotis Vasilopoulos 139288b071 Ports: Fix up imgcat 2021-04-20 17:32:10 +02:00
Gunnar Beutner 12ed436562 Ports: Remove auth_type for our own packages
Otherwise we'd have to update them in this repository
every time something changes.
2021-04-20 17:04:51 +02:00
Panagiotis Vasilopoulos e45e0eeb47 Everywhere: Replace SERENITY_ROOT with SERENITY_SOURCE_DIR 2021-04-20 15:27:52 +02:00
Panagiotis Vasilopoulos 152c54a00a
Ports: Improve variable names in .hosted_defs.sh
- SERENITY_ROOT is being kept around for compatibility reasons, and will
  be removed gradually
- SERENITY_INSTALL_ROOT points to DESTDIR but will be preferred over
  that in the future
- SERENITY_SOURCE_DIR points to the root folder of the repository. Let's
  keep the root terminology in the directory structure sort of sense out
  of here
2021-04-19 22:43:54 +02:00
Gunnar Beutner 81f85746f6 Ports: Link libtiff against xz 2021-04-19 18:27:09 +02:00
Gunnar Beutner ca06dfd1a0 Ports: Update tarball hash for quake 2021-04-19 18:27:09 +02:00
Gunnar Beutner 14de8c2dd2 Ports: Remove obsolete patch for hatari 2021-04-19 18:27:09 +02:00