forked from pool/fuzzel
- Added:
* Nanosvg updated to 93ce879dc4c04a3ef1758428ec80083c38610b1f
* New options `--x-margin` `--y-margin` which place the launcher some
distance away from the anchor point, in pixels. Default to 0
([#344][344]).
* Support for the `StartupNotify` key in `.desktop` files.
* Log output now respects the [`NO_COLOR`](http://no-color.org/)
environment variable.
* Rounded corners without cairo. With this, the **only** time cairo is
needed is when you want to use the librsvg SVG backend. For nanosvg
builds, there is no longer any need to link against cairo.
* Support for linking against a system provided nanosvg library. See
the new `-Dsystem-nanosvg` meson option. Default's to `disabled`
(i.e. use the bundled version).
* Mouse support. Left click selects/launches, right click quits
fuzzel, wheel scrolls (a page at at time). This is, for the time
being, not configurable ([#131][131])
* `--cache=PATH` command line option, and `cache` option to
`fuzzel.ini`, allowing a custom cache location to be used
([#189][189], [#219][219]).
* `expunge` key binding, to remove an entry from the cache. Mapped to
shift+delete by default.
* `--prompt-color` and `colors.prompt`, controlling the
text/foreground color of the prompt ([#365][365]).
* `--input-color` and `colors.input`, controlling the text/foreground
color of the input string ([#365][365]).
* Much improved performance with large amounts of input ([#305][305]).
* Improved rendering performance, by using threads. See the new
`--render-workers` command line option, and the new `render-workers`
option in `fuzzel.ini`.
* dmenu mode: `--prompt-only=PROMPT` command line option
([#276][276]).
* dmenu mode: start rendering input before STDIN has been closed.
* `--match-workers` command line option and the new `match-workers`
option in `fuzzel.ini`.
* `delayed-filter-ms`, `delayed-filter-limit` options to `fuzzel.ini`,
and `--delayed-filter-ms` and `--delayed-filter-limit` command line
options.
* Match count can now printed at the right-hand side of the input
prompt. It is disabled by default, and can be enabled with either
the `--counter` command line option, or the `match-counter` setting
in `fuzzel.ini`.
* `--counter-color` and `colors.counter`, controlling the color of the
match count. The default value is `93a1a1ff` (_base1_ in the
solarized palette).
* The currently selected entry may now be rendered with a bold
font. It is disabled by default, and can be enabled either via the
new `--use-bold` command line option, or by setting `use-bold=yes`,
in `fuzzel.ini`.
* `sort-result` option to `fuzzel.ini`, and `--no-sort` command line
option.
* Placeholder text (for the input box), controlled by the new
`--placeholder`, `--placeholder-color` command line options, and the
`placeholder` and `colors.placeholder` options in `fuzzel.ini`
([#188][188]).
* `--search=TEXT` command line option, allowing you to "pre-filter"
the result ([#][274][274]).
* Support for pasting text into fuzzel. Both the regular clipboard,
and the primary clipboard are supported. See the new
`clipboard-paste` and `primary-paste` key bindings ([#200][200]).
- Changed:
* The cache now stores desktop file **IDs** instead of the application
titles. This way, we do not store multiple cache entries with the
same value (title) ([#339][339]).
* Always fallback on the icon theme `hicolor`.
* Quitting without executing an entry in dmenu mode now exits with
code 2 instead of 1 ([#353][353]).
* The default `layer` is now `overlay` instead of `top`. This means
fuzzel now renders on top of fullscreen windows by default
([#81][81]).
* `--no-fuzzy` option has been replaced with `--match-mode`.
Default match mode is `fzf`. Other options are `fuzzy` and `exact`. See
`man fuzzel.ini` for details.
([#305][305]).
* Default text color of the prompt and the selected entry to
`586e75ff` (_base01_ in the solarized palette).
* Initial application sorting is now done case insensitive.
* Background is no longer transparent by default. You can change this
by setting `colors.background`.
* Search string is now font shaped, improving support for e.g Arabic
([#398][398]).
- Fixed:
* PNG images being way too dark.
* Crash when the cache contains strings that are not valid in the
current locale ([#337][337]).
* Crash when `tabs` (in `fuzzel.ini`) is set to `0` ([#348][348]).
* Crash while loading the cache, when `--list-executables-in-path` is
used ([#356][356])
* Rounding of window size when fractional scaling is used.
* Dmenu mode failing with _"failed to read from stdin: Resource
temporarily unavailable"_.
* First frame flickers when fractional scaling is used.
* Borders, padding etc not updated on scale changes when
`dpi-aware=yes`. This mostly affected setups using fractional
scaling, but all setups were affected in one way or another.
* Mouse selection not working correctly (wrong item selected) when
`dpi-aware=yes` and desktop scaling was enabled.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/fuzzel?expand=0&rev=29
115 lines
3.4 KiB
RPMSpec
115 lines
3.4 KiB
RPMSpec
#
|
|
# spec file for package fuzzel
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: fuzzel
|
|
Version: 1.11.0
|
|
Release: 0
|
|
Summary: A Wayland-native application launcher, similar to rofi's drun mode
|
|
License: MIT
|
|
Group: System/X11/Utilities
|
|
URL: https://codeberg.org/dnkl/fuzzel
|
|
Source: https://codeberg.org/dnkl/fuzzel/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Source1: https://codeberg.org/dnkl/fuzzel/releases/download/%{version}/%{name}-%{version}.tar.gz.sig
|
|
# https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb19964fbba09664cc81027ed5bbd4992c116573f
|
|
Source2: %{name}.keyring
|
|
BuildRequires: meson >= 0.58
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3
|
|
BuildRequires: scdoc
|
|
BuildRequires: pkgconfig(cairo)
|
|
BuildRequires: pkgconfig(fcft) < 4.0.0
|
|
BuildRequires: pkgconfig(fcft) >= 3.0.0
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
BuildRequires: pkgconfig(tllist) >= 1.0.1
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
BuildRequires: pkgconfig(wayland-protocols)
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
%if 0%{?sle_version} >= 150400
|
|
BuildRequires: gcc11
|
|
%else
|
|
BuildRequires: gcc >= 8
|
|
%endif
|
|
|
|
%description
|
|
A Wayland-native application launcher, similar to rofi's drun mode.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%package zsh-completion
|
|
Summary: Zsh Completion for %{name}
|
|
Group: System/Shells
|
|
Supplements: (%{name} and zsh)
|
|
Requires: zsh
|
|
|
|
%description zsh-completion
|
|
Zsh command-line completion support for %{name}
|
|
|
|
%package fish-completion
|
|
Summary: Fish Completion for %{name}
|
|
Group: System/Shells
|
|
Supplements: (%{name} and fish)
|
|
Requires: fish
|
|
BuildArch: noarch
|
|
|
|
%description fish-completion
|
|
Fish command-line completion support for %{name}.
|
|
|
|
%build
|
|
export CFLAGS="%{optflags}"
|
|
%meson \
|
|
-Denable-cairo=enabled -Dpng-backend=libpng -Dsvg-backend=nanosvg \
|
|
%if 0%{?sle_version} == 150400 && 0%{?is_opensuse}
|
|
# For whatever reason, meson >= 0.58 should already support the c18 standard.
|
|
-Dc_std=c11 \
|
|
%endif
|
|
-Db_lto=true
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%files
|
|
%dir %{_datadir}/doc/%{name}
|
|
%license %{_datadir}/doc/%{name}/LICENSE
|
|
%doc %{_datadir}/doc/%{name}/README.md
|
|
%{_datadir}/doc/%{name}/CHANGELOG.md
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
%{_mandir}/man5/%{name}.ini.5%{?ext_man}
|
|
|
|
%dir %{_sysconfdir}/xdg/%{name}
|
|
%config(noreplace) %{_sysconfdir}/xdg/%{name}/%{name}.ini
|
|
|
|
%files zsh-completion
|
|
%dir %{_datadir}/zsh/
|
|
%dir %{_datadir}/zsh/site-functions
|
|
%{_datadir}/zsh/site-functions/_%{name}
|
|
|
|
%files fish-completion
|
|
%dir %{_datadir}/fish
|
|
%dir %{_datadir}/fish/vendor_completions.d
|
|
%{_datadir}/fish/vendor_completions.d/fuzzel.fish
|
|
|
|
%changelog
|