1 |
pacho 11/02/02 18:36:05 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: wv-1.2.9-r1.ebuild |
5 |
Log: |
6 |
Build and install tools only when requested since they are considered deprecated in favor of using AbiWord, this also allows us to not depend on latex always. |
7 |
|
8 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 app-text/wv/metadata.xml |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/metadata.xml?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/metadata.xml?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/metadata.xml?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: metadata.xml |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-text/wv/metadata.xml,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- metadata.xml 25 Dec 2007 13:13:54 -0000 1.2 |
24 |
+++ metadata.xml 2 Feb 2011 18:36:05 -0000 1.3 |
25 |
@@ -1,5 +1,6 @@ |
26 |
<?xml version="1.0" encoding="UTF-8"?> |
27 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
28 |
<pkgmetadata> |
29 |
- <herd>gnome</herd> |
30 |
+<herd>gnome</herd> |
31 |
+<use><flag name="tools">Install optional utilities considered deprecated in favor of using AbiWord.</flag></use> |
32 |
</pkgmetadata> |
33 |
|
34 |
|
35 |
|
36 |
1.56 app-text/wv/ChangeLog |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?rev=1.56&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?rev=1.56&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?r1=1.55&r2=1.56 |
41 |
|
42 |
Index: ChangeLog |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v |
45 |
retrieving revision 1.55 |
46 |
retrieving revision 1.56 |
47 |
diff -u -r1.55 -r1.56 |
48 |
--- ChangeLog 31 Jan 2011 14:00:53 -0000 1.55 |
49 |
+++ ChangeLog 2 Feb 2011 18:36:05 -0000 1.56 |
50 |
@@ -1,6 +1,14 @@ |
51 |
# ChangeLog for app-text/wv |
52 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.55 2011/01/31 14:00:53 pacho Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.56 2011/02/02 18:36:05 pacho Exp $ |
55 |
+ |
56 |
+*wv-1.2.9-r1 (02 Feb 2011) |
57 |
+ |
58 |
+ 02 Feb 2011; Pacho Ramos <pacho@g.o> +wv-1.2.9-r1.ebuild, |
59 |
+ metadata.xml: |
60 |
+ Build and install tools only when requested since they are considered |
61 |
+ deprecated in favor of using AbiWord, this also allows us to not depend on |
62 |
+ latex always. |
63 |
|
64 |
31 Jan 2011; Pacho Ramos <pacho@g.o> wv-1.2.9.ebuild: |
65 |
ebuild cleanups by Gilles. |
66 |
|
67 |
|
68 |
|
69 |
1.1 app-text/wv/wv-1.2.9-r1.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/wv-1.2.9-r1.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/wv-1.2.9-r1.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: wv-1.2.9-r1.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2011 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/app-text/wv/wv-1.2.9-r1.ebuild,v 1.1 2011/02/02 18:36:05 pacho Exp $ |
79 |
|
80 |
EAPI="3" |
81 |
|
82 |
inherit eutils autotools |
83 |
|
84 |
DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable" |
85 |
SRC_URI="http://abiword.org/downloads/${PN}/${PV}/${P}.tar.gz" |
86 |
HOMEPAGE="http://wvware.sourceforge.net/" |
87 |
|
88 |
IUSE="tools wmf" |
89 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
90 |
SLOT="0" |
91 |
LICENSE="GPL-2" |
92 |
|
93 |
RDEPEND=">=dev-libs/glib-2 |
94 |
>=gnome-extra/libgsf-1.13 |
95 |
sys-libs/zlib |
96 |
media-libs/libpng |
97 |
dev-libs/libxml2 |
98 |
tools? ( app-text/texlive-core |
99 |
dev-texlive/texlive-latex ) |
100 |
wmf? ( >=media-libs/libwmf-0.2.2 )" |
101 |
DEPEND="${RDEPEND} |
102 |
>=dev-util/pkgconfig-0.9" |
103 |
|
104 |
src_prepare() { |
105 |
if ! use tools; then |
106 |
sed -i -e '/bin_/d' GNUmakefile.am || die |
107 |
sed -i -e '/SUBDIRS/d' GNUmakefile.am || die |
108 |
sed -i -e '/\/GNUmakefile/d' configure.ac || die |
109 |
sed -i -e '/wv[A-Z]/d' configure.ac || die |
110 |
eautoreconf |
111 |
fi |
112 |
} |
113 |
|
114 |
src_configure() { |
115 |
econf $(use_with wmf libwmf) |
116 |
} |
117 |
|
118 |
pkg_preinst() { |
119 |
preserve_old_lib /usr/$(get_libdir)/libwv-1.2.so.3 |
120 |
} |
121 |
|
122 |
pkg_postinst() { |
123 |
preserve_old_lib_notify /usr/$(get_libdir)/libwv-1.2.so.3 |
124 |
} |
125 |
|
126 |
src_install () { |
127 |
emake DESTDIR="${D}" install || die "Installation failed" |
128 |
dodoc README NEWS || die |
129 |
|
130 |
rm -f "${ED}"/usr/share/man/man1/wvConvert.1 |
131 |
if use tools; then |
132 |
dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1 || die |
133 |
fi |
134 |
} |