From 8f6e1af03a514a0d998b3d89c6a00da3058359e7 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Fri, 23 Sep 2011 14:44:42 +0000 Subject: Try to enable tests again. (Portage version: 2.2.0_alpha59/cvs/Linux x86_64) --- app-office/libreoffice/ChangeLog | 6 +++++- app-office/libreoffice/libreoffice-9999-r1.ebuild | 18 +++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) (limited to 'app-office') diff --git a/app-office/libreoffice/ChangeLog b/app-office/libreoffice/ChangeLog index 29c15b6a3440..7e05c4cf68b5 100644 --- a/app-office/libreoffice/ChangeLog +++ b/app-office/libreoffice/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-office/libreoffice # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.146 2011/09/23 14:35:43 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/ChangeLog,v 1.147 2011/09/23 14:44:42 scarabeus Exp $ + + 23 Sep 2011; Tomáš Chvátal + libreoffice-9999-r1.ebuild: + Try to enable tests again. 23 Sep 2011; Tomáš Chvátal libreoffice-9999-r1.ebuild: diff --git a/app-office/libreoffice/libreoffice-9999-r1.ebuild b/app-office/libreoffice/libreoffice-9999-r1.ebuild index 3dc53466ece1..a4624aac683e 100644 --- a/app-office/libreoffice/libreoffice-9999-r1.ebuild +++ b/app-office/libreoffice/libreoffice-9999-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r1.ebuild,v 1.22 2011/09/23 14:35:43 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-office/libreoffice/libreoffice-9999-r1.ebuild,v 1.23 2011/09/23 14:44:42 scarabeus Exp $ EAPI=3 @@ -184,11 +184,15 @@ PDEPEND=" >=app-office/libreoffice-l10n-3.4 " +# FIXME: cppunit should be moved to test conditional +# after everything upstream is under gbuild +# as dmake execute tests right away DEPEND="${COMMON_DEPEND} >=dev-libs/boost-1.46 >=dev-libs/libxml2-2.7.8 dev-libs/libxslt dev-perl/Archive-Zip + dev-util/cppunit >=dev-util/gperf-3 dev-util/intltool dev-util/mdds @@ -216,7 +220,6 @@ DEPEND="${COMMON_DEPEND} PATCHES=( "${FILESDIR}/${PN}-3.3.1-neon_remove_SSPI_support.diff" - "${FILESDIR}/${PN}-kill-cppunit.patch" ) # Uncoment me when updating to eapi4 @@ -226,9 +229,6 @@ PATCHES=( # nsplugin? ( gtk ) #" -# Needs lots and lots of work and compiling -RESTRICT="test" - S="${WORKDIR}/${PN}-core-${PV}" pkg_setup() { @@ -330,13 +330,9 @@ src_configure() { use gnome && themes+=" tango" use kde && themes+=" oxygen" - # dmake: not worth of splitting out - # cppunit: patched not to run anything, just main() { return 0; } - # workaround to upstream running the tests during build # sane: just sane.h header that is used for scan in writer, not # linked or anything else, worthless to depend on internal_libs+=" - --without-system-cppunit --without-system-sane " @@ -474,6 +470,10 @@ src_compile() { make build || die } +src_test() { + make check || die +} + src_install() { # This is not Makefile so no buildserver make DESTDIR="${D}" distro-pack-install -o build || die -- cgit v1.2.3-65-gdbad