summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2011-08-09 06:48:14 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2011-08-09 06:48:14 +0000
commit68d3344595ae8de44d5ffca5a4b1cbaee010102e (patch)
treea8115168f5ad11cdb243e991cf18ab1dc1154269 /media-libs/libmediawiki
parentDrop versioning. (diff)
downloadgentoo-2-68d3344595ae8de44d5ffca5a4b1cbaee010102e.tar.gz
gentoo-2-68d3344595ae8de44d5ffca5a4b1cbaee010102e.tar.bz2
gentoo-2-68d3344595ae8de44d5ffca5a4b1cbaee010102e.zip
Test files should of course be installed anywhere, bug 376761
(Portage version: 2.1.10.10/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmediawiki')
-rw-r--r--media-libs/libmediawiki/ChangeLog10
-rw-r--r--media-libs/libmediawiki/files/libmediawiki-2.0.0-tests.patch12
-rw-r--r--media-libs/libmediawiki/libmediawiki-2.0.0.ebuild6
3 files changed, 25 insertions, 3 deletions
diff --git a/media-libs/libmediawiki/ChangeLog b/media-libs/libmediawiki/ChangeLog
index 56cc8fb261fe..6c79b8a1beb0 100644
--- a/media-libs/libmediawiki/ChangeLog
+++ b/media-libs/libmediawiki/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for media-libs/libmediawiki
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediawiki/ChangeLog,v 1.3 2011/07/29 19:17:37 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediawiki/ChangeLog,v 1.4 2011/08/09 06:48:14 dilfridge Exp $
+
+ 09 Aug 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ libmediawiki-2.0.0.ebuild, +files/libmediawiki-2.0.0-tests.patch:
+ Test files should of course be installed anywhere, bug 376761
+
+ 09 Aug 2011; Andreas K. Huettel <dilfridge@gentoo.org>
+ libmediawiki-2.0.0.ebuild, +files/libmediawiki-2.0.0-tests.patch:
+ Test files should of course be installed anywhere, bug 376761
*libmediawiki-2.0.0 (29 Jul 2011)
diff --git a/media-libs/libmediawiki/files/libmediawiki-2.0.0-tests.patch b/media-libs/libmediawiki/files/libmediawiki-2.0.0-tests.patch
new file mode 100644
index 000000000000..f1437d9cf987
--- /dev/null
+++ b/media-libs/libmediawiki/files/libmediawiki-2.0.0-tests.patch
@@ -0,0 +1,12 @@
+diff -ruN digikam-2.0.0.orig/extra/libmediawiki/tests/CMakeLists.txt digikam-2.0.0/extra/libmediawiki/tests/CMakeLists.txt
+--- digikam-2.0.0.orig/extra/libmediawiki/tests/CMakeLists.txt 2011-07-28 01:27:42.000000000 +0200
++++ digikam-2.0.0/extra/libmediawiki/tests/CMakeLists.txt 2011-08-09 08:38:44.669186537 +0200
+@@ -42,6 +42,7 @@
+ parsetest.rc
+ )
+
+- INSTALL(FILES ${ressources_RC} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
++ # INSTALL(FILES ${ressources_RC} DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
++ # ??? these files should not end up in the installation! what is the intention here?
+
+ ENDIF( KDE4_BUILD_TESTS )
diff --git a/media-libs/libmediawiki/libmediawiki-2.0.0.ebuild b/media-libs/libmediawiki/libmediawiki-2.0.0.ebuild
index 6c4ba8ae436d..8fd900bb600d 100644
--- a/media-libs/libmediawiki/libmediawiki-2.0.0.ebuild
+++ b/media-libs/libmediawiki/libmediawiki-2.0.0.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/media-libs/libmediawiki/libmediawiki-2.0.0.ebuild,v 1.1 2011/07/29 19:17:37 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmediawiki/libmediawiki-2.0.0.ebuild,v 1.2 2011/08/09 06:48:14 dilfridge Exp $
EAPI=4
@@ -31,7 +31,9 @@ RDEPEND=${DEPEND}
S=${WORKDIR}/${MY_P}/extra/${PN}
# bug 376761
-RESTRICT="test"
+# RESTRICT="test"
+
+PATCHES=( "${FILESDIR}/${P}-tests.patch" )
src_configure() {
mycmakeargs=(