Skip to content

Commit 2616e6c

Browse files
committed
rofi: update to 2.0.0
1 parent 3b778e8 commit 2616e6c

4 files changed

Lines changed: 55 additions & 8 deletions

File tree

rofi/COMMIT_MSG

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
x11/rofi: update to 2.0.0
2+
3+
* 2.0.0
4+
In this release we merged back lbonn his great wayland port of rofi into mainline.
5+
Wayland is now an officially supported backend.
6+
7+
With the merge of the wayland backend, for ease of maintenance, we dropped the
8+
autotools build system. We now only support the meson build system.
9+
10+
You can build rofi with only X11 or Wayland. It also supports or both backends
11+
enabled, where it automatically select the right backend.
12+
13+
To help bug reports, we added the command rofi -info.
14+
This will print the selected backends. Compilation options, loaded plugins,
15+
scripts and more.
16+
17+
Known issues:
18+
19+
With wayland, rofi only knows after the first surface is drawn, what the dpi and
20+
scale is. Because of this, it might need to redraw/resize elements (icons/text)
21+
after displaying. This can generate a weird 'flicker' on startup. It will first
22+
load a lower resolution version of the icons (that the window manager scales
23+
up), then it gets updated with the real resolution and it then loads full
24+
resolution icons. Because icon loading is asynchronous, they will disappear and
25+
re-appear. Issue: #2165
26+
27+
It is currently not possible, in a reliable way, to detect out of window clicks.
28+
So under wayland this feature currently does not work. Issue: #2158
29+
30+
31+

rofi/Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# $NetBSD: Makefile,v 1.48 2026/01/07 08:49:47 wiz Exp $
22

3-
DISTNAME= rofi-1.7.9.1
4-
PKGREVISION= 3
3+
DISTNAME= rofi-2.0.0
54
CATEGORIES= x11
65
MASTER_SITES= ${MASTER_SITE_GITHUB:=davatorium/}
76
# We need to specify this way to get submodules fetched
@@ -15,14 +14,14 @@ LICENSE= x11
1514

1615
USE_TOOLS+= pkg-config bash:run flex bison
1716

18-
GNU_CONFIGURE= yes
19-
CONFIGURE_ARGS+= YACC='bison -y'
20-
2117
REPLACE_BASH+= script/rofi-sensible-terminal
2218
REPLACE_BASH+= script/rofi-theme-selector
2319

2420
TEST_TARGET= check
2521

22+
.include "options.mk"
23+
24+
.include "../../devel/meson/build.mk"
2625
.include "../../devel/check/buildlink3.mk"
2726
.include "../../devel/glib2/buildlink3.mk"
2827
.include "../../devel/pango/buildlink3.mk"

rofi/distinfo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
$NetBSD: distinfo,v 1.9 2025/06/02 00:40:35 gutteridge Exp $
22

3-
BLAKE2s (rofi-1.7.9.1.tar.xz) = 124322ae4c3c205de010fa153a5f20025c160c2dae69b9c921a0edb7681c3758
4-
SHA512 (rofi-1.7.9.1.tar.xz) = 0ded093b5a50ec2e547f5a35c4972690250ad260025ce1ef7c4736554b05dde9c559508b4e68ef186f5270bcd9d4ed8804e7c790690f37cf1a499491011933c9
5-
Size (rofi-1.7.9.1.tar.xz) = 813356 bytes
3+
BLAKE2s (rofi-2.0.0.tar.xz) = 51f50c6230e4e47ca657f3270960a6d6fa06f86e7b6b0a97ee7e45c1617dd46c
4+
SHA512 (rofi-2.0.0.tar.xz) = 0531f7da2a6e363b2c97c47778cadc4a84eb58903ea91ce683ff98d7c6e23172fa0df59a42f7236a4a0e80020c21c72cbc126ffe260491082ab9cc19ef6673d5
5+
Size (rofi-2.0.0.tar.xz) = 682792 bytes

rofi/options.mk

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# $NetBSD: $
2+
3+
PKG_OPTIONS_VAR= PKG_OPTIONS.rofi
4+
PKG_SUPPORTED_OPTIONS= wayland
5+
6+
.include "../../devel/wayland/platform.mk"
7+
8+
.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
9+
PKG_SUGGESTED_OPTIONS+= wayland
10+
.endif
11+
12+
.include "../../mk/bsd.options.mk"
13+
14+
.if !empty(PKG_OPTIONS:Mwayland)
15+
.include "../../devel/wayland/buildlink3.mk"
16+
.include "../../devel/wayland-protocols/buildlink3.mk"
17+
.endif

0 commit comments

Comments
 (0)