Hi dev@ list readers.
I just ported tinyx to libXfont2.
Maybe some of the readers here are interested in this,
as tinyx is made in the suckless spirit of minimalism.
https://github.com/tinycorelinux/tinyx/pull/8
For those of you who use gentoo, I also have an ebuild
for this patched tinyx in my overlay:
https://github.com/stefan11111/stefan_overlay/blob/main/x11-base/tinyx/tinyx-1.1.ebuild
So far, every X11 app I tested works, with the exception of st.
Xterm works however.
Even palemoon works.
St fails like so:
$ st
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 78 (X_CreateColormap)
Serial number of failed request: 393
Current serial number in output stream: 394
Probably because tinyx doesn't implement an X11 extension that st needs.
--
Linux-gentoo-x86_64-Intel-R-_Core-TM-_i5-7400_CPU_@_3.00GHz
COMMON_FLAGS="-O3 -pipe -march=native -fno-stack-check -fno-ident
-fno-stack-protector -ftree-vectorize -ffast-math -funswitch-loops
-fuse-linker-plugin -flto -fdevirtualize-at-ltrans -fno-plt
-fno-semantic-interposition -falign-functions=64 -fgraphite-identity
-floop-nest-optimize"
USE="-* git verify-sig rsync-verify man alsa X grub ipv6 ssl lto
libressl olde-gentoo asm native-symlinks threads jit jumbo-build minimal
strip system-man custom-cflags"
INSTALL_MASK="/etc/systemd /lib/systemd /usr/lib/systemd
/usr/lib/modules-load.d /usr/lib/tmpfiles.d /var/lib/dbus /lib/udev"
How to fix gcc 14:
diff --git a/gcc/c-family/c-opts.cc.bak b/gcc/c-family/c-opts.cc
index f4dced8..0e12ac0 100644
--- a/gcc/c-family/c-opts.cc
+++ b/gcc/c-family/c-opts.cc
@@ -861,8 +861,6 @@ c_common_post_options (const char **pfilename)
reject certain GNU extensions also present the defaults for later
language modes. */
if (!c_dialect_cxx ()
- && !flag_isoc99
- && !global_dc->m_pedantic_errors
&& !OPTION_SET_P (flag_permissive))
{
flag_permissive = 1;