Gentoo Archives: gentoo-commits

From: "Ulrich Mueller (ulm)" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-dns/libidn: ChangeLog libidn-1.9-r1.ebuild libidn-1.9.ebuild
Date: Wed, 03 Sep 2008 13:29:20
Message-Id: E1KasQ9-0002Wj-SD@stork.gentoo.org
1 ulm 08/09/03 13:29:17
2
3 Modified: ChangeLog
4 Added: libidn-1.9-r1.ebuild
5 Removed: libidn-1.9.ebuild
6 Log:
7 Fix Emacs support, bug 187332. Other small fixes.
8 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
9
10 Revision Changes Path
11 1.87 net-dns/libidn/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.87&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?rev=1.87&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/ChangeLog?r1=1.86&r2=1.87
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v
20 retrieving revision 1.86
21 retrieving revision 1.87
22 diff -u -r1.86 -r1.87
23 --- ChangeLog 25 Aug 2008 10:32:27 -0000 1.86
24 +++ ChangeLog 3 Sep 2008 13:29:17 -0000 1.87
25 @@ -1,6 +1,14 @@
26 # ChangeLog for net-dns/libidn
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.86 2008/08/25 10:32:27 aballier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/ChangeLog,v 1.87 2008/09/03 13:29:17 ulm Exp $
30 +
31 +*libidn-1.9-r1 (03 Sep 2008)
32 +
33 + 03 Sep 2008; Ulrich Mueller <ulm@g.o> +files/50libidn-gentoo.el,
34 + -libidn-1.9.ebuild, +libidn-1.9-r1.ebuild:
35 + Byte-compile elisp files; add a site-init file; bug 187332. Setup config
36 + options with use_enable. Don't inherit autotools.eclass since it is unused.
37 + Remove intermediate version.
38
39 25 Aug 2008; Alexis Ballier <aballier@g.o> libidn-1.9.ebuild:
40 keyword ~sparc-fbsd
41
42
43
44 1.1 net-dns/libidn/libidn-1.9-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.9-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-dns/libidn/libidn-1.9-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libidn-1.9-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-dns/libidn/libidn-1.9-r1.ebuild,v 1.1 2008/09/03 13:29:17 ulm Exp $
54
55 inherit java-pkg-opt-2 mono elisp-common
56
57 DESCRIPTION="Internationalized Domain Names (IDN) implementation"
58 HOMEPAGE="http://www.gnu.org/software/libidn/"
59 SRC_URI="ftp://alpha.gnu.org/pub/gnu/libidn/${P}.tar.gz"
60
61 LICENSE="LGPL-2.1 GPL-3"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
64 IUSE="java doc emacs mono nls"
65
66 COMMON_DEPEND="emacs? ( virtual/emacs )
67 mono? ( >=dev-lang/mono-0.95 )"
68 DEPEND="${COMMON_DEPEND}
69 java? ( >=virtual/jdk-1.4 dev-java/gjdoc )"
70 RDEPEND="${COMMON_DEPEND}
71 java? ( >=virtual/jre-1.4 )"
72
73 src_unpack() {
74 unpack ${A}
75 # bundled, with wrong bytecode
76 rm "${S}/java/${P}.jar" || die
77 }
78
79 src_compile() {
80 econf \
81 $(use_enable nls) \
82 $(use_enable java) \
83 $(use_enable mono csharp mono) \
84 --with-lispdir="${SITELISP}/${PN}" \
85 || die
86
87 emake || die
88
89 if use emacs; then
90 elisp-compile src/*.el || die
91 fi
92 }
93
94 src_install() {
95 emake install DESTDIR="${D}" || die
96 dodoc AUTHORS ChangeLog FAQ NEWS README THANKS TODO || die
97
98 if use emacs; then
99 # *.el are installed by the build system
100 elisp-install ${PN} src/*.elc || die
101 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
102 else
103 rm -rf "${D}/usr/share/emacs"
104 fi
105
106 #use xemacs || rm -rf "${D}/usr/lib/xemacs"
107
108 if use doc ; then
109 dohtml -r doc/reference/html/* || die
110 fi
111
112 if use java ; then
113 java-pkg_newjar "${D}"/usr/share/java/${P}.jar || die
114 rm -rf "${D}"/usr/share/java || die
115
116 if use doc ; then
117 java-pkg_dojavadoc doc/java
118 fi
119 fi
120 }
121
122 pkg_postinst() {
123 use emacs && elisp-site-regen
124 }
125
126 pkg_postrm() {
127 use emacs && elisp-site-regen
128 }