alacritty/alacritty.spec

127 lines
4.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package alacritty
#
# Copyright (c) 2020 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/
#
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
# Use hardening ldflags.
%global rustflags "-Clink-arg=-Wl,-z,relro,-z,now"
Name: alacritty
Accepting request 850669 from home:MSirringhaus:branches:X11:terminals - Update to 0.6.0 Packaging * Minimum Rust version has been bumped to 1.43.0 * The snapcraft.yaml file has been removed * Updated setab/setaf capabilities in alacritty-direct to use colons * WinPTY is now enabled only when targeting MSVC * Deprecated the WinPTY backend feature, disabling it by default Added * Secondary device attributes escape (CSI > 0 c) * Support for colon separated SGR 38/48 * New Ctrl+C binding to cancel search and leave vi mode * Escapes for double underlines (CSI 4 : 2 m) and underline reset (CSI 4 : 0 m) * Configuration file option for sourcing other files (import) * CLI parameter --option/-o to override any configuration field * Escape sequences to report text area size in pixels (CSI 14 t) and in characters (CSI 18 t) * Support for single line terminals dimensions * Right clicking on Wayland's client side decorations will show application menu * Escape sequences to enable and disable window urgency hints (CSI ? 1042 h, CSI ? 1042 l) Changed * Cursors are now inverted when their fixed color is similar to the cell's background * Use the working directory of the terminal foreground process, instead of the shell's working directory, for SpawnNewInstance action * Fallback to normal underline for unsupported underline types in CSI 4 : ? m escapes * The user's background color is now used as the foreground for the render timer * Use yellow/red from the config for error and warning messages instead of fixed colors * Existing CLI parameters are now passed to instances spawned using SpawnNewInstance OBS-URL: https://build.opensuse.org/request/show/850669 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=31
2020-11-25 10:22:49 +01:00
Version: 0.6.0
Release: 0
Summary: A GPU-accelerated terminal emulator
License: Apache-2.0
Accepting request 850669 from home:MSirringhaus:branches:X11:terminals - Update to 0.6.0 Packaging * Minimum Rust version has been bumped to 1.43.0 * The snapcraft.yaml file has been removed * Updated setab/setaf capabilities in alacritty-direct to use colons * WinPTY is now enabled only when targeting MSVC * Deprecated the WinPTY backend feature, disabling it by default Added * Secondary device attributes escape (CSI > 0 c) * Support for colon separated SGR 38/48 * New Ctrl+C binding to cancel search and leave vi mode * Escapes for double underlines (CSI 4 : 2 m) and underline reset (CSI 4 : 0 m) * Configuration file option for sourcing other files (import) * CLI parameter --option/-o to override any configuration field * Escape sequences to report text area size in pixels (CSI 14 t) and in characters (CSI 18 t) * Support for single line terminals dimensions * Right clicking on Wayland's client side decorations will show application menu * Escape sequences to enable and disable window urgency hints (CSI ? 1042 h, CSI ? 1042 l) Changed * Cursors are now inverted when their fixed color is similar to the cell's background * Use the working directory of the terminal foreground process, instead of the shell's working directory, for SpawnNewInstance action * Fallback to normal underline for unsupported underline types in CSI 4 : ? m escapes * The user's background color is now used as the foreground for the render timer * Use yellow/red from the config for error and warning messages instead of fixed colors * Existing CLI parameters are now passed to instances spawned using SpawnNewInstance OBS-URL: https://build.opensuse.org/request/show/850669 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=31
2020-11-25 10:22:49 +01:00
URL: https://github.com/alacritty/alacritty/
Source: https://github.com/alacritty/alacritty/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: vendor.tar.xz
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
Source2: cargo_config
Source3: README.suse-maint
BuildRequires: cargo
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: freetype-devel
BuildRequires: libxcb-devel
BuildRequires: pkgconfig
Accepting request 824021 from home:elimat:branches:X11:terminals - Update to 0.5.0 Packaging: * Minimum Rust version has been bumped to 1.41.0 * Prebuilt Linux binaries have been removed * Added manpage, terminfo, and completions to macOS application bundle * On Linux/BSD the build will fail without Fontconfig installed, instead of building it from source Added: * Default Command+N keybinding for SpawnNewInstance on macOS * Vi mode for regex search, copying text, and opening links * CopySelection action which copies into selection buffer on Linux/BSD * Option cursor.thickness to set terminal cursor thickness * Font fallback on Windows * Support for Fontconfig embolden and matrix options * Opt-out compilation flag winpty to disable WinPTY support * Scrolling during selection when mouse is at top/bottom of window * Expanding existing selections using single, double and triple click with the right mouse button * Support for gopher and gemini URLs * Unicode 13 support * Option to run command on bell which can be set in bell.command Changed: * Block cursor is no longer inverted at the start/end of a selection * Preserve selection on non-LMB or mouse mode clicks * Wayland client side decorations are now based on config colorscheme * Low resolution window decoration icon on Windows * Mouse bindings for additional buttons need to be specified as a number not a string * Don't hide cursor on modifier press with mouse.hide_when_typing enabled * Shift + Backspace now sends ^? instead of ^H * Default color scheme is now Tomorrow Night with the bright colors of Tomorrow Night Bright * Set IUTF8 termios flag for improved UTF8 input support * Dragging files into terminal now adds a space after each path * Default binding replacement conditions * Adjusted selection clearing granularity to more accurately match content * To use the cell's text color for selection with a modified background, the color.selection.text * variable must now be set to CellForeground instead of omitting it * URLs are no longer highlighted without a clearly delimited scheme * Renamed config option visual_bell to bell * Moved config option dynamic_title to window.dynamic_title Fixed: * Selection not cleared when switching between main and alt grid * Freeze when application is invisible on Wayland * Paste from some apps on Wayland * Slow startup with Nvidia binary drivers on some X11 systems * Display not scrolling when printing new lines while scrolled in history * Regression in font rendering on macOS * Scroll down escape (CSI Ps T) incorrectly pulling lines from history * Dim escape (CSI 2 m) support for truecolor text * Incorrectly deleted lines when increasing width with a prompt wrapped using spaces * Documentation for class in --help missing information on setting general class * Linewrap tracking when switching between primary and alternate screen buffer * Preservation of the alternate screen's saved cursor when swapping to primary screen and back * Reflow of cursor during resize * Cursor color escape ignored when its color is set to inverted in the config * Fontconfig's autohint and hinting options being ignored * Ingoring of default FreeType properties * Alacritty crashing at startup when the configured font does not exist * Font size rounding error Removed: * Environment variable RUST_LOG for selecting the log level * Deprecated window.start_maximized config field * Deprecated render_timer config field * Deprecated persistent_logging config field OBS-URL: https://build.opensuse.org/request/show/824021 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=29
2020-08-03 01:00:06 +02:00
BuildRequires: rust >= 1.41.0
BuildRequires: update-desktop-files
BuildRequires: xclip
BuildRequires: pkgconfig(fontconfig)
%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
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
%setup -qa1
mkdir .cargo
cp %{SOURCE2} .cargo/config
%ifarch aarch64 ppc64le
# Remove checksum of config.guess and config.sub since aarch64 and ppc64le modify them
sed -i 's#"expat/conftools/config.guess":"ebaffe1c6683ae2c3dcabb87825a83b892f00391514756f7640c4a3dcafbad4f",##g' ./vendor/expat-sys/.cargo-checksum.json
sed -i 's#"expat/conftools/config.sub":"523cb028db907d1fbbcecdcac6737f9e2eeba48fb639231dbc5ae69238f276c9",##g' ./vendor/expat-sys/.cargo-checksum.json
%endif
%build
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
RUSTFLAGS=%{rustflags} cargo build --release --bin alacritty
%install
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
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 man page and completions
install -Dm 0644 extra/linux/Alacritty.desktop %{buildroot}/%{_datadir}/applications/Alacritty.desktop
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
install -Dm 0644 extra/logo/alacritty-simple.svg %{buildroot}/%{_datadir}/pixmaps/Alacritty.svg
install -Dm 0644 extra/linux/io.alacritty.Alacritty.appdata.xml \
%{buildroot}/%{_datadir}/appdata/io.alacritty.Alacritty.appdata.xml
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
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
%doc alacritty.yml CHANGELOG.md CONTRIBUTING.md README.md
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/applications/Alacritty.desktop
Accepting request 760004 from home:luke_nukem:branches:X11:terminals - Update to 0.4.0 * Clean up spec file * Minimum rust version is now >= 1.36 * Include the config example as documentation * Add _service file to enable easy updates of vendored sources * Include a README.suse-maint - Added: * Block selection mode when Control is held while starting a selection * Allow setting general window class on X11 using CLI or config (window.class.general) * Config option window.gtk_theme_variant to set GTK theme variant * Completions for --class and -t (short title) * Change the mouse cursor when hovering over the message bar and its close button * Support combined bold and italic text (with font.bold_italic to customize it) * Extra bindings for F13-F20 * Terminal escape bindings with combined modifiers * Bindings for ScrollToTop and ScrollToBottom actions * ReceiveChar key binding action to insert the key's text character * New CLI flag --hold for keeping Alacritty opened after its child process exits * Escape sequence to save and restore window title from stack * Alternate scroll escape sequence (CSI ? 1007 h / CSI ? 1007 l) * Print name of launch command if Alacritty failed to execute it * Live reload font settings from config * UTF-8 mouse mode escape sequence (CSI ? 1005 h / CSI ? 1005 l) * Escape for reading clipboard (OSC 52 ; <s / p / c> ; ? BEL) * Set selection clipboard (OSC 52 ; <s / p> ; <BASE64> BEL) - Changed: * Scroll lines out of the visible region instead of deleting them when clearing the screen - Fixed: * GUI programs launched by Alacritty starting in the background on X11 * Text Cursor position when scrolling * Performance issues while resizing Alacritty * First unfullscreen action ignored on window launched in fullscreen mode * The window is now filled with the background color before displaying * Cells sometimes not getting cleared correctly * X11 clipboard hanging when mime type is set * Debug ref tests are now written to disk regardless of shutdown method * Cursor color setting with escape sequence * Override default bindings with subset terminal mode match * On Linux, respect fontconfig's embeddedbitmap configuration option * Selecting trailing tab with semantic expansion * URL parser incorrectly handling Markdown URLs and angled brackets * Intermediate bytes of CSI sequences not checked * Wayland clipboard integration * Use text mouse cursor when mouse mode is temporarily disabled with shift * Wayland primary selection clipboard not storing text when selection is stopped outside of the window * Block URL highlight while a selection is active * Bindings for Alt + F1-F12 * Discard scrolling region escape with bottom above top * Opacity always applying to cells with their background color matching the teriminal background * Allow semicolons when setting titles using an OSC * Background always opaque on X11 * Skipping redraws on PTY update * Not redrawing while resizing on Windows/macOS * Decorations none launching an invisible window on Windows * Alacritty turning transparent when opening another window on macOS with chunkwm * Startup mode Maximized having no effect on Windows * Inserting Emojis using Super+. or compose sequences on Windows * Change mouse cursor depending on mode with Wayland * Hide mouse cursor when typing if the mouse.hide_when_typing option is set on Wayland * Glitches when DPI changes on Windows * Crash when resuming after suspension * Crash when trying to start on X11 with a Wayland compositor running * Crash with a virtual display connected on X11 * Use \ instead of \\ as path separators on Windows for logging config file location * Underline/strikeout drawn above visual bell * Terminal going transparent during visual bell * Selection not being cleared when sending chars through a binding * Mouse protocols/encodings not being mutually exclusive within themselves * Escape CSI Ps M deleting lines above cursor when at the bottom of the viewport * Cell reset not clearing underline, strikeout and foreground color * Escape CSI Ps c honored with a wrong Ps * Ignore ESC escapes with invalid intermediates * Blank lines after each line when pasting from GTK apps on Wayland - Removed: * Bindings for Super/Command + F1-F12 * Automatic config generation * Deprecated scrolling.faux_multiplier, the alternate scroll escape can now be used to disable it and scrolling.multiplier controls the number of scrolled lines OBS-URL: https://build.opensuse.org/request/show/760004 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/alacritty?expand=0&rev=21
2020-01-06 06:19:53 +01:00
%{_datadir}/pixmaps/Alacritty.svg
%{_datadir}/appdata/io.alacritty.Alacritty.appdata.xml
%files bash-completion
%{_datadir}/bash-completion
%files fish-completion
%{_datadir}/fish
%files zsh-completion
%{_datadir}/zsh
%changelog