Update to version 0.15.0

OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=90
This commit is contained in:
JL K 2025-01-14 14:53:54 +00:00 committed by Git OBS Bridge
commit afe45763c3
13 changed files with 1395 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

22
README.suse-maint Normal file
View File

@ -0,0 +1,22 @@
To update this package to a new upstream release, run:
$ current_version=$(ls alacritty-*.tar.xz)
$ osc service manualrun
This should be enough do make a tarball out of the GitHub source tree AND
vendor all the needed Rust crates. If the cargo-audit source service detect
some bad enough vulnerability and give you the red light go visit
https://github.com/openSUSE/obs-service-cargo_audit to further instructions,
and/or contact the Alacritty maintainers.
Otherwise you should be good to go:
$ rm ${current_version}; osc addremove
# If you have the power to build locally:
$ osc build
$ new_version=$(ls alacritty-*.tar.xz)
$ osc ci -m "Update to ${new_version} release"
$ osc sr -m "Update to ${new_version} release"

9
_constraints Normal file
View File

@ -0,0 +1,9 @@
<?xml version="1.0"?>
<constraints>
<hardware>
<memory>
<size unit="G">8</size>
</memory>
</hardware>
</constraints>

41
_service Normal file
View File

@ -0,0 +1,41 @@
<!-- vim: set syntax=xml: -->
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/alacritty/alacritty.git</param>
<param name="revision">refs/tags/v0.15.0</param>
<param name="match-tag">v*</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="exclude">.builds</param>
<param name="exclude">.github</param>
<param name="exclude">.agignore</param>
<param name="exclude">.editorconfig</param>
<param name="exclude">.gitattributes</param>
<param name="exclude">Makefile</param>
<param name="exclude">rustfmt.toml</param>
<param name="exclude">alacritty/src/macos</param>
<param name="exclude">alacritty_terminal/src/tty/windows</param>
<param name="exclude">extra/windows</param>
<param name="exclude">extra/osx</param>
<!--
smell: logo is required for build
<param name="exclude">extra/logo</param>
-->
<param name="exclude">alacritty_terminal/tests</param>
</service>
<service name="tar" mode="manual"/>
<service name="recompress" mode="manual">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual"/>
<service name="cargo_vendor" mode="manual">
<param name="src">alacritty*.tar.*</param>
<param name="update">true</param>
<param name="filter">true</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/alacritty/alacritty.git</param>
<param name="changesrevision">53395536aa4ebebcbc0431e7336c2a6857efcff5</param></service></servicedata>

3
alacritty-0.13.2.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d1057cbfd18948d69ca060d892f02ebff804f3e3fc8b00c13a589e67fe2ee5a
size 1176737

3
alacritty-0.14.0.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:191bd338f07d0c6060d43d7c0c0bce977e03582015c0c817deccec4ce6acccb6
size 1182323

3
alacritty-0.15.0.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d3b12de263e3b9613ea28361da76f56492aec0f9c53461ef4a8133721a5bedd9
size 1183314

1147
alacritty.changes Normal file

File diff suppressed because it is too large Load Diff

4
alacritty.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: alacritty
version: 0.15.0
mtime: 1736800370
commit: 53395536aa4ebebcbc0431e7336c2a6857efcff5

132
alacritty.spec Normal file
View File

@ -0,0 +1,132 @@
#
# spec file for package alacritty
#
# Copyright (c) 2025 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: alacritty
Version: 0.15.0
Release: 0
Summary: A GPU-accelerated terminal emulator
License: Apache-2.0
URL: https://github.com/alacritty/alacritty
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source3: README.suse-maint
BuildRequires: cargo-packaging
BuildRequires: fdupes
BuildRequires: libxcb-devel
BuildRequires: libxkbcommon-devel
BuildRequires: pkgconfig
BuildRequires: rust >= 1.74
BuildRequires: scdoc
BuildRequires: update-desktop-files
BuildRequires: xclip
BuildRequires: pkgconfig(fontconfig)
# taken from vendor/freetype-sys/build.rs
BuildRequires: pkgconfig(freetype2) >= 24.3.18
Suggests: terminfo
%description
Alacritty is a terminal emulator written in Rust that leverages the GPU for
rendering.
%package bash-completion
Summary: Bash Completion for %{name}
Requires: bash-completion
Supplements: (%{name} and bash)
BuildArch: noarch
%description bash-completion
The official bash completion script for alacritty. It includes support
for every argument that can currently be passed to alacritty.
%package fish-completion
Summary: Fish Completion for %{name}
Supplements: (%{name} and fish)
BuildArch: noarch
%description fish-completion
The official fish completion script for alacritty.
%package zsh-completion
Summary: ZSH Completion for %{name}
Supplements: (%{name} and zsh)
BuildArch: noarch
%description zsh-completion
The official zsh completion script for alacritty.
%prep
%autosetup -a1
%build
%{cargo_build}
%install
mkdir -p "%{buildroot}%{_bindir}"
install -D -m 0755 target/release/alacritty %{buildroot}%{_bindir}/alacritty
# rm duplicate license and useless toml file
rm -fr %{buildroot}%{_datadir}
# install completions
install -Dm 0644 extra/linux/Alacritty.desktop \
%{buildroot}/%{_datadir}/applications/Alacritty.desktop
install -Dm 0644 extra/logo/alacritty-simple.svg \
%{buildroot}/%{_datadir}/pixmaps/Alacritty.svg
install -Dm 0644 extra/linux/org.alacritty.Alacritty.appdata.xml \
%{buildroot}/%{_datadir}/appdata/org.alacritty.Alacritty.appdata.xml
install -Dm 0644 extra/completions/%{name}.bash \
%{buildroot}/%{_datadir}/bash-completion/completions/%{name}
install -Dm 0644 extra/completions/%{name}.fish \
%{buildroot}/%{_datadir}/fish/vendor_completions.d/%{name}.fish
install -Dm 0644 extra/completions/_%{name} \
%{buildroot}/%{_datadir}/zsh/site-functions/_%{name}
# build and install manpages
mkdir -p %{buildroot}%{_mandir}/man{1,5}
scdoc < extra/man/%{name}.1.scd > %{buildroot}%{_mandir}/man1/%{name}.1
scdoc < extra/man/%{name}-msg.1.scd > %{buildroot}%{_mandir}/man1/%{name}-msg.1
scdoc < extra/man/%{name}.5.scd > %{buildroot}%{_mandir}/man5/%{name}.5
scdoc < extra/man/%{name}-bindings.5.scd > %{buildroot}%{_mandir}/man5/%{name}-bindings.5
# install desktop file
%suse_update_desktop_file Alacritty
%fdupes %{buildroot}%{_datadir}
%files
%license LICENSE-APACHE
%doc CHANGELOG.md CONTRIBUTING.md README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_mandir}/man1/%{name}-msg.1%{?ext_man}
%{_mandir}/man5/%{name}.5%{?ext_man}
%{_mandir}/man5/%{name}-bindings.5%{?ext_man}
%{_datadir}/applications/Alacritty.desktop
%{_datadir}/pixmaps/Alacritty.svg
%{_datadir}/appdata/org.alacritty.Alacritty.appdata.xml
%files bash-completion
%{_datadir}/bash-completion
%files fish-completion
%{_datadir}/fish
%files zsh-completion
%{_datadir}/zsh
%changelog

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d9f03e004947399d6f746cbbc4a029e1951afe7d843df26f75d1d9676fc614ee
size 10326908