1 |
commit: 2727b391b3aab1c5d76ebbb8b33a6b61ba43c03b |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 14 02:31:26 2019 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 14 02:39:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2727b391 |
7 |
|
8 |
net-misc/suite3270: version bump to 3.6_p8 |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
net-misc/suite3270/Manifest | 1 + |
13 |
.../suite3270/files/suite3270-3.5_p8-tinfo.patch | 16 +-- |
14 |
net-misc/suite3270/suite3270-3.6_p8.ebuild | 107 +++++++++++++++++++++ |
15 |
3 files changed, 116 insertions(+), 8 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/suite3270/Manifest b/net-misc/suite3270/Manifest |
18 |
index 6665d3354d2..af20b8dced7 100644 |
19 |
--- a/net-misc/suite3270/Manifest |
20 |
+++ b/net-misc/suite3270/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST suite3270-3.4ga10-src.tgz 3398730 BLAKE2B 4adc02b416d5fbf2facbf4e42c58a2bd3 |
22 |
DIST suite3270-3.5ga10-src.tgz 3412329 BLAKE2B c9ed308cf970da150da985d76ec377c83a03041eddfcbad9baa7211776a7b68292109cccb2ec250952edb77eeca79143137eb8a94da8b774e952c3e5790c6231 SHA512 0cce1212ca7589595cd2f775d18086f231a9e6d621716be5a41123a379358d9ac08c9668de2bd6a2e401ae54d12a4905c3c260cb7ba90482bbce6790d8e3efb8 |
23 |
DIST suite3270-3.5ga12-src.tgz 3412286 BLAKE2B 5602f8bbe7b916a977c97848ff9a413a873f61e1c0c62b8c118dc43703adcd4a668e3cc301f9e37a139eebeeae44aca3cdedd0c10de15870ad8ead00d783e1ef SHA512 c7cb25b5c82b0d7ccac8c3ed17317a5a5ebce24fb32dcdfcaf7158157578617a7bccc265fdb67fce0557caa9c75d1afc2d8152a06b98af43ad9a9e29b5f2a267 |
24 |
DIST suite3270-3.6ga4-src.tgz 3288095 BLAKE2B 34245d6050f7d70ef6195dc669fea55eed70cb9b6c616a4bc88bc52bcfd9d837e527debc87eba4ccdc47c4a453e16749c23b9618d5bf4198e4131573f437209b SHA512 5309c4b4ad0d730033166b0bdb7638bba5fc00908776a229d5f0a131f72741897a0bf6b86dee3b1c9f3d480dc4f23e03e812d3349cec7094908c6a54a87d5ccb |
25 |
+DIST suite3270-3.6ga8-src.tgz 3296047 BLAKE2B 98bcee4591c3eea12c7127aa2eeb39613f6f090c041ceab7a7b0f1bf0e946c3048ba2f93eaacf2bbaf04b44ba78a8895f6b7acdcf20baea19a408464f83f4d62 SHA512 88a00bec19ae7be92e5bc0edd6ae1e27bef7fbbf8c3f419efda3ba2b3a0cb5e72693916cd44d50166d5745ce0f9d8497641481cedbb0bb3149567b6f51b1a987 |
26 |
|
27 |
diff --git a/net-misc/suite3270/files/suite3270-3.5_p8-tinfo.patch b/net-misc/suite3270/files/suite3270-3.5_p8-tinfo.patch |
28 |
index 9235809f02e..54be6e0510c 100644 |
29 |
--- a/net-misc/suite3270/files/suite3270-3.5_p8-tinfo.patch |
30 |
+++ b/net-misc/suite3270/files/suite3270-3.5_p8-tinfo.patch |
31 |
@@ -10,14 +10,14 @@ ld: screen.o: undefined reference to symbol 'meta' |
32 |
/usr/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line |
33 |
collect2: error: ld returned 1 exit status |
34 |
--- |
35 |
- x3270/c3270/configure.in | 1 + |
36 |
- x3270/c3270/configure | 45 +++++++++++++++++++++++++++++++++++++++++++++ |
37 |
+ c3270/configure.in | 1 + |
38 |
+ c3270/configure | 45 +++++++++++++++++++++++++++++++++++++++++++++ |
39 |
2 files changed, 46 insertions(+) |
40 |
|
41 |
-diff --git a/x3270/c3270/configure.in b/x3270/c3270/configure.in |
42 |
+diff --git a/c3270/configure.in b/c3270/configure.in |
43 |
index d9f19e6..8c6d852 100644 |
44 |
---- a/x3270/c3270/configure.in |
45 |
-+++ b/x3270/c3270/configure.in |
46 |
+--- a/c3270/configure.in |
47 |
++++ b/c3270/configure.in |
48 |
@@ -129,6 +129,7 @@ dnl first, so that objects in them can be used by subsequent libraries. |
49 |
AC_SEARCH_LIBS(forkpty, util) |
50 |
AC_CHECK_FUNCS(forkpty) |
51 |
@@ -26,10 +26,10 @@ index d9f19e6..8c6d852 100644 |
52 |
if test "$with_readline" != no; then |
53 |
AC_CHECK_LIB(readline, rl_initialize) |
54 |
fi |
55 |
-diff --git a/x3270/c3270/configure b/x3270/c3270/configure |
56 |
+diff --git a/c3270/configure b/c3270/configure |
57 |
index bef2dff..9946e83 100755 |
58 |
---- a/x3270/c3270/configure |
59 |
-+++ b/x3270/c3270/configure |
60 |
+--- a/c3270/configure |
61 |
++++ b/c3270/configure |
62 |
@@ -4020,6 +4020,51 @@ fi |
63 |
|
64 |
fi |
65 |
|
66 |
diff --git a/net-misc/suite3270/suite3270-3.6_p8.ebuild b/net-misc/suite3270/suite3270-3.6_p8.ebuild |
67 |
new file mode 100644 |
68 |
index 00000000000..d8808e7e2af |
69 |
--- /dev/null |
70 |
+++ b/net-misc/suite3270/suite3270-3.6_p8.ebuild |
71 |
@@ -0,0 +1,107 @@ |
72 |
+# Copyright 1999-2019 Gentoo Authors |
73 |
+# Distributed under the terms of the GNU General Public License v2 |
74 |
+ |
75 |
+EAPI="6" |
76 |
+ |
77 |
+MY_PV=${PV/_p/ga} |
78 |
+MY_P=${PN}-${MY_PV} |
79 |
+SUB_PV=${PV:0:3} |
80 |
+ |
81 |
+S=${WORKDIR}/${PN}-${SUB_PV} |
82 |
+ |
83 |
+# only the x3270 package installs fonts |
84 |
+FONT_PN="x3270" |
85 |
+FONT_S="${S}/${FONT_PN}" |
86 |
+ |
87 |
+inherit eutils font |
88 |
+ |
89 |
+DESCRIPTION="Complete 3270 access package" |
90 |
+HOMEPAGE="http://x3270.bgp.nu/" |
91 |
+SRC_URI="mirror://sourceforge/x3270/${MY_P}-src.tgz" |
92 |
+ |
93 |
+LICENSE="GPL-2" |
94 |
+SLOT="0" |
95 |
+KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86" |
96 |
+IUSE="cjk doc ncurses ssl tcl X" |
97 |
+ |
98 |
+RDEPEND="ssl? ( dev-libs/openssl:0= ) |
99 |
+ X? ( |
100 |
+ x11-libs/libX11 |
101 |
+ x11-libs/libXaw |
102 |
+ x11-libs/libXmu |
103 |
+ x11-libs/libXt |
104 |
+ ) |
105 |
+ ncurses? ( |
106 |
+ sys-libs/ncurses:= |
107 |
+ sys-libs/readline:0= |
108 |
+ ) |
109 |
+ tcl? ( dev-lang/tcl:0 )" |
110 |
+DEPEND="${RDEPEND} |
111 |
+ X? ( |
112 |
+ x11-base/xorg-proto |
113 |
+ x11-misc/xbitmaps |
114 |
+ app-text/rman |
115 |
+ x11-apps/mkfontdir |
116 |
+ x11-apps/bdftopcf |
117 |
+ )" |
118 |
+ |
119 |
+PATCHES=( |
120 |
+ "${FILESDIR}"/${PN}-3.5_p8-tinfo.patch |
121 |
+) |
122 |
+ |
123 |
+suite3270_makelist() { |
124 |
+ echo pr3287 s3270 \ |
125 |
+ $(usex ncurses c3270 '') \ |
126 |
+ $(usex tcl tcl3270 '') \ |
127 |
+ $(usex X x3270 '') |
128 |
+} |
129 |
+ |
130 |
+src_prepare() { |
131 |
+ default |
132 |
+ |
133 |
+ # Some subdirs (like c3270/x3270/s3270) install the same set of data files |
134 |
+ # (they have the same contents). Wrap that in a retry to avoid errors. |
135 |
+ cat <<-EOF > _install |
136 |
+ #!/bin/sh |
137 |
+ for n in 1 2 3 4 5; do |
138 |
+ install "\$@" && exit |
139 |
+ echo "retrying ..." |
140 |
+ done |
141 |
+ exit 1 |
142 |
+ EOF |
143 |
+ chmod a+rx _install |
144 |
+ # Can't use the $INSTALL var as top level configure also uses it. |
145 |
+ # https://sourceforge.net/p/x3270/bugs/15/ |
146 |
+ export ac_cv_path_install="${S}/_install" |
147 |
+} |
148 |
+ |
149 |
+src_configure() { |
150 |
+ echo "${INSTALL}" |
151 |
+ econf \ |
152 |
+ --cache-file="${S}"/config.cache \ |
153 |
+ --enable-s3270 \ |
154 |
+ --enable-pr3287 \ |
155 |
+ $(use_enable ncurses c3270) \ |
156 |
+ $(use_enable tcl tcl3270) \ |
157 |
+ $(use_enable X x3270) \ |
158 |
+ $(use_with X x) \ |
159 |
+ $(use_with X fontdir "${FONTDIR}") |
160 |
+} |
161 |
+ |
162 |
+src_install() { |
163 |
+ use X && dodir "${FONTDIR}" |
164 |
+ emake DESTDIR="${D}" install{,.man} |
165 |
+ |
166 |
+ local p |
167 |
+ for p in $(suite3270_makelist) ; do |
168 |
+ cd "${S}/${p}" |
169 |
+ docinto ${p} |
170 |
+ dodoc README* |
171 |
+ use doc && dohtml html/* |
172 |
+ done |
173 |
+ |
174 |
+ use X && font_src_install |
175 |
+} |
176 |
+ |
177 |
+pkg_postinst() { use X && font_pkg_postinst ; } |
178 |
+pkg_postrm() { use X && font_pkg_postrm ; } |