Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-util/dialog/
Date: Mon, 19 Nov 2018 16:30:56
Message-Id: 1542644114.3e19c6e8db04f9cd7fd0533e25359ac509ba2574.grobian@gentoo
1 commit: 3e19c6e8db04f9cd7fd0533e25359ac509ba2574
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 19 16:15:14 2018 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 19 16:15:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3e19c6e8
7
8 dev-util/dialog: sync
9
10 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
11 Package-Manager: Portage-2.3.40.3-prefix, Repoman-2.3.9
12
13 dev-util/dialog/Manifest | 2 +-
14 dev-util/dialog/dialog-1.1.20120215.ebuild | 77 ------------------------------
15 dev-util/dialog/dialog-1.3.20181022.ebuild | 60 +++++++++++++++++++++++
16 3 files changed, 61 insertions(+), 78 deletions(-)
17
18 diff --git a/dev-util/dialog/Manifest b/dev-util/dialog/Manifest
19 index 5cf5e51ff5..0d0aed2ec5 100644
20 --- a/dev-util/dialog/Manifest
21 +++ b/dev-util/dialog/Manifest
22 @@ -1,2 +1,2 @@
23 -DIST dialog-1.1-20120215.tgz 441234 BLAKE2B 7ed1c91a8ec204c7171df89299bb6d8cd460d35794f5469c75a005afacd13ef337d7dcb17965516336fc6b369215307d4d543bac062bab64057ea944e5d36ee7 SHA512 3405e4767050c08d6148e348d9b7ee8e72a4170da11f8b4e21e0c656dcdcbb18d81e920da4cea094e84d692938b47de3852b9e055f5e2b8cc0b3fffb828b542a
24 DIST dialog-1.1-20120706.tgz 444554 BLAKE2B d1863ce51fee8e2ab36664b322386a1368b5c30cf11bddd49a7aec5c1760d14cfef2b515c27231b4353e60dfa758d5ab9890ae0114c0c2308e330b58de04af0e SHA512 90000dbdd33226767a45a66a60af25c0e743e78d938b329c980c929c18bcdc5e88031ef7f19ca8ab0471060ff2011aa7d52366cb094537d08ea64f5ef2e0b97d
25 +DIST dialog-1.3-20181022.tgz 531815 BLAKE2B c6a34010eb991683356338009998964fde60bcae4181d8b07e6d5b9f0d0e9a61d3f0b112fad02c151b1774380e18b87f93f43fdfe35e0fba86914c029eaa274c SHA512 5d7891086ab6d2f4a815538513b09754a56368bbb0ec3bd107346fd2ed6ae10fa858173447fa609cce28a91e234ed8067d9439efeb973593fff2df1e811a8925
26
27 diff --git a/dev-util/dialog/dialog-1.1.20120215.ebuild b/dev-util/dialog/dialog-1.1.20120215.ebuild
28 deleted file mode 100644
29 index 6dcf43539c..0000000000
30 --- a/dev-util/dialog/dialog-1.1.20120215.ebuild
31 +++ /dev/null
32 @@ -1,77 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dialog/dialog-1.1.20120215.ebuild,v 1.10 2012/07/08 15:09:28 armin76 Exp $
36 -
37 -EAPI="4"
38 -
39 -inherit multilib
40 -
41 -MY_PV="${PV/1.1./1.1-}"
42 -S=${WORKDIR}/${PN}-${MY_PV}
43 -DESCRIPTION="tool to display dialog boxes from a shell"
44 -HOMEPAGE="http://invisible-island.net/dialog/dialog.html"
45 -SRC_URI="ftp://invisible-island.net/${PN}/${PN}-${MY_PV}.tgz"
46 -
47 -LICENSE="GPL-2"
48 -SLOT="0"
49 -KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
50 -IUSE="examples minimal nls static-libs unicode"
51 -
52 -RDEPEND="
53 - >=app-shells/bash-2.04-r3
54 - !unicode? ( >=sys-libs/ncurses-5.2-r5 )
55 - unicode? ( >=sys-libs/ncurses-5.2-r5[unicode] )
56 -"
57 -DEPEND="
58 - ${RDEPEND}
59 - nls? ( sys-devel/gettext )
60 - !minimal? ( sys-devel/libtool )
61 - !<=sys-freebsd/freebsd-contrib-8.9999
62 -"
63 -
64 -src_prepare() {
65 - sed -i configure -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' || die
66 - # configure searches all over the world for some things...
67 - sed -i configure \
68 - -e 's:^test -d "\(/usr\|$prefix\|/usr/local\|/opt\|$HOME\):test -d "XnoX:' || die
69 -}
70 -
71 -src_configure() {
72 - local ncursesw
73 - use unicode && ncursesw="w"
74 - # doing this libtool stuff through configure
75 - # (--with-libtool=/path/to/libtool) strangely breaks the build
76 - local glibtool="libtool"
77 - [[ ${CHOST} == *-darwin* ]] && glibtool="glibtool"
78 - export ac_cv_path_LIBTOOL="$(type -P ${glibtool})"
79 - econf \
80 - --disable-rpath-hack \
81 - $(use_enable nls) \
82 - $(use_with !minimal libtool) \
83 - --with-ncurses${ncursesw}
84 -}
85 -
86 -src_install() {
87 - if use minimal; then
88 - emake DESTDIR="${D}" install
89 - else
90 - emake DESTDIR="${D}" install-full
91 - fi
92 -
93 - dodoc CHANGES README VERSION
94 -
95 - if use examples; then
96 - docinto samples
97 - dodoc $( find samples -maxdepth 1 -type f )
98 - docinto samples/copifuncs
99 - dodoc $( find samples/copifuncs -maxdepth 1 -type f )
100 - docinto samples/install
101 - dodoc $( find samples/install -type f )
102 - fi
103 -
104 - if ! use static-libs; then
105 - rm -f \
106 - "${ED}"usr/$(get_libdir)/libdialog.a \
107 - "${ED}"usr/$(get_libdir)/libdialog.la
108 - fi
109 -}
110
111 diff --git a/dev-util/dialog/dialog-1.3.20181022.ebuild b/dev-util/dialog/dialog-1.3.20181022.ebuild
112 new file mode 100644
113 index 0000000000..7768430b52
114 --- /dev/null
115 +++ b/dev-util/dialog/dialog-1.3.20181022.ebuild
116 @@ -0,0 +1,60 @@
117 +# Copyright 1999-2018 Gentoo Authors
118 +# Distributed under the terms of the GNU General Public License v2
119 +
120 +EAPI=6
121 +inherit eutils multilib versionator
122 +
123 +DIA_P="${PN}-$(replace_version_separator 2 '-')"
124 +DESCRIPTION="tool to display dialog boxes from a shell"
125 +HOMEPAGE="https://invisible-island.net/dialog/"
126 +SRC_URI="https://dev.gentoo.org/~jer/${DIA_P}.tgz"
127 +
128 +LICENSE="GPL-2"
129 +SLOT="0/15"
130 +KEYWORDS="~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
131 +IUSE="examples minimal nls static-libs unicode"
132 +
133 +RDEPEND="
134 + >=sys-libs/ncurses-5.2-r5:=[unicode?]
135 +"
136 +DEPEND="
137 + ${RDEPEND}
138 + nls? ( sys-devel/gettext )
139 + !minimal? ( sys-devel/libtool )
140 + !<=sys-freebsd/freebsd-contrib-8.9999
141 +"
142 +S=${WORKDIR}/${DIA_P}
143 +
144 +src_prepare() {
145 + default
146 + sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
147 + sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
148 + # configure searches all over the world for some things...
149 + sed -i configure \
150 + -e 's:^test -d "\(/usr\|$prefix\|/usr/local\|/opt\|$HOME\):test -d "XnoX:' || die
151 +}
152 +
153 +src_configure() {
154 + # doing this libtool stuff through configure
155 + # (--with-libtool=/path/to/libtool) strangely breaks the build
156 + local glibtool="libtool"
157 + [[ ${CHOST} == *-darwin* ]] && glibtool="glibtool"
158 + export ac_cv_path_LIBTOOL="$(type -P ${glibtool})"
159 +
160 + econf \
161 + --disable-rpath-hack \
162 + $(use_enable nls) \
163 + $(use_with !minimal libtool) \
164 + --with-libtool-opts=$(usex static-libs '' '-shared') \
165 + --with-ncurses$(usex unicode w '')
166 +}
167 +
168 +src_install() {
169 + use minimal && default || emake DESTDIR="${D}" install-full
170 +
171 + use examples && dodoc -r samples
172 +
173 + dodoc CHANGES README
174 +
175 + prune_libtool_files
176 +}