Commit Graph

157 Commits

Author SHA1 Message Date
Bananymous 945509fc93 ports/mesa: Use llvm pipe instead of softpipe if llvm is compiled 2025-08-05 03:32:59 +03:00
Bananymous b586917930 ports: Add llvm port
This can be compiled before mesa to make mesa use llvmpipe instead of
softpipe. llvmpipe is at least 10x faster :D
2025-08-05 03:09:24 +03:00
Bananymous 256c9daefd ports/SDL2: Optimize rendering and fix cursor
Remove the unnecessary framebuffer layer, we can just use the window's
own framebuffer.

Set default cursor on mouse initialization, this fixes cursor hiding in
tuxracer

defined SetRelativeMouseMode instead of SetMouseCapture. This is what
the behaviour was :D
2025-08-05 03:09:24 +03:00
Bananymous 5972d40ced ports: Update zstd 1.5.6 -> 1.5.7
Also build using cmake because we can :)
2025-08-05 03:09:24 +03:00
Bananymous f35a6b3922 BuildSystem: Fix meson toolchain file
sed to replace SYSROOT did not work because paths contain /

also add cmake to allow cmake based library detection
2025-08-05 03:09:24 +03:00
Bananymous f82390424b ports: Add cmake port 2025-08-05 03:09:24 +03:00
Bananymous 08ed405a5b ports: Add libuv port 2025-08-05 03:09:24 +03:00
Bananymous 56d701492b ports/ncurses: Add c++ bindings 2025-07-31 22:47:40 +03:00
Bananymous 987cc3c237 3000th COMMIT: ports: Add halflife port 2025-07-31 22:47:34 +03:00
Bananymous 935f69e011 ports: Add freetype port 2025-07-31 22:47:29 +03:00
Bananymous 9f0c2fb6e2 ports: Apply only patches ending in .patch 2025-07-31 22:47:29 +03:00
Bananymous 05affda20c ports: Add python3 port 2025-07-22 14:11:09 +03:00
Bananymous 418c3c9cfa ports: Remove unneeded libtool files after install 2025-07-22 10:32:52 +03:00
Bananymous bc66e181a5 ports: Update to new config.sub syntax
There is no longer need to manually patch config.sub files!
2025-07-22 10:31:56 +03:00
Bananymous 6971f76bd3 ports: Add support for downloading upstream config.sub
banan-os is now in the upstream config.sub. This means no more
config.sub patches!
2025-07-22 10:13:41 +03:00
Bananymous 84f1ad4f26 ports: Fix doom compilation with the new toolchain 2025-07-15 16:12:03 +03:00
Bananymous 8e0d79f301 ports: Fix `make` compilation with new toolchain 2025-07-02 01:54:03 +03:00
Bananymous f2eaab6e43 ports: Add tuxracer port
THIS IS SUPER SLOW
2025-06-28 20:54:45 +03:00
Bananymous a847823411 ports: Add tcl port 2025-06-28 20:54:45 +03:00
Bananymous fe9a8b542a ports: Add bochs port
THIS IS SUPER SLOW
2025-06-28 20:54:45 +03:00
Bananymous cd101b6844 ports: Add sdl12-compat port 2025-06-28 20:54:45 +03:00
Bananymous 69229102c4 ports: Add SDL2 port 2025-06-28 20:52:33 +03:00
Bananymous 4bc3630d19 ports: Add glu port 2025-06-28 20:52:20 +03:00
Bananymous ab00686ac9 ports: Add mesa port 2025-06-28 20:51:29 +03:00
Bananymous c3004a038f ports: Add bash port 2025-06-28 20:48:13 +03:00
Bananymous 9cf9d8847b ports: Add lua port 2025-06-28 20:48:13 +03:00
Bananymous 0a3c10566b ports: vim update to 9.1 2025-06-28 20:48:13 +03:00
Bananymous c94243e107 ports: Update some ports to new syntax 2025-06-28 20:48:13 +03:00
Bananymous 505388b9fa ports: Add pre_install and post_install to install.sh 2025-06-28 20:25:35 +03:00
Bananymous c7c3dd7662 init/ports: Fix environment variables in init/ncurses
init no longer sets NCURSES_NO_UTF8_ACS
ncurses no longer sets TERM
2025-06-28 20:25:35 +03:00
Bananymous 2b2130ff42 toolchain/ports: Use strip install targets
I just found that these exist. This is much cleaner than manually
stripping the executables!
2025-06-28 20:25:35 +03:00
Bananymous 463ce05da0 ports: Allow specifying custom make targets 2025-06-28 20:25:35 +03:00
Bananymous fa4095ba95 ports: Add pre_configure to build system
We have post_configure, so why not this :)
2025-06-28 20:25:35 +03:00
Bananymous 6fa7fe26dc ports: Add support for meson build systems 2025-06-28 16:55:13 +03:00
Bananymous fe804c123d ports: Add expat port 2025-06-28 16:55:13 +03:00
Bananymous dba32fb95d ports: Add SONAME to zlib's dynamic library 2025-06-28 16:55:13 +03:00
Bananymous 7dc187fdb1 ports: Update gcc 12.2.0->15.1.0
Also enable threading :)
2025-06-28 16:55:13 +03:00
Bananymous ee5a627952 ports: Update mpfr 4.2.1->4.2.2 2025-06-28 16:53:06 +03:00
Bananymous 3b83561309 ports: Fix gmp port to compile with gcc 15.1.0 2025-06-28 16:53:06 +03:00
Bananymous 6fb0b5203a ports: Update binutils 2.39->2.44 2025-06-28 16:53:06 +03:00
Bananymous 69bdff6b7e ports: Add links port
We now have graphical browser on banan-os :O
2025-06-11 16:02:00 +03:00
Bananymous 8574fcf6e1 ports: Add libwebp port 2025-06-11 16:01:47 +03:00
Bananymous f4f424bf04 ports: Add libtiff port 2025-06-11 16:01:47 +03:00
Bananymous ac745bfa3d ports: Add libjpeg port 2025-06-11 16:01:47 +03:00
Bananymous aa691f236e ports: Add libpng port 2025-06-11 16:01:47 +03:00
Bananymous a0a9d49d81 ports: Update toolchain triple and add post_configure
post_configure is called after default configure. This can be used for
port specific customization when using default configure function
2025-06-11 16:01:47 +03:00
Bananymous 515918329c ports: Add SpecSeek port 2025-06-06 17:41:59 +03:00
Bananymous f2ccab2df7 ports/openssl: Fix openssl
New unistd.h definitions (or something) makes openssl think recvmsg is
available, disable it manually.
2025-06-01 19:51:33 +03:00
Bananymous 8392472bac ports: Add git port
This commit is pushed from banan-os :D
2025-05-29 00:31:40 +00:00
Bananymous 50024fbf8b ports/vim: Set EDITOR=vim in .shellrc 2025-05-29 01:20:30 +03:00
Bananymous 3040940e35 ports/tcc: Fix 32 bit build and add version name
tcc was using "Linux" for machine name in version string if it was not
explicitly specified.
2025-05-07 18:33:39 +03:00
Bananymous df3d2d57c3 ports/quake2: Update to new LibGUI interface 2025-05-07 17:23:15 +03:00
Bananymous 92d26f2216 ports/doom: Update to new LibGUI interface 2025-05-07 17:21:29 +03:00
Bananymous 0380c68f89 ports/tinygb: Update to new LibGUI interface 2025-05-07 17:21:29 +03:00
Bananymous c0181820a9 ports/tinygb: Set title like sdl frontend does 2025-05-05 01:10:41 +03:00
Bananymous 95a80bfe81 ports: Add tinygb port
This is awesome!
2025-04-23 13:19:28 +03:00
Bananymous 53e9eab0cd ports/tcc: Fix building on 32 bit 2025-04-23 08:43:27 +03:00
Bananymous 34e680d792 ports/ncurses: Set some needed environment variables
ncurses depends on these being set to function properly
2025-04-22 01:56:34 +03:00
Bananymous 32d543943b ports: Add lynx port
I have had this for a while but apparently never commited :D
2025-04-22 01:44:49 +03:00
Bananymous 2632507980 ports/ca-certificates: Add symlink to /etc/ssl/cert.pem
Some ports try to use this file
2025-04-22 01:44:02 +03:00
Bananymous 5305f962c0 ports/openssl: Make openssl port threaded 2025-04-21 19:59:57 +03:00
Bananymous 3d34e6e6d9 ports: ncurses add support for shared libraries 2025-04-19 05:55:16 +03:00
Bananymous 22374ac8f7 ports: Add make port 2025-01-28 22:50:11 +02:00
Bananymous efb577769e ports: Add nasm port 2025-01-25 23:10:04 +02:00
Bananymous 8c569ac7bf 2500th COMMIT: ports: Add gcc port
I've had this laying around locally for a while. binutils was not
working so I didn't feel like this was worth pushing. My new stdio FILE
buffering rewrite fixed binutils and now gcc actually works!
2025-01-25 18:40:16 +02:00
Bananymous a84fb57e32 ports: Add binutils port 2025-01-25 18:40:16 +02:00
Bananymous 7314d2b577 ports: Add mpc port
This will be used by gcc
2025-01-25 18:40:16 +02:00
Bananymous ba83ede0d1 ports: Add mpfr port
This will be used by gcc
2025-01-25 18:40:08 +02:00
Bananymous 42500ce043 ports: Add gmp port
This will be used by gcc
2025-01-25 18:40:04 +02:00
Bananymous 58cdcf754c ports: Update curl port
This patch updates curl to version 8.11.1 and adds support for dynamic
libraries
2025-01-24 19:23:33 +02:00
Bananymous d969f5df7b ports: Add zstd port 2025-01-24 19:23:33 +02:00
Bananymous 3ae6ffdb01 ports/tcc: Create usr/include/sys/ucontext.h
This file does not have to contain anything, tcc just requires that it
exists.
2024-12-08 20:42:04 +02:00
Bananymous 8fa443879c ports: Add working tcc port!
You can actually now compile programs within banan-os!!
2024-12-04 21:23:09 +02:00
Bananymous 3b7b6beca5 ports: Allow using banan-os cmake toolchain file for ports 2024-12-03 20:29:38 +02:00
Bananymous 0dd81328ff ports: Unconditionally compile banan-os before building ports
This allows ports to use any banan-os library cleanly. Ninja is fast on
when everything is already compiled, so it doesn't add too much
overhead.
2024-12-03 20:29:38 +02:00
Bananymous a668593e6b ports: Don't update ports on every build
This makes using ports much less painful :)
2024-12-03 20:29:38 +02:00
Bananymous 86859267f0 ports/curl: remove libcurl.la file and use /dev/urandom 2024-12-03 20:29:38 +02:00
Bananymous 12abe81c6d ports/openssl: Add support for shared libraries 2024-12-03 01:46:59 +02:00
Bananymous 9c2fcd745c ports/doom: Fix patch calling exit() to actually do what it says 2024-12-01 02:28:50 +02:00
Bananymous 1f5073d0ac ports/doom: Allow doomgeneric to write directly to window framebuffer
This prevents an unnecessary `malloc` of the framebuffer and a copy
every frame.
2024-11-27 13:39:21 +02:00
Bananymous 51bfe4252d ports/doom: download doom1.wad to common directory between archs 2024-11-15 20:50:40 +02:00
Bananymous 04eee2ea75 ports: Add quake2 port (+two years of banan-os!)
This patch adds software rendered quake2 port. I was supposted to push
this as two days ago as two years of banan-os, but I was too sick to do
any programming.
2024-11-14 12:47:30 +02:00
Bananymous 988f7b0561 ports: Fix doom port to use the new GUI events 2024-10-18 03:45:15 +03:00
Bananymous 163961df4f ports/doom: Add alpha channel for framebuffer access 2024-09-12 20:16:17 +03:00
Bananymous 4e15b9cdfa Ports: Add explicit -libgcc-shared for ports on 32 bit 2024-09-05 14:49:23 +03:00
Bananymous 14fdcb892d Ports: Make curl port use openssl
Curl now works with https!
2024-08-22 15:10:41 +03:00
Bananymous d6d062841d Ports: Add openssl port 2024-08-22 15:10:41 +03:00
Bananymous 06d0985bba Ports: Add zlib port 2024-08-22 15:10:41 +03:00
Bananymous 9ea969be1f Ports: Add port that downloads and install cacert to system 2024-08-22 15:10:41 +03:00
Bananymous e59772a58d General: Cleanup build scripts 2024-08-22 15:10:41 +03:00
Bananymous 71d4060993 Ports: Update port building instructions 2024-08-11 17:58:10 +03:00
Bananymous 58a3a480b9 Ports: Update the port system once again! 2024-08-10 18:18:25 +03:00
Bananymous 2ca7886f88 Ports: remove architecture from .compile_hash files
This is was over complicating things and there can be only one banan-os
build at a given time.
2024-08-07 16:34:28 +03:00
Bananymous 5aca6c7c1f Ports: Fix bugs in the port system
Fix some bugs and add pkg-config for the port system. Also ncurses is
now downloaded from the gnu mirror in the hope that it works better
2024-08-07 01:57:44 +03:00
Bananymous dbba9128a4 Ports: Add ncurses and vim port!
vim is kind of buggy because my virtual tty {insert,delete} line ansi
codes don't really work.
2024-08-05 15:20:18 +03:00
Bananymous 352c1ddc16 BuildSystem: Rewrite port compilation system
Now ports define some environment variables, and call a unified bash
script that handles configuration, recompilation and installation.

If a port uses non-configure buildsystem, port script can also specify
custom build and install step.
2024-08-05 15:20:18 +03:00
Bananymous dd7bfba8d5 ports: Compile with multiple jobs and fix curl install query 2024-07-16 15:04:46 +03:00
Bananymous 6a1c677cbc Ports: Update doom port gitignore 2024-07-16 11:54:57 +03:00
Bananymous cd41d5f6dd ports: DOOM install now downloads and installs doom1.wad 2024-06-25 19:57:15 +03:00
Bananymous 318ce5dec8 All: Fix a lot of compiler warnings from header files
While reworking build system, header files started to report warnings.
2024-06-18 23:02:10 +03:00