From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/
Date: Sun, 3 Dec 2023 07:34:35 +0000 (UTC) [thread overview]
Message-ID: <1701588793.4bead8bff560869b91d39bd0f3f0713e6d07d300.sam@gentoo> (raw)
commit: 4bead8bff560869b91d39bd0f3f0713e6d07d300
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 3 07:33:13 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Dec 3 07:33:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bead8bf
net-misc/suite3270: drop stale app-text/rman dep
This seems to have been there since not long after the pkg. got added, back
to 2006, when it got added in 'Fix modular-x deps.'
Fedora package suite3270 but don't mention rman in their packaging, nor do they
have rman packaged.
I don't see any references in the ebuild or the source tree to rman and it builds/installs
fine without it, with the same installed files, so I'm pretty sure this is obsolete.
Noticed because rman has some modern C issues.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/suite3270/suite3270-4.2_p5-r2.ebuild | 105 ++++++++++++++++++++++++++
1 file changed, 105 insertions(+)
diff --git a/net-misc/suite3270/suite3270-4.2_p5-r2.ebuild b/net-misc/suite3270/suite3270-4.2_p5-r2.ebuild
new file mode 100644
index 000000000000..7d24eec16bb7
--- /dev/null
+++ b/net-misc/suite3270/suite3270-4.2_p5-r2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PV=${PV/_p/ga}
+MY_P=${PN}-${MY_PV}
+SUB_PV=${PV:0:3}
+S="${WORKDIR}"/${PN}-${SUB_PV}
+
+# Only the x3270 package installs fonts
+FONT_PN="x3270"
+FONT_S="${S}"/${FONT_PN}
+
+inherit autotools font
+
+DESCRIPTION="Complete 3270 (S390) access package"
+HOMEPAGE="http://x3270.bgp.nu/"
+SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
+IUSE="X cjk doc ncurses ssl tcl"
+
+RDEPEND="
+ X? (
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ )
+ ssl? ( dev-libs/openssl:= )
+ ncurses? (
+ sys-libs/ncurses:=
+ sys-libs/readline:=
+ )
+ tcl? ( dev-lang/tcl:= )
+"
+DEPEND="
+ ${RDEPEND}
+ X? ( x11-base/xorg-proto )
+"
+BDEPEND="
+ X? (
+ x11-apps/bdftopcf
+ >=x11-apps/mkfontscale-1.2.0
+ x11-misc/xbitmaps
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.1-musl-wint-t-fix.patch
+ "${FILESDIR}"/${PN}-4.2_p5-ncurses-pkg-config.patch
+ "${FILESDIR}"/${PN}-4.2_p5-egrep.patch
+)
+
+src_prepare() {
+ default
+
+ # Some subdirs (like c3270/x3270/s3270) install the same set of data files
+ # (they have the same contents). Wrap that in a retry to avoid errors.
+ cat <<-EOF > _install
+ #!/bin/sh
+ for n in 1 2 3 4 5; do
+ install "\$@" && exit
+ echo "retrying ..."
+ done
+ exit 1
+ EOF
+ chmod a+rx _install || die
+ # Can't use the ${INSTALL} var as top level configure also uses it.
+ # https://sourceforge.net/p/x3270/bugs/15/
+ export ac_cv_path_install="${S}"/_install
+
+ AT_NOEAUTOHEADER=yes eautoreconf
+}
+
+src_configure() {
+ econf \
+ --cache-file="${S}"/config.cache \
+ --enable-s3270 \
+ --enable-pr3287 \
+ $(use_enable ncurses c3270) \
+ $(use_enable tcl tcl3270) \
+ $(use_enable X x3270) \
+ $(use_with X x) \
+ $(use_with X fontdir "${FONTDIR}")
+}
+
+src_install() {
+ use X && dodir "${FONTDIR}"
+
+ emake DESTDIR="${D}" install{,.man}
+
+ use X && font_src_install
+}
+
+pkg_postinst() {
+ use X && font_pkg_postinst
+}
+
+pkg_postrm() {
+ use X && font_pkg_postrm
+}
next reply other threads:[~2023-12-03 7:34 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-03 7:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 3:03 [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/ Sam James
2025-03-07 3:03 Sam James
2025-03-07 3:03 Sam James
2025-03-07 3:03 Sam James
2024-03-10 9:01 Arthur Zamarin
2024-03-10 5:42 Sam James
2024-03-10 5:42 Sam James
2024-03-10 5:42 Sam James
2024-03-10 1:59 Sam James
2023-06-10 7:08 Sam James
2023-06-09 15:27 Arthur Zamarin
2022-09-13 17:21 Sam James
2022-01-02 20:18 Mike Frysinger
2022-01-02 20:00 Mike Frysinger
2021-02-02 4:20 Sam James
2021-01-31 18:48 Sam James
2021-01-28 2:49 Sam James
2021-01-27 17:45 Sergei Trofimovich
2021-01-27 3:00 Sam James
2021-01-15 5:13 Mike Frysinger
2021-01-14 21:27 Mike Frysinger
2021-01-14 21:27 Mike Frysinger
2020-01-06 6:54 Mike Frysinger
2020-01-06 6:54 Mike Frysinger
2019-09-14 2:41 Mike Frysinger
2019-09-14 2:41 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2017-10-13 16:36 Jonas Stein
2017-01-17 20:52 Mike Frysinger
2017-01-17 20:52 Mike Frysinger
2016-12-27 7:01 Mike Frysinger
2016-01-02 5:46 Mike Frysinger
2016-01-02 5:46 Mike Frysinger
2016-01-02 5:46 Mike Frysinger
2015-10-24 6:09 Mike Frysinger
2015-09-18 19:56 Mike Frysinger
2015-09-18 19:56 Mike Frysinger
2015-08-28 17:24 Mike Frysinger
2015-08-11 3:09 Mike Frysinger
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=1701588793.4bead8bff560869b91d39bd0f3f0713e6d07d300.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