* [gentoo-commits] gentoo-x86 commit in app-text/wv: wv-1.2.9-r1.ebuild metadata.xml ChangeLog
@ 2011-02-02 18:36 99% Pacho Ramos (pacho)
0 siblings, 0 replies; 1+ results
From: Pacho Ramos (pacho) @ 2011-02-02 18:36 UTC (permalink / raw
To: gentoo-commits
pacho 11/02/02 18:36:05
Modified: metadata.xml ChangeLog
Added: wv-1.2.9-r1.ebuild
Log:
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.
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Revision Changes Path
1.3 app-text/wv/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/metadata.xml?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/metadata.xml?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/metadata.xml?r1=1.2&r2=1.3
Index: metadata.xml
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/wv/metadata.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- metadata.xml 25 Dec 2007 13:13:54 -0000 1.2
+++ metadata.xml 2 Feb 2011 18:36:05 -0000 1.3
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>gnome</herd>
+<herd>gnome</herd>
+<use><flag name="tools">Install optional utilities considered deprecated in favor of using AbiWord.</flag></use>
</pkgmetadata>
1.56 app-text/wv/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?rev=1.56&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?rev=1.56&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/ChangeLog?r1=1.55&r2=1.56
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- ChangeLog 31 Jan 2011 14:00:53 -0000 1.55
+++ ChangeLog 2 Feb 2011 18:36:05 -0000 1.56
@@ -1,6 +1,14 @@
# ChangeLog for app-text/wv
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.55 2011/01/31 14:00:53 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/wv/ChangeLog,v 1.56 2011/02/02 18:36:05 pacho Exp $
+
+*wv-1.2.9-r1 (02 Feb 2011)
+
+ 02 Feb 2011; Pacho Ramos <pacho@gentoo.org> +wv-1.2.9-r1.ebuild,
+ metadata.xml:
+ 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.
31 Jan 2011; Pacho Ramos <pacho@gentoo.org> wv-1.2.9.ebuild:
ebuild cleanups by Gilles.
1.1 app-text/wv/wv-1.2.9-r1.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/wv/wv-1.2.9-r1.ebuild?rev=1.1&view=markup
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
Index: wv-1.2.9-r1.ebuild
===================================================================
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $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 $
EAPI="3"
inherit eutils autotools
DESCRIPTION="Tool for conversion of MSWord doc and rtf files to something readable"
SRC_URI="http://abiword.org/downloads/${PN}/${PV}/${P}.tar.gz"
HOMEPAGE="http://wvware.sourceforge.net/"
IUSE="tools wmf"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
SLOT="0"
LICENSE="GPL-2"
RDEPEND=">=dev-libs/glib-2
>=gnome-extra/libgsf-1.13
sys-libs/zlib
media-libs/libpng
dev-libs/libxml2
tools? ( app-text/texlive-core
dev-texlive/texlive-latex )
wmf? ( >=media-libs/libwmf-0.2.2 )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9"
src_prepare() {
if ! use tools; then
sed -i -e '/bin_/d' GNUmakefile.am || die
sed -i -e '/SUBDIRS/d' GNUmakefile.am || die
sed -i -e '/\/GNUmakefile/d' configure.ac || die
sed -i -e '/wv[A-Z]/d' configure.ac || die
eautoreconf
fi
}
src_configure() {
econf $(use_with wmf libwmf)
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/libwv-1.2.so.3
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/libwv-1.2.so.3
}
src_install () {
emake DESTDIR="${D}" install || die "Installation failed"
dodoc README NEWS || die
rm -f "${ED}"/usr/share/man/man1/wvConvert.1
if use tools; then
dosym /usr/share/man/man1/wvWare.1 /usr/share/man/man1/wvConvert.1 || die
fi
}
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-02-02 18:36 99% [gentoo-commits] gentoo-x86 commit in app-text/wv: wv-1.2.9-r1.ebuild metadata.xml ChangeLog Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox