From: "Mike Frysinger" <vapier@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/
Date: Tue, 11 Aug 2015 03:09:26 +0000 (UTC) [thread overview]
Message-ID: <1439262558.cf8ae692ce05918395ac59e84cddfe2e3ca2776e.vapier@gentoo> (raw)
commit: cf8ae692ce05918395ac59e84cddfe2e3ca2776e
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 11 03:02:54 2015 +0000
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Tue Aug 11 03:09:18 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8ae692
suite3270: version bump
net-misc/suite3270/Manifest | 1 +
net-misc/suite3270/suite3270-3.4_p6.ebuild | 112 +++++++++++++++++++++++++++++
2 files changed, 113 insertions(+)
diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest
index 445db13..5a65f16 100644
--- a/net-misc/suite3270/Manifest
+++ b/net-misc/suite3270/Manifest
@@ -4,3 +4,4 @@ DIST suite3270-3.3.15ga7-src.tgz 6957724 SHA256 1d354fc23f62d9a65b08889bd4a51b05
DIST suite3270-3.3.15ga9-src.tgz 6960911 SHA256 e22f40360170acf70b6de521173c633072582315b4879aef276fb8c97102e848 SHA512 dd6ad0b42f935a9a25170d3ef765e8d31746b7c6a7d9c6f31630da77cc4fd2bde9f4861c86fb237211dd17e60423c4e1627871c8a710467076b99166e7774ccb WHIRLPOOL 79b5691995dd98e6821130df3df8fed2af04abb7ebce642a12d82fa67045c3a1e491d32b8dd43b574b35e80cf0c734f8ab007ece18130e7c373175fa672a8e46
DIST suite3270-3.4ga4-src.tgz 3395525 SHA256 7b367beb68d3af02b9dc65543f7f38c988f221e585aa72610814a9e60d4dddec SHA512 b01f82aa6d46e7766d1197daaaed0bd68adfda4e3d835beda63e03c7a11e3c91fccb1f7bda31a7f146f54cf63503dae4ab690bffe4ac2ed253a6af409f47ee66 WHIRLPOOL 8c5b8015d95b716e7c6a19838e9b771beb369408521ec22e8b05ff67e343d84ed24fce0594274a8c51dad37ab3ea7cf665a0ce5a21f5900027d5326b70a66376
DIST suite3270-3.4ga5-src.tgz 3398700 SHA256 01ef94341326e797c090be813bf096b240adfbca44334545ad3433f684a9dcba SHA512 b2b43a7b09d98dccbd6cb7782ff32c6d314084cde2d0b958c21798931faa6cb3979aed4b46db0cb571fed171505936049ecdd2980f2ad2f04f1e4908ea880fb3 WHIRLPOOL f69f86d7c847ec781cff522ea115a11fd14cfffb2cfd5717929db5f9b5a3c5fc259c4b211170cdbeef8ecb6c99c25f09515aac4d906a27c6a44240251f960184
+DIST suite3270-3.4ga6-src.tgz 3398002 SHA256 7c662d30f2fc1616eeb546410e49e1312f9fa4d8316a017317abe146f893a1fe SHA512 c1d06529b98b6c18b74f832f14fc1e4d0adf1becdeb5f117a00b9c4df6b35337d0cdcb20499004cd0c5c63568a24b15f1f8a6038a7ede8e4fa6c5484c51aa738 WHIRLPOOL 2d9f8d0541921d8352ec210e5cb4f3b8c0fe1522cf69e5402f2322109ae4983bfe90cd249d3c1c2c4972f77584d9106166468a43032cb93e6ae6ffcacba6cfb6
diff --git a/net-misc/suite3270/suite3270-3.4_p6.ebuild b/net-misc/suite3270/suite3270-3.4_p6.ebuild
new file mode 100644
index 0000000..d86e981
--- /dev/null
+++ b/net-misc/suite3270/suite3270-3.4_p6.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+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=${WORKDIR}/${FONT_PN}
+
+inherit eutils font
+
+DESCRIPTION="Complete 3270 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 ncurses ssl tcl X"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )
+ X? (
+ x11-libs/libX11
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXt
+ )
+ ncurses? (
+ sys-libs/ncurses:=
+ sys-libs/readline:0=
+ )
+ tcl? ( dev-lang/tcl:0 )"
+DEPEND="${RDEPEND}
+ X? (
+ x11-misc/xbitmaps
+ x11-proto/xproto
+ app-text/rman
+ x11-apps/mkfontdir
+ x11-apps/bdftopcf
+ )"
+
+suite3270_makelist() {
+ echo pr3287 s3270 \
+ $(usex ncurses c3270 '') \
+ $(usex tcl tcl3270 '') \
+ $(usex X x3270 '')
+}
+
+src_prepare() {
+ # 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..5}; do
+ install "\$@" && exit
+ echo "retrying ..."
+ done
+ EOF
+ chmod a+rx _install
+ sed -i \
+ -e "s:@INSTALL@:${S}/_install:" \
+ */Makefile.in
+
+ # https://sourceforge.net/p/x3270/bugs/13/
+ sed -i \
+ -e '/pr3287.man/s:$(INSTALL):@INSTALL_DATA@:' \
+ pr3287/Makefile.in || die
+
+ # https://sourceforge.net/p/x3270/bugs/12/
+ if has_version '>=sys-libs/glibc-2.20' ; then
+ sed -i \
+ -e "s:-D_BSD_SOURCE:-D_DEFAULT_SOURCE:" \
+ */configure || die
+ fi
+}
+
+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}
+
+ local p
+ for p in $(suite3270_makelist) ; do
+ cd "${S}/${p}"
+ docinto ${p}
+ dodoc README*
+ use doc && dohtml html/*
+ done
+
+ use X && font_src_install
+}
+
+pkg_postinst() { use X && font_pkg_postinst ; }
+pkg_postrm() { use X && font_pkg_postrm ; }
next reply other threads:[~2015-08-11 3:09 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-11 3:09 Mike Frysinger [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-28 17:24 [gentoo-commits] repo/gentoo:master commit in: net-misc/suite3270/ Mike Frysinger
2015-09-18 19:56 Mike Frysinger
2015-09-18 19:56 Mike Frysinger
2015-10-24 6:09 Mike Frysinger
2016-01-02 5:46 Mike Frysinger
2016-01-02 5:46 Mike Frysinger
2016-01-02 5:46 Mike Frysinger
2016-12-27 7:01 Mike Frysinger
2017-01-17 20:52 Mike Frysinger
2017-01-17 20:52 Mike Frysinger
2017-10-13 16:36 Jonas Stein
2018-01-09 23:03 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2018-01-09 23:03 Mike Frysinger
2019-09-14 2:41 Mike Frysinger
2019-09-14 2:41 Mike Frysinger
2020-01-06 6:54 Mike Frysinger
2020-01-06 6:54 Mike Frysinger
2021-01-14 21:27 Mike Frysinger
2021-01-14 21:27 Mike Frysinger
2021-01-15 5:13 Mike Frysinger
2021-01-27 3:00 Sam James
2021-01-27 17:45 Sergei Trofimovich
2021-01-28 2:49 Sam James
2021-01-31 18:48 Sam James
2021-02-02 4:20 Sam James
2022-01-02 20:00 Mike Frysinger
2022-01-02 20:18 Mike Frysinger
2022-09-13 17:21 Sam James
2023-06-09 15:27 Arthur Zamarin
2023-06-10 7:08 Sam James
2023-12-03 7:34 Sam James
2024-03-10 1:59 Sam James
2024-03-10 5:42 Sam James
2024-03-10 5:42 Sam James
2024-03-10 5:42 Sam James
2024-03-10 9:01 Arthur Zamarin
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=1439262558.cf8ae692ce05918395ac59e84cddfe2e3ca2776e.vapier@gentoo \
--to=vapier@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