* foot.ini options:
* Added new colors{,2}.dim-blend-towards options to select which color to
blend towards when dimming text. Defaults to black for colors and
white for colors2.
* Added new tweak.min-stride-alignment option to control the stride of
SHM buffers. This controls whether the compositor can directly import
the buffers into the GPU without copying.
* Fixed URL labels being misplaced when the URL contains
double-width characters.
* Fixed spaces being missing when copying or piping contents with tabs.
* See https://codeberg.org/dnkl/foot/releases/tag/1.25.0 for more details.
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/foot?expand=0&rev=97
136 lines
3.8 KiB
RPMSpec
136 lines
3.8 KiB
RPMSpec
#
|
|
# spec file for package foot
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%if 0%{?suse_version} < 1550
|
|
%define _distconfdir %{_sysconfdir}
|
|
%endif
|
|
Name: foot
|
|
Version: 1.25.0
|
|
Release: 0
|
|
Summary: A Wayland terminal emulator
|
|
License: MIT
|
|
URL: https://codeberg.org/dnkl/foot
|
|
Source: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
|
|
Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz.sig
|
|
# https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xb19964fbba09664cc81027ed5bbd4992c116573f
|
|
Source2: %{name}.keyring
|
|
Requires: terminfo
|
|
%if 0%{?suse_version} < 1600
|
|
Requires: utempter
|
|
%endif
|
|
BuildRequires: meson >= 0.59
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3
|
|
BuildRequires: scdoc
|
|
BuildRequires: pkgconfig(fcft) < 4.0.0
|
|
BuildRequires: pkgconfig(fcft) >= 3.3.1
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
BuildRequires: pkgconfig(libutf8proc)
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
BuildRequires: pkgconfig(systemd)
|
|
BuildRequires: pkgconfig(tic)
|
|
BuildRequires: pkgconfig(tllist) >= 1.1.0
|
|
BuildRequires: pkgconfig(wayland-client)
|
|
BuildRequires: pkgconfig(wayland-cursor)
|
|
BuildRequires: pkgconfig(wayland-protocols) >= 1.41
|
|
BuildRequires: pkgconfig(wayland-scanner)
|
|
BuildRequires: pkgconfig(xkbcommon) >= 1.0.0
|
|
|
|
%description
|
|
A Wayland terminal emulator.
|
|
|
|
%package extra-terminfo
|
|
|
|
Summary: Extra terminfo files for the foot terminal emulator
|
|
BuildArch: noarch
|
|
|
|
%description extra-terminfo
|
|
This package contains extra terminfo files for the foot terminal emulator
|
|
that provide more features than the files in the terminfo-base package.
|
|
Set term=foot-extra or term=foot-extra-direct in foot.ini to
|
|
take advantage of the files in this package.
|
|
|
|
%package themes
|
|
|
|
Summary: Community-contributed themes for the foot terminal emulator
|
|
Requires: foot
|
|
BuildArch: noarch
|
|
|
|
%description themes
|
|
This package contains popular themes for the foot terminal emulator providing
|
|
users an easy way to theme foot.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson \
|
|
--sysconfdir "%{_distconfdir}" \
|
|
-Db_lto=true \
|
|
-Ddocs=enabled \
|
|
-Dgrapheme-clustering=enabled \
|
|
-Dime=true \
|
|
-Dterminfo=enabled \
|
|
-Dterminfo-base-name=foot-extra \
|
|
-Dthemes=true \
|
|
%if 0%{?suse_version} < 1600
|
|
-Dutmp-backend=libutempter \
|
|
-Dutmp-default-helper-path=%{_libexecdir}/utempter/utempter
|
|
%else
|
|
-Dutmp-backend=none
|
|
%endif
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
rm -r %{buildroot}/%{_datadir}/doc/%{name}/
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md CHANGELOG.md
|
|
%{_bindir}/foot
|
|
%{_bindir}/footclient
|
|
%{_datadir}/applications/foot.desktop
|
|
%{_datadir}/applications/footclient.desktop
|
|
%{_datadir}/applications/foot-server.desktop
|
|
%{_datadir}/bash-completion/
|
|
%{_datadir}/fish/
|
|
%{_datadir}/zsh/
|
|
%{_datadir}/icons/hicolor/
|
|
%dir %{_distconfdir}/xdg/%{name}
|
|
%{_distconfdir}/xdg/%{name}/foot.ini
|
|
%{_mandir}/man1/foot.1.gz
|
|
%{_mandir}/man1/footclient.1.gz
|
|
%{_mandir}/man5/foot.ini.5.gz
|
|
%{_mandir}/man7/foot-ctlseqs.7.gz
|
|
%{_userunitdir}/foot-server.service
|
|
%{_userunitdir}/foot-server.socket
|
|
|
|
%files extra-terminfo
|
|
%{_datadir}/terminfo/f/foot-extra
|
|
%{_datadir}/terminfo/f/foot-extra-direct
|
|
|
|
%files themes
|
|
%dir %{_datadir}/%{name}
|
|
%{_datadir}/%{name}/themes
|
|
|
|
%changelog
|