static-haskell-nix
wlroots
Our great sponsors
static-haskell-nix | wlroots | |
---|---|---|
7 | 107 | |
379 | 1,969 | |
- | - | |
5.2 | 9.8 | |
4 months ago | over 2 years ago | |
Nix | C | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
static-haskell-nix
-
Trying to build a statically linked binary against glibc (Linux)
Using Nix: https://github.com/nh2/static-haskell-nix
- Generating static binary + CI questions
-
GHC reports "Loading static libraries is not supported"
To debug this type of problem (I have to debug linker errors regularly as part of static-haskell-nix):
-
[ANN] Monomer, a GUI library for Haskell
In static-haskell-nix there is currently this PR to enable support for that: https://github.com/nh2/static-haskell-nix/pull/108
- What's all the hype with Nix?
-
Termite Is Obsoleted by Alacritty
I think there's a misunderstanding: Most people want to use the .a file from their Linux/package distro that provides static libraries, such as Alpine Linux or nixpkgs.
Such package distributions just use the build system default options to build static libs. For example, Alpine might use `-Ddefault_library=both`.
> if they could keep that libgtk_static around
Why make these special cases instead of just using the build system defaults? That's easier to maintain and more obvious.
> I'd be interested to hear if static linking GTK even has that many benefits
One benefit is almost-infinite backwards compatibility that the Linux and Xorg ABIs provide, being able to make GUI apps that work out of the box everywhere.
Another is that these generated executables are very small, e.g. 12 MB for a full static GTK GUI app [1], or 6 MB when xz-compressed.
This is much less than when using shared libraries. One reason is that dead-code elimination works much better for static linking: It links in only the functions you actually use. For dynamic linking, it's always the entire .so.
[1] https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...
-
Clodl: Turn dynamically linked ELF binaries into self-contained closures
GTK can be statically linked.
Example executable:
https://github.com/nh2/static-haskell-nix/releases/tag/c-sta...
It lost this ability temporarily when switching to Meson, but I fixed it in GTK3 and GTK4. But I just checked and apparently it is broken again:
https://gitlab.gnome.org/GNOME/gtk/-/issues/3774#note_109746...
wlroots
-
Xorg being removed. What does this mean?
>barrier has been unmaintained for a long time.
As if not having new features added for 2 years makes it stop working? barrier is perfectly fine on normal linux desktop installs. I actually use synergy 1.x personally which has been "unmaintained" for much, much longer. Except synergy 1.x will compile and run on anything from windows 98 to ubuntu 5 to debian 12. You can't get a waynergy or inputleap to compile on an OS more than 2 years old. And even then, as you say, it's crapshoot if the particular wayland will have libei; many like sway are actively hostile to it and never will: https://github.com/swaywm/wlroots/issues/2378
- Does Wayland use less battery than x11 in Fedora Linux?
-
Arch Linux odd question
It looks like they actually patched it to filter those modes out, so presumably it worked out of the box and was considered undesirable: https://github.com/swaywm/wlroots/issues/3038
-
Asahi Linux To Users: Please Stop Using X.Org
I haven't experienced any of those. The video game performance hit may be due to vsync, but I don't play games so I haven't noticed.
-
If I install a distro without a GUI, can I still launch graphical applications (like a Firefox window, for example)?
You can however use tinywl. It is an example Wayland compositor that can't do more than displaying one application.
-
Nearest-neighbor scaling on XWayland apps?
Sway/wlroots has implemented this, but I can't find any discussion for KDE.
-
Wofi is SO superior to Rofi
wlroots is archived on github. Is it abandoned? Just saying, that only means they moved git hosts :-D
- wayland-protocols update to allow tearing
-
Wayland harder for DE developers?
A lot of compositors are based no the wlroots lirbary. So they are still sharing the development effort and have a common base, its just in the form of a library rather than a display server.
-
What does gamescope output to?
gamescope use wlroots
What are some alternatives?
monomer - An easy to use, cross platform, GUI library for writing Haskell applications.
wlroots-eglstreams - A modular Wayland compositor library with EGLStreams support
haskell.nix - Alternative Haskell Infrastructure for Nixpkgs
nvidia-patch - This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.
Cabal - Official upstream development repository for Cabal and cabal-install
leftwm - A tiling window manager for Adventurers
gi-gtk-declarative - Declarative GTK+ programming in Haskell
sway - i3-compatible Wayland compositor
alacritty - A cross-platform, OpenGL terminal emulator.
wayfire - A modular and extensible wayland compositor
nixos-config - Personal collection of NixOS config files
x11docker - Run GUI applications and desktops in docker and podman containers. Focus on security.