Gentoo Archives: gentoo-commits

From: "Jeroen Roovers (jer)" <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: ChangeLog libidn-1.23.ebuild libidn-1.22-r1.ebuild
Date: Sun, 27 Nov 2011 23:29:52
Message-Id: 20111127232932.D01472004B@flycatcher.gentoo.org
1 jer 11/11/27 23:29:32
2
3 Modified: ChangeLog libidn-1.22-r1.ebuild
4 Added: libidn-1.23.ebuild
5 Log:
6 Version bump. Do not use autotools-utils.eclass (bug #392161).
7
8 (Portage version: 2.2.0_alpha78/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.147 net-dns/libidn/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.147&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.147&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.146&r2=1.147
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
20 retrieving revision 1.146
21 retrieving revision 1.147
22 diff -u -r1.146 -r1.147
23 --- ChangeLog 18 Oct 2011 20:24:00 -0000 1.146
24 +++ ChangeLog 27 Nov 2011 23:29:32 -0000 1.147
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-dns/libidn
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.146 2011/10/18 20:24:00 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.147 2011/11/27 23:29:32 jer Exp $
30 +
31 +*libidn-1.23 (27 Nov 2011)
32 +
33 + 27 Nov 2011; Jeroen Roovers <jer@g.o> libidn-1.22-r1.ebuild,
34 + +libidn-1.23.ebuild:
35 + Version bump. Do not use autotools-utils.eclass (bug #392161).
36
37 *libidn-1.22-r1 (18 Oct 2011)
38
39
40
41
42 1.2 net-dns/libidn/libidn-1.22-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild?r1=1.1&r2=1.2
47
48 Index: libidn-1.22-r1.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- libidn-1.22-r1.ebuild 18 Oct 2011 20:24:00 -0000 1.1
55 +++ libidn-1.22-r1.ebuild 27 Nov 2011 23:29:32 -0000 1.2
56 @@ -1,10 +1,10 @@
57 # Copyright 1999-2011 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild,v 1.1 2011/10/18 20:24:00 jer Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.22-r1.ebuild,v 1.2 2011/11/27 23:29:32 jer Exp $
61
62 EAPI="4"
63
64 -inherit autotools-utils java-pkg-opt-2 mono elisp-common
65 +inherit java-pkg-opt-2 mono elisp-common
66
67 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
68 HOMEPAGE="http://www.gnu.org/software/libidn/"
69 @@ -20,7 +20,7 @@
70 DEPEND="${COMMON_DEPEND}
71 nls? ( >=sys-devel/gettext-0.17 )
72 java? (
73 - >=virtual/jdk-1.4
74 + virtual/jdk
75 doc? ( dev-java/gjdoc )
76 )"
77 RDEPEND="${COMMON_DEPEND}
78 @@ -79,7 +79,9 @@
79 java-pkg_dojavadoc doc/java
80 fi
81 fi
82 - use static-libs || remove_libtool_files
83 + if ! use static-libs; then
84 + rm -f "${D}"/usr/lib*/lib*.la
85 + fi
86 }
87
88 pkg_postinst() {
89
90
91
92 1.1 net-dns/libidn/libidn-1.23.ebuild
93
94 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.23.ebuild?rev=1.1&view=markup
95 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-dns/libidn/libidn-1.23.ebuild?rev=1.1&content-type=text/plain
96
97 Index: libidn-1.23.ebuild
98 ===================================================================
99 # Copyright 1999-2011 Gentoo Foundation
100 # Distributed under the terms of the GNU General Public License v2
101 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.23.ebuild,v 1.1 2011/11/27 23:29:32 jer Exp $
102
103 EAPI="4"
104
105 inherit java-pkg-opt-2 mono elisp-common
106
107 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
108 HOMEPAGE="http://www.gnu.org/software/libidn/"
109 SRC_URI="mirror://gnu/libidn/${P}.tar.gz"
110
111 LICENSE="LGPL-2.1 GPL-3"
112 SLOT="0"
113 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
114 IUSE="doc emacs java mono nls static-libs"
115
116 COMMON_DEPEND="emacs? ( virtual/emacs )
117 mono? ( >=dev-lang/mono-0.95 )"
118 DEPEND="${COMMON_DEPEND}
119 nls? ( >=sys-devel/gettext-0.17 )
120 java? (
121 virtual/jdk
122 doc? ( dev-java/gjdoc )
123 )"
124 RDEPEND="${COMMON_DEPEND}
125 nls? ( virtual/libintl )
126 java? ( >=virtual/jre-1.4 )"
127
128 SITEFILE=50${PN}-gentoo.el
129
130 src_prepare() {
131 # bundled, with wrong bytecode
132 rm "${S}/java/${P}.jar" || die
133 }
134
135 src_configure() {
136 econf \
137 $(use_enable nls) \
138 $(use_enable java) \
139 $(use_enable mono csharp mono) \
140 $(use_enable static-libs static) \
141 --disable-valgrind-tests \
142 --with-lispdir="${SITELISP}/${PN}" \
143 --with-packager="Gentoo" \
144 --with-packager-version="r${PR}" \
145 --with-packager-bug-reports="https://bugs.gentoo.org"
146 }
147
148 src_compile() {
149 default
150
151 if use emacs; then
152 elisp-compile src/*.el || die
153 fi
154 }
155
156 src_install() {
157 default
158 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO
159
160 if use emacs; then
161 # *.el are installed by the build system
162 elisp-install ${PN} src/*.elc || die
163 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
164 else
165 rm -rf "${D}/usr/share/emacs"
166 fi
167
168 if use doc ; then
169 dohtml -r doc/reference/html/*
170 fi
171
172 if use java ; then
173 java-pkg_newjar java/${P}.jar ${PN}.jar || die
174 rm -rf "${D}"/usr/share/java || die
175
176 if use doc ; then
177 java-pkg_dojavadoc doc/java
178 fi
179 fi
180 if ! use static-libs; then
181 rm -f "${D}"/usr/lib*/lib*.la
182 fi
183 }
184
185 pkg_postinst() {
186 use emacs && elisp-site-regen
187 }
188
189 pkg_postrm() {
190 use emacs && elisp-site-regen
191 }