Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939046 - x11-misc/rofi-blocks: new package
Summary: x11-misc/rofi-blocks: new package
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-04 12:04 UTC by Nikita Zlobin
Modified: 2024-09-04 15:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
rofi-blocks-0.1.0.ebuild (rofi-blocks-0.1.0.ebuild,610 bytes, text/plain)
2024-09-04 12:04 UTC, Nikita Zlobin
Details
Live ebuild (may fail autoreconf) (rofi-blocks-9999.ebuild,671 bytes, text/plain)
2024-09-04 12:07 UTC, Nikita Zlobin
Details
1st patch (this cleanup just got in my way) (0001-cleanup.patch,1.21 KB, patch)
2024-09-04 12:08 UTC, Nikita Zlobin
Details | Diff
That bugfix I told about (0002-bugfix-Do-not-skip-incoming-json-lines.patch,6.39 KB, patch)
2024-09-04 12:10 UTC, Nikita Zlobin
Details | Diff
3rd patch (optional optimization) (0003-Speedup-input-speed-by-using-blocked-input.patch,1.99 KB, patch)
2024-09-04 12:14 UTC, Nikita Zlobin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2024-09-04 12:04:40 UTC
Created attachment 902062 [details]
rofi-blocks-0.1.0.ebuild

Rofi's own support for custom script modes is somewhat limited in capabilities.
Some issue discussions on github clearly recommend to try rofi-blocks for more scripting features.

This mode plugin allowes more mature script plugins, due to support for coprocess workflow (still allowing it to be both manager and managed), also with more commands for live update - though limited only by top-level data (still requiring full lines list for any least change in lines content).

However, current rofi-blocks version has serious bug - it ignore all but last lines when they arrive to fast (i.e. they arrive in one read call). So there's patch to fix that problem. For unknown (but not hard to guess) reason author did not react when I sent patches to him.
Comment 1 Nikita Zlobin 2024-09-04 12:07:21 UTC
Created attachment 902064 [details]
Live ebuild (may fail autoreconf)

Live ebuild. Note - commit 9044882311f11c13631697712046050c2e7cb95e is last, where autoreconf doesn't fail.
Comment 2 Nikita Zlobin 2024-09-04 12:08:54 UTC
Created attachment 902065 [details, diff]
1st patch (this cleanup just got in my way)
Comment 3 Nikita Zlobin 2024-09-04 12:10:20 UTC
Created attachment 902066 [details, diff]
That bugfix I told about
Comment 4 Nikita Zlobin 2024-09-04 12:14:05 UTC
Created attachment 902067 [details, diff]
3rd patch (optional optimization)