SHA256
1
0
forked from pool/alacritty

Accepting request 717736 from home:nuklly:branches:X11:terminals

Upgrade to 0.3.3 and install the desktop files. Fix the blurred icons in KDE.

OBS-URL: https://build.opensuse.org/request/show/717736
OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=19
This commit is contained in:
Avindra Goolcharan 2019-07-24 19:19:41 +00:00 committed by Git OBS Bridge
parent ab78924c25
commit cc7654b3ca
7 changed files with 70 additions and 8 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
alacritty.ico filter=lfs diff=lfs merge=lfs -text

View File

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

3
alacritty-0.3.3.tar.gz Normal file
View File

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

View File

@ -1,3 +1,44 @@
-------------------------------------------------------------------
Mon Jul 22 13:15:34 UTC 2019 - Xu Zhao <i@xuzhao.net>
- update to 0.3.3
Added:
* Added ToggleFullscreen action
* A new window option window.startup_mode which controls how the window is created
* _NET_WM_ICON property is set on X11 now, allowing for WMs to show icons in titlebars
* Current Git commit hash to alacritty --version
* Config options window.title and window.class
* Config option working_directory
* Config group debug with the options debug.log_level, debug.print_events and debug.ref_test
* Select until next matching bracket when double-clicking a bracket
* Added foreground/background escape code request sequences
Changed:
* The start_maximized window option is now startup_mode: Maximized
* Cells with identical foreground and background will now show their text upon selection/inversion
* Default Window padding to 0x0
* Moved config option render_timer and persistent_logging to the debug group
* When the cursor is in the selection, it will be inverted again, making it visible
Fixed:
* Double-width characters in URLs only being highlit on the left half
* PTY size not getting updated when message bar is shown
* Text Cursor disappearing
* Incorrect positioning of zero-width characters over double-width characters
* Mouse mode generating events when the cell has not changed
* Selections not automatically expanding across double-width characters
* Text getting recognized as URLs without slashes separating the scheme
* URL parser dropping trailing slashes from valid URLs
* UTF-8 BOM skipped when reading config file
* Terminfo backspace escape sequence (kbs)
Removed:
* Deprecated mouse.faux_scrollback_lines config field
* Deprecated custom_cursor_colors config field
* Deprecated hide_cursor_when_typing config field
* Deprecated cursor_style config field
* Deprecated unfocused_hollow_cursor config field
* Deprecated dimensions config field
- refresh vendor.tar.xz
- fixed blurred icon on X11
-------------------------------------------------------------------
Mon May 13 14:25:40 UTC 2019 - Xaver Hellauer <xaver@hellauer.bayern>

3
alacritty.ico Normal file
View File

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

View File

@ -17,7 +17,7 @@
Name: alacritty
Version: 0.3.2
Version: 0.3.3
Release: 0
Summary: A GPU-accelerated terminal emulator
License: Apache-2.0
@ -25,11 +25,16 @@ Group: System/X11/Terminals
URL: https://github.com/jwilm/alacritty/
Source: https://github.com/jwilm/alacritty/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Source2: alacritty.ico
BuildRequires: cargo
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: freetype-devel
BuildRequires: icoutils
BuildRequires: libxcb-devel
BuildRequires: pkgconfig
BuildRequires: rust >= 1.31.0
BuildRequires: rust
BuildRequires: update-desktop-files
BuildRequires: xclip
BuildRequires: pkgconfig(fontconfig)
@ -68,6 +73,8 @@ The official zsh completion script for alacritty.
%prep
%setup -q -a1
cp --remove-destination %{S:2} extra/windows/
icotool -x -i 1 extra/windows/alacritty.ico -o extra/windows/alacritty.png
mkdir cargo-home
cat >cargo-home/config <<EOF
[source.crates-io]
@ -89,22 +96,31 @@ cargo build --release %{?_smp_mflags}
%install
export CARGO_HOME=$PWD/cargo-home
cargo install --root=%{buildroot}%{_prefix} --path=.
cargo install --root=%{buildroot}%{_prefix} --path=./alacritty
# rm duplicate license and useless toml file
rm -fr %{buildroot}%{_datadir}
rm %{buildroot}%{_prefix}/.crates.toml
# install man page and completions
install -Dm 0644 extra/linux/alacritty.desktop %{buildroot}/%{_datadir}/applications/Alacritty.desktop
install -Dm 0644 extra/windows/alacritty.png %{buildroot}/%{_datadir}/pixmaps/Alacritty.png
install -Dm 0644 extra/%{name}.man %{buildroot}/%{_mandir}/man1/%{name}.1
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}
# install desktop file
%suse_update_desktop_file Alacritty
%fdupes %{buildroot}
%files
%license LICENSE-APACHE
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/applications/Alacritty.desktop
%{_datadir}/pixmaps/Alacritty.png
%files bash-completion
%{_datadir}/bash-completion

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78f385b5a74e80ab7ab7902c3afea2ffbde87b2a686c9c5d6f53e426b1aaceef
size 221091840
oid sha256:e9e7cfc01cdd2ac166d1635f6e72b3af8c4470084a15f325df8b5a5629e4f90f
size 14842684