Gentoo Archives: gentoo-commits

From: "TomAs Touceda (chiiph)" <chiiph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libunistring: libunistring-0.9.3.ebuild libunistring-0.9.1.1.ebuild ChangeLog
Date: Wed, 06 Oct 2010 02:02:45
Message-Id: 20101006014639.C760720051@flycatcher.gentoo.org
1 chiiph 10/10/06 01:46:39
2
3 Modified: libunistring-0.9.3.ebuild
4 libunistring-0.9.1.1.ebuild ChangeLog
5 Log:
6 Patch to prevent html docs installation with -doc
7
8 (Portage version: 2.2_rc86/cvs/Linux i686)
9
10 Revision Changes Path
11 1.2 dev-libs/libunistring/libunistring-0.9.3.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/libunistring-0.9.3.ebuild?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/libunistring-0.9.3.ebuild?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/libunistring-0.9.3.ebuild?r1=1.1&r2=1.2
16
17 Index: libunistring-0.9.3.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.3.ebuild,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- libunistring-0.9.3.ebuild 15 Sep 2010 21:30:25 -0000 1.1
24 +++ libunistring-0.9.3.ebuild 6 Oct 2010 01:46:39 -0000 1.2
25 @@ -1,9 +1,11 @@
26 # Copyright 1999-2010 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.3.ebuild,v 1.1 2010/09/15 21:30:25 chiiph Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.3.ebuild,v 1.2 2010/10/06 01:46:39 chiiph Exp $
30
31 EAPI="3"
32
33 +inherit eutils
34 +
35 DESCRIPTION="Library for manipulating Unicode strings and C strings according to the Unicode standard"
36 HOMEPAGE="http://www.gnu.org/software/libunistring/"
37 SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
38 @@ -13,19 +15,15 @@
39 KEYWORDS="~amd64 ~x86"
40 IUSE="doc"
41
42 -src_compile() {
43 - if use doc; then
44 - emake -C doc info html || die "Build doc failed"
45 - fi
46 -
47 - emake || die "Build failed"
48 +src_prepare() {
49 + epatch "${FILESDIR}"/${PN}-nodocs.patch
50 }
51
52 src_install() {
53 - dodoc AUTHORS README ChangeLog || die
54 + dodoc AUTHORS README ChangeLog || die "dodoc failed"
55 if use doc; then
56 - dohtml doc/libunistring.html || die
57 - doinfo doc/libunistring.info || die
58 + dohtml doc/*.html || die "dohtml failed"
59 + doinfo doc/*.info || die "doinfo failed"
60 fi
61
62 emake DESTDIR="${D}" install || die "Install failed"
63
64
65
66 1.2 dev-libs/libunistring/libunistring-0.9.1.1.ebuild
67
68 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild?rev=1.2&view=markup
69 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild?rev=1.2&content-type=text/plain
70 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild?r1=1.1&r2=1.2
71
72 Index: libunistring-0.9.1.1.ebuild
73 ===================================================================
74 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild,v
75 retrieving revision 1.1
76 retrieving revision 1.2
77 diff -u -r1.1 -r1.2
78 --- libunistring-0.9.1.1.ebuild 10 Apr 2010 17:34:52 -0000 1.1
79 +++ libunistring-0.9.1.1.ebuild 6 Oct 2010 01:46:39 -0000 1.2
80 @@ -1,8 +1,10 @@
81 # Copyright 1999-2010 Gentoo Foundation
82 # Distributed under the terms of the GNU General Public License v2
83 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild,v 1.1 2010/04/10 17:34:52 chiiph Exp $
84 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/libunistring-0.9.1.1.ebuild,v 1.2 2010/10/06 01:46:39 chiiph Exp $
85
86 -EAPI="2"
87 +EAPI="3"
88 +
89 +inherit eutils
90
91 DESCRIPTION="Library for manipulating Unicode strings and C strings according to the Unicode standard"
92 HOMEPAGE="http://www.gnu.org/software/libunistring/"
93 @@ -13,22 +15,15 @@
94 KEYWORDS="~amd64 ~x86"
95 IUSE="doc"
96
97 -DEPEND=""
98 -RDEPEND="${DEPEND}"
99 -
100 -src_compile() {
101 - if use doc; then
102 - emake -C doc info html || die "Build doc failed"
103 - fi
104 -
105 - emake || die "Build failed"
106 +src_prepare() {
107 + epatch "${FILESDIR}"/${PN}-nodocs.patch
108 }
109
110 src_install() {
111 - dodoc AUTHORS README ChangeLog
112 + dodoc AUTHORS README ChangeLog || die "dodoc failed"
113 if use doc; then
114 - dohtml doc/libunistring.html
115 - doinfo doc/libunistring.info
116 + dohtml doc/*.html || die "dohtml failed"
117 + doinfo doc/*.info || die "doinfo failed"
118 fi
119
120 emake DESTDIR="${D}" install || die "Install failed"
121
122
123
124 1.3 dev-libs/libunistring/ChangeLog
125
126 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/ChangeLog?rev=1.3&view=markup
127 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/ChangeLog?rev=1.3&content-type=text/plain
128 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libunistring/ChangeLog?r1=1.2&r2=1.3
129
130 Index: ChangeLog
131 ===================================================================
132 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libunistring/ChangeLog,v
133 retrieving revision 1.2
134 retrieving revision 1.3
135 diff -u -r1.2 -r1.3
136 --- ChangeLog 15 Sep 2010 21:30:25 -0000 1.2
137 +++ ChangeLog 6 Oct 2010 01:46:39 -0000 1.3
138 @@ -1,6 +1,11 @@
139 # ChangeLog for dev-libs/libunistring
140 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
141 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/ChangeLog,v 1.2 2010/09/15 21:30:25 chiiph Exp $
142 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libunistring/ChangeLog,v 1.3 2010/10/06 01:46:39 chiiph Exp $
143 +
144 + 06 Oct 2010; Tomas Touceda <chiiph@g.o>
145 + libunistring-0.9.1.1.ebuild, libunistring-0.9.3.ebuild,
146 + +files/libunistring-nodocs.patch:
147 + Patch to prevent html docs installation with -doc
148
149 *libunistring-0.9.3 (15 Sep 2010)