Gentoo Archives: gentoo-commits

From: "Vlastimil Babka (caster)" <caster@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: ChangeLog libidn-1.5-r1.ebuild
Date: Fri, 29 Feb 2008 14:21:56
Message-Id: E1JV67V-0004Au-EP@stork.gentoo.org
1 caster 08/02/29 14:21:53
2
3 Modified: ChangeLog
4 Added: libidn-1.5-r1.ebuild
5 Log:
6 Fix USE=java - remove the bundled jar file. Has 1.5 bytecode, breaking build with 1.4 JDK, besides others. Revbump so that everyone installs the same file.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.76 net-dns/libidn/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.76&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.76&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.75&r2=1.76
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
19 retrieving revision 1.75
20 retrieving revision 1.76
21 diff -u -r1.75 -r1.76
22 --- ChangeLog 29 Feb 2008 10:06:33 -0000 1.75
23 +++ ChangeLog 29 Feb 2008 14:21:52 -0000 1.76
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-dns/libidn
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.75 2008/02/29 10:06:33 coldwind Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.76 2008/02/29 14:21:52 caster Exp $
29 +
30 +*libidn-1.5-r1 (29 Feb 2008)
31 +
32 + 29 Feb 2008; Vlastimil Babka <caster@g.o> +libidn-1.5-r1.ebuild:
33 + Fix USE=java - remove the bundled jar file. Has 1.5 bytecode, breaking build
34 + with 1.4 JDK, besides others. Revbump so that everyone installs the same
35 + file.
36
37 29 Feb 2008; Santiago M. Mola <coldwind@g.o> libidn-1.0-r1.ebuild:
38 amd64 stable wrt bug #211857
39
40
41
42 1.1 net-dns/libidn/libidn-1.5-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.5-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.5-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libidn-1.5-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.5-r1.ebuild,v 1.1 2008/02/29 14:21:52 caster Exp $
52
53 inherit java-pkg-opt-2 mono autotools elisp-common
54
55 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
56 HOMEPAGE="http://www.gnu.org/software/libidn/"
57 SRC_URI="ftp://alpha.gnu.org/pub/gnu/libidn/${P}.tar.gz"
58
59 LICENSE="LGPL-2.1 GPL-3"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="java doc emacs mono nls"
63
64 DEPEND="mono? ( >=dev-lang/mono-0.95 )
65 java? ( >=virtual/jdk-1.4 dev-java/gjdoc )"
66 RDEPEND="java? ( >=virtual/jre-1.4 )
67 mono? ( >=dev-lang/mono-0.95 )
68 emacs? ( virtual/emacs )"
69
70 src_unpack() {
71 unpack ${A}
72 # bundled, with wrong bytecode
73 rm "${S}/java/${P}.jar" || die
74 }
75
76 src_compile() {
77 local myconf=" --disable-csharp"
78
79 use mono && myconf="--enable-csharp=mono"
80 use emacs && myconf="${myconf} --with-lispdir=${SITELISP}/${PN}"
81
82 econf \
83 $(use_enable nls) \
84 $(use_enable java) \
85 ${myconf} \
86 || die
87
88 emake || die
89 }
90
91 src_install() {
92 emake install DESTDIR="${D}" || die
93 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO || die
94
95 use emacs || rm -rf "${D}/usr/share/emacs"
96 #use xemacs || rm -rf "${D}/usr/lib/xemacs"
97
98 if use doc ; then
99 dohtml -r doc/reference/html/* || die
100 fi
101
102 if use java ; then
103 java-pkg_newjar "${D}"/usr/share/java/${P}.jar || die
104 rm -rf "${D}"/usr/share/java || die
105
106 if use doc ; then
107 java-pkg_dojavadoc doc/java
108 fi
109 fi
110 }
111
112 pkg_postinst() {
113 if use emacs ; then
114 elog "activate Emacs support by adding the following lines"
115 elog "to your ~/.emacs file:"
116 elog " (add-to-list 'load-path \"${SITELISP}/${PN}\")"
117 elog " (load idna)"
118 elog " (load punycode)"
119 fi
120 }
121
122
123
124 --
125 gentoo-commits@l.g.o mailing list