Gentoo Archives: gentoo-commits

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