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