Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-text/opensp: ChangeLog opensp-1.5.2-r2.ebuild
Date: Thu, 24 Jun 2010 20:02:20
Message-Id: 20100624200214.360762CF4E@corvid.gentoo.org
1 mr_bones_ 10/06/24 20:02:13
2
3 Modified: ChangeLog
4 Added: opensp-1.5.2-r2.ebuild
5 Log:
6 EAPI=2; add static-libs support; tidy
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.45 app-text/opensp/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/ChangeLog?rev=1.45&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/ChangeLog?rev=1.45&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/ChangeLog?r1=1.44&r2=1.45
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v
19 retrieving revision 1.44
20 retrieving revision 1.45
21 diff -u -r1.44 -r1.45
22 --- ChangeLog 19 Jun 2007 13:56:08 -0000 1.44
23 +++ ChangeLog 24 Jun 2010 20:02:13 -0000 1.45
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-text/opensp
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.44 2007/06/19 13:56:08 armin76 Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/app-text/opensp/ChangeLog,v 1.45 2010/06/24 20:02:13 mr_bones_ Exp $
30 +
31 +*opensp-1.5.2-r2 (24 Jun 2010)
32 +
33 + 24 Jun 2010; Michael Sterrett <mr_bones_@g.o>
34 + +opensp-1.5.2-r2.ebuild:
35 + EAPI=2; add static-libs support; tidy
36
37 19 Jun 2007; Raúl Porcel <armin76@g.o> opensp-1.5.2-r1.ebuild:
38 alpha stable wrt #152364
39
40
41
42 1.1 app-text/opensp/opensp-1.5.2-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/opensp-1.5.2-r2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/opensp/opensp-1.5.2-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: opensp-1.5.2-r2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-text/opensp/opensp-1.5.2-r2.ebuild,v 1.1 2010/06/24 20:02:13 mr_bones_ Exp $
52
53 EAPI=2
54 inherit eutils flag-o-matic
55
56 MY_P=${P/opensp/OpenSP}
57 DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management"
58 HOMEPAGE="http://openjade.sourceforge.net/"
59 SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
60
61 LICENSE="JamesClark"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
64 IUSE="doc nls static-libs"
65
66 DEPEND="nls? ( >=sys-devel/gettext-0.14.5 )
67 doc? (
68 app-text/xmlto
69 ~app-text/docbook-xml-dtd-4.1.2
70 )"
71 RDEPEND=""
72
73 S=${WORKDIR}/${MY_P}
74
75 src_prepare() {
76 epatch "${FILESDIR}"/${PN}-1.5-gcc34.patch
77 }
78
79 src_configure() {
80 #
81 # The following filters are taken from openjade's ebuild. See bug #100828.
82 #
83
84 # Please note! Opts are disabled. If you know what you're doing
85 # feel free to remove this line. It may cause problems with
86 # docbook-sgml-utils among other things.
87 ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
88 strip-flags
89
90 # Default CFLAGS and CXXFLAGS is -O2 but this make openjade segfault
91 # on hppa. Using -O1 works fine. So I force it here.
92 use hppa && replace-flags -O2 -O1
93
94 econf \
95 --disable-dependency-tracking \
96 --enable-http \
97 --enable-default-catalog=/etc/sgml/catalog \
98 --enable-default-search-path=/usr/share/sgml \
99 --datadir=/usr/share/sgml/${P} \
100 $(use_enable nls) \
101 $(use_enable doc doc-build) \
102 $(use_enable static-libs static)
103 }
104
105 src_compile() {
106 emake pkgdocdir=/usr/share/doc/${PF} || die "Compilation failed"
107 }
108
109 src_test() {
110 echo ">>> Test phase [check]: ${CATEGORY}/${PF}"
111 einfo "Skipping tests known not to work"
112 make SHOWSTOPPERS= check || die "Make test failed"
113 SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
114 }
115
116 src_install() {
117 emake DESTDIR="${D}" \
118 pkgdocdir=/usr/share/doc/${PF} install || die "Installation failed"
119
120 dodoc AUTHORS BUGS ChangeLog NEWS README
121 }
122
123 pkg_postinst() {
124 ewarn "Please note that the soname of the library changed."
125 ewarn "If you are upgrading from a previous version you need"
126 ewarn "to fix dynamic linking inconsistencies by executing:"
127 ewarn
128 ewarn " revdep-rebuild --library='libosp.so.*'"
129 }