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