Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libxslt: ChangeLog libxslt-1.1.24-r1.ebuild
Date: Thu, 31 Jul 2008 20:47:44
Message-Id: E1KOf3l-0003oP-7f@stork.gentoo.org
1 eva 08/07/31 20:47:41
2
3 Modified: ChangeLog
4 Added: libxslt-1.1.24-r1.ebuild
5 Log:
6 bump to r1. Apply patch from bug #232172.
7 (Portage version: 2.2_rc3/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64, RepoMan options: --force)
8
9 Revision Changes Path
10 1.187 dev-libs/libxslt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxslt/ChangeLog?rev=1.187&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxslt/ChangeLog?rev=1.187&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxslt/ChangeLog?r1=1.186&r2=1.187
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v
19 retrieving revision 1.186
20 retrieving revision 1.187
21 diff -u -r1.186 -r1.187
22 --- ChangeLog 23 May 2008 20:57:33 -0000 1.186
23 +++ ChangeLog 31 Jul 2008 20:47:40 -0000 1.187
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-libs/libxslt
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.186 2008/05/23 20:57:33 maekke Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.187 2008/07/31 20:47:40 eva Exp $
29 +
30 +*libxslt-1.1.24-r1 (31 Jul 2008)
31 +
32 + 31 Jul 2008; Gilles Dartiguelongue <eva@g.o>
33 + +files/libxslt-1.1.24-exslt_crypt.patch, +libxslt-1.1.24-r1.ebuild:
34 + bump to r1. Apply patch from bug #232172.
35
36 23 May 2008; Markus Meier <maekke@g.o> libxslt-1.1.24.ebuild:
37 amd64 stable, bug #222499
38
39
40
41 1.1 dev-libs/libxslt/libxslt-1.1.24-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxslt/libxslt-1.1.24-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libxslt/libxslt-1.1.24-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libxslt-1.1.24-r1.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/libxslt/libxslt-1.1.24-r1.ebuild,v 1.1 2008/07/31 20:47:40 eva Exp $
51
52 inherit libtool eutils python autotools
53
54 DESCRIPTION="XSLT libraries and tools"
55 HOMEPAGE="http://www.xmlsoft.org/"
56
57 LICENSE="MIT"
58 SLOT="0"
59 KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
60 IUSE="crypt debug examples python"
61
62 DEPEND=">=dev-libs/libxml2-2.6.27
63 crypt? ( >=dev-libs/libgcrypt-1.1.92 )
64 python? ( dev-lang/python )"
65
66 SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
67
68 src_unpack() {
69 unpack ${A}
70 cd "${S}"
71
72 # we still require the 1.1.8 patch for the .m4 file, to add
73 # the CXXFLAGS defines <obz@g.o>
74 epatch "${FILESDIR}/libxslt.m4-${PN}-1.1.8.patch"
75
76 # fix parallel install, bug #212784.
77 epatch "${FILESDIR}/${PN}-1.1.23-parallel-install.patch"
78
79 # Patch Makefile to fix bug #99382 so that html gets installed in ${PF}
80 sed -i -e "s:libxslt-\$(VERSION):${PF}:" doc/Makefile.am
81
82 # Fix broken <python-2.5 site-packages detection
83 # see bug #86756 and bug #218643
84 python_version
85 sed -i "s:^\(AC_SUBST(PYTHON_SITE_PACKAGES)\):PYTHON_SITE_PACKAGES=\"/usr/$(get_libdir)/python${PYVER}/site-packages\"\n\1:" configure.in
86
87 # Fix broken rc4 encrypt. bug #232172
88 epatch "${FILESDIR}/${P}-exslt_crypt.patch"
89
90 eautoreconf
91 epunt_cxx
92 elibtoolize
93 }
94
95 src_compile() {
96 # Always pass --with-debugger. It is required by third parties (see
97 # e.g. bug #98345)
98 local myconf="--with-debugger \
99 $(use_with python) \
100 $(use_with crypt crypto) \
101 $(use_with debug) \
102 $(use_with debug mem-debug)"
103
104 econf ${myconf} || die "configure failed"
105
106 emake || die "Compilation failed"
107 }
108
109 src_install() {
110 emake DESTDIR="${D}" install || die "Installation failed"
111
112 dodoc AUTHORS ChangeLog Copyright FEATURES NEWS README TODO
113
114 if ! use examples; then
115 rm -rf "${D}/usr/share/doc/${PN}-python-${PV}/examples"
116 fi
117 }