1 |
commit: a3769d82e127646e75a8fa32d79e971ea5063aa8 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 15 01:01:31 2019 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 15 01:01:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3769d82 |
7 |
|
8 |
sys-process/xjobs: new version 20190725. |
9 |
|
10 |
This version comes with a few fixes/improvements: |
11 |
|
12 |
* An update to EAPI=7. |
13 |
|
14 |
* A patch to fix the build against separate libtinfo (bug #689982). |
15 |
Upstream will include a similar fix in subsequent versions. |
16 |
|
17 |
* An unconditional build/runtime dependency on ncurses/libtinfo |
18 |
which are detected and used automagically by the build system. |
19 |
|
20 |
Bug: https://bugs.gentoo.org/689982 |
21 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
22 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
23 |
|
24 |
sys-process/xjobs/Manifest | 1 + |
25 |
.../search-libtinfo-for-tigetstr-and-tparm.patch | 32 +++++++++++++++++++ |
26 |
sys-process/xjobs/xjobs-20190725.ebuild | 36 ++++++++++++++++++++++ |
27 |
3 files changed, 69 insertions(+) |
28 |
|
29 |
diff --git a/sys-process/xjobs/Manifest b/sys-process/xjobs/Manifest |
30 |
index 90c00b2226c..f6db8bc3c73 100644 |
31 |
--- a/sys-process/xjobs/Manifest |
32 |
+++ b/sys-process/xjobs/Manifest |
33 |
@@ -1 +1,2 @@ |
34 |
DIST xjobs-20170829.tgz 109732 BLAKE2B 7c1db1b8bd5a382364d62093f7c28d4f6d13220c01b757c0f92fe1d20acdce699234e8e0c3fc98105a0e9cd93eb10738473ef95bb1e5bb64725155bc878bdb4e SHA512 9308c239ebf0dfa8374a85d753b2234c083b29e2b65b19028e5e67864df80df345ec232c13777cef8a21d3872408967a065fa8d54761b14a2f452b483b86f80c |
35 |
+DIST xjobs-20190725.tgz 113216 BLAKE2B 079b6e104bb160101b2c4ef11e73ff040a8efa30839a39f9c91121b4928ddeefaefa43c3a94e18c9359fb6f66862ad7554598561a4e0c7f36b8f622d9a394340 SHA512 23ead9d33ebacb1b3d7a03c72c40dfb34b6254add81b0fde9e458a4be54f6298d2ce6a0b65742ac050685212eea8c5f83d48ea98b09c3928b16e36c7447a9551 |
36 |
|
37 |
diff --git a/sys-process/xjobs/files/search-libtinfo-for-tigetstr-and-tparm.patch b/sys-process/xjobs/files/search-libtinfo-for-tigetstr-and-tparm.patch |
38 |
new file mode 100644 |
39 |
index 00000000000..e0600b0b7dc |
40 |
--- /dev/null |
41 |
+++ b/sys-process/xjobs/files/search-libtinfo-for-tigetstr-and-tparm.patch |
42 |
@@ -0,0 +1,32 @@ |
43 |
+From 8272978e3f90aec42101a6f254af779e20cfc0eb Mon Sep 17 00:00:00 2001 |
44 |
+From: Michael Orlitzky <michael@××××××××.com> |
45 |
+Date: Wed, 14 Aug 2019 20:19:24 -0400 |
46 |
+Subject: [PATCH 1/1] Rename configure.in to configure.ac and search libtinfo |
47 |
+ for tigetstr/tparm. |
48 |
+ |
49 |
+--- |
50 |
+ configure.in => configure.ac | 4 ++-- |
51 |
+ 1 file changed, 2 insertions(+), 2 deletions(-) |
52 |
+ rename configure.in => configure.ac (95%) |
53 |
+ |
54 |
+diff --git a/configure.in b/configure.ac |
55 |
+similarity index 95% |
56 |
+rename from configure.in |
57 |
+rename to configure.ac |
58 |
+index 21fc034..0baa3cc 100644 |
59 |
+--- a/configure.in |
60 |
++++ b/configure.ac |
61 |
+@@ -72,8 +72,8 @@ AC_CHECK_HEADER([term.h], |
62 |
+ AC_INCLUDES_DEFAULT |
63 |
+ ) |
64 |
+ |
65 |
+-AC_SEARCH_LIBS(tigetstr,ncurses,) |
66 |
+-AC_SEARCH_LIBS(tparm,curses,) |
67 |
++AC_SEARCH_LIBS(tigetstr,ncurses tinfo) |
68 |
++AC_SEARCH_LIBS(tparm,curses tinfo) |
69 |
+ |
70 |
+ AC_SUBST(DEBUG) |
71 |
+ AC_SUBST(AUTOCONF) |
72 |
+-- |
73 |
+2.21.0 |
74 |
+ |
75 |
|
76 |
diff --git a/sys-process/xjobs/xjobs-20190725.ebuild b/sys-process/xjobs/xjobs-20190725.ebuild |
77 |
new file mode 100644 |
78 |
index 00000000000..9a5ad730ef3 |
79 |
--- /dev/null |
80 |
+++ b/sys-process/xjobs/xjobs-20190725.ebuild |
81 |
@@ -0,0 +1,36 @@ |
82 |
+# Copyright 1999-2019 Gentoo Authors |
83 |
+# Distributed under the terms of the GNU General Public License v2 |
84 |
+ |
85 |
+EAPI=7 |
86 |
+ |
87 |
+inherit autotools |
88 |
+ |
89 |
+DESCRIPTION="Reads commands line by line and executes them in parallel" |
90 |
+HOMEPAGE="http://www.maier-komor.de/xjobs.html" |
91 |
+SRC_URI="http://www.maier-komor.de/${PN}/${P}.tgz" |
92 |
+ |
93 |
+LICENSE="GPL-2" |
94 |
+SLOT="0" |
95 |
+KEYWORDS="~amd64 ~x86" |
96 |
+IUSE="examples" |
97 |
+ |
98 |
+BDEPEND="sys-devel/flex" |
99 |
+ |
100 |
+# The ncurses/terminfo libraries are used to provide color and status |
101 |
+# support; but, they're detected and enabled automagically by the build |
102 |
+# system. Thus it would do no good to hide them behind a USE flag that |
103 |
+# can't be turned off. |
104 |
+DEPEND="sys-libs/ncurses:0=" |
105 |
+RDEPEND="${DEPEND}" |
106 |
+ |
107 |
+PATCHES=( "${FILESDIR}/search-libtinfo-for-tigetstr-and-tparm.patch" ) |
108 |
+ |
109 |
+src_prepare() { |
110 |
+ default |
111 |
+ eautoreconf |
112 |
+} |
113 |
+ |
114 |
+src_install() { |
115 |
+ default |
116 |
+ use examples && dodoc -r examples |
117 |
+} |