Gunnar Beutner
da92c0e1ca
Ports: Build shared libraries for a few more ports
...
This manually builds shared libraries for a bunch of ports. Using
libtool would be preferable but that's currently broken so I'm
linking the shared libraries manually.
2021-04-16 19:04:24 +02:00
Gunnar Beutner
c9d5358685
Ports: Make sure ports are installed into /usr/local
2021-04-16 19:04:24 +02:00
Gunnar Beutner
594d480391
Toolchain+Ports: Move the CMake toolchain file into a subdirectory
2021-04-16 19:04:24 +02:00
Gunnar Beutner
1aa34d9d6a
Ports: Update the gcc port to 10.3.0
2021-04-16 17:57:22 +02:00
Gunnar Beutner
3d8311ac7b
Ports: Remove obsolete patch for mrsh
2021-04-16 17:56:12 +02:00
Federico Guerinoni
e9837bed33
Ports: Bump git to 2.31.1
2021-04-16 17:38:54 +02:00
Gunnar Beutner
e932129e5a
Ports: Use HTTPS when accessing ftpmirror.gnu.org
...
Unlike what the name might suggest ftpmirror.gnu.org isn't
accessible via FTP.
2021-04-15 17:06:59 +02:00
Gunnar Beutner
46d8104012
Ports: Fix download URL for libiconv
2021-04-15 17:06:47 +02:00
Gunnar Beutner
94bc886593
Ports: Make sure we're building libvorbis before SDL2_mixer
2021-04-15 09:41:32 +02:00
Brendan Coles
62ced35346
Ports: Use ftpmirror.gnu.org mirror server for GNU ports
2021-04-15 09:30:42 +02:00
Gunnar Beutner
d96354f58e
Ports: Remove obsolete patch for the oksh port
...
The patch is not necessary anymore and breaks the build
now that LibC has isblank.
2021-04-14 22:43:53 +02:00
Gunnar Beutner
f62f6c2b37
Ports: Add missing dependency for the gnupg port
2021-04-14 22:43:27 +02:00
Gunnar Beutner
2ef7e757ad
Ports: Enable audio for the Super-Mario port
...
According to @Baitinq the original port crashed with audio enabled.
I suspect that this was because the SDL2 headers didn't match between
the host and target system. Now that we properly use target's headers
this is no longer an issue so I enabled audio:
https://www.youtube.com/watch?v=ZTFvrcpZjY8
2021-04-14 22:43:13 +02:00
Brendan Coles
d65e74bffa
Ports: Add emu2 DOS emulator
2021-04-14 21:48:55 +02:00
Gunnar Beutner
6ac7d946be
Ports: Don't export the DESTDIR variable by default
...
Exporting DESTDIR interferes with cmake-based ports:
Install the project...
-- Install configuration: ""
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/libSDL2.a
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/libSDL2-2.0.a
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/libSDL2main.a
-- Up-to-date: /home/gunnar/serenity/Build/i686/Root/home/gunnar/serenity/Build/i686/Root/usr/lib/cmake/SDL2/SDL2Targets.cmake
2021-04-14 21:46:20 +02:00
Gunnar Beutner
b02f215ca7
Ports: Remove obsolete patch for tr
...
The tr port had its own ctype functions. With the recent LibC
changes these are no longer necessary.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
f0b34277bb
Ports: Fix building the mrsh port
2021-04-14 21:46:20 +02:00
Gunnar Beutner
097901818e
Ports: Fix building the dash port
2021-04-14 21:46:20 +02:00
Gunnar Beutner
80af81bab6
Ports: Fix building the nano port
2021-04-14 21:46:20 +02:00
Gunnar Beutner
86189bd93b
Ports: Link libarchive against pcre because the system's libregex doesn't support re_nsub
2021-04-14 21:46:20 +02:00
Gunnar Beutner
97471030e7
Ports: Add port for pcre
2021-04-14 21:46:20 +02:00
Gunnar Beutner
f5ccecacc5
Ports: Remove obsolete _SC_CLK_TCK patch for hatari
2021-04-14 21:46:20 +02:00
Gunnar Beutner
27befa6595
Ports: Fix building the ninja port
...
The build failed because the main symbol has hidden visibility.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
509c5c6577
Ports: Add nethack
2021-04-14 21:46:20 +02:00
Gunnar Beutner
6a808d96b5
Ports: Add port for libicu
...
I was trying to port openttd which I ultimately gave up on because
too much of the C++ standard library's functionality is missing at this
point. The libicu library was a dependency for that.
In its current state the libicu port is not thread-safe because of
missing functionality in the C++ standard library (mainly std::mutex,
std::condition_variable, etc.).
2021-04-14 21:46:20 +02:00
Gunnar Beutner
28b3c8bc1d
Port: Support running some configure/build commands with the host toolchain
...
This is useful for ports which depend on running tools on the host system.
In this case we can build the port twice - once for the host and once for
the target system.
2021-04-14 21:46:20 +02:00
Gunnar Beutner
9e9b508390
Ports: Fix building SDL2_ttf when X11 headers are installed on the host system
2021-04-14 21:46:20 +02:00
Gunnar Beutner
8874b4b4fe
Ports: Make sure pkg-config only picks up packages from the target
2021-04-14 21:46:20 +02:00
Gunnar Beutner
1942c1061c
Ports: Fix building the nasm port
2021-04-14 13:13:21 +02:00
Gunnar Beutner
0a600a3c36
Ports: Add gnupg port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
ba5710871b
Ports: Add libgcrypt port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
3cfc05fb8a
Ports: Add ntbtls port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
45f1170691
Ports: Add libgpg-error port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
c3aac8cbe7
Ports: Add libassuan port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
700cad4508
Ports: Add libksba port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
0b7079a76a
Ports: Add npth port
2021-04-14 13:13:06 +02:00
Gunnar Beutner
a937182254
Ports: Build the shared library for the libiconv port
...
I'd rather use libtool to build the library but that would
require more extensive changes to the configure script
and maybe even libtool itself. So instead I just build
it manually.
2021-04-14 13:13:06 +02:00
Gunnar Beutner
341b44b6f7
Ports: Fix building the stress-ng port
2021-04-14 13:12:52 +02:00
Tom Needham
209de3bcb3
Ports: Update nasm port to version 2.15.05 ( #6292 )
...
Fixes #6157 .
2021-04-14 10:20:07 +02:00
Tom Needham
9b75b1be5f
Ports: patch config.sub instead of the configure script in the yasm port
2021-04-13 21:47:11 +02:00
Gunnar Beutner
84ad8a51d3
Ports: Link curl against openssl and disable non-blocking I/O
...
For some reason curl complains that SSL_connect() fails when
non-blocking I/O is enabled. With blocking I/O it works just
fine though.
2021-04-12 22:44:49 +02:00
Gunnar Beutner
317b2d7f92
Ports: Remove configure option which disables getattrinfo() for curl
2021-04-12 22:44:49 +02:00
Gunnar Beutner
f34d951f28
Ports: Fix for building openssh
2021-04-12 22:44:49 +02:00
Gunnar Beutner
0f98569617
Ports: Remove obsolete patches for <limits.h>
2021-04-12 22:37:34 +02:00
Peter Elliott
fbbb4b3395
Ports: fallback to pro when curl is not installed
2021-04-12 14:06:24 +02:00
Peter Elliott
f71102a474
Ports: Require less commands in .port_include.sh
...
- fallback to http with curl when https fails
- add --no-gpg-verification, which will skip gpg signature verification
2021-04-12 14:06:24 +02:00
Peter Elliott
a09421f1be
Ports: Don't use getaddrinfo for curl
...
serenity's getaddrinfo is a stub, but curl detects it anyway, and uses
it instead of gethostbyname.
2021-04-12 14:06:24 +02:00
Peter Elliott
938924f36d
Meta: Add install-ports CMake target
...
install-ports copys the necessary files from Ports/ to /usr/Ports. Also
refactor the compiler and destiation variables from .port_include.sh
into .hosted_defs.sh. .hosted_defs.sh does not exists when ports are
built in serenity
2021-04-12 14:06:24 +02:00
Brendan Coles
9c3948ef3e
Ports: Add Dialog
2021-04-12 11:24:31 +02:00
Brendan Coles
435bd841ee
Ports: Add GNU libtool
2021-04-12 11:23:48 +02:00