Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-base/rocs/files/, kde-base/rocs/
Date: Fri, 18 Nov 2011 16:16:21
Message-Id: 26936d2c68fe869fc8c6151dc4f8ddc3323b1f94.johu@gentoo
1 commit: 26936d2c68fe869fc8c6151dc4f8ddc3323b1f94
2 Author: Johannes Huber <johu <AT> gmx <DOT> de>
3 AuthorDate: Fri Nov 18 16:15:36 2011 +0000
4 Commit: Johannes Huber <johu <AT> gmx <DOT> de>
5 CommitDate: Fri Nov 18 16:15:36 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=26936d2c
7
8 [kde-base/rocs] Add upstream patch to build with boost 1.47, fixes bug 390059
9
10 (Portage version: 2.2.0_alpha75/git/Linux x86_64, unsigned Manifest commit)
11
12 ---
13 kde-base/rocs/files/rocs-4.7.3-boost.patch | 29 ++++++++++++++++++++++++++++
14 kde-base/rocs/rocs-4.7.3-r1.ebuild | 26 +++++++++++++++++++++++++
15 2 files changed, 55 insertions(+), 0 deletions(-)
16
17 diff --git a/kde-base/rocs/files/rocs-4.7.3-boost.patch b/kde-base/rocs/files/rocs-4.7.3-boost.patch
18 new file mode 100644
19 index 0000000..9671e41
20 --- /dev/null
21 +++ b/kde-base/rocs/files/rocs-4.7.3-boost.patch
22 @@ -0,0 +1,29 @@
23 +commit 43b6ccf22174629ebec0a0579365c4269cf0fb58
24 +Author: Andreas Cord-Landwehr <cola@×××××××××××××.de>
25 +Date: Sat Oct 22 22:50:26 2011 +0200
26 +
27 + Build Rocs by default with Boost Exceptions.
28 +
29 + This solves the common build issues with many Boost releases.
30 +
31 +diff --git a/CMakeLists.txt b/CMakeLists.txt
32 +index b47ef0a..c636fd5 100644
33 +--- a/CMakeLists.txt
34 ++++ b/CMakeLists.txt
35 +@@ -8,6 +8,8 @@ find_package(KDE4 REQUIRED)
36 + include(KDE4Defaults)
37 + remove_definitions(-DQT_NO_STL)
38 +
39 ++set (CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS}" )
40 ++
41 + include_directories(
42 + ${KDE4_INCLUDES}
43 + ${QT_INCLUDES}
44 +@@ -15,7 +17,6 @@ include_directories(
45 +
46 + if(${CMAKE_BUILD_TYPE} MATCHES coverage)
47 + set (CMAKE_CXX_COMPILER cov++)
48 +- set (CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS}" )
49 + endif()
50 +
51 + find_package(Boost "1.39" REQUIRED)
52
53 diff --git a/kde-base/rocs/rocs-4.7.3-r1.ebuild b/kde-base/rocs/rocs-4.7.3-r1.ebuild
54 new file mode 100644
55 index 0000000..9c1629c
56 --- /dev/null
57 +++ b/kde-base/rocs/rocs-4.7.3-r1.ebuild
58 @@ -0,0 +1,26 @@
59 +# Copyright 1999-2011 Gentoo Foundation
60 +# Distributed under the terms of the GNU General Public License v2
61 +# $Header: /var/cvsroot/gentoo-x86/kde-base/rocs/rocs-4.7.3.ebuild,v 1.1 2011/11/02 20:48:23 alexxy Exp $
62 +
63 +EAPI=4
64 +
65 +KDE_HANDBOOK="optional"
66 +KDE_SCM="git"
67 +inherit kde4-base
68 +
69 +DESCRIPTION="KDE4 interface to work with Graph Theory"
70 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
71 +IUSE="debug"
72 +
73 +RDEPEND="dev-libs/boost"
74 +DEPEND="
75 + ${RDEPEND}
76 + >=dev-cpp/eigen-2.0.3:2
77 +"
78 +
79 +PATCHES=(
80 + "${FILESDIR}"/${PN}-4.7.3-boost.patch
81 +)
82 +
83 +RESTRICT="test"
84 +# bug 376909