Commit graph

625 commits

Author SHA1 Message Date
Tim Schumacher 418d69c0ad Ports: Fix dependencies for SDL2
We are doing nonstandard stuff with our headers, so SDL assumed that
both iconv and dlopen are available inside LibC, which they aren't.

Fix that by adding a dependency on libiconv and adding additional
linker flags.
2021-10-16 15:36:04 -07:00
Eric Seifert 89e52faa22 Ports: Use ruby irb legacy mode
Legacy mode seems to work better than the --nomultiline --nosingleline
mode I was using.
2021-10-15 21:56:06 -07:00
Tim Schumacher 8ced224f04 Ports: Enable wide-char support for ncurses
Hello ncursesw!
2021-10-15 21:50:19 -07:00
Tim Schumacher 5d38cf4973 Ports: Force-create ncurses compatibility symlinks
I haven't considered that someone might try to build ncurses twice.
2021-10-13 01:23:01 +02:00
Tim Schumacher e9ce1a8d83 Ports: Add compatibility symlinks to ncurses
Some applications search for the external version of libtic and
libtinfo, which are no longer present after
91ad7754fe.

Having a symlink fixes that, since libncurses exports the necessary
functions if they aren't available as a seperate library.
2021-10-11 10:51:43 -07:00
Tim Schumacher 3908753347 Ports: Fix issues with the libmodplug and SDL_sound ports
- Lock SDL_sound to specific commit
- Convert properties to arrays where required
- Fix depends being called "deps"
2021-10-10 19:11:02 -07:00
Tim Schumacher 262b718912 Ports: Fix nano authentication options splitting
This was a typo from when everything was migrated to arrays.
2021-10-11 00:37:02 +01:00
xSlendiX 6782cf5193 Ports: Add SDL_sound 2021-10-10 15:26:05 -07:00
xSlendiX f573b7b47a Ports: Add libmodplug 2021-10-10 15:26:05 -07:00
Rodrigo Tobar c3a6d96988 Ports: Patch Python to deal with Serenity's strftime
The xmlrpc.client module has some trial-and-error logic at module import
time to figure out how to properly format years using strftime. There
have already been problems in the past with this code in Python (see
https://bugs.python.org/issue13305, which is still open), and Serenity
only adds to that.

This problem has been reported at https://bugs.python.org/issue45386, so
hopefully in time we won't need this patch anymore.
2021-10-06 13:57:52 +01:00
Rodrigo Tobar c38c93bff1 Ports: Patch Python's http.client due to unimplemented socket option
This problem has been reported on https://bugs.python.org/issue45328 and
a fix has been provided, potential review and merge are pending.
2021-10-06 13:57:52 +01:00
Rodrigo Tobar 3c192f492a Ports: Compile Python against OpenSSL to gain ssl module
Compiling against an OpenSSL thread-enabled shared library (see #10207)
lets Python compile its _ssl module, which yields an importable ssl
module.

The ssl module suffers from the same problem described in #10014 though,
namely that python crashes when importing different modules results in
multiple libcrypto.so loads, and its functions are later invoked by one
of the modules. Once #10277 is merged though the module becomes quite
usable.
2021-10-05 15:45:08 +01:00
Rodrigo Tobar dc03c559df Ports: Compile OpenSSL with threads and as a shared library
By defining our own target platform in the OpenSSL compilation
configuration we can now compile an OpenSSL shared library. We need to
avoid symbol versioning though, as serenity's LibELF doesn't support
this yet.

We are now also compiling with threading support to allow using this
from Python.
2021-10-05 15:35:48 +01:00
Tim Schumacher c07f91474d Ports: Make array-like settings actual arrays
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
2021-10-05 02:13:08 +02:00
Tim Schumacher e507cfcdb0 Ports: Set defaults before loading package.sh
This is too much bash magic for a simple "Use this value if the script
doesn't set anything", especially since only one default setting depends
on values from the script.
2021-10-05 02:13:08 +02:00
Ben Wiederhake 52e9f25403 Everywhere: Change from http to https where feasible
I used "git grep -FIn http://" to find all occurrences, and looked at
each one. If an occurrence was really just a link, and if a https
version exists, and if our Browser can access it at least as well as the
http version, then I changed the occurrence to https.

I'm happy to report that I didn't run into a single site where Browser
can't deal with the https version.
2021-10-05 02:08:08 +02:00
Linus Groh fb98e12f86 Ports: Update Python to 3.10.0
Released on 2021-10-04.
https://www.python.org/downloads/release/python-3100/
2021-10-04 21:46:25 +01:00
Jelle Raaijmakers 06f84d927e Ports: Add Ncdu 2021-10-02 21:07:47 +01:00
Jelle Raaijmakers 91ad7754fe Ports: Compile ncurses with --enable-term-driver
In commit ba97548686 `--with-termlib` was added to produce a
`libtinfo.a` file that nano then required. However, this causes ncurses
to build with _only_ screen-pointer ext funcs: e.g.
`reset_prog_mode_sp` exists, but `reset_prog_mode` does not.

By switching to `--enable-term-driver`, all functions are properly
exported again and the nano port compiles and runs just fine. :^)
2021-10-02 21:07:47 +01:00
Jelle Raaijmakers 8487ff551c Ports: Switch ncurses to SHA256 auth type 2021-10-02 21:07:47 +01:00
Liav A 09bdb00eb0 Ports: Remove unnecessary patch from the neofetch port 2021-09-24 10:48:30 +02:00
Eric Seifert 01a06dde0e Ports: Add Ruby 3.0.2 2021-09-24 10:04:47 +02:00
Jelle Raaijmakers 37b5baf9ff Ports: Build PHP-FPM instead of CGI 2021-09-23 18:51:21 +02:00
Jelle Raaijmakers 6f4fbd59d9 Ports: Update PHP to version 8.0.10 2021-09-23 18:51:21 +02:00
Jelle Raaijmakers 36a7091531 Ports: Remove the now superfluous PHP network patch 2021-09-23 18:51:21 +02:00
Kenneth Myhra 6819193671 Ports/glib: Bump GLib to 2.70.0 2021-09-19 18:18:47 +02:00
Kenneth Myhra 83a4c1732b Ports/glib: Maintain compatibility with meson < 0.57.0 2021-09-19 18:18:47 +02:00
Kenneth Myhra 177765642e Ports/glib: Remove patch 0008-add-missing-macro-IN6_IS_ADDR_V4MAPPED
Since we now have the 'IN6_IS_ADDR_V4MAPPED' macro in LibC this patch
is no longer needed.
2021-09-19 15:53:43 +02:00
Linus Groh 5426901521 Ports: Update Python to 3.10.0rc2
Released on 2021-09-07.
https://www.python.org/downloads/release/python-3100rc2/
2021-09-18 21:20:18 +02:00
Tim Schumacher dda216c334 Ports: Add a gawk port 2021-09-16 16:42:40 +02:00
Andrew Kaster 9dff6acc55 Ports: Use new CMakeToolchain.txt located in the build directory
Now that we're generating the CMake toolchain file in the build
directory, we need to redirect the ports that use CMake to the new
location. Looking into this showed that there's still a bunch of work to
do in general to make the ports agnostic to which toolchain they're
using, there's a lot of hard-coded ${ARCH}-pc-serenity-gcc assumptions
still here.
2021-09-15 19:04:52 +04:30
Linus Groh 6595db9ecf Ports: Build Python with --enable-optimizations
This no longer results in linker errors as the FIXME states, so let's
get some perf for free :^)
2021-09-11 00:28:39 +02:00
Linus Groh 6b15faed30 Ports: Build Python with libuuid
This makes the _uuid module work :^)
2021-09-11 00:28:39 +02:00
Linus Groh 8b3e1c0016 Ports: Add libuuid 2021-09-11 00:28:39 +02:00
Ken Herner 84f0d2aece Ports: Update libarchive to v3.5.2
Updated GPG fingerprint to Martin Matuska's latest public key
Fixes #9921
2021-09-09 22:57:09 +01:00
Ken Herner f5071e7b2d Ports: Disable IPV6 in OpenSSL
Fixes #9902
2021-09-09 22:39:45 +01:00
Rodrigo Tobar 430e5d27aa Ports: Fix compilation of python3 socket module 2021-09-09 17:51:15 +01:00
Rodrigo Tobar 3373090993 Ports: Add gsl 2021-09-08 08:49:56 +01:00
Andreas Kling aa2e19e58f Ports: Update relocated ports
Port repos have been moved to the new SerenityPorts organization on
GitHub, to declutter the main SerenityOS organization.
2021-08-30 20:18:07 +02:00
Dante Catalfamo 0f3f814945 Ports: Add port for mruby 2021-08-25 02:22:01 +02:00
Federico Guerinoni ed5ae7b093 Ports: Bump git to 2.33.0 2021-08-23 23:35:39 +02:00
Linus Groh 9e225d2d05 Ports: Add libatomic_ops 2021-08-21 13:16:51 +01:00
Nico Weber 788472f91a Ports: Add libsixel
This contains `img2sixel`.
2021-08-15 19:48:11 +01:00
sin-ack 06a6b68690 Ports: Make the build step messages use ellipsis rather than excl. point
This stops the port build system from yelling at the user. This commit
also adds a "success" message after the "Adding to database" message.
2021-08-15 14:50:39 +01:00
Kenneth Myhra df176ca2d9 Ports: Add glib version 2.69.0 2021-08-14 22:32:00 +01:00
Gunnar Beutner 4b4fe29c39 Ports: Remove SHA256 checksum for the doom port 2021-08-14 20:28:55 +02:00
Gunnar Beutner 582d74b729 Ports: Bump vlang version to weekly.2021.31
The previous version failed to build.
2021-08-14 20:28:55 +02:00
Gunnar Beutner 909e19f753 Ports: Fix reinstalling the mysthous port
Reinstalling the port failed because some of its files were installed
with permissions that prevented overwriting the existing files with cp.
2021-08-14 20:28:55 +02:00
Gunnar Beutner e7d7b43f99 Ports: Fix reinstalling the lure port
Reinstalling the port failed because some of its files were installed
with permissions that prevented overwriting the existing files with cp.
2021-08-14 20:28:55 +02:00
Nico Weber 7d4addc6d3 Ports: Add a space to end of shell name in neofetch
Matches what neofetch does for other shell names.
2021-08-14 22:46:34 +04:30