From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/splitvt/
Date: Tue, 22 Nov 2022 07:05:51 +0000 (UTC) [thread overview]
Message-ID: <1669100259.b821f8830d649f1f9fda4968551a676449d598e3.sam@gentoo> (raw)
commit: b821f8830d649f1f9fda4968551a676449d598e3
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de>
AuthorDate: Wed Nov 2 14:30:31 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Nov 22 06:57:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b821f883
app-misc/splitvt: revbump, fix build with clang16, fix open bugs
- Wrote a patch with modern C function definitions to make this work with clang16
- sed in ebuild now uses | instead of : as delimiter
- use ${ED} instead of ${D} now
Closes: https://bugs.gentoo.org/871072
Closes: https://bugs.gentoo.org/879639
Closes: https://bugs.gentoo.org/710456
Closes: https://bugs.gentoo.org/836040
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de>
Closes: https://github.com/gentoo/gentoo/pull/28105
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-misc/splitvt/Manifest | 1 +
app-misc/splitvt/splitvt-1.6.6_p7.ebuild | 57 ++++++++++++++++++++++++++++++++
2 files changed, 58 insertions(+)
diff --git a/app-misc/splitvt/Manifest b/app-misc/splitvt/Manifest
index cef8a0a9afaf..194b54a88cc1 100644
--- a/app-misc/splitvt/Manifest
+++ b/app-misc/splitvt/Manifest
@@ -1,2 +1,3 @@
DIST splitvt-1.6.6.tar.gz 64797 BLAKE2B cc867fe7cf57b541f5d124bb3bbac111e0cd4a4ef835df7c8abfc7e73c1d172f0a75512e54245b395d815308b6bf94d79c8b896099a4af51e8947ddf177e88bc SHA512 a0a0ea2251489f14e2ba7af9bb1b9d309d6fa310f434090d97af2a0805c398731dec45a5cc15c2074af4d3f33b02c5bab019743530619755382af80ff86fa670
+DIST splitvt-1.6.6_p7-fix-build-for-clang16.patch.xz 10816 BLAKE2B 3223e9368361b380b756c2fc86e8454695f052dcfc4ab8a1459031ff4b6972e9ab42d4ab2bff64be0bfa6074b4301c80d23c0118269d41821b9c54ab4b27eacb SHA512 95325c1c16f3ab71efa531804b0a48676b22eb6b66af93c1b21d0109a1059fcc72b2bcf6ac5d1ce39c2d0473a6fa6a51cddb45d463337eb56a907528547c98f7
DIST splitvt_1.6.6-7.diff.gz 11073 BLAKE2B 595381265ecd1d7a654fbce4afde5f872e7ce35d3cd44936f78a3c714b7964586d7ec0ec17d986a0f2e6ff9c3e01cf3563b54185f2fa10bebc9ababd174d4879 SHA512 620f3f6e7f22284ef8054e371a87421beeb2ef355b7084748cbd1f7a3a128c9da11f291fdaf1d393010c0f7affce8d6e56a7ae0977d9831b9d3b98963c55c71f
diff --git a/app-misc/splitvt/splitvt-1.6.6_p7.ebuild b/app-misc/splitvt/splitvt-1.6.6_p7.ebuild
new file mode 100644
index 000000000000..5ee0835a6bd4
--- /dev/null
+++ b/app-misc/splitvt/splitvt-1.6.6_p7.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+MY_P="${PN}-$(ver_cut 1-3)"
+MY_DEB_P="${PN}_$(ver_cut 1-3)-$(ver_cut 5)"
+
+DESCRIPTION="Splitting terminals into two shells"
+HOMEPAGE="https://slouken.libsdl.org/projects/splitvt/"
+SRC_URI="
+ https://slouken.libsdl.org/projects/splitvt/${MY_P}.tar.gz
+ mirror://debian/pool/main/s/splitvt/${MY_DEB_P}.diff.gz
+ https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-fix-build-for-clang16.patch.xz
+"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
+
+DEPEND="sys-libs/ncurses:="
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${WORKDIR}"/${MY_DEB_P}.diff
+ "${FILESDIR}"/1.6.6-ldflags.patch
+ "${WORKDIR}"/${P}-fix-build-for-clang16.patch
+)
+
+DOCS=( ANNOUNCE BLURB CHANGES NOTES README TODO )
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s|/usr/local/bin|${ED}/usr/bin|g" \
+ -e "s|/usr/local/man/|${ED}/usr/share/man/|g" config.c || die
+}
+
+src_configure() {
+ # upstream has their own homebrew configure script
+ ./configure || die "configure failed"
+ sed -i \
+ -e "s|-O2|${CFLAGS}|" \
+ -e "s|^CC = gcc|CC = $(tc-getCC)|" Makefile || die
+}
+
+src_install() {
+ dodir /usr/bin /usr/share/man/man1
+
+ default
+
+ fperms 755 /usr/bin/xsplitvt
+ doman splitvt.1
+}
next reply other threads:[~2022-11-22 7:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-22 7:05 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-12-24 14:49 [gentoo-commits] repo/gentoo:master commit in: app-misc/splitvt/ Andreas Sturmlechner
2022-12-21 15:56 Arthur Zamarin
2022-12-21 15:56 Arthur Zamarin
2022-12-21 15:56 Arthur Zamarin
2022-12-21 15:56 Arthur Zamarin
2018-01-17 21:42 Patrice Clement
2018-01-03 18:53 Mikle Kolyada
2018-01-03 18:51 Mikle Kolyada
2017-12-27 13:41 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=1669100259.b821f8830d649f1f9fda4968551a676449d598e3.sam@gentoo \
--to=sam@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