1 |
eva 08/02/28 21:47:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libxml2-2.6.31.ebuild |
5 |
Log: |
6 |
bump to 2.6.31 and add examples use flag per bug #111508 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.205 dev-libs/libxml2/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/ChangeLog?rev=1.205&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/ChangeLog?rev=1.205&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/ChangeLog?r1=1.204&r2=1.205 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v |
19 |
retrieving revision 1.204 |
20 |
retrieving revision 1.205 |
21 |
diff -u -r1.204 -r1.205 |
22 |
--- ChangeLog 8 Feb 2008 19:29:16 -0000 1.204 |
23 |
+++ ChangeLog 28 Feb 2008 21:47:39 -0000 1.205 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-libs/libxml2 |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.204 2008/02/08 19:29:16 wolf31o2 Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/ChangeLog,v 1.205 2008/02/28 21:47:39 eva Exp $ |
29 |
+ |
30 |
+*libxml2-2.6.31 (28 Feb 2008) |
31 |
+ |
32 |
+ 28 Feb 2008; Gilles Dartiguelongue <eva@g.o> |
33 |
+ +libxml2-2.6.31.ebuild: |
34 |
+ bump to 2.6.31 and add examples use flag per bug #111508 |
35 |
|
36 |
08 Feb 2008; Chris Gianelloni <wolf31o2@g.o> |
37 |
libxml2-2.6.30-r1.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-libs/libxml2/libxml2-2.6.31.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.6.31.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxml2/libxml2-2.6.31.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libxml2-2.6.31.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxml2/libxml2-2.6.31.ebuild,v 1.1 2008/02/28 21:47:39 eva Exp $ |
51 |
|
52 |
inherit libtool flag-o-matic eutils |
53 |
|
54 |
DESCRIPTION="Version 2 of the library to manipulate XML files" |
55 |
HOMEPAGE="http://www.xmlsoft.org/" |
56 |
|
57 |
LICENSE="MIT" |
58 |
SLOT="2" |
59 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
60 |
IUSE="bootstrap build debug doc examples ipv6 python readline test" |
61 |
|
62 |
XSTS_HOME="http://www.w3.org/XML/2004/xml-schema-test-suite" |
63 |
XSTS_NAME_1="xmlschema2002-01-16" |
64 |
XSTS_NAME_2="xmlschema2006-11-06" |
65 |
XSTS_TARBALL_1="xsts-2002-01-16.tar.gz" |
66 |
XSTS_TARBALL_2="xsts-2006-11-06.tar.gz" |
67 |
|
68 |
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz |
69 |
test? ( |
70 |
${XSTS_HOME}/${XSTS_NAME_1}/${XSTS_TARBALL_1} |
71 |
${XSTS_HOME}/${XSTS_NAME_2}/${XSTS_TARBALL_2} )" |
72 |
|
73 |
RDEPEND="sys-libs/zlib |
74 |
python? ( dev-lang/python ) |
75 |
readline? ( sys-libs/readline )" |
76 |
|
77 |
DEPEND="${RDEPEND} |
78 |
hppa? ( >=sys-devel/binutils-2.15.92.0.2 )" |
79 |
|
80 |
src_unpack() { |
81 |
unpack ${P}.tar.gz |
82 |
cd "${S}" |
83 |
|
84 |
if use test; then |
85 |
cp "${DISTDIR}/${XSTS_TARBALL_1}" \ |
86 |
"${DISTDIR}/${XSTS_TARBALL_2}" \ |
87 |
"${S}"/xstc/ \ |
88 |
|| die "Failed to install test tarballs" |
89 |
fi |
90 |
|
91 |
epunt_cxx |
92 |
} |
93 |
|
94 |
src_compile() { |
95 |
# USE zlib support breaks gnome2 |
96 |
# (libgnomeprint for instance fails to compile with |
97 |
# fresh install, and existing) - <azarah@g.o> (22 Dec 2002). |
98 |
|
99 |
# The meaning of the 'debug' USE flag does not apply to the --with-debug |
100 |
# switch (enabling the libxml2 debug module). See bug #100898. |
101 |
|
102 |
# --with-mem-debug causes unusual segmentation faults (bug #105120). |
103 |
|
104 |
local myconf="--with-zlib \ |
105 |
$(use_with debug run-debug) \ |
106 |
$(use_with python) \ |
107 |
$(use_with readline) \ |
108 |
$(use_with readline history) \ |
109 |
$(use_enable ipv6)" |
110 |
|
111 |
# Please do not remove, as else we get references to PORTAGE_TMPDIR |
112 |
# in /usr/lib/python?.?/site-packages/libxml2mod.la among things. |
113 |
elibtoolize |
114 |
|
115 |
# filter seemingly problematic CFLAGS (#26320) |
116 |
filter-flags -fprefetch-loop-arrays -funroll-loops |
117 |
|
118 |
econf $myconf || die "Configuration failed" |
119 |
|
120 |
# Patching the Makefiles to respect get_libdir |
121 |
# Fixes BUG #86766, please keep this. |
122 |
# Danny van Dyk <kugelfang@g.o> 2005/03/26 |
123 |
for x in $(find "${S}" -name "Makefile") ; do |
124 |
sed \ |
125 |
-e "s|^\(PYTHON_SITE_PACKAGES\ =\ \/usr\/\).*\(\/python.*\)|\1$(get_libdir)\2|g" \ |
126 |
-i ${x} \ |
127 |
|| die "sed failed" |
128 |
done |
129 |
|
130 |
emake || die "Compilation failed" |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
emake DESTDIR="${D}" install || die "Installation failed" |
135 |
|
136 |
dodoc AUTHORS ChangeLog Copyright NEWS README* TODO* |
137 |
|
138 |
if ! use doc; then |
139 |
rm -rf "${D}"/usr/share/gtk-doc |
140 |
rm -rf "${D}"/usr/share/doc/${P}/html |
141 |
fi |
142 |
|
143 |
if ! use examples; then |
144 |
rm -rf "${D}/usr/share/doc/${P}/examples" |
145 |
rm -rf "${D}/usr/share/doc/${PN}-python-${PV}/examples" |
146 |
fi |
147 |
} |
148 |
|
149 |
pkg_postinst() { |
150 |
# We don't want to do the xmlcatalog during stage1, as xmlcatalog will not |
151 |
# be in / and stage1 builds to ROOT=/tmp/stage1root. This fixes bug #208887. |
152 |
if [[ "${ROOT}" != "/" ]] |
153 |
then |
154 |
elog "Skipping XML catalog creation for stage building (bug #208887)." |
155 |
else |
156 |
# need an XML catalog, so no-one writes to a non-existent one |
157 |
CATALOG="${ROOT}etc/xml/catalog" |
158 |
|
159 |
# we dont want to clobber an existing catalog though, |
160 |
# only ensure that one is there |
161 |
# <obz@g.o> |
162 |
if [ ! -e ${CATALOG} ]; then |
163 |
[ -d "${ROOT}etc/xml" ] || mkdir -p "${ROOT}etc/xml" |
164 |
/usr/bin/xmlcatalog --create > ${CATALOG} |
165 |
einfo "Created XML catalog in ${CATALOG}" |
166 |
fi |
167 |
fi |
168 |
} |
169 |
|
170 |
|
171 |
|
172 |
-- |
173 |
gentoo-commits@l.g.o mailing list |