pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

rofi: update to 2.0.0



Module Name:	pkgsrc-wip
Committed By:	kikadf <kikadf.01%gmail.com@localhost>
Pushed By:	kikadf
Date:		Fri Jan 23 18:41:43 2026 +0100
Changeset:	2616e6c970d67d778cd5060c4259bfed501c5fb2

Modified Files:
	rofi/Makefile
	rofi/distinfo
Added Files:
	rofi/COMMIT_MSG
	rofi/options.mk

Log Message:
rofi: update to 2.0.0

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2616e6c970d67d778cd5060c4259bfed501c5fb2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rofi/COMMIT_MSG | 31 +++++++++++++++++++++++++++++++
 rofi/Makefile   |  9 ++++-----
 rofi/distinfo   |  6 +++---
 rofi/options.mk | 17 +++++++++++++++++
 4 files changed, 55 insertions(+), 8 deletions(-)

diffs:
diff --git a/rofi/COMMIT_MSG b/rofi/COMMIT_MSG
new file mode 100644
index 0000000000..ecde9c4ebd
--- /dev/null
+++ b/rofi/COMMIT_MSG
@@ -0,0 +1,31 @@
+x11/rofi: update to 2.0.0
+
+* 2.0.0
+In this release we merged back lbonn his great wayland port of rofi into mainline.
+Wayland is now an officially supported backend.
+
+With the merge of the wayland backend, for ease of maintenance, we dropped the
+autotools build system. We now only support the meson build system.
+
+You can build rofi with only X11 or Wayland. It also supports or both backends
+enabled, where it automatically select the right backend.
+
+To help bug reports, we added the command rofi -info.
+This will print the selected backends. Compilation options, loaded plugins,
+scripts and more.
+
+Known issues:
+
+With wayland, rofi only knows after the first surface is drawn, what the dpi and
+scale is. Because of this, it might need to redraw/resize elements (icons/text)
+after displaying. This can generate a weird 'flicker' on startup. It will first
+load a lower resolution version of the icons (that the window manager scales
+up), then it gets updated with the real resolution and it then loads full
+resolution icons. Because icon loading is asynchronous, they will disappear and
+re-appear. Issue: #2165
+
+It is currently not possible, in a reliable way, to detect out of window clicks.
+So under wayland this feature currently does not work. Issue: #2158
+
+
+
diff --git a/rofi/Makefile b/rofi/Makefile
index 413b9c98e1..6b22f40c6a 100644
--- a/rofi/Makefile
+++ b/rofi/Makefile
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.48 2026/01/07 08:49:47 wiz Exp $
 
-DISTNAME=	rofi-1.7.9.1
-PKGREVISION=	3
+DISTNAME=	rofi-2.0.0
 CATEGORIES=	x11
 MASTER_SITES=	${MASTER_SITE_GITHUB:=davatorium/}
 # We need to specify this way to get submodules fetched
@@ -15,14 +14,14 @@ LICENSE=	x11
 
 USE_TOOLS+=	pkg-config bash:run flex bison
 
-GNU_CONFIGURE=		yes
-CONFIGURE_ARGS+=	YACC='bison -y'
-
 REPLACE_BASH+=	script/rofi-sensible-terminal
 REPLACE_BASH+=	script/rofi-theme-selector
 
 TEST_TARGET=	check
 
+.include "options.mk"
+
+.include "../../devel/meson/build.mk"
 .include "../../devel/check/buildlink3.mk"
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/pango/buildlink3.mk"
diff --git a/rofi/distinfo b/rofi/distinfo
index 2ab0528536..ded49b5158 100644
--- a/rofi/distinfo
+++ b/rofi/distinfo
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.9 2025/06/02 00:40:35 gutteridge Exp $
 
-BLAKE2s (rofi-1.7.9.1.tar.xz) = 124322ae4c3c205de010fa153a5f20025c160c2dae69b9c921a0edb7681c3758
-SHA512 (rofi-1.7.9.1.tar.xz) = 0ded093b5a50ec2e547f5a35c4972690250ad260025ce1ef7c4736554b05dde9c559508b4e68ef186f5270bcd9d4ed8804e7c790690f37cf1a499491011933c9
-Size (rofi-1.7.9.1.tar.xz) = 813356 bytes
+BLAKE2s (rofi-2.0.0.tar.xz) = 51f50c6230e4e47ca657f3270960a6d6fa06f86e7b6b0a97ee7e45c1617dd46c
+SHA512 (rofi-2.0.0.tar.xz) = 0531f7da2a6e363b2c97c47778cadc4a84eb58903ea91ce683ff98d7c6e23172fa0df59a42f7236a4a0e80020c21c72cbc126ffe260491082ab9cc19ef6673d5
+Size (rofi-2.0.0.tar.xz) = 682792 bytes
diff --git a/rofi/options.mk b/rofi/options.mk
new file mode 100644
index 0000000000..06c9a7fb2f
--- /dev/null
+++ b/rofi/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.rofi
+PKG_SUPPORTED_OPTIONS=	wayland
+
+.include "../../devel/wayland/platform.mk"
+
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+=	wayland
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mwayland)
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.endif


Home | Main Index | Thread Index | Old Index