From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/zutty/
Date: Fri, 21 Jan 2022 07:08:55 +0000 (UTC) [thread overview]
Message-ID: <1642746805.c7b5d731d1f75172fd49b838e3b29a51b17b7e5a.juippis@gentoo> (raw)
commit: c7b5d731d1f75172fd49b838e3b29a51b17b7e5a
Author: Matthew Smith <matt <AT> offtopica <DOT> uk>
AuthorDate: Sat Jan 1 15:11:03 2022 +0000
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jan 21 06:33:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7b5d731
x11-terms/zutty: add 0.11
- Add a comment on why we don't run the tests.
- Remove default CXXFLAGS/LDFLAGS from wscript.
Closes: https://bugs.gentoo.org/830405
Signed-off-by: Matthew Smith <matt <AT> offtopica.uk>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
x11-terms/zutty/Manifest | 1 +
x11-terms/zutty/zutty-0.11-cxxflags.patch | 27 ++++++++++++++++++++
x11-terms/zutty/zutty-0.11.ebuild | 41 +++++++++++++++++++++++++++++++
3 files changed, 69 insertions(+)
diff --git a/x11-terms/zutty/Manifest b/x11-terms/zutty/Manifest
index 6c7979a79c56..82bcff18958f 100644
--- a/x11-terms/zutty/Manifest
+++ b/x11-terms/zutty/Manifest
@@ -1,2 +1,3 @@
DIST zutty-0.10.tar.gz 336599 BLAKE2B 0041bbbc268ff042bac6bea1984ebf05d958f622b4c2e736bfe3d18e3a224238f27a7ef9920b8f7bc820705ce7560f20819650ec27fb3e5fc13dbef76fc6d0af SHA512 f499fb499779f8b5936a03c48e3c042f5fa0f0c99d3b24a4c9b963c2df8151561ac82456625d768e65f75aea641539a036300f1f99404eecfd15a0a25aeb6779
+DIST zutty-0.11.tar.gz 343469 BLAKE2B 9cd040e72d0ea76a526d099265b3a0974d40b1b8b679ff3baafc47f827b140943ac8bc13676831245e219ca1335ded7aca1e7826baf175fc63e88012791785e1 SHA512 84e8402a310adc80c698ded38fa3eb8ba44034f391e2538bccbdbc4082e239dc0d6ceb20504eeab4e5d2499ded55ef0941ae2e5d07eeb809d1059e5449cdb708
DIST zutty-0.9.tar.gz 336534 BLAKE2B 61d2ae02e2c0b08a9c536190f61f14300b0cd1bacb83f5da33e92a6c8502df6adda72805e58f3d679c7258c30338178b4488c0f7bfbfaf8b5e922401e6442427 SHA512 590cf090c0d80e683d4473828cdb8bbe4f60bc5bc3c5e9e63039a59757e281ecefc774709f08777fe36ab596fb102f392c8bf643449e62914e5b88d0ebc728c0
diff --git a/x11-terms/zutty/zutty-0.11-cxxflags.patch b/x11-terms/zutty/zutty-0.11-cxxflags.patch
new file mode 100644
index 000000000000..19b6649bb561
--- /dev/null
+++ b/x11-terms/zutty/zutty-0.11-cxxflags.patch
@@ -0,0 +1,27 @@
+From 06927a1f2f88bd9d5f4bb8056661ffbc4a0aeb77 Mon Sep 17 00:00:00 2001
+From: Matthew Smith <matt@offtopica.uk>
+Date: Wed, 19 Jan 2022 18:07:55 +0000
+Subject: [PATCH] Remove default CXXFLAGS and LINKFLAGS
+
+---
+ wscript | 4 ----
+ 1 file changed, 4 deletions(-)
+
+diff --git a/wscript b/wscript
+index d2bfbc8..b38b50b 100644
+--- a/wscript
++++ b/wscript
+@@ -69,10 +69,6 @@ def configure(cfg):
+ ['-DDEBUG', '-Og', '-g', '-ggdb'])
+ else:
+ cfg.env.target = 'zutty'
+- cfg.env.append_value('CXXFLAGS',
+- ['-Werror', '-O3', '-march=native', '-mtune=native', '-flto'])
+- cfg.env.append_value('LINKFLAGS',
+- ['-flto'])
+
+ cfg.check_cfg(package='freetype2', args=['--cflags', '--libs'],
+ uselib_store='FT')
+--
+2.34.1
+
diff --git a/x11-terms/zutty/zutty-0.11.ebuild b/x11-terms/zutty/zutty-0.11.ebuild
new file mode 100644
index 000000000000..9363c3151d1b
--- /dev/null
+++ b/x11-terms/zutty/zutty-0.11.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit python-any-r1 waf-utils
+
+DESCRIPTION="X terminal emulator rendering through OpenGL ES Compute Shaders"
+HOMEPAGE="https://tomscii.sig7.se/zutty/ https://github.com/tomszilagyi/zutty"
+SRC_URI="https://github.com/tomszilagyi/zutty/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# It is possible to run the tests using virtualx, but it seems to take
+# screenshots of the terminal window, and compares checksums that never
+# seem to match.
+RESTRICT="test"
+
+RDEPEND="
+ media-libs/freetype:2
+ virtual/opengl
+ x11-libs/libX11
+ x11-libs/libXmu
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ ${PYTHON_DEPS}
+ virtual/pkgconfig
+"
+
+PATCHES=(
+ # Remove default CXX/LDFLAGS, bug #830405.
+ "${FILESDIR}"/${PN}-0.11-cxxflags.patch
+)
+
+DOCS=( doc/KEYS.org doc/USAGE.org )
next reply other threads:[~2022-01-21 7:09 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-21 7:08 Joonas Niilola [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-12 7:31 [gentoo-commits] repo/gentoo:master commit in: x11-terms/zutty/ Matthew Smith
2024-03-14 7:54 Matthew Smith
2024-03-13 19:38 Arthur Zamarin
2024-01-23 17:20 Matthew Smith
2024-01-23 17:20 Matthew Smith
2023-09-16 10:11 Sam James
2023-02-19 15:24 Matthew Smith
2023-02-19 15:24 Matthew Smith
2023-02-18 8:11 Matthew Smith
2022-09-12 18:17 Matthew Smith
2022-09-11 7:54 Agostino Sarubbo
2022-09-10 12:04 Matthew Smith
2022-07-24 10:52 Matthew Smith
2022-07-02 18:18 Sam James
2022-02-27 10:23 Matthew Smith
2022-02-26 18:52 Sam James
2021-11-13 12:51 Jakov Smolić
2021-10-31 2:55 Sam James
2021-09-16 20:23 Ionen Wolkens
2021-08-30 7:26 Agostino Sarubbo
2021-07-20 16:00 Sam James
2021-06-03 7:01 Joonas Niilola
2021-05-18 13:31 Joonas Niilola
2021-05-18 13:31 Joonas Niilola
2021-03-21 19:47 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1642746805.c7b5d731d1f75172fd49b838e3b29a51b17b7e5a.juippis@gentoo \
--to=juippis@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox