From 8b29fa496cdcd7b3af9dc45579d165921c93f77d808bb66f34bfdf8d3355af27 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 26 Oct 2022 16:07:49 +0000 Subject: [PATCH] Accepting request 1031371 from home:bverhagen:zutty I want to maintain zutty in Factory and would like to use X11:terminals as the devel/feeder project. Build errors are fixed, source url and changelog are adapted OBS-URL: https://build.opensuse.org/request/show/1031371 OBS-URL: https://build.opensuse.org/package/show/X11:terminals/zutty?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++++ .gitignore | 1 + zutty-0.13.tar.gz | 3 +++ zutty.changes | 6 ++++++ zutty.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 85 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 zutty-0.13.tar.gz create mode 100644 zutty.changes create mode 100644 zutty.spec 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/zutty-0.13.tar.gz b/zutty-0.13.tar.gz new file mode 100644 index 0000000..244eb1c --- /dev/null +++ b/zutty-0.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:477b94d05ac184e16c269bfa32ef26e5c88242b3c44a5c7ede65a1c19d6ada2b +size 352727 diff --git a/zutty.changes b/zutty.changes new file mode 100644 index 0000000..c836a00 --- /dev/null +++ b/zutty.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Tue Oct 25 20:18:33 UTC 2022 - Bart Verhagen - 0.13 + +- Packaged zutty terminal emulator version 0.13 +- Add support for openSUSE Tumbleweed +- Add support for openSUSE Leap 15.2 - 15.4 diff --git a/zutty.spec b/zutty.spec new file mode 100644 index 0000000..82e7ab6 --- /dev/null +++ b/zutty.spec @@ -0,0 +1,52 @@ +# +# spec file for package zutty +# +# 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: zutty +Version: 0.13 +Release: 0 +Summary: A high-end terminal for low-end systems + +License: GPL-3.0-or-later+ +Group: System/X11/Terminals +URL: https://github.com/tomscii/zutty/archive/refs/tags/%version.tar.gz#zutty-%version.tar.gz +Source0: %{name}-%{version}.tar.gz +# Note: Tumbleweed contains waf, but Leap does not (yet), so we use python3 and add waf to the sources. +BuildRequires: gcc-c++ python3 pkg-config Mesa-libEGL-devel Mesa-libGLESv3-devel libXmu-devel freetype2-devel + + +%description +An X terminal emulator rendering through OpenGL ES Compute Shaders. It focuses on low-latency rendering and compatibility with commonly found terminal protocols. + + +%prep +%setup -q + +%build +CXXFLAGS="%{optflags}" LDFLAGS="%{?build_ldflags}" ./waf configure --prefix=/usr --no-werror +./waf +strip build/src/zutty + +%install +./waf install --destdir=%{buildroot} + +%files +%{_bindir}/zutty + +%license LICENSE + +%changelog