* Features/Changes - Implemented error lens. - Add Fedora spec for packaging - Add LSP stderr output to log - Truncate plugin description with ellipsis when it is too long - Add goto type definition support. (Where you can jump to the definition of the type a variable is of) - Add alpine dev-container - Add next/previous tab commands and keybindings. (Note that this is moving left/right in the tabs, not to the last used tab) - Make undo more granular - Fix alpha-depth issue in painting - Display documentation of completion items. - Add config option for cursor blink interval - Use new highlighter query for Julia - Title update - Full screen fix. Changes Lapce icon to work better on common color schemes. - Separate plugin panel into two parts, installed and uninstalled. - Custom title bar on Linux and palette bar - Preserve unsaved files when closing, which are restored when opening Lapce again - Add the ability to enable, disable, and remove plugins - Don't paint tiny tab drags - Add command to toggle inlay hints - Add daily nightly build - Don't show autocomplete after whitespace keys - Make completion/palette allow page-up/down keys - Add setting to control palette preview editor's width - Don't show autocomplete after backspacing over whitespace - Add the ability to resize editor/terminal/various splits. * Bug Fixes - Give the plugin panel a scroll bar - Check LSP capabilities before sending commands. Fixes most of Julia LSP support. - Properly check if a line is after the end of the document in line styles - Use FS module - Fix crashing on semantic tokens going past last line - Fix goto ref on single references - Reload explorer on file change, just in case our watching code didn't activate. - (LSP) Specify the workspace folder of the root uri if available. - Set the current directory when starting the LSP - Read files lossily, in case they are not UTF8. - Use UTF16 encoding for communicating with LSPs. This should fix a bunch of bugs with unicode causing RA or the editor to crash. - Fix keybinds on Mac with Command+Shift - Fix MacOS Option Key - Properly open editors when applying text edits via code actions to editors which aren't focused or open. - Prevent crash on save with multiple windows - Fix calculation of mouse down position in the problem panel - Follow system OS paths better - Proxy rewrite! This should make lock-ups not happen, and be easier to add onto. - Find box result count should use the current buffer - Pass uname as multiple args to fix WSL - Align settings button size to window controls - Don't fail on missing primary monitor - Various other bug fixes OBS-URL: https://build.opensuse.org/package/show/editors/lapce?expand=0&rev=29
80 lines
3.1 KiB
RPMSpec
80 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package lapce
|
|
#
|
|
# Copyright (c) 2022 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: lapce
|
|
Version: 0.2.0
|
|
Release: 0
|
|
Summary: Lightning-fast and Powerful Code Editor written in Rust
|
|
URL: https://github.com/lapce/lapce
|
|
License: (0BSD OR Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND MIT AND (Artistic-2.0 OR CC0-1.0) AND BSD-2-Clause AND BSD-3-Clause AND BSL-1.0 AND CC0-1.0 AND ISC AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND MPL-2.0+ AND Zlib AND zlib-acknowledgement AND Apache-2.0
|
|
Group: Productivity/Text/Editors
|
|
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
Source2: cargo_config
|
|
BuildRequires: c++_compiler
|
|
BuildRequires: c_compiler
|
|
BuildRequires: cargo-packaging
|
|
BuildRequires: cmake
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3
|
|
BuildRequires: rust >= 1.62
|
|
BuildRequires: pkgconfig(atk) >= 2.18
|
|
BuildRequires: pkgconfig(cairo) >= 1.14
|
|
BuildRequires: pkgconfig(cairo-gobject)
|
|
BuildRequires: pkgconfig(expat)
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
BuildRequires: pkgconfig(freetype2)
|
|
BuildRequires: pkgconfig(gdk-3.0) >= 3.22
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.8
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(pango) >= 1.38
|
|
BuildRequires: pkgconfig(xcb)
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
ExclusiveArch: %{rust_tier1_arches}
|
|
|
|
%description
|
|
Lapce is written in pure Rust, with the UI in Druid
|
|
It uses Xi-Editor's Rope Science for text editing, and the
|
|
Wgpu Graphics API for rendering.
|
|
|
|
%prep
|
|
%autosetup -a1
|
|
mkdir .cargo
|
|
cp %{SOURCE2} .cargo/config
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}
|
|
install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/%{name} %{buildroot}%{_bindir}/%{name}-proxy
|
|
install -Dm 0644 extra/linux/dev.%{name}.%{name}.appdata.xml %{buildroot}%{_datadir}/metainfo/dev.%{name}.%{name}.appdata.xml
|
|
install -Dm 0644 extra/linux/dev.%{name}.%{name}.desktop %{buildroot}%{_datadir}/applications/dev.%{name}.%{name}.desktop
|
|
install -Dm 0644 extra/images/dev.%{name}.%{name}.svg %{buildroot}%{_datadir}/pixmaps/dev.%{name}.%{name}.svg
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md docs
|
|
%{_bindir}/lapce
|
|
%{_bindir}/lapce-proxy
|
|
%{_datadir}/metainfo/dev.lapce.lapce.metainfo.xml
|
|
%{_datadir}/applications/dev.lapce.lapce.desktop
|
|
%{_datadir}/pixmaps/dev.lapce.lapce.svg
|
|
|
|
%changelog
|