Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: dev-libs/grantlee/, dev-libs/grantlee/files/
Date: Thu, 01 Aug 2013 23:15:43
Message-Id: 1375398923.1e8b3745e75ca7343abe44447ca997e849455a9d.johu@gentoo
1 commit: 1e8b3745e75ca7343abe44447ca997e849455a9d
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 1 23:15:23 2013 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 1 23:15:23 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1e8b3745
7
8 [dev-libs/grantlee] Remove failing patch, seems upstreamed.
9
10 Package-Manager: portage-2.2.0_alpha191
11
12 ---
13 .../files/grantlee-0.1.9-qt-test-optional.patch | 46 ----------------------
14 dev-libs/grantlee/grantlee-9999.ebuild | 1 -
15 2 files changed, 47 deletions(-)
16
17 diff --git a/dev-libs/grantlee/files/grantlee-0.1.9-qt-test-optional.patch b/dev-libs/grantlee/files/grantlee-0.1.9-qt-test-optional.patch
18 deleted file mode 100644
19 index 6af42cb..0000000
20 --- a/dev-libs/grantlee/files/grantlee-0.1.9-qt-test-optional.patch
21 +++ /dev/null
22 @@ -1,46 +0,0 @@
23 -From ab40a1ce4bff38fe6c19931bcdb46cdf754e29ed Mon Sep 17 00:00:00 2001
24 -From: Johannes Huber <johu@g.o>
25 -Date: Thu, 22 Mar 2012 11:37:57 +0100
26 -Subject: [PATCH] Search only for qt-test if test build option is enabled.
27 -
28 -Build fails on systems were no qt-test is installed and the build option
29 -for tests is disabled. See downstream bug report
30 -https://bugs.gentoo.org/show_bug.cgi?id=409131.
31 ----
32 - templates/CMakeLists.txt | 6 +++++-
33 - textdocument/CMakeLists.txt | 6 +++++-
34 - 2 files changed, 10 insertions(+), 2 deletions(-)
35 -
36 -diff --git a/templates/CMakeLists.txt b/templates/CMakeLists.txt
37 -index 0594cc3..eec0f12 100644
38 ---- a/templates/CMakeLists.txt
39 -+++ b/templates/CMakeLists.txt
40 -@@ -1,5 +1,9 @@
41 -
42 --find_package(Qt4 4.5.0 REQUIRED QtCore QtScript QtTest)
43 -+if (BUILD_TESTS)
44 -+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript QtTest)
45 -+else (BUILD_TESTS)
46 -+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript)
47 -+endif (BUILD_TESTS)
48 -
49 - include(${Grantlee_USE_FILE})
50 -
51 -diff --git a/textdocument/CMakeLists.txt b/textdocument/CMakeLists.txt
52 -index d456663..8fa2892 100644
53 ---- a/textdocument/CMakeLists.txt
54 -+++ b/textdocument/CMakeLists.txt
55 -@@ -1,5 +1,9 @@
56 -
57 --find_package(Qt4 4.5.0 REQUIRED QtCore QtGui QtTest)
58 -+if (BUILD_TESTS)
59 -+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript QtTest)
60 -+else (BUILD_TESTS)
61 -+ find_package(Qt4 4.5.0 REQUIRED QtCore QtScript)
62 -+endif (BUILD_TESTS)
63 -
64 - include(${QT_USE_FILE})
65 -
66 ---
67 -1.7.9.4
68 -
69
70 diff --git a/dev-libs/grantlee/grantlee-9999.ebuild b/dev-libs/grantlee/grantlee-9999.ebuild
71 index e23a573..19ff89f 100644
72 --- a/dev-libs/grantlee/grantlee-9999.ebuild
73 +++ b/dev-libs/grantlee/grantlee-9999.ebuild
74 @@ -29,7 +29,6 @@ RDEPEND="${COMMON_DEPEND}"
75 DOCS=(AUTHORS CHANGELOG GOALS README)
76
77 PATCHES=(
78 - "${FILESDIR}/${PN}-0.1.9-qt-test-optional.patch"
79 "${FILESDIR}/${PN}-0.3.0-nonfatal-warnings.patch"
80 )