commit 38e3344f0a711fe8162f955296bcc325f9f9f604c833505db0e6cbcd776c8510 Author: Marcus Meissner Date: Fri May 6 07:50:33 2022 +0000 Accepting request 975171 from home:uncomfyhalomacro I want to maintain wezterm in X11:terminals OBS-URL: https://build.opensuse.org/request/show/975171 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/wezterm?expand=0&rev=1 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..315b4fd --- /dev/null +++ b/_service @@ -0,0 +1,28 @@ + + + https://github.com/wez/wezterm + @PARENT_TAG@~@TAG_OFFSET@ + git + 94bb4ad09d9f61d897c1bb73e62cc3985c372653 + * + (\d+)-(\d+)-(\w+) + \1.\2.\3 + enable + socvirnyl.estela@gmail.com + + + + *.tar + xz + + + + wezterm + xz + false + + + wezterm + + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..bb7e4a2 --- /dev/null +++ b/cargo_config @@ -0,0 +1,14 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source."https://github.com/wez/libssh-rs.git"] +git = "https://github.com/wez/libssh-rs.git" +replace-with = "vendored-sources" + +[source."https://github.com/wez/xkbcommon-rs.git"] +git = "https://github.com/wez/xkbcommon-rs.git" +rev = "5cc8f233ac2b8bfa0d7a26fd981b77e68c3f2219" +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..22546d8 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8a9a04f5f1edce8811aaa2258aa20d7147faa54d1a389f15cb0efff7a18be428 +size 48334144 diff --git a/wezterm-20220408.101518.b908e2dd~150.tar.xz b/wezterm-20220408.101518.b908e2dd~150.tar.xz new file mode 100644 index 0000000..2d94845 --- /dev/null +++ b/wezterm-20220408.101518.b908e2dd~150.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2faab943693d1522bf8449d553cdab327689a91c94f056abffdba00c99e59770 +size 96661964 diff --git a/wezterm.changes b/wezterm.changes new file mode 100644 index 0000000..f3002ef --- /dev/null +++ b/wezterm.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu May 5 10:36:05 UTC 2022 - Soc Virnyl Estela + +- Initial spec for wezterm (20220408-101518-b908e2dd~150) + diff --git a/wezterm.spec b/wezterm.spec new file mode 100644 index 0000000..5a98f0c --- /dev/null +++ b/wezterm.spec @@ -0,0 +1,95 @@ +# +# spec file for package wezterm +# +# 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: wezterm +Version: 20220408.101518.b908e2dd~150 +Release: 0 +Summary: GPU-accelerated cross-platform terminal emulator and multiplexer +URL: https://github.com/wez/wezterm +License: (Apache-2.0 OR MIT) AND BSD-3-Clause AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR BSL-1.0 OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR BSD-2-Clause) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR Zlib OR Apache-2.0) AND (Unlicense OR MIT) AND (Zlib OR Apache-2.0 OR MIT) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND LGPL-2.1-only AND MIT AND MPL-2.0 AND WTFPL AND Zlib AND MIT +Source0: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +Requires: terminfo +BuildRequires: Mesa-libEGL-devel +BuildRequires: cargo-packaging +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: hicolor-icon-theme +BuildRequires: libxkbcommon-devel +BuildRequires: libxkbcommon-x11-devel +BuildRequires: ncurses-devel +BuildRequires: perl +BuildRequires: pkgconfig +BuildRequires: python-nautilus-common-files +BuildRequires: python3 +BuildRequires: wayland-devel +BuildRequires: xcb-util-devel +BuildRequires: xcb-util-image-devel +BuildRequires: xcb-util-keysyms-devel +BuildRequires: xcb-util-wm-devel +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(tic) +BuildRequires: pkgconfig(libssh2) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(xcb) + +%description +Wezterm is a GPU-accelerated terminal emulator written in Rust. It supports +ligatures, font fallback and true color. It features dynamic color schemes, hyperlinks, +and multiplex terminal panes. + +%prep +%autosetup -a1 +mkdir -p .cargo +cp %{SOURCE2} .cargo/config +tic -vvv -x -o terminfo termwiz/data/%{name}.terminfo + +%build +%{cargo_build} + +%install +install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/wezterm %{buildroot}%{_bindir}/wezterm +install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/wezterm-gui %{buildroot}%{_bindir}/wezterm-gui +install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/wezterm-mux-server %{buildroot}%{_bindir}/wezterm-mux-server +install -Dm 0755 %{_builddir}/%{name}-%{version}/target/release/strip-ansi-escapes %{buildroot}%{_bindir}/strip-ansi-escapes + +install -Dm 0644 terminfo/w/wezterm %{buildroot}%{_datadir}/terminfo/w/wezterm +install -Dm 0644 assets/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop +install -Dm 0644 assets/icon/%{name}-icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/org.wezfurlong.%{name}.svg +install -Dm 0644 assets/%{name}.appdata.xml %{buildroot}%{_datadir}/metainfo/org.wezfurlong.%{name}.appdata.xml +install -Dm 0644 assets/shell-integration/* -t %{buildroot}%{_sysconfdir}/profile.d +install -Dm 0644 assets/%{name}-nautilus.py %{buildroot}%{_datadir}/nautilus-python/extensions/%{name}-nautilus.py + + +%files +%license LICENSE.md +%doc README.md CONTRIBUTING.md +%{_bindir}/wezterm +%{_bindir}/wezterm-gui +%{_bindir}/wezterm-mux-server +%{_bindir}/strip-ansi-escapes +%{_datadir}/terminfo/w/wezterm +%{_datadir}/applications/wezterm.desktop +%{_datadir}/icons/hicolor/scalable/apps/org.wezfurlong.wezterm.svg +%{_datadir}/metainfo/org.wezfurlong.wezterm.appdata.xml +%{_datadir}/nautilus-python/extensions/wezterm-nautilus.py +%config %{_sysconfdir}/profile.d/wezterm.sh + +%changelog