commit f8064e1a989bda09ac719e624c2b1304742dd8c52b88bb60ed66bd7cf62298e0 Author: Jianhua Lu Date: Fri Sep 13 08:29:43 2024 +0000 - fix build on Leap 15.5 OBS-URL: https://build.opensuse.org/package/show/editors/neovide?expand=0&rev=7 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..5c9fcd3 --- /dev/null +++ b/_service @@ -0,0 +1,19 @@ + + + + https://github.com/neovide/neovide.git + @PARENT_TAG@ + @PARENT_TAG@ + git + enable + + + + + *.tar + zstd + + + neovide + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..51a5e0d --- /dev/null +++ b/_servicedata @@ -0,0 +1,6 @@ + + + https://github.com/neovide/neovide.git + 9c23c432b8105f39d9e9ddc2732d3350a0323cc9 + + \ No newline at end of file diff --git a/neovide-0.13.3.tar.zst b/neovide-0.13.3.tar.zst new file mode 100644 index 0000000..d3ae2cb --- /dev/null +++ b/neovide-0.13.3.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08b75a137c9697f9f05c20390e9b2fbcab9868b9c563455ea0db5b97e9be096e +size 25549299 diff --git a/neovide.changes b/neovide.changes new file mode 100644 index 0000000..8cd5c7c --- /dev/null +++ b/neovide.changes @@ -0,0 +1,36 @@ +------------------------------------------------------------------- +Fri Sep 13 08:00:58 UTC 2024 - Jianhua Lu + +- fix build on Leap 15.5 + +------------------------------------------------------------------- +Wed Sep 11 13:58:01 UTC 2024 - Jianhua Lu + +- format spec file +- add neovim as requires + +------------------------------------------------------------------- +Fri Sep 6 12:45:21 UTC 2024 - Jianhua Lu + +- Fix build on Leap 15.6 +- Add x86_64 and aarch64 to ExclusiveArch + +------------------------------------------------------------------- +Thu Sep 05 09:54:21 UTC 2024 - lujianhua000@gmail.com + +- Update to version 0.13.3: + * Release 0.13.3 (#2713) + * fix: use pre-defined font weights only if user does not specify one (#2710) + * Release 0.13.2 (#2697) + * feat: update deployment scripts for macOS .dmg creation (#2700) + * Unset ARGV0 to fix AppImage launch (#2691) + * fix: Fix the remote clipboard support (#2696) + * Ensure that the mouse position is positive (#2690) + * fix: A smal tweak to how the baseline offset and underline position is calculated (#2687) + * fix: update the ui command to use tabs based on settings (#2692) + * fix: Ensure windows settings are initialized when the window is created (#2619) + +------------------------------------------------------------------- +Thu Sep 5 01:30:05 UTC 2024 - Jianhua Lu + +- New package neovide diff --git a/neovide.obsinfo b/neovide.obsinfo new file mode 100644 index 0000000..187c2df --- /dev/null +++ b/neovide.obsinfo @@ -0,0 +1,4 @@ +name: neovide +version: 0.13.3 +mtime: 1721120750 +commit: 9c23c432b8105f39d9e9ddc2732d3350a0323cc9 diff --git a/neovide.spec b/neovide.spec new file mode 100644 index 0000000..b08347e --- /dev/null +++ b/neovide.spec @@ -0,0 +1,82 @@ +# +# spec file for package neovide +# +# Copyright (c) 2024 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/ +# + + +%define skia_version m126-0.74.2 +%define wuffs_commit e3f919ccfe3ef542cfc983a82146070258fb57f8 + +Name: neovide +Version: 0.13.3 +Release: 0 +Summary: Neovim gui +License: MIT +URL: https://github.com/neovide/neovide +Source0: %{name}-%{version}.tar.zst +Source1: vendor.tar.zst +Source2: https://github.com/rust-skia/skia/archive/m126-0.74.2/skia-%{skia_version}.tar.gz +Source3: https://github.com/google/wuffs-mirror-release-c/archive/%{wuffs_commit}/wuffs-%{wuffs_commit}.tar.gz +BuildRequires: cargo-packaging +BuildRequires: cargo >= 1.80 +BuildRequires: clang +BuildRequires: gcc-c++ +BuildRequires: gn +BuildRequires: hicolor-icon-theme +BuildRequires: ninja +BuildRequires: pkgconfig(expat) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) +BuildRequires: pkgconfig(harfbuzz) +BuildRequires: pkgconfig(icu-uc) +BuildRequires: pkgconfig(libjpeg) +BuildRequires: pkgconfig(libpng) +BuildRequires: pkgconfig(zlib) +%if 0%{?suse_version} && 0%{?suse_version} < 1550 +# clang++ needs gcc13 c++ headers to compile skia on Leap 15.6 +BuildRequires: libstdc++6-devel-gcc13 +%endif +Requires: neovim >= 0.10.0 + +ExclusiveArch: x86_64 aarch64 + +%description +No Nonsense Neovim Client in Rust + +%prep +%setup -q -a 1 -a 2 -a 3 +mkdir -p skia-%{skia_version}/third_party/externals/ +mv wuffs-mirror-release-c-%{wuffs_commit} skia-%{skia_version}/third_party/externals/wuffs + +%build +export SKIA_SOURCE_DIR=${PWD}/skia-%{skia_version} +export SKIA_USE_SYSTEM_LIBRARIES=true +export SKIA_NINJA_COMMAND=ninja +export SKIA_GN_COMMAND=gn +%{cargo_build} + +%install +install -Dm755 target/release/neovide %{buildroot}%{_bindir}/neovide +install -Dm644 assets/neovide.desktop %{buildroot}%{_datadir}/applications/neovide.desktop +install -Dm644 assets/neovide.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/neovide.svg + +%files +%doc README.md +%license LICENSE +%{_bindir}/neovide +%{_datadir}/applications/neovide.desktop +%{_datadir}/icons/hicolor/scalable/apps/neovide.svg + +%changelog diff --git a/skia-m126-0.74.2.tar.gz b/skia-m126-0.74.2.tar.gz new file mode 100644 index 0000000..e5578fa --- /dev/null +++ b/skia-m126-0.74.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9bb27363dbd5823696bf940542fe57e45a10ffa3b4aeab070c25f7108cec3054 +size 67676489 diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..5910cec --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f80e57910d0818e112ec73cef890a95c07bc3212966f7bb378d0f6ab684cf48 +size 42845482 diff --git a/wuffs-e3f919ccfe3ef542cfc983a82146070258fb57f8.tar.gz b/wuffs-e3f919ccfe3ef542cfc983a82146070258fb57f8.tar.gz new file mode 100644 index 0000000..c4bcbb0 --- /dev/null +++ b/wuffs-e3f919ccfe3ef542cfc983a82146070258fb57f8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e849dab1f372f16b782ba7528e7f70281e35425bd2d644c92a36fb95909f98db +size 329864