Hikari is a stacking Wayland compositor with additional tiling capabilities, it
is heavily inspired by the Calm Window manager (cwm(1)). Its core concepts are
views, groups, sheets and the workspace.
===> The following configuration options are available for hikari-2.3.3_5:
GAMMA=on: Include gammacontrol protocol (required by, e.g., Redshift)
LAYERSHELL=on: Include layer_shell protocol (required by, e.g., waybar)
SCREENCOPY=on: Include screenshot protocol (required by, e.g., grim)
VIRTUALINPUT=on: needed for VNC support (required by e.g. wayvnc)
X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
Affects: users of x11-wm/cage, x11-wm/hikari, x11-wm/labwc, x11-wm/sway, x11-wm/wayfire
Author: jbeich@FreeBSD.org
Reason:
SUID option has been removed in favor of seatd-launch(1) which doesn't
require special handling in every consumer and doesn't bypass group
permissions. If you've already enabled seatd service or use consolekit2
then nothing changes. Otherwise,
$ sway
00:00:00.001 [ERROR] [wlr] [libseat] [libseat/libseat.c:83] No backend was able to open a seat
00:00:00.001 [ERROR] [wlr] [backend/session/session.c:84] Unable to create seat: Function not implemented
00:00:00.001 [ERROR] [wlr] [backend/session/session.c:218] Failed to load session backend
00:00:00.001 [ERROR] [wlr] [backend/backend.c:353] Failed to start a DRM session
00:00:00.001 [ERROR] [sway/server.c:53] Unable to create backend
can be fixed by
$ ck-launch-session sway
or
$ seatd-launch sway
or
# sysrc seatd_enable=YES
# service seatd start
$ sway
Replace "sway" with your compositor e.g., "cage", "hikari", "labwc", "wayfire".
x11-toolkits/wlroots: dedup *_DEPENDS in consumers
LIB_DEPENDS against a port with non-default USE_LDCONFIG can desync
RUN_DEPENDS and BUILD_DEPENDS, leading to incorrectly registered
dependencies when built in a dirty environment.
$ make install -C x11-toolkits/wlroots
$ make install -C x11-wm/hikari
$ pkg info -xr wlroots
wlroots-0.17.1:
hikari-2.3.3_4
wlroots015-0.15.1_2:
$ make run-depends-list -C x11-wm/hikari | fgrep wlroots
/usr/ports/main/x11-toolkits/wlroots015
$ make actual-package-depends -C x11-wm/hikari | fgrep wlroots
"wlroots": {origin: "x11-toolkits/wlroots", version: "0.17.1"}
x11-wm/hikari: Fix a bug
- Add a patch where input from mouse/keyboard goes to the wrong view
PR: 268758
Reported by: J.R. Oldroyd <fbsd at opal dot com>
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
x11-wm/hikari: Patch to prevent crashing with GTK4 apps
PR: 265110
Reported by: Ahmad Raniri <ahmadraniri1994 at gmail dot com>
Tested by: Ahmad Raniri <ahmadraniri1994 at gmail dot com>
Obtained from: alex at xanderio dot de
MFH: 2022Q3 (bug fix)
sysutils/seatd: drop SUID option after b8a20cd29e54
It's not possible to restrict setuid bit to "video" group without also
breaking compositor nesting (e.g., hikari on sway). So, leave setuid
handling to a dedicated executable. seatd-launch works similar to
ck-launch-session by starting the daemon on demand.
x11-wm/hikari: drop unused dependencies
- libepoll-shim is used by graphics/wayland instead
- glib20 is auto-added via USE_GNOME due to being part of pango API
PR: 254264
Approved by: Alexander Sieg (maintainer)
Bump portrevision for devel/evdev-proto
Bump portrevision on everything with a build dependency on
devel/evdev-proto, to chace the update of evdev-proto in r550442.
x11-wm/hikari: Update to 2.0.0
- Floating views are raised after layout apply.
- Sheet is reset before layout apply.
- Focus view is raised to layout on layout apply.
- Add append/prepend to layout operations.
- Remove sheet groups (ungrouped views create a group for their app id
instead).
- Groups can now start with digits (no more sheet group overlap).
- Add 'sheet-show-group' operation.
- Add 'workspace-show-group' operation.
- Add 'workspace-show-invisible' operation.
- Add 'workspace-show-all' operation.
- Add 'workspace-clear' operation.
- Add 'workspace-show-group' operation.
(Only the first 15 lines of the commit message are shown above )
x11-toolkits/wlroots: rebuild unchanged consumers after r535134
`struct wlr_xwayland` was extended but the new member were added in
the middle. Even if X11 apps still work there could be side effects.
$ GDK_BACKEND=x11 hikari -c /dev/null -a gtk3-demo
(gtk3-demo:78924): Gtk-WARNING **: cannot open display: \u0001
x11-wm/hikari: fix build on GCC architectures
Use newer GCC:
src/mark_select_mode.c: In function 'lookup_mark':
src/mark_select_mode.c:25: error: 'struct wlr_input_device' has no member named
'keyboard'
Upadate to 1.0.0-alpha3
In this release Hikari is switching from X11 to Wayland.
Submitted by: ports_xanderio.de
Reviewed by: jbeich, raichoo_googlemail.com
Differential Revision: https://reviews.freebsd.org/D23544
Add USES=xorg USES=gl, ports categories x
Add USES=xorg and USES=gl to ports in categories starting with 'x'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
x11-wm/hikari: fix build
Add USES=compiler:c11 to fix build.
Note that this port actually needs C17, but there's no USES=compiler:c17, and
our C11-compatible compilers already support C17:
cc1: error: unrecognized command line option "-std=c17"
Approved by: mentors (implicit approval)
x11-wm/hikari: update to 0.1.3
While here, improve the desktop file and improve formatting
PR: 238110
Submitted by: Alexander Sieg <alex@xanderio.de> (maintainer)
Add hikari.desktop for display/login managers.
While here:
- Include bsd.port.pre.mk before checking the value of WITH_DEBUG so that
WITH_DEBUG_PORTS is respected.
- Mention that the format of config.h may change across versions.
PR: 238019
Submitted by: Alexander Sieg <alex@xanderio.de>
New port: x11-wm/hikari: Stacking window manager with tiling capabilities
Hikari is a stacking window manager with additional tiling capabilities,
it is heavily inspired by the Calm Window manager (cwm(1)). Its core
concepts are windows, groups, sheets and the workspace.
WWW: https://hub.darcs.net/raichoo/hikari
PR: 237970
Submitted by: Alexander Sieg <alex@xanderio.de>
Differential Revision: https://reviews.freebsd.org/D20306