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, 10 Mar 2024 01:59:17 +0000 (UTC) [thread overview]
Message-ID: <1710034608.653c4587d6f9c877e538b17e7f64951c402a8826.sam@gentoo> (raw)
commit: 653c4587d6f9c877e538b17e7f64951c402a8826
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 01:35:08 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 01:36:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=653c4587
net-misc/suite3270: add 4.3_p6
Switch from USE=X -> USE=gui per QA policy.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-misc/suite3270/Manifest | 1 +
net-misc/suite3270/suite3270-4.3_p6.ebuild | 104 +++++++++++++++++++++++++++++
2 files changed, 105 insertions(+)
diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest
index 8a15696fb58f..86e4db3ae2ad 100644
--- a/net-misc/suite3270/Manifest
+++ b/net-misc/suite3270/Manifest
@@ -1,2 +1,3 @@
DIST suite3270-4.0ga13-src.tgz 3317494 BLAKE2B 898f279143006e1fc1f470bda3917afe85957de745676dc915f9c94292824ba0e10fc2ccf0a47e307c41e48741a3da7c066c45f63c917295e0522122226b79dd SHA512 bdf9c5d129419c87b45907186e5f158d8623009151357e4d8a3d08ffff2f3729449cead84d005227bfb32968ae363d1a29350692cabe9bf8b71f760eda3f496b
DIST suite3270-4.2ga5-src.tgz 4192998 BLAKE2B 2e29a9e9f25688bd5fc84101cab684c0fcdde9eff5e65cf0f247e9942990c812174eec17569716928de299fec0d87e77c785d8415370f7245cc0909c7e2020dd SHA512 4a5847c81262a099c68a914141bc7eba7b7b46f0ed4dabc1e7421b4244ea1ca5877e472262f9a4ab2f1a9ca72bde3901f8281dc0957046d3355ed98377de0492
+DIST suite3270-4.3ga6-src.tgz 13188235 BLAKE2B 2ca334b82cc42818ac9d0733a8d93f3b73e598f9de94e7166972d88079cfcf98877eb08587ac24e096f9b6457c96344abd37c4bb9d7af4f7e50c3ef191f82714 SHA512 5250d382185acb7f89cb2a6ff5050aa05be809e7bd2bbe25cf74bd3177ebba8ea24d990b3f20e308a5cffa8bdbd5d1c82ba956db76a2812b5ae42ea57602d2bd
diff --git a/net-misc/suite3270/suite3270-4.3_p6.ebuild b/net-misc/suite3270/suite3270-4.3_p6.ebuild
new file mode 100644
index 000000000000..99b045b00d0b
--- /dev/null
+++ b/net-misc/suite3270/suite3270-4.3_p6.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2024 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="cjk doc gui ncurses ssl tcl"
+
+RDEPEND="
+ gui? (
+ 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}
+ gui? ( x11-base/xorg-proto )
+"
+BDEPEND="
+ gui? (
+ 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
+)
+
+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 || die
+ #!/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 gui x3270) \
+ $(use_with gui x) \
+ $(use_with gui fontdir "${FONTDIR}")
+}
+
+src_install() {
+ use gui && dodir "${FONTDIR}"
+
+ emake DESTDIR="${D}" install{,.man}
+
+ use gui && font_src_install
+}
+
+pkg_postinst() {
+ use gui && font_pkg_postinst
+}
+
+pkg_postrm() {
+ use gui && font_pkg_postrm
+}
next reply other threads:[~2024-03-10 1:59 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-10 1:59 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-10 9:01 [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/ Arthur Zamarin
2024-03-10 5:42 Sam James
2024-03-10 5:42 Sam James
2024-03-10 5:42 Sam James
2023-12-03 7:34 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=1710034608.653c4587d6f9c877e538b17e7f64951c402a8826.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